Page Builder: Live Composer – drag and drop website builder (visual front end site editor) - Version 1.5.8

Version Description

  • Aug 13 2020 =
  • Fix error: mqMutationObserver is not defined
Download this release

Release Info

Developer LiveComposer
Plugin Icon 128x128 Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
Version 1.5.8
Comparing to
See all releases

Code changes from version 1.5.6 to 1.5.8

css/dist/builder.min.css CHANGED
@@ -1 +1 @@
1
- html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.inline-editor,.inline-editor *,.dslca-editable-content,.dslca-editable-content *,div[contenteditable="true"],span[contenteditable="true"],a[contenteditable="true"],h1[contenteditable="true"],h2[contenteditable="true"],h3[contenteditable="true"],h4[contenteditable="true"],h5[contenteditable="true"],h6[contenteditable="true"]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .inline-editor:hover,body .inline-editor:hover *,body .dslca-editable-content:hover,body .dslca-editable-content:hover *{cursor:text}div:hover,span>span:hover,div>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}.feather{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-module-heading:before,.dslc-module-heading:after,.dslc-clearfix:before,.dslc-clearfix:after{content:" ";display:table}.dslc-module-heading:after,.dslc-clearfix:after{clear:both}.dslc-module-heading,.dslc-clearfix{*zoom:1}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-clear{clear:both}.dslc-no-float{float:none !important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none !important;-moz-user-select:-moz-none !important;-khtml-user-select:none !important;-webkit-user-select:none !important;user-select:none !important}.dslca-container p{margin-bottom:20px}.dslca-container input[type="text"],.dslca-container input[type="number"],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,0.1);border:0;color:#fff;padding:7px 10px;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type="number"]{padding-right:30px}.dslca-container input[type="text"],.dslca-container input[type="email"],.dslca-container input[type="number"]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-modules-section-edit-option-select .dslca-icon,.dslca-module-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type="submit"]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-size:13px;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-container,.dslca-container *,.dslca-container *::after,.dslca-container *::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage *::after,.dslca-module-manage *::before{box-sizing:border-box}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,0.64) !important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0 !important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{display:block;position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,0.49);color:rgba(255,255,255,0.5);padding:6px 10px;border-radius:3px;font-weight:400;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-pseudo-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:normal}.dslca-module-edit-actions,.dslca-row-edit-actions,.dslca-pseudo-module-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-module-edit-save,.dslca-pseudo-module-edit-save,.dslca-row-edit-save,.dslca-module-edit-cancel,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-save-hook,.dslca-wp-editor-cancel-hook{background:#78ca4f;border-radius:3px;color:#fff !important;cursor:pointer;display:inline-block;font-size:13px;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait !important}.dslca-sections{background:#4A7AC3;box-sizing:border-box}.dslca-section.dslca-module-edit,.dslca-pseudo-section,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-section.dslca-templates{background:#ca564f}.dslca-modal.dslca-modal-templates-save,.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,0.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,0.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,0.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude{display:none}.dslca-subsection{display:none}.dslca-module-non-active{opacity:0.5 !important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px 12px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.15),-1px 1px 0px 0 rgba(255,255,255,0.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 0.05s linear 0.01s;z-index:1;position:relative}.dslca-module[data-id="DSLC_Separator"],.dslca-module[data-id="DSLC_Notification"],.dslca-module[data-id="DSLC_Sliders"],.dslca-module[data-id="DSLC_Staff"]{margin-right:14px}.dslca-module[data-id="DSLC_M_A"]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id="DSLC_M_A"] .dslca-icon{color:#fff}.dslca-module[data-id="DSLC_M_A"]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,0.19),-1px 1px 0 0 rgba(255,255,255,0.05) inset;transform:translate(1px, -2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none !important}.dslc-module-front.dslca-module-ghost,.dslc-modules-section-dnd.dslca-sections-ghost{background:rgba(229,163,88,0.4) !important}div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *,div.dslca-sections-dragging *,div.dslca-sections-dragging,div.dslca-sections-dragging:hover *,div.dslca-sections-dragging:hover{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0px 1px rgba(0,0,0,0.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-modules-section-edit-options,.dslca-module-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px 15px;min-height:58px;transform:translate(0, 0)}.dslca-modules-section-edit-option,.dslca-module-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;padding-bottom:40px;padding-left:15px;padding-right:15px;padding-top:40px;min-width:180px;position:relative}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{padding-left:15px;padding-right:15px;padding-top:0;padding-bottom:0;min-width:180px;border:1px solid rgba(0,0,0,0.1);border-radius:3px;position:relative}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label,.dslca-section-control-group>.controls-group-inner>.dslca-section-edit-label{position:absolute;background:rgba(76,129,207,0.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none !important}.dslca-module-edit-option input[type="text"],.dslca-module-edit-option input[type="email"],.dslca-module-edit-option input[type="number"],.dslca-module-edit-option textarea,.dslca-module-edit-option select,.dslca-module-edit-option input[type="text"]:focus,.dslca-module-edit-option input[type="email"]:focus,.dslca-module-edit-option input[type="number"]:focus,.dslca-module-edit-option textarea:focus,.dslca-module-edit-option select:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-checkbox{white-space:nowrap}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-pseudo-module-edit-label,.dslca-modules-section-edit-label{color:#fff;display:block;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe none repeat scroll 0 0;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:rgba(255,255,255,0.5);position:absolute;left:11px;top:0;line-height:2;font-size:12px;vertical-align:middle;padding:8px 0}.dslca-module-edit-option-checkbox{width:auto}.dslca-module-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type="radio"]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type="number"],.dslca-module-edit-option-text-shadow-single input[type="number"],.dslca-module-edit-option-box-shadow-single input[type="text"],.dslca-module-edit-option-text-shadow-single input[type="text"],.dslca-module-edit-option-box-shadow-single input[type="number"]:focus,.dslca-module-edit-option-text-shadow-single input[type="number"]:focus,.dslca-module-edit-option-box-shadow-single input[type="text"]:focus,.dslca-module-edit-option-text-shadow-single input[type="text"]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type="text"].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type="text"].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single input[type="checkbox"]{display:none}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:normal}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align input[type="checkbox"]{display:none}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:0.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:0.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-container:not([data-current-section=responsive]) .dslca-clear-responsive-options{display:none}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook,.dslca-clear-responsive-options{color:#fff;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:0.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,0.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,0.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover,.dslca-clear-responsive-options:hover{background:rgba(169,239,255,0.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id="animation_styling"],.dslca-module-edit-options-tab-hook[data-id="presets_styling"],.dslca-clear-responsive-options{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,0.4);border-radius:4px;display:inline-block !important;float:right;font-weight:bold;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{position:relative}.dslca-modules-section-edit-option-hidden{display:none !important}.dslca-modules-section-edit-option input[type="text"],.dslca-modules-section-edit-option input[type="email"],.dslca-modules-section-edit-option input[type="number"],.dslca-modules-section-edit-option textarea,.dslca-modules-section-edit-option select{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,0.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px 29px}.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover,.dslca-template:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,0.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,0.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type="text"]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}#dslca-export-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-submit{background:#4cc12d;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;position:relative;text-align:center;width:110px}.dslca-submit-secondary{background:#5890e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-cancel{background:#e55f5f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,0.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder,.dslca-modules-section-placeholder{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-size:12px;font-weight:400;letter-spacing:.5px;display:inline-block;padding:5px 10px}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:138px;box-shadow:0 0 0 2px rgba(173,175,179,0.4);text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0px}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,0.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front:hover{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default !important}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px #adafb3 inset}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-module-front.dslca-module-dragging{animation:none !important}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:0.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:none !important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0 !important;width:0 !important;overflow:hidden;opacity:1 !important;cursor:move;padding:0 !important;border:0 !important;outline:none !important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,0.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0 !important;outline:0 !important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0px !important;width:100% !important;overflow:hidden !important;opacity:0 !important;padding:0 !important;outline:0 !important;border:0 !important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;float:left;line-height:1;opacity:0;display:none;padding:10px 12px;padding-right:43px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,.dslc-modules-area.dslc-1-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-2-col .dslca-icon,.dslc-modules-area.dslc-1-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,0.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;margin-top:30px;width:80%;max-width:620px;margin-left:auto;margin-right:auto;margin-bottom:180px;overflow:hidden;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f !important;border-radius:3px;color:#fff !important;cursor:pointer;display:block;font-size:15px !important;float:left;line-height:1 !important;padding:14px 0;text-decoration:none !important;width:70% !important;box-shadow:none !important}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162 !important;color:#fff !important}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,0.5) !important}.dslca-import-modules-section-hook{float:right;width:28% !important}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}body .dslca-cmd{display:none}body.key-press-cmd .dslca-cmd-hide{display:none}body.key-press-cmd .dslca-cmd,body.key-press-cmd .dslca-cmd.dslca-manage-action{display:flex}.dslca-manage-action{display:flex;align-items:center;justify-content:center;color:#fff;background-color:#ED7C5F;text-decoration:none;font-size:14px;line-height:15px;text-align:center;min-width:30px;margin-right:-2px;position:relative}.dslca-manage-action:before{content:"";position:absolute;left:0;top:0;display:block;bottom:0;right:0}.dslca-module-manage-inner .dslca-manage-action{background-color:#5291EE}.dslca-manage-action svg{max-width:15px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{border-radius:3px 0 0 0}.dslca-manage-action:last-child{border-radius:0 3px 0 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;height:30px;visibility:hidden;padding-right:0;position:absolute;z-index:999999;width:20%;margin:0 auto;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible !important}.dslca-modules-section-manage-inner,.dslca-module-manage-inner{display:flex;justify-content:center;vertical-align:middle;border-radius:3px;line-height:1;position:relative;z-index:99999;height:30px;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-bottom-right-radius:0;border-bottom-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:bold;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,0.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1% !important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:0.5;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:0.5}.dslc-modules-section.dslc-full:hover .dslc-modules-area:hover .dslca-modules-area-manage{z-index:9999999}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage{bottom:0;position:absolute;left:-28px;top:0;margin-right:0px;text-align:center;z-index:999999}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{display:flex;flex-flow:column;border-radius:3px 0 0 3px;border-right-width:0;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;background-color:#b2b7bc;display:block;text-decoration:none;line-height:1px;text-align:center;margin:0;padding:1px 7px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 3px 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-modules-area-options,.dslca-change-width-module-options,.dslca-change-vertial-align-module-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-vertial-align-module-area-options{padding:12px;padding-top:18px}.dslca-change-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-area-options,.dslca-change-vertial-align-module-area-hook:hover>.dslca-change-vertial-align-module-area-options{display:block}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-modules-area-options span,.dslca-change-width-module-options span{background:#4785db;border-radius:3px;display:inline-block;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-modules-area-options span:hover,.dslca-change-width-module-options span:hover{background:#6B9FF1}.dslca-change-width-modules-area-options span:first-child,.dslca-change-width-module-options span:first-child,.dslca-change-vertial-align-module-area-options span:first-child{background:none;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}.dslca-change-vertial-align-module-area-options span:first-child{margin-bottom:16px}.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,0.28) inset;cursor:default}.dslc-popup-option{display:block;width:100%;background:#4785db;border-radius:3px;font-size:13px;font-weight:400;line-height:24px;margin:1px;text-align:left;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-77px;top:0;text-align:center;z-index:99999;line-height:1}#dslc-content .dslc-small-height-module .dslca-module-manage{top:-28px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:first-child{border-radius:3px 0 0 3px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:last-child{border-radius:0 3px 3px 0}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0 !important;border-radius:0 0 3px 0}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover{color:#fff}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left 0.3s ease-in-out;-moz-transition:left 0.3s ease-in-out;transition:left 0.3s ease-in-out}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(88,144,229,0)), color-stop(100%, #4674b9));background:-webkit-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-o-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-ms-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:linear-gradient(to right, rgba(88,144,229,0) 0%, #4674b9 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:none !important;background:rgba(0,0,0,0.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,0.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,0.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-section-scroller-prev .dslca-icon,.dslca-section-scroller-next .dslca-icon{color:#fff}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,0.2);box-shadow:0 1px 6px rgba(0,0,0,0.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-modal:after{border-color:rgba(255,255,255,0);border-top-color:#ffffff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:40px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-family:"Lato";font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-family:"Lato";font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-module-options-front,.dslca-accordion-plain-content,.dslca-tab-plain-content{display:none}.dslca-module-options-front-backup{display:none}.dslca-module-edit-option-size,#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-section-code{display:none !important}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5593EB;color:#fff;cursor:pointer;display:block;font-size:12px;line-height:1;font-weight:bold;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9;z-index:99999}body.dslca-enabled .ui-widget-overlay,body.dslca-enabled .ui-dialog,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled #mce-modal-block{z-index:99999999 !important}body.dslca-enabled .clearlooks2,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991 !important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:0.7}}@-webkit-keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation,.dslc-modules-area.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:0.6s;-webkit-animation-duration:0.6s}.dslc-editable-content:focus,.dslc-editable-content.dslc-pen{outline:1px dashed rgba(0,0,0,0.2)}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none !important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,0.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,0.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,0.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-notification{margin-top:30px}.dslca-wp-editor-actions{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,0.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-weight:bold;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:normal;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans', sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,0.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:bold;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-modules-section-edit-option-upload,.dslca-module-edit-option-image{min-width:auto}.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-module-edit-field-button-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer !important;display:inline-block;font-size:12px;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-header,#dslc-footer{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,0.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none !important;border:none !important}body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-hf-block-overlay{display:none !important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,0.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:0.23s;-webkit-animation-delay:0.23s;-ms-animation-delay:0.23s;-o-animation-delay:0.23s;animation-delay:0.23s}.followingBallsG_3{-moz-animation-delay:0.46s;-webkit-animation-delay:0.46s;-ms-animation-delay:0.46s;-o-animation-delay:0.46s;animation-delay:0.46s}.followingBallsG_4{-moz-animation-delay:0.69s;-webkit-animation-delay:0.69s;-ms-animation-delay:0.69s;-o-animation-delay:0.69s;animation-delay:0.69s}@-moz-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-webkit-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-ms-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-o-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"]{display:none !important}.dslca-module.dslca-origin[data-display-module="true"]{display:inline-block}.dslca-module.dslca-origin[data-display-module="false"]{display:none}.dslca-module.dslca-exclude{display:none}.media-modal{z-index:999999999 !important}.media-modal-backdrop{z-index:999999998 !important}.dslca-container .dslca-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:400;letter-spacing:.5px;line-height:1;padding:11px 12px;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9}.dslca-close-composer-hook:hover,.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-container .dslca-show-composer-hook{display:none}.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,0.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:scroll}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-wrapper{display:block}.dslca-modules-section-edit-options-wrapper,.dslca-module-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-modules-section-edit-options-inner,.dslca-module-edit-options-inner{overflow-x:scroll;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50% !important;visibility:visible;transform:translate(-50%, 0%);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,0.05);border-bottom:1px solid rgba(155,155,155,0.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);-moz-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0px #5890e5 inset;-moz-box-shadow:0 1px 5px 0px #5890e5 inset;box-shadow:0 1px 5px 0px #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area,body.dslca-enabled.dslc-res-phone #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid black;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:0.1px;position:absolute}.dslca-modules-section-edit-field-colorpicker,.dslca-module-edit-field-colorpicker{display:block !important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block !important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:medium none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{position:relative;bottom:0px;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0px;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}body.dslca-new-module-drag-in-progress .lc-scroll-top-area,body.dslca-drag-in-progress .lc-scroll-top-area{position:fixed;top:0px;z-index:99999;left:0px;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0px;left:0px;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0px;width:100%;height:83px}.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslc-control-toggle:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-row-edit-save:hover,.dslca-row-edit-cancel:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-options-iconbutton:hover,.dslca-options-iconbutton .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3 !important;border-color:#ccc !important}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:0.5}.dslca-module-edit-label .dslc-delete-preset:hover{opacity:1}.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide{display:none}.lc-template-loader{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:#fefefe;z-index:100000}.lc-loader{position:absolute;top:50%;left:50%;margin:-110px 0 0 -60px;font-size:10px;z-index:100001}@keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}.lds-spinner{position:relative}.lds-spinner div{left:94px;top:48px;position:absolute;-webkit-animation:lds-spinner linear 1s infinite;animation:lds-spinner linear 1s infinite;background:#8cd0e5;width:12px;height:24px;border-radius:40%;-webkit-transform-origin:6px 52px;transform-origin:6px 52px}.lds-spinner div:nth-child(1){-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-animation-delay:-0.916666666666667s;animation-delay:-0.916666666666667s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-0.833333333333333s;animation-delay:-0.833333333333333s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-0.75s;animation-delay:-0.75s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-0.666666666666667s;animation-delay:-0.666666666666667s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-0.583333333333333s;animation-delay:-0.583333333333333s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-0.416666666666667s;animation-delay:-0.416666666666667s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-0.333333333333333s;animation-delay:-0.333333333333333s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-0.25s;animation-delay:-0.25s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-0.166666666666667s;animation-delay:-0.166666666666667s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-0.083333333333333s;animation-delay:-0.083333333333333s}.lds-spinner div:nth-child(12){-webkit-transform:rotate(330deg);transform:rotate(330deg);-webkit-animation-delay:0s;animation-delay:0s}.lds-spinner{width:100px !important;height:100px !important;-webkit-transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px);transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px)}body em{font-style:italic}
1
+ html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.inline-editor,.inline-editor *,.dslca-editable-content,.dslca-editable-content *,div[contenteditable="true"],span[contenteditable="true"],a[contenteditable="true"],h1[contenteditable="true"],h2[contenteditable="true"],h3[contenteditable="true"],h4[contenteditable="true"],h5[contenteditable="true"],h6[contenteditable="true"]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .inline-editor:hover,body .inline-editor:hover *,body .dslca-editable-content:hover,body .dslca-editable-content:hover *{cursor:text}div:hover,span>span:hover,div>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}.feather{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-module-heading:before,.dslc-module-heading:after,.dslc-clearfix:before,.dslc-clearfix:after{content:" ";display:table}.dslc-module-heading:after,.dslc-clearfix:after{clear:both}.dslc-module-heading,.dslc-clearfix{*zoom:1}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-clear{clear:both}.dslc-no-float{float:none !important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none !important;-moz-user-select:-moz-none !important;-khtml-user-select:none !important;-webkit-user-select:none !important;user-select:none !important}.dslca-container p{margin-bottom:20px}.dslca-container input[type="text"],.dslca-container input[type="number"],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,0.1);border:0;color:#fff;padding:7px 10px;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type="number"]{padding-right:30px}.dslca-container input[type="text"],.dslca-container input[type="email"],.dslca-container input[type="number"]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-modules-section-edit-option-select .dslca-icon,.dslca-module-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type="submit"]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-size:13px;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-container,.dslca-container *,.dslca-container *::after,.dslca-container *::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage *::after,.dslca-module-manage *::before{box-sizing:border-box}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,0.64) !important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0 !important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{display:block;position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,0.49);color:rgba(255,255,255,0.5);padding:6px 10px;border-radius:3px;font-weight:400;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-pseudo-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:normal}.dslca-module-edit-actions,.dslca-row-edit-actions,.dslca-pseudo-module-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-module-edit-save,.dslca-pseudo-module-edit-save,.dslca-row-edit-save,.dslca-module-edit-cancel,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-save-hook,.dslca-wp-editor-cancel-hook{background:#78ca4f;border-radius:3px;color:#fff !important;cursor:pointer;display:inline-block;font-size:13px;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait !important}.dslca-sections{background:#4A7AC3;box-sizing:border-box}.dslca-section.dslca-module-edit,.dslca-pseudo-section,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-section.dslca-templates{background:#ca564f}.dslca-modal.dslca-modal-templates-save,.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,0.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,0.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,0.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude{display:none}.dslca-subsection{display:none}.dslca-module-non-active{opacity:0.5 !important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px 12px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.15),-1px 1px 0px 0 rgba(255,255,255,0.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 0.05s linear 0.01s;z-index:1;position:relative}.dslca-module[data-id="DSLC_Separator"],.dslca-module[data-id="DSLC_Notification"],.dslca-module[data-id="DSLC_Sliders"],.dslca-module[data-id="DSLC_Staff"]{margin-right:14px}.dslca-module[data-id="DSLC_M_A"]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id="DSLC_M_A"] .dslca-icon{color:#fff}.dslca-module[data-id="DSLC_M_A"]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,0.19),-1px 1px 0 0 rgba(255,255,255,0.05) inset;transform:translate(1px, -2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none !important}.dslc-module-front.dslca-module-ghost,.dslc-modules-section-dnd.dslca-sections-ghost{background:rgba(229,163,88,0.4) !important}div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *,div.dslca-sections-dragging *,div.dslca-sections-dragging,div.dslca-sections-dragging:hover *,div.dslca-sections-dragging:hover{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0px 1px rgba(0,0,0,0.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-modules-section-edit-options,.dslca-module-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px 15px;min-height:58px;transform:translate(0, 0)}.dslca-modules-section-edit-option,.dslca-module-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;padding-bottom:40px;padding-left:15px;padding-right:15px;padding-top:40px;min-width:180px;position:relative}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{padding-left:15px;padding-right:15px;padding-top:0;padding-bottom:0;min-width:180px;border:1px solid rgba(0,0,0,0.1);border-radius:3px;position:relative}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label,.dslca-section-control-group>.controls-group-inner>.dslca-section-edit-label{position:absolute;background:rgba(76,129,207,0.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none !important}.dslca-module-edit-option input[type="text"],.dslca-module-edit-option input[type="email"],.dslca-module-edit-option input[type="number"],.dslca-module-edit-option textarea,.dslca-module-edit-option select,.dslca-module-edit-option input[type="text"]:focus,.dslca-module-edit-option input[type="email"]:focus,.dslca-module-edit-option input[type="number"]:focus,.dslca-module-edit-option textarea:focus,.dslca-module-edit-option select:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-checkbox{white-space:nowrap}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-pseudo-module-edit-label,.dslca-modules-section-edit-label{color:#fff;display:block;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe none repeat scroll 0 0;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:rgba(255,255,255,0.5);position:absolute;left:11px;top:0;line-height:2;font-size:12px;vertical-align:middle;padding:8px 0}.dslca-module-edit-option-checkbox{width:auto}.dslca-module-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type="radio"]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type="number"],.dslca-module-edit-option-text-shadow-single input[type="number"],.dslca-module-edit-option-box-shadow-single input[type="text"],.dslca-module-edit-option-text-shadow-single input[type="text"],.dslca-module-edit-option-box-shadow-single input[type="number"]:focus,.dslca-module-edit-option-text-shadow-single input[type="number"]:focus,.dslca-module-edit-option-box-shadow-single input[type="text"]:focus,.dslca-module-edit-option-text-shadow-single input[type="text"]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type="text"].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type="text"].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single input[type="checkbox"]{display:none}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:normal}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align input[type="checkbox"]{display:none}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:0.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:0.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-container:not([data-current-section=responsive]) .dslca-clear-responsive-options{display:none}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook,.dslca-clear-responsive-options{color:#fff;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:0.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,0.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,0.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover,.dslca-clear-responsive-options:hover{background:rgba(169,239,255,0.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id="animation_styling"],.dslca-module-edit-options-tab-hook[data-id="presets_styling"],.dslca-clear-responsive-options{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,0.4);border-radius:4px;display:inline-block !important;float:right;font-weight:bold;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{position:relative}.dslca-modules-section-edit-option-hidden{display:none !important}.dslca-modules-section-edit-option input[type="text"],.dslca-modules-section-edit-option input[type="email"],.dslca-modules-section-edit-option input[type="number"],.dslca-modules-section-edit-option textarea,.dslca-modules-section-edit-option select{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,0.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px 29px}.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover,.dslca-template:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,0.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,0.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type="text"]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}#dslca-export-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-submit{background:#4cc12d;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;position:relative;text-align:center;width:110px}.dslca-submit-secondary{background:#5890e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-cancel{background:#e55f5f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,0.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder,.dslca-modules-section-placeholder{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-size:12px;font-weight:400;letter-spacing:.5px;display:inline-block;padding:5px 10px}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:138px;box-shadow:0 0 0 2px rgba(173,175,179,0.4);text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0px}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,0.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front:hover{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default !important}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px #adafb3 inset}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-module-front.dslca-module-dragging{animation:none !important}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:0.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:none !important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0 !important;width:0 !important;overflow:hidden;opacity:1 !important;cursor:move;padding:0 !important;border:0 !important;outline:none !important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,0.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0 !important;outline:0 !important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0px !important;width:100% !important;overflow:hidden !important;opacity:0 !important;padding:0 !important;outline:0 !important;border:0 !important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;float:left;line-height:1;opacity:0;display:none;padding:10px 12px;padding-right:43px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,.dslc-modules-area.dslc-1-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-2-col .dslca-icon,.dslc-modules-area.dslc-1-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,0.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;margin-top:30px;width:80%;max-width:620px;margin-left:auto;margin-right:auto;margin-bottom:180px;overflow:hidden;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f !important;border-radius:3px;color:#fff !important;cursor:pointer;display:block;font-size:15px !important;float:left;line-height:1 !important;padding:14px 0;text-decoration:none !important;width:70% !important;box-shadow:none !important}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162 !important;color:#fff !important}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,0.5) !important}.dslca-import-modules-section-hook{float:right;width:28% !important}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}body .dslca-cmd{display:none}body.key-press-cmd .dslca-cmd-hide{display:none}body.key-press-cmd .dslca-cmd,body.key-press-cmd .dslca-cmd.dslca-manage-action{display:flex}.dslca-manage-action{display:flex;align-items:center;justify-content:center;color:#fff;background-color:#ED7C5F;text-decoration:none;font-size:14px;line-height:15px;text-align:center;min-width:30px;margin-right:-2px;position:relative}.dslca-manage-action:before{content:"";position:absolute;left:0;top:0;display:block;bottom:0;right:0}.dslca-module-manage-inner .dslca-manage-action{background-color:#5291EE}.dslca-manage-action svg{max-width:15px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{border-radius:3px 0 0 0}.dslca-manage-action:last-child{border-radius:0 3px 0 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;height:30px;visibility:hidden;padding-right:0;position:absolute;z-index:999999;width:20%;margin:0 auto;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible !important}.dslca-modules-section-manage-inner,.dslca-module-manage-inner{display:flex;justify-content:center;vertical-align:middle;border-radius:3px;line-height:1;position:relative;z-index:99999;height:30px;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-bottom-right-radius:0;border-bottom-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:bold;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,0.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1% !important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:0.5;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:0.5}.dslc-modules-section.dslc-full:hover .dslc-modules-area:hover .dslca-modules-area-manage{z-index:9999999}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage{bottom:0;position:absolute;left:-28px;top:0;margin-right:0px;text-align:center;z-index:999999}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{display:flex;flex-flow:column;border-radius:3px 0 0 3px;border-right-width:0;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;background-color:#b2b7bc;display:block;text-decoration:none;line-height:1px;text-align:center;margin:0;padding:1px 7px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 3px 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-modules-area-options,.dslca-change-width-module-options,.dslca-change-vertial-align-module-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-vertial-align-module-area-options{padding:12px;padding-top:18px}.dslca-change-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-area-options,.dslca-change-vertial-align-module-area-hook:hover>.dslca-change-vertial-align-module-area-options{display:block}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-modules-area-options span,.dslca-change-width-module-options span{background:#4785db;border-radius:3px;display:inline-block;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-modules-area-options span:hover,.dslca-change-width-module-options span:hover{background:#6B9FF1}.dslca-change-width-modules-area-options span:first-child,.dslca-change-width-module-options span:first-child,.dslca-change-vertial-align-module-area-options span:first-child{background:none;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}.dslca-change-vertial-align-module-area-options span:first-child{margin-bottom:16px}.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,0.28) inset;cursor:default}.dslc-popup-option{display:block;width:100%;background:#4785db;border-radius:3px;font-size:13px;font-weight:400;line-height:24px;margin:1px;text-align:left;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-77px;top:0;text-align:center;z-index:99999;line-height:1}#dslc-content .dslc-small-height-module .dslca-module-manage{top:-28px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:first-child{border-radius:3px 0 0 3px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:last-child{border-radius:0 3px 3px 0}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0 !important;border-radius:0 0 3px 0}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover{color:#fff}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left 0.3s ease-in-out;-moz-transition:left 0.3s ease-in-out;transition:left 0.3s ease-in-out}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(88,144,229,0)), color-stop(100%, #4674b9));background:-webkit-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-o-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-ms-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:linear-gradient(to right, rgba(88,144,229,0) 0%, #4674b9 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:none !important;background:rgba(0,0,0,0.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,0.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,0.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-section-scroller-prev .dslca-icon,.dslca-section-scroller-next .dslca-icon{color:#fff}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,0.2);box-shadow:0 1px 6px rgba(0,0,0,0.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-modal:after{border-color:rgba(255,255,255,0);border-top-color:#ffffff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:40px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-family:"Lato";font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-family:"Lato";font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-module-options-front,.dslca-accordion-plain-content,.dslca-tab-plain-content{display:none}.dslca-module-options-front-backup{display:none}.dslca-module-edit-option-size,#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-section-code{display:none !important}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5593EB;color:#fff;cursor:pointer;display:block;font-size:12px;line-height:1;font-weight:bold;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9;z-index:99999}body.dslca-enabled .ui-widget-overlay,body.dslca-enabled .ui-dialog,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled #mce-modal-block{z-index:99999999 !important}body.dslca-enabled .clearlooks2,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991 !important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:0.7}}@-webkit-keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation,.dslc-modules-area.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:0.6s;-webkit-animation-duration:0.6s}.dslc-editable-content:focus,.dslc-editable-content.dslc-pen{outline:1px dashed rgba(0,0,0,0.2)}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none !important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,0.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,0.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,0.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-notification{margin-top:30px}.dslca-wp-editor-actions{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,0.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-weight:bold;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:normal;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans', sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,0.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:bold;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-modules-section-edit-option-upload,.dslca-module-edit-option-image{min-width:auto}.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-module-edit-field-button-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer !important;display:inline-block;font-size:12px;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-header,#dslc-footer{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,0.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none !important;border:none !important}body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-hf-block-overlay{display:none !important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,0.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:0.23s;-webkit-animation-delay:0.23s;-ms-animation-delay:0.23s;-o-animation-delay:0.23s;animation-delay:0.23s}.followingBallsG_3{-moz-animation-delay:0.46s;-webkit-animation-delay:0.46s;-ms-animation-delay:0.46s;-o-animation-delay:0.46s;animation-delay:0.46s}.followingBallsG_4{-moz-animation-delay:0.69s;-webkit-animation-delay:0.69s;-ms-animation-delay:0.69s;-o-animation-delay:0.69s;animation-delay:0.69s}@-moz-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-webkit-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-ms-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-o-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"]{display:none !important}.dslca-module.dslca-origin[data-display-module="true"]{display:inline-block}.dslca-module.dslca-origin[data-display-module="false"]{display:none}.dslca-module.dslca-exclude{display:none}.media-modal{z-index:999999999 !important}.media-modal-backdrop{z-index:999999998 !important}.dslca-container .dslca-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:400;letter-spacing:.5px;line-height:1;padding:11px 12px;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9}.dslca-close-composer-hook:hover,.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-container .dslca-show-composer-hook{display:none}.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,0.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:scroll;overscroll-behavior-x:none}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-wrapper{display:block}.dslca-modules-section-edit-options-wrapper,.dslca-module-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-modules-section-edit-options-inner,.dslca-module-edit-options-inner{overflow-x:scroll;overscroll-behavior-x:none;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50% !important;visibility:visible;transform:translate(-50%, 0%);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,0.05);border-bottom:1px solid rgba(155,155,155,0.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);-moz-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0px #5890e5 inset;-moz-box-shadow:0 1px 5px 0px #5890e5 inset;box-shadow:0 1px 5px 0px #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area,body.dslca-enabled.dslc-res-phone #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid black;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:0.1px;position:absolute}.dslca-modules-section-edit-field-colorpicker,.dslca-module-edit-field-colorpicker{display:block !important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block !important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:medium none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{position:relative;bottom:0px;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0px;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}body.dslca-new-module-drag-in-progress .lc-scroll-top-area,body.dslca-drag-in-progress .lc-scroll-top-area{position:fixed;top:0px;z-index:99999;left:0px;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0px;left:0px;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0px;width:100%;height:83px}.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslc-control-toggle:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-row-edit-save:hover,.dslca-row-edit-cancel:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-options-iconbutton:hover,.dslca-options-iconbutton .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3 !important;border-color:#ccc !important}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:0.5}.dslca-module-edit-label .dslc-delete-preset:hover{opacity:1}.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide{display:none}.lc-template-loader{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:#fefefe;z-index:100000}.lc-loader{position:absolute;top:50%;left:50%;margin:-110px 0 0 -60px;font-size:10px;z-index:100001}@keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}.lds-spinner{position:relative}.lds-spinner div{left:94px;top:48px;position:absolute;-webkit-animation:lds-spinner linear 1s infinite;animation:lds-spinner linear 1s infinite;background:#8cd0e5;width:12px;height:24px;border-radius:40%;-webkit-transform-origin:6px 52px;transform-origin:6px 52px}.lds-spinner div:nth-child(1){-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-animation-delay:-0.916666666666667s;animation-delay:-0.916666666666667s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-0.833333333333333s;animation-delay:-0.833333333333333s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-0.75s;animation-delay:-0.75s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-0.666666666666667s;animation-delay:-0.666666666666667s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-0.583333333333333s;animation-delay:-0.583333333333333s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-0.416666666666667s;animation-delay:-0.416666666666667s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-0.333333333333333s;animation-delay:-0.333333333333333s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-0.25s;animation-delay:-0.25s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-0.166666666666667s;animation-delay:-0.166666666666667s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-0.083333333333333s;animation-delay:-0.083333333333333s}.lds-spinner div:nth-child(12){-webkit-transform:rotate(330deg);transform:rotate(330deg);-webkit-animation-delay:0s;animation-delay:0s}.lds-spinner{width:100px !important;height:100px !important;-webkit-transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px);transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px)}body em{font-style:italic}
css/src/builder/index.css CHANGED
@@ -3906,6 +3906,7 @@ body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
3906
  body.rtl .dslca-module-edit-options-inner,
3907
  body.rtl .dslca-modules-section-edit-options-inner {
3908
  overflow-x: scroll;
 
3909
  }
3910
 
3911
  body.rtl .dslca-module-edit-option,
@@ -3933,6 +3934,7 @@ body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
3933
  .dslca-modules-section-edit-options-inner,
3934
  .dslca-module-edit-options-inner {
3935
  overflow-x: scroll;
 
3936
  padding-top: 4px;
3937
  }
3938
 
3906
  body.rtl .dslca-module-edit-options-inner,
3907
  body.rtl .dslca-modules-section-edit-options-inner {
3908
  overflow-x: scroll;
3909
+ overscroll-behavior-x: none;
3910
  }
3911
 
3912
  body.rtl .dslca-module-edit-option,
3934
  .dslca-modules-section-edit-options-inner,
3935
  .dslca-module-edit-options-inner {
3936
  overflow-x: scroll;
3937
+ overscroll-behavior-x: none;
3938
  padding-top: 4px;
3939
  }
3940
 
ds-live-composer.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
- * Version: 1.5.6
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -41,7 +41,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) && version_compare( PHP_VERSION, '5.3.0
41
  * Constants
42
  */
43
 
44
- define( 'DS_LIVE_COMPOSER_VER', '1.5.6' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
+ * Version: 1.5.8
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
41
  * Constants
42
  */
43
 
44
+ define( 'DS_LIVE_COMPOSER_VER', '1.5.8' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
includes/display-functions.php CHANGED
@@ -84,8 +84,8 @@ function dslc_display_composer() {
84
 
85
  <!-- Module Options Actions -->
86
  <div class="dslca-module-edit-actions">
87
- <a href="#" class="dslca-module-edit-save"><?php esc_attr_e( 'Confirm', 'live-composer-page-builder' ); ?></a>
88
- <a href="#" class="dslca-module-edit-cancel"><?php esc_attr_e( 'Cancel', 'live-composer-page-builder' ); ?></a>
89
  </div><!-- .dslca-module-edit-actions -->
90
 
91
  <!-- Row Options Filters -->
84
 
85
  <!-- Module Options Actions -->
86
  <div class="dslca-module-edit-actions">
87
+ <a href="#" class="dslca-module-edit-save" data-event="module-confirm"><?php esc_attr_e( 'Confirm', 'live-composer-page-builder' ); ?></a>
88
+ <a href="#" class="dslca-module-edit-cancel" data-event="module-cancel"><?php esc_attr_e( 'Cancel', 'live-composer-page-builder' ); ?></a>
89
  </div><!-- .dslca-module-edit-actions -->
90
 
91
  <!-- Row Options Filters -->
js/dist/client_frontend.min.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=e=>{void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery("body");1!=e&&(t.hasClass("dslc-res-disabled")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length)||(t.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big"),s>=1024&&s<1280?t.addClass("dslc-res-smaller-monitor"):s>=768&&s<1024?t.addClass("dslc-res-tablet"):s<768?t.addClass("dslc-res-phone"):t.addClass("dslc-res-big"))},window.dslc_init_accordion=()=>{jQuery(".dslc-accordion").each((function(){var e=jQuery(this),s=e.data("open")-1,t=jQuery(".dslc-accordion-item:eq("+s+")",e),o=t.siblings(".dslc-accordion-item"),a=jQuery(".dslc-accordion-item",e);s>=0?(t.addClass("dslc-active"),o.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",o).hide(),jQuery("body").hasClass("dslca-enabled")||o.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")):(a.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",a).hide(),jQuery("body").hasClass("dslca-enabled")||a.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"))}))},window.dslc_init_lightbox=()=>{var e;jQuery(".dslc-lightbox-image").each((function(){e="image",(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0)&&(e="iframe"),jQuery(this).magnificPopup({type:e})})),jQuery(".dslc-lightbox-gallery").each((function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},image:{titleSrc:function(e){var s="";return void 0!==e.el.attr("data-caption")&&(s="<small>"+e.el.attr("data-caption")+"</small>"),e.el.attr("title")+s}}})}))},window.dslc_carousel=()=>{jQuery(".dslc-carousel, .dslc-slider").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(".dslc-module-front")).imagesLoaded((function(){if(t.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass("dslc-carousel")&&(s.find(".dslc-col").css({"margin-left":e,"margin-right":e}),s.css({"margin-left":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:"fade",scrollPerPage:!0},a={items:s.data("columns"),pagination:s.data("pagination"),itemsScaleUp:s.data("scale-up"),slideSpeed:s.data("slide-speed"),paginationSpeed:s.data("pagination-speed"),rewindSpeed:s.data("rewind-speed"),autoPlay:s.data("autoplay"),stopOnHover:s.data("stop-on-hover"),lazyLoad:s.data("lazy-load"),lazyFollow:s.data("lazy-follow"),autoHeight:s.data("flexible-height"),mouseDrag:s.data("mouse-drag"),touchDrag:s.data("touch-drag"),addClassActive:s.data("active-class"),transitionStyle:s.data("animation"),scrollPerPage:s.data("scroll-per-page")},c=jQuery.extend({},o,a),(s.hasClass("dslc-slider")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(".dslc-loader").remove(),s.css({opacity:1,maxHeight:"none"})},afterAction:function(){var e=this.owl.visibleItems;s.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible"),s.find(".owl-item").filter((function(s){return e.indexOf(s)>-1})).addClass("dslc-carousel-item-visible")}}),jQuery(".dslc-carousel-nav-next",t).click((function(e){e.preventDefault(),s.data("owlCarousel").next()})),jQuery(".dslc-carousel-nav-prev",t).click((function(e){e.preventDefault(),s.data("owlCarousel").prev()}))}))}))},window.dslc_carousel_responsive=()=>{jQuery(".dslc-carousel").each((function(){var e,s;if(s=(e=jQuery(this)).closest(".dslc-module-front"),e.css({"margin-left":0,width:"auto"}),s.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass("dslc-carousel")&&(e.find(".dslc-col").css({"margin-left":t,"margin-right":t}),e.css({"margin-left":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=()=>{jQuery(".dslc-bg-video").each((function(){jQuery(this).find("video").length||jQuery(this).css({opacity:1})})),jQuery(".dslc-bg-video video").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener("loadeddata",(function(e){jQuery(s).closest(".dslc-bg-video").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=()=>{jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-e.offset().top)/4+"px";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this).css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/4+"px";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=(e,s)=>{e=void 0!==e?e:jQuery("body"),s=void 0!==s&&s,jQuery(".dslc-init-masonry",e).each((function(){var e,t,o,a;e=jQuery(this).find(".dslc-posts-inner").length?jQuery(this).find(".dslc-posts-inner"):jQuery(this),t=".dslc-masonry-item",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")?0:o/100*2.05,e.data("masonry")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry("destroy").masonry({gutter:a,itemSelector:t}),jQuery(e).find(".dslc-post:not(.dslc-masonry-item)").hide(),s&&jQuery(t,e).css({scale:"0.2"}).animate({scale:"1"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=e=>{var s=e.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",e),dslcTabsContent=jQuery(".dslc-tabs-content",e),dslcTabContent=jQuery(".dslc-tabs-tab-content",e);var t="",o="",a=0,c=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each((function(){++a>1&&(t+=" (dslc_sep) "),t+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()})),dslcTabContent.each((function(){++c>1&&(o+=" (dslc_sep) "),o+=jQuery(this).find(".dslca-tab-plain-content").val()})),o=o.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="tabs_nav"]',s).val(t),jQuery('.dslca-module-option-front[data-id="tabs_content"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=e=>{var s=e.closest(".dslc-module-front"),t=0,o="",a="";jQuery(".dslc-accordion-item",e).each((function(){++t>1&&(o+=" (dslc_sep) ",a+=" (dslc_sep) "),o+=jQuery(this).find(".dslc-accordion-title").text(),a+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()})),a=a.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="accordion_nav"]',s).val(o),jQuery('.dslca-module-option-front[data-id="accordion_content"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=()=>{var e,s;jQuery(".dslc-tabs").each((function(){e=jQuery(this),s=jQuery(".dslc-tabs-nav",e),jQuery(".dslc-tabs-content",e),jQuery(".dslc-tabs-tab-content",e).eq(0).addClass("dslc-active"),jQuery(".dslc-tabs-nav-hook",s).eq(0).addClass("dslc-active")}))},jQuery(document).on("click",".dslca-add-new-tab-hook",e=>function(e){var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",s),o=jQuery(".dslc-tabs-tab-content:last",s),a=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length;t.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>'),o.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+a+'">Open in WP Editor</span></div></div>'),jQuery(".dslc-tabs-nav-hook:last",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}(e)),jQuery(document).on("click",".dslca-delete-tab-hook",e=>function(e){console.log("dslc_on_tab_delete");var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(e.target).closest(".dslc-tabs-nav-hook"),o=t.index(),a=jQuery(".dslc-tabs-tab-content",s).eq(o);jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length>1&&(t.remove(),a.remove(),jQuery(".dslc-tabs-tab-content.dslc-active",s).length||jQuery(".dslc-tabs-nav-hook:first",s).trigger("click"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),e.stopPropagation()}(e)),jQuery(document).on("click",".dslc-tabs-nav-hook",e=>function(e){dslcTabs=jQuery(e.target).closest(".dslc-tabs"),dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs),dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs),dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active"),jQuery(e.currentTarget).addClass("dslc-active"),jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length?jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass("dslc-active"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}(e)),jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))})).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),window.dslc_download_count_increment=e=>{jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=()=>{!!document.documentMode?jQuery(".dslc-in-viewport-check").css("opacity",1):jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each((function(){var e=jQuery(this),s=e.data("dslc-anim"),t=parseInt(e.data("dslc-anim-duration"))/1e3+"s";jQuery(window).width()<768&&(t="0s");var o=parseInt(e.data("dslc-anim-delay")),a=s+" "+t+" "+e.data("dslc-anim-easing")+" forwards";jQuery(this).addClass("dslc-in-viewport"),o>0?setTimeout((function(){e.css({"-webkit-animation":a,"-moz-animation":a,animation:a})}),o):jQuery(this).css({"-webkit-animation":a,"-moz-animation":a,animation:a})}))},window.dslc_el_anim_hover=()=>{jQuery(".dslc-on-hover-anim-target").each((function(){var e="all "+parseInt(jQuery(this).data("dslc-anim-speed"))/1e3+"s ease-out";jQuery(this).css({"-webkit-transition":e,"-moz-transition":e,transition:e})}))},window.dslc_check_progress_bar_viewport=()=>{jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each((function(){var e=jQuery(this),s=e.find(".dslc-progress-bar-loader-inner"),t=s.data("amount")+"%",o=s.data("speed");e.addClass("dslc-progress-bar-in-viewport"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=e=>{var s=e.find("#author"),t=e.find("#email"),o=(e.find("#url"),e.find("#comment")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:"#e55f5f"}),a=!1):s.attr("style",""),!t.length||0!=t.val().length&&-1!==t.val().indexOf("@")?t.attr("style",""):(t.css({borderColor:"#e55f5f"}),a=!1),0==o.val().length?(o.css({borderColor:"#e55f5f"}),a=!1):o.attr("style",""),a},window.dslc_social_share=(e,s,t)=>{var o,a,c="status=no,height="+s+",width="+e+",resizable=yes,left="+(o=window.screen.width/2-(e/2+10))+",top="+(a=window.screen.height/2-(s/2+50))+",screenX="+o+",screenY="+a+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";return location.href,document.title,window.open(t,"sharer",c),!1},window.dslc_sticky_row=()=>{if(jQuery("body .dslc-modules-section").hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var e=jQuery("body .dslc-modules-section.dslc-sticky-row"),s=jQuery(".dslc-sticky-row");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery("body .dslc-modules-section.dslc-sticky-row")).offset().top;jQuery("#wpadminbar").length&&jQuery("#wpadminbar").height();var t=jQuery(".dslc-sticky-row");document.addEventListener("scroll",s=>{var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery("#wpadminbar").length&&(c-=jQuery("#wpadminbar").height());var d=o<=s.exTop,l=c<=o,n="fixed",r=0;if(d)n="relative",r=0,s.isFixed=!1,s.classList.remove("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight());else if(l){if(n="fixed",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery("#wpadminbar").length&&(r+=32),s.classList.add("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight())}jQuery(s).css({position:n,top:r+"px"})})):(e.removeClass("dslc-sticky-section-fixed"),t.css({position:"relative",top:"0px"})))},{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on("click",".dslc-pagination-load-more a",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass("dslc-active")){var s=jQuery(this),t=jQuery(this).closest(".dslc-module-front"),o=t.find(".dslc-pagination"),a=t.find(".dslc-posts-inner"),c=t.attr("id"),i=s.attr("href"),d=t.find(".dslc-load-more-temp");s.find(".dslc-icon").addClass("dslc-icon-spin"),d.load(i+" #"+c,(function(){a.append('<div class="dslc-post-separator"></div>'),a.append(d.find(".dslc-posts-inner").html()),t.find(".dslc-pagination").html(d.find(".dslc-pagination").html()),o.replaceWith(d.find(".dslc-pagination")),d.html(""),a.imagesLoaded((function(){t.find(".dslc-init-masonry").length&&t.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}))}))}})),jQuery(".dslc-tp-comment-form form").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(".dslc-mobile-navigation select").change((function(){window.location=jQuery(this).val()})),jQuery(document).on("click",".dslc-notification-close",(function(e){jQuery(this).closest(".dslc-notification").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on("click",".dslc-post-filter",(function(){var e=jQuery(this),s=e.closest(".dslc-module-front").find(".dslc-posts"),t=e.closest(".dslc-module-front"),o=e.data("filter-id"),a=jQuery(),c=jQuery();"show-all"===o?(a=s.closest(".dslc-module-front").find(".dslc-post"),c=jQuery()):(a=s.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+o+'"]'),c=s.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+o+'"])')),e.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive"),s.hasClass("dslc-init-grid")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"}),a.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show(),dslc_masonry(t,!0))})),jQuery(document).on("click",".dslc-download-count-hook",(function(e){dslc_download_count_increment(jQuery(this).data("post-id"))})),jQuery(".dslc-notification-box-has-timeout").each((function(){var e=jQuery(this);nTimeout="none",moduleID=e.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID,e.data("notification-timeout")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on("click",".dslc-notification-box-close",(function(){var e=jQuery(this).closest(".dslc-notification-box"),s="none",t="nBox"+e.closest(".dslc-module-front").data("module-id");e.data("notification-timeout")&&(s=e.data("notification-timeout")),"none"!==s&&Cookies.set(t,"closed",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on("click",".dslc-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion-item"),s=e.siblings(".dslc-accordion-item");e.hasClass("dslc-active")?(jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus")),s=e):(e.removeClass("dslc-inactive").addClass("dslc-active"),jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):(e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus"),s.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")))),s.removeClass("dslc-active").addClass("dslc-inactive"),jQuery(".dslc-accordion-content",e).slideDown(300),jQuery(".dslc-accordion-content",s).slideUp(300)})),jQuery(document).on("click",".dslca-add-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion"),s=jQuery(".dslc-accordion-item:last",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(".dslc-accordion-item",e).length,jQuery(".dslc-accordion-title",t).html("CLICK TO EDIT"),jQuery(".dslc-accordion-content",t).html('<div class="dslca-editable-content" data-edit-id="'+numberOfTabs+'">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+numberOfTabs+'">Edit Content</span></div>'),jQuery(".dslc-accordion-hook",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslca-delete-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(".dslc-accordion-item",s).length>1?(t.remove(),jQuery(".dslc-accordion-item.dslc-active",s).length||jQuery(".dslc-accordion-hook:first",s).trigger("click"),dslc_accordion_generate_code(s)):alert("You can not delete the last remaining accordion item."),e.stopPropagation()})),jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item"),o=t.next(".dslc-accordion-item"),a=t.prev(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(this).hasClass("dslca-move-down-accordion-hook")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))})).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslc-trigger-lightbox-gallery",(function(e){if(e.preventDefault(),jQuery(this).closest(".dslc-post").length)jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click");else if(jQuery(this).closest(".dslc-col")){var s=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+s+")").trigger("click")}else jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")})),jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var i=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on("scroll",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative"))&&(s=jQuery("body").height(),t=jQuery("#dslc-footer"),o=jQuery(t).height(),a=jQuery("#dslc-content"),c="100vh",jQuery("#wpadminbar").length&&(c="96.7vh"),s<jQuery(window).height()&&(jQuery(t).css({position:"absolute",bottom:"0",width:"100%"}),jQuery(a).css({"min-height":c,"padding-bottom":o+"px"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});
2
  //# sourceMappingURL=client_frontend.min.js.map
1
+ !function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=e=>{void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery("body");1!=e&&(t.hasClass("dslc-res-disabled")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length)||(t.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big"),s>=1024&&s<1280?t.addClass("dslc-res-smaller-monitor"):s>=768&&s<1024?t.addClass("dslc-res-tablet"):s<768?t.addClass("dslc-res-phone"):t.addClass("dslc-res-big"))},window.dslc_init_accordion=()=>{jQuery(".dslc-accordion").each((function(){var e=jQuery(this),s=e.data("open")-1,t=jQuery(".dslc-accordion-item:eq("+s+")",e),o=t.siblings(".dslc-accordion-item"),a=jQuery(".dslc-accordion-item",e);s>=0?(t.addClass("dslc-active"),o.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",o).hide(),jQuery("body").hasClass("dslca-enabled")||o.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")):(a.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",a).hide(),jQuery("body").hasClass("dslca-enabled")||a.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"))}))},window.dslc_init_lightbox=()=>{var e;jQuery(".dslc-lightbox-image").each((function(){e="image",(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0)&&(e="iframe"),jQuery(this).magnificPopup({type:e})})),jQuery(".dslc-lightbox-gallery").each((function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},image:{titleSrc:function(e){var s="";return void 0!==e.el.attr("data-caption")&&(s="<small>"+e.el.attr("data-caption")+"</small>"),e.el.attr("title")+s}}})}))},window.dslc_carousel=()=>{jQuery(".dslc-carousel, .dslc-slider").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(".dslc-module-front")).imagesLoaded((function(){if(t.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass("dslc-carousel")&&(s.find(".dslc-col").css({"margin-left":e,"margin-right":e}),s.css({"margin-left":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:"fade",scrollPerPage:!0},a={items:s.data("columns"),pagination:s.data("pagination"),itemsScaleUp:s.data("scale-up"),slideSpeed:s.data("slide-speed"),paginationSpeed:s.data("pagination-speed"),rewindSpeed:s.data("rewind-speed"),autoPlay:s.data("autoplay"),stopOnHover:s.data("stop-on-hover"),lazyLoad:s.data("lazy-load"),lazyFollow:s.data("lazy-follow"),autoHeight:s.data("flexible-height"),mouseDrag:s.data("mouse-drag"),touchDrag:s.data("touch-drag"),addClassActive:s.data("active-class"),transitionStyle:s.data("animation"),scrollPerPage:s.data("scroll-per-page")},c=jQuery.extend({},o,a),(s.hasClass("dslc-slider")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(".dslc-loader").remove(),s.css({opacity:1,maxHeight:"none"})},afterAction:function(){var e=this.owl.visibleItems;s.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible"),s.find(".owl-item").filter((function(s){return e.indexOf(s)>-1})).addClass("dslc-carousel-item-visible")}}),jQuery(".dslc-carousel-nav-next",t).click((function(e){e.preventDefault(),s.data("owlCarousel").next()})),jQuery(".dslc-carousel-nav-prev",t).click((function(e){e.preventDefault(),s.data("owlCarousel").prev()}))}))}))},window.dslc_carousel_responsive=()=>{jQuery(".dslc-carousel").each((function(){var e,s;if(s=(e=jQuery(this)).closest(".dslc-module-front"),e.css({"margin-left":0,width:"auto"}),s.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass("dslc-carousel")&&(e.find(".dslc-col").css({"margin-left":t,"margin-right":t}),e.css({"margin-left":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=()=>{jQuery(".dslc-bg-video").each((function(){jQuery(this).find("video").length||jQuery(this).css({opacity:1})})),jQuery(".dslc-bg-video video").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener("loadeddata",(function(e){jQuery(s).closest(".dslc-bg-video").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=()=>{jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-e.offset().top)/4+"px";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this).css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/4+"px";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=(e,s)=>{e=void 0!==e?e:jQuery("body"),s=void 0!==s&&s,jQuery(".dslc-init-masonry",e).each((function(){var e,t,o,a;e=jQuery(this).find(".dslc-posts-inner").length?jQuery(this).find(".dslc-posts-inner"):jQuery(this),t=".dslc-masonry-item",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")?0:o/100*2.05,e.data("masonry")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry("destroy").masonry({gutter:a,itemSelector:t}),jQuery(e).find(".dslc-post:not(.dslc-masonry-item)").hide(),s&&jQuery(t,e).css({scale:"0.2"}).animate({scale:"1"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=e=>{var s=e.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",e),dslcTabsContent=jQuery(".dslc-tabs-content",e),dslcTabContent=jQuery(".dslc-tabs-tab-content",e);var t="",o="",a=0,c=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each((function(){++a>1&&(t+=" (dslc_sep) "),t+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()})),dslcTabContent.each((function(){++c>1&&(o+=" (dslc_sep) "),o+=jQuery(this).find(".dslca-tab-plain-content").val()})),o=o.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="tabs_nav"]',s).val(t),jQuery('.dslca-module-option-front[data-id="tabs_content"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=e=>{var s=e.closest(".dslc-module-front"),t=0,o="",a="";jQuery(".dslc-accordion-item",e).each((function(){++t>1&&(o+=" (dslc_sep) ",a+=" (dslc_sep) "),o+=jQuery(this).find(".dslc-accordion-title").text(),a+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()})),a=a.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="accordion_nav"]',s).val(o),jQuery('.dslca-module-option-front[data-id="accordion_content"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=()=>{var e,s;jQuery(".dslc-tabs").each((function(){e=jQuery(this),s=jQuery(".dslc-tabs-nav",e),jQuery(".dslc-tabs-content",e),jQuery(".dslc-tabs-tab-content",e).eq(0).addClass("dslc-active"),jQuery(".dslc-tabs-nav-hook",s).eq(0).addClass("dslc-active")}))},jQuery(document).on("click",".dslca-add-new-tab-hook",e=>function(e){var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",s),o=jQuery(".dslc-tabs-tab-content:last",s),a=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length;t.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>'),o.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+a+'">Open in WP Editor</span></div></div>'),jQuery(".dslc-tabs-nav-hook:last",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}(e)),jQuery(document).on("click",".dslca-delete-tab-hook",e=>function(e){var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(e.target).closest(".dslc-tabs-nav-hook"),o=t.index(),a=jQuery(".dslc-tabs-tab-content",s).eq(o);jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length>1&&(t.remove(),a.remove(),jQuery(".dslc-tabs-tab-content.dslc-active",s).length||jQuery(".dslc-tabs-nav-hook:first",s).trigger("click"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),e.stopPropagation()}(e)),jQuery(document).on("click",".dslc-tabs-nav-hook",e=>function(e){dslcTabs=jQuery(e.target).closest(".dslc-tabs"),dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs),dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs),dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active"),jQuery(e.currentTarget).addClass("dslc-active"),jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length?jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass("dslc-active"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}(e)),jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))})).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),window.dslc_download_count_increment=e=>{jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=()=>{!!document.documentMode?jQuery(".dslc-in-viewport-check").css("opacity",1):jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each((function(){var e=jQuery(this),s=e.data("dslc-anim"),t=parseInt(e.data("dslc-anim-duration"))/1e3+"s";jQuery(window).width()<768&&(t="0s");var o=parseInt(e.data("dslc-anim-delay")),a=s+" "+t+" "+e.data("dslc-anim-easing")+" forwards";jQuery(this).addClass("dslc-in-viewport"),o>0?setTimeout((function(){e.css({"-webkit-animation":a,"-moz-animation":a,animation:a})}),o):jQuery(this).css({"-webkit-animation":a,"-moz-animation":a,animation:a})}))},window.dslc_el_anim_hover=()=>{jQuery(".dslc-on-hover-anim-target").each((function(){var e="all "+parseInt(jQuery(this).data("dslc-anim-speed"))/1e3+"s ease-out";jQuery(this).css({"-webkit-transition":e,"-moz-transition":e,transition:e})}))},window.dslc_check_progress_bar_viewport=()=>{jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each((function(){var e=jQuery(this),s=e.find(".dslc-progress-bar-loader-inner"),t=s.data("amount")+"%",o=s.data("speed");e.addClass("dslc-progress-bar-in-viewport"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=e=>{var s=e.find("#author"),t=e.find("#email"),o=(e.find("#url"),e.find("#comment")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:"#e55f5f"}),a=!1):s.attr("style",""),!t.length||0!=t.val().length&&-1!==t.val().indexOf("@")?t.attr("style",""):(t.css({borderColor:"#e55f5f"}),a=!1),0==o.val().length?(o.css({borderColor:"#e55f5f"}),a=!1):o.attr("style",""),a},window.dslc_social_share=(e,s,t)=>{var o,a,c="status=no,height="+s+",width="+e+",resizable=yes,left="+(o=window.screen.width/2-(e/2+10))+",top="+(a=window.screen.height/2-(s/2+50))+",screenX="+o+",screenY="+a+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";return location.href,document.title,window.open(t,"sharer",c),!1},window.dslc_sticky_row=()=>{if(jQuery("body .dslc-modules-section").hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var e=jQuery("body .dslc-modules-section.dslc-sticky-row"),s=jQuery(".dslc-sticky-row");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery("body .dslc-modules-section.dslc-sticky-row")).offset().top;jQuery("#wpadminbar").length&&jQuery("#wpadminbar").height();var t=jQuery(".dslc-sticky-row");document.addEventListener("scroll",s=>{var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery("#wpadminbar").length&&(c-=jQuery("#wpadminbar").height());var d=o<=s.exTop,l=c<=o,n="fixed",r=0;if(d)n="relative",r=0,s.isFixed=!1,s.classList.remove("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight());else if(l){if(n="fixed",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery("#wpadminbar").length&&(r+=32),s.classList.add("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight())}jQuery(s).css({position:n,top:r+"px"})})):(e.removeClass("dslc-sticky-section-fixed"),t.css({position:"relative",top:"0px"})))},{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on("click",".dslc-pagination-load-more a",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass("dslc-active")){var s=jQuery(this),t=jQuery(this).closest(".dslc-module-front"),o=t.find(".dslc-pagination"),a=t.find(".dslc-posts-inner"),c=t.attr("id"),i=s.attr("href"),d=t.find(".dslc-load-more-temp");s.find(".dslc-icon").addClass("dslc-icon-spin"),d.load(i+" #"+c,(function(){a.append('<div class="dslc-post-separator"></div>'),a.append(d.find(".dslc-posts-inner").html()),t.find(".dslc-pagination").html(d.find(".dslc-pagination").html()),o.replaceWith(d.find(".dslc-pagination")),d.html(""),a.imagesLoaded((function(){t.find(".dslc-init-masonry").length&&t.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}))}))}})),jQuery(".dslc-tp-comment-form form").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(".dslc-mobile-navigation select").change((function(){window.location=jQuery(this).val()})),jQuery(document).on("click",".dslc-notification-close",(function(e){jQuery(this).closest(".dslc-notification").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on("click",".dslc-post-filter",(function(){var e=jQuery(this),s=e.closest(".dslc-module-front").find(".dslc-posts"),t=e.closest(".dslc-module-front"),o=e.data("filter-id"),a=jQuery(),c=jQuery();"show-all"===o?(a=s.closest(".dslc-module-front").find(".dslc-post"),c=jQuery()):(a=s.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+o+'"]'),c=s.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+o+'"])')),e.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive"),s.hasClass("dslc-init-grid")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"}),a.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show(),dslc_masonry(t,!0))})),jQuery(document).on("click",".dslc-download-count-hook",(function(e){dslc_download_count_increment(jQuery(this).data("post-id"))})),jQuery(".dslc-notification-box-has-timeout").each((function(){var e=jQuery(this);nTimeout="none",moduleID=e.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID,e.data("notification-timeout")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on("click",".dslc-notification-box-close",(function(){var e=jQuery(this).closest(".dslc-notification-box"),s="none",t="nBox"+e.closest(".dslc-module-front").data("module-id");e.data("notification-timeout")&&(s=e.data("notification-timeout")),"none"!==s&&Cookies.set(t,"closed",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on("click",".dslc-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion-item"),s=e.siblings(".dslc-accordion-item");e.hasClass("dslc-active")?(jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus")),s=e):(e.removeClass("dslc-inactive").addClass("dslc-active"),jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):(e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus"),s.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")))),s.removeClass("dslc-active").addClass("dslc-inactive"),jQuery(".dslc-accordion-content",e).slideDown(300),jQuery(".dslc-accordion-content",s).slideUp(300)})),jQuery(document).on("click",".dslca-add-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion"),s=jQuery(".dslc-accordion-item:last",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(".dslc-accordion-item",e).length,jQuery(".dslc-accordion-title",t).html("CLICK TO EDIT"),jQuery(".dslc-accordion-content",t).html('<div class="dslca-editable-content" data-edit-id="'+numberOfTabs+'">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+numberOfTabs+'">Edit Content</span></div>'),jQuery(".dslc-accordion-hook",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslca-delete-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(".dslc-accordion-item",s).length>1?(t.remove(),jQuery(".dslc-accordion-item.dslc-active",s).length||jQuery(".dslc-accordion-hook:first",s).trigger("click"),dslc_accordion_generate_code(s)):alert("You can not delete the last remaining accordion item."),e.stopPropagation()})),jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item"),o=t.next(".dslc-accordion-item"),a=t.prev(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(this).hasClass("dslca-move-down-accordion-hook")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))})).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslc-trigger-lightbox-gallery",(function(e){if(e.preventDefault(),jQuery(this).closest(".dslc-post").length)jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click");else if(jQuery(this).closest(".dslc-col")){var s=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+s+")").trigger("click")}else jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")})),jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var i=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on("scroll",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative"))&&(s=jQuery("body").height(),t=jQuery("#dslc-footer"),o=jQuery(t).height(),a=jQuery("#dslc-content"),c="100vh",jQuery("#wpadminbar").length&&(c="96.7vh"),s<jQuery(window).height()&&(jQuery(t).css({position:"absolute",bottom:"0",width:"100%"}),jQuery(a).css({"min-height":c,"padding-bottom":o+"px"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});
2
  //# sourceMappingURL=client_frontend.min.js.map
js/dist/client_frontend.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client_frontend.min.js","sources":["webpack:///client_frontend.min.js"],"sourcesContent":["!function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&\"object\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,\"default\",{enumerable:!0,value:e}),2&s&&\"string\"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,\"a\",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p=\"\",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=e=>{void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery(\"body\");1!=e&&(t.hasClass(\"dslc-res-disabled\")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section=\"responsive\"]').length)||(t.removeClass(\"dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big\"),s>=1024&&s<1280?t.addClass(\"dslc-res-smaller-monitor\"):s>=768&&s<1024?t.addClass(\"dslc-res-tablet\"):s<768?t.addClass(\"dslc-res-phone\"):t.addClass(\"dslc-res-big\"))},window.dslc_init_accordion=()=>{jQuery(\".dslc-accordion\").each((function(){var e=jQuery(this),s=e.data(\"open\")-1,t=jQuery(\".dslc-accordion-item:eq(\"+s+\")\",e),o=t.siblings(\".dslc-accordion-item\"),a=jQuery(\".dslc-accordion-item\",e);s>=0?(t.addClass(\"dslc-active\"),o.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",o).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||o.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")):(a.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",a).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||a.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"))}))},window.dslc_init_lightbox=()=>{var e;jQuery(\".dslc-lightbox-image\").each((function(){e=\"image\",(jQuery(this).attr(\"href\").indexOf(\"youtube.com\")>=0||jQuery(this).attr(\"href\").indexOf(\"vimeo.com\")>=0)&&(e=\"iframe\"),jQuery(this).magnificPopup({type:e})})),jQuery(\".dslc-lightbox-gallery\").each((function(){jQuery(this).magnificPopup({delegate:\"a\",type:\"image\",gallery:{enabled:!0},image:{titleSrc:function(e){var s=\"\";return void 0!==e.el.attr(\"data-caption\")&&(s=\"<small>\"+e.el.attr(\"data-caption\")+\"</small>\"),e.el.attr(\"title\")+s}}})}))},window.dslc_carousel=()=>{jQuery(\".dslc-carousel, .dslc-slider\").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(\".dslc-module-front\")).imagesLoaded((function(){if(t.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass(\"dslc-carousel\")&&(s.find(\".dslc-col\").css({\"margin-left\":e,\"margin-right\":e}),s.css({\"margin-left\":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:\"fade\",scrollPerPage:!0},a={items:s.data(\"columns\"),pagination:s.data(\"pagination\"),itemsScaleUp:s.data(\"scale-up\"),slideSpeed:s.data(\"slide-speed\"),paginationSpeed:s.data(\"pagination-speed\"),rewindSpeed:s.data(\"rewind-speed\"),autoPlay:s.data(\"autoplay\"),stopOnHover:s.data(\"stop-on-hover\"),lazyLoad:s.data(\"lazy-load\"),lazyFollow:s.data(\"lazy-follow\"),autoHeight:s.data(\"flexible-height\"),mouseDrag:s.data(\"mouse-drag\"),touchDrag:s.data(\"touch-drag\"),addClassActive:s.data(\"active-class\"),transitionStyle:s.data(\"animation\"),scrollPerPage:s.data(\"scroll-per-page\")},c=jQuery.extend({},o,a),(s.hasClass(\"dslc-slider\")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(\".dslc-loader\").remove(),s.css({opacity:1,maxHeight:\"none\"})},afterAction:function(){var e=this.owl.visibleItems;s.find(\".dslc-carousel-item-visible\").removeClass(\"dslc-carousel-item-visible\"),s.find(\".owl-item\").filter((function(s){return e.indexOf(s)>-1})).addClass(\"dslc-carousel-item-visible\")}}),jQuery(\".dslc-carousel-nav-next\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").next()})),jQuery(\".dslc-carousel-nav-prev\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").prev()}))}))}))},window.dslc_carousel_responsive=()=>{jQuery(\".dslc-carousel\").each((function(){var e,s;if(s=(e=jQuery(this)).closest(\".dslc-module-front\"),e.css({\"margin-left\":0,width:\"auto\"}),s.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass(\"dslc-carousel\")&&(e.find(\".dslc-col\").css({\"margin-left\":t,\"margin-right\":t}),e.css({\"margin-left\":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=()=>{jQuery(\".dslc-bg-video\").each((function(){jQuery(this).find(\"video\").length||jQuery(this).css({opacity:1})})),jQuery(\".dslc-bg-video video\").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener(\"loadeddata\",(function(e){jQuery(s).closest(\".dslc-bg-video\").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=()=>{jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-e.offset().top)/4+\"px\";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this).css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-jQuery(this).offset().top)/4+\"px\";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=(e,s)=>{e=void 0!==e?e:jQuery(\"body\"),s=void 0!==s&&s,jQuery(\".dslc-init-masonry\",e).each((function(){var e,t,o,a;e=jQuery(this).find(\".dslc-posts-inner\").length?jQuery(this).find(\".dslc-posts-inner\"):jQuery(this),t=\".dslc-masonry-item\",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\")?0:o/100*2.05,e.data(\"masonry\")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry(\"destroy\").masonry({gutter:a,itemSelector:t}),jQuery(e).find(\".dslc-post:not(.dslc-masonry-item)\").hide(),s&&jQuery(t,e).css({scale:\"0.2\"}).animate({scale:\"1\"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=e=>{var s=e.closest(\".dslc-module-front\");dslcTabsNav=jQuery(\".dslc-tabs-nav\",e),dslcTabsContent=jQuery(\".dslc-tabs-content\",e),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",e);var t=\"\",o=\"\",a=0,c=0;jQuery(\".dslc-tabs-nav-hook\",dslcTabsNav).each((function(){++a>1&&(t+=\" (dslc_sep) \"),t+=jQuery(this).find(\".dslc-tabs-nav-hook-title\").text()})),dslcTabContent.each((function(){++c>1&&(o+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslca-tab-plain-content\").val()})),o=o.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"tabs_nav\"]',s).val(t),jQuery('.dslca-module-option-front[data-id=\"tabs_content\"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=e=>{var s=e.closest(\".dslc-module-front\"),t=0,o=\"\",a=\"\";jQuery(\".dslc-accordion-item\",e).each((function(){++t>1&&(o+=\" (dslc_sep) \",a+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslc-accordion-title\").text(),a+=jQuery(this).find(\".dslc-accordion-content\").find(\".dslca-accordion-plain-content\").val()})),a=a.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"accordion_nav\"]',s).val(o),jQuery('.dslca-module-option-front[data-id=\"accordion_content\"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=()=>{var e,s;jQuery(\".dslc-tabs\").each((function(){e=jQuery(this),s=jQuery(\".dslc-tabs-nav\",e),jQuery(\".dslc-tabs-content\",e),jQuery(\".dslc-tabs-tab-content\",e).eq(0).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-nav-hook\",s).eq(0).addClass(\"dslc-active\")}))},jQuery(document).on(\"click\",\".dslca-add-new-tab-hook\",e=>function(e){var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook:last\",s),o=jQuery(\".dslc-tabs-tab-content:last\",s),a=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length;t.after('<span class=\"dslc-tabs-nav-hook\"><span class=\"dslc-tabs-nav-hook-title\" contenteditable=\"true\">Click to edit title</span><span class=\"dslca-delete-tab-hook\"><span class=\"dslca-icon dslc-icon-remove\"></span></span></span>'),o.after('<div class=\"dslc-tabs-tab-content\"><div class=\"dslca-editable-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</div><textarea class=\"dslca-tab-plain-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+a+'\">Open in WP Editor</span></div></div>'),jQuery(\".dslc-tabs-nav-hook:last\",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")}(e)),jQuery(document).on(\"click\",\".dslca-delete-tab-hook\",e=>function(e){console.log(\"dslc_on_tab_delete\");var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(e.target).closest(\".dslc-tabs-nav-hook\"),o=t.index(),a=jQuery(\".dslc-tabs-tab-content\",s).eq(o);jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length>1&&(t.remove(),a.remove(),jQuery(\".dslc-tabs-tab-content.dslc-active\",s).length||jQuery(\".dslc-tabs-nav-hook:first\",s).trigger(\"click\"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),e.stopPropagation()}(e)),jQuery(document).on(\"click\",\".dslc-tabs-nav-hook\",e=>function(e){dslcTabs=jQuery(e.target).closest(\".dslc-tabs\"),dslcTabsNav=jQuery(\".dslc-tabs-nav\",dslcTabs),dslcTabsContent=jQuery(\".dslc-tabs-content\",dslcTabs),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(\".dslc-tabs-nav-hook.dslc-active\",dslcTabs).removeClass(\"dslc-active\"),jQuery(e.currentTarget).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).length?jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass(\"dslc-active\"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)}(e)),jQuery(document).on(\"blur paste\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){dslc_tabs_generate_code(jQuery(this).closest(\".dslc-tabs\"))})).on(\"focus\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),window.dslc_download_count_increment=e=>{jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-download-count-increment\",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=()=>{!!document.documentMode?jQuery(\".dslc-in-viewport-check\").css(\"opacity\",1):jQuery(\".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)\").each((function(){var e=jQuery(this),s=e.data(\"dslc-anim\"),t=parseInt(e.data(\"dslc-anim-duration\"))/1e3+\"s\";jQuery(window).width()<768&&(t=\"0s\");var o=parseInt(e.data(\"dslc-anim-delay\")),a=s+\" \"+t+\" \"+e.data(\"dslc-anim-easing\")+\" forwards\";jQuery(this).addClass(\"dslc-in-viewport\"),o>0?setTimeout((function(){e.css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}),o):jQuery(this).css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}))},window.dslc_el_anim_hover=()=>{jQuery(\".dslc-on-hover-anim-target\").each((function(){var e=\"all \"+parseInt(jQuery(this).data(\"dslc-anim-speed\"))/1e3+\"s ease-out\";jQuery(this).css({\"-webkit-transition\":e,\"-moz-transition\":e,transition:e})}))},window.dslc_check_progress_bar_viewport=()=>{jQuery(\".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)\").each((function(){var e=jQuery(this),s=e.find(\".dslc-progress-bar-loader-inner\"),t=s.data(\"amount\")+\"%\",o=s.data(\"speed\");e.addClass(\"dslc-progress-bar-in-viewport\"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=e=>{var s=e.find(\"#author\"),t=e.find(\"#email\"),o=(e.find(\"#url\"),e.find(\"#comment\")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:\"#e55f5f\"}),a=!1):s.attr(\"style\",\"\"),!t.length||0!=t.val().length&&-1!==t.val().indexOf(\"@\")?t.attr(\"style\",\"\"):(t.css({borderColor:\"#e55f5f\"}),a=!1),0==o.val().length?(o.css({borderColor:\"#e55f5f\"}),a=!1):o.attr(\"style\",\"\"),a},window.dslc_social_share=(e,s,t)=>{var o,a,c=\"status=no,height=\"+s+\",width=\"+e+\",resizable=yes,left=\"+(o=window.screen.width/2-(e/2+10))+\",top=\"+(a=window.screen.height/2-(s/2+50))+\",screenX=\"+o+\",screenY=\"+a+\",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no\";return location.href,document.title,window.open(t,\"sharer\",c),!1},window.dslc_sticky_row=()=>{if(jQuery(\"body .dslc-modules-section\").hasClass(\"dslc-sticky-row\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\"),s=jQuery(\".dslc-sticky-row\");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class=\"dslc-modules-section-placeholder\"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\")).offset().top;jQuery(\"#wpadminbar\").length&&jQuery(\"#wpadminbar\").height();var t=jQuery(\".dslc-sticky-row\");document.addEventListener(\"scroll\",s=>{var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery(\"#wpadminbar\").length&&(c-=jQuery(\"#wpadminbar\").height());var d=o<=s.exTop,l=c<=o,n=\"fixed\",r=0;if(d)n=\"relative\",r=0,s.isFixed=!1,s.classList.remove(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight());else if(l){if(n=\"fixed\",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery(\"#wpadminbar\").length&&(r+=32),s.classList.add(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight())}jQuery(s).css({position:n,top:r+\"px\"})})):(e.removeClass(\"dslc-sticky-section-fixed\"),t.css({position:\"relative\",top:\"0px\"})))},{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector(\"meta[name=viewport]\").setAttribute(\"content\",\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on(\"click\",\".dslc-pagination-load-more a\",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass(\"dslc-active\")){var s=jQuery(this),t=jQuery(this).closest(\".dslc-module-front\"),o=t.find(\".dslc-pagination\"),a=t.find(\".dslc-posts-inner\"),c=t.attr(\"id\"),i=s.attr(\"href\"),d=t.find(\".dslc-load-more-temp\");s.find(\".dslc-icon\").addClass(\"dslc-icon-spin\"),d.load(i+\" #\"+c,(function(){a.append('<div class=\"dslc-post-separator\"></div>'),a.append(d.find(\".dslc-posts-inner\").html()),t.find(\".dslc-pagination\").html(d.find(\".dslc-pagination\").html()),o.replaceWith(d.find(\".dslc-pagination\")),d.html(\"\"),a.imagesLoaded((function(){t.find(\".dslc-init-masonry\").length&&t.find(\".dslc-init-masonry .dslc-posts-inner\").masonry(\"reloadItems\").masonry()}))}))}})),jQuery(\".dslc-tp-comment-form form\").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(\".dslc-mobile-navigation select\").change((function(){window.location=jQuery(this).val()})),jQuery(document).on(\"click\",\".dslc-notification-close\",(function(e){jQuery(this).closest(\".dslc-notification\").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on(\"click\",\".dslc-post-filter\",(function(){var e=jQuery(this),s=e.closest(\".dslc-module-front\").find(\".dslc-posts\"),t=e.closest(\".dslc-module-front\"),o=e.data(\"filter-id\"),a=jQuery(),c=jQuery();\"show-all\"===o?(a=s.closest(\".dslc-module-front\").find(\".dslc-post\"),c=jQuery()):(a=s.closest(\".dslc-module-front\").find('.dslc-post[data-cats*=\"'+o+'\"]'),c=s.closest(\".dslc-module-front\").find('.dslc-post:not([data-cats*=\"'+o+'\"])')),e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\").siblings(\".dslc-active\").removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),s.hasClass(\"dslc-init-grid\")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"hidden\"}),a.addClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"visible\"}).show(),dslc_masonry(t,!0))})),jQuery(document).on(\"click\",\".dslc-download-count-hook\",(function(e){dslc_download_count_increment(jQuery(this).data(\"post-id\"))})),jQuery(\".dslc-notification-box-has-timeout\").each((function(){var e=jQuery(this);nTimeout=\"none\",moduleID=e.closest(\".dslc-module-front\").data(\"module-id\"),cookieID=\"nBox\"+moduleID,e.data(\"notification-timeout\")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on(\"click\",\".dslc-notification-box-close\",(function(){var e=jQuery(this).closest(\".dslc-notification-box\"),s=\"none\",t=\"nBox\"+e.closest(\".dslc-module-front\").data(\"module-id\");e.data(\"notification-timeout\")&&(s=e.data(\"notification-timeout\")),\"none\"!==s&&Cookies.set(t,\"closed\",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on(\"click\",\".dslc-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion-item\"),s=e.siblings(\".dslc-accordion-item\");e.hasClass(\"dslc-active\")?(jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\")),s=e):(e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\"),jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):(e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\"),s.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")))),s.removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",e).slideDown(300),jQuery(\".dslc-accordion-content\",s).slideUp(300)})),jQuery(document).on(\"click\",\".dslca-add-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion\"),s=jQuery(\".dslc-accordion-item:last\",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(\".dslc-accordion-item\",e).length,jQuery(\".dslc-accordion-title\",t).html(\"CLICK TO EDIT\"),jQuery(\".dslc-accordion-content\",t).html('<div class=\"dslca-editable-content\" data-edit-id=\"'+numberOfTabs+'\">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class=\"dslca-accordion-plain-content\"></textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+numberOfTabs+'\">Edit Content</span></div>'),jQuery(\".dslc-accordion-hook\",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslca-delete-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(\".dslc-accordion-item\",s).length>1?(t.remove(),jQuery(\".dslc-accordion-item.dslc-active\",s).length||jQuery(\".dslc-accordion-hook:first\",s).trigger(\"click\"),dslc_accordion_generate_code(s)):alert(\"You can not delete the last remaining accordion item.\"),e.stopPropagation()})),jQuery(document).on(\"click\",\".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\"),o=t.next(\".dslc-accordion-item\"),a=t.prev(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(this).hasClass(\"dslca-move-down-accordion-hook\")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on(\"blur paste keyup\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){dslc_accordion_generate_code(jQuery(this).closest(\".dslc-accordion\"))})).on(\"focus\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslc-trigger-lightbox-gallery\",(function(e){if(e.preventDefault(),jQuery(this).closest(\".dslc-post\").length)jQuery(this).closest(\".dslc-post\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\");else if(jQuery(this).closest(\".dslc-col\")){var s=jQuery(this).closest(\".dslc-col\").index();jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:eq(\"+s+\")\").trigger(\"click\")}else jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\")})),jQuery(\"#dslc-header\").hasClass(\"dslc-header-extra-padding\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var i=jQuery(\"#dslc-header\").height();jQuery(\"#dslc-main .dslc-modules-section:first-child\").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on(\"scroll\",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery(\"#dslc-footer\").hasClass(\"dslc-footer-pos-relative\"))&&(s=jQuery(\"body\").height(),t=jQuery(\"#dslc-footer\"),o=jQuery(t).height(),a=jQuery(\"#dslc-content\"),c=\"100vh\",jQuery(\"#wpadminbar\").length&&(c=\"96.7vh\"),s<jQuery(window).height()&&(jQuery(t).css({position:\"absolute\",bottom:\"0\",width:\"100%\"}),jQuery(a).css({\"min-height\":c,\"padding-bottom\":o+\"px\"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});"],"mappings":"AAAA","sourceRoot":""}
1
+ {"version":3,"file":"client_frontend.min.js","sources":["webpack:///client_frontend.min.js"],"sourcesContent":["!function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&\"object\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,\"default\",{enumerable:!0,value:e}),2&s&&\"string\"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,\"a\",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p=\"\",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=e=>{void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery(\"body\");1!=e&&(t.hasClass(\"dslc-res-disabled\")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section=\"responsive\"]').length)||(t.removeClass(\"dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big\"),s>=1024&&s<1280?t.addClass(\"dslc-res-smaller-monitor\"):s>=768&&s<1024?t.addClass(\"dslc-res-tablet\"):s<768?t.addClass(\"dslc-res-phone\"):t.addClass(\"dslc-res-big\"))},window.dslc_init_accordion=()=>{jQuery(\".dslc-accordion\").each((function(){var e=jQuery(this),s=e.data(\"open\")-1,t=jQuery(\".dslc-accordion-item:eq(\"+s+\")\",e),o=t.siblings(\".dslc-accordion-item\"),a=jQuery(\".dslc-accordion-item\",e);s>=0?(t.addClass(\"dslc-active\"),o.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",o).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||o.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")):(a.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",a).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||a.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"))}))},window.dslc_init_lightbox=()=>{var e;jQuery(\".dslc-lightbox-image\").each((function(){e=\"image\",(jQuery(this).attr(\"href\").indexOf(\"youtube.com\")>=0||jQuery(this).attr(\"href\").indexOf(\"vimeo.com\")>=0)&&(e=\"iframe\"),jQuery(this).magnificPopup({type:e})})),jQuery(\".dslc-lightbox-gallery\").each((function(){jQuery(this).magnificPopup({delegate:\"a\",type:\"image\",gallery:{enabled:!0},image:{titleSrc:function(e){var s=\"\";return void 0!==e.el.attr(\"data-caption\")&&(s=\"<small>\"+e.el.attr(\"data-caption\")+\"</small>\"),e.el.attr(\"title\")+s}}})}))},window.dslc_carousel=()=>{jQuery(\".dslc-carousel, .dslc-slider\").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(\".dslc-module-front\")).imagesLoaded((function(){if(t.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass(\"dslc-carousel\")&&(s.find(\".dslc-col\").css({\"margin-left\":e,\"margin-right\":e}),s.css({\"margin-left\":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:\"fade\",scrollPerPage:!0},a={items:s.data(\"columns\"),pagination:s.data(\"pagination\"),itemsScaleUp:s.data(\"scale-up\"),slideSpeed:s.data(\"slide-speed\"),paginationSpeed:s.data(\"pagination-speed\"),rewindSpeed:s.data(\"rewind-speed\"),autoPlay:s.data(\"autoplay\"),stopOnHover:s.data(\"stop-on-hover\"),lazyLoad:s.data(\"lazy-load\"),lazyFollow:s.data(\"lazy-follow\"),autoHeight:s.data(\"flexible-height\"),mouseDrag:s.data(\"mouse-drag\"),touchDrag:s.data(\"touch-drag\"),addClassActive:s.data(\"active-class\"),transitionStyle:s.data(\"animation\"),scrollPerPage:s.data(\"scroll-per-page\")},c=jQuery.extend({},o,a),(s.hasClass(\"dslc-slider\")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(\".dslc-loader\").remove(),s.css({opacity:1,maxHeight:\"none\"})},afterAction:function(){var e=this.owl.visibleItems;s.find(\".dslc-carousel-item-visible\").removeClass(\"dslc-carousel-item-visible\"),s.find(\".owl-item\").filter((function(s){return e.indexOf(s)>-1})).addClass(\"dslc-carousel-item-visible\")}}),jQuery(\".dslc-carousel-nav-next\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").next()})),jQuery(\".dslc-carousel-nav-prev\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").prev()}))}))}))},window.dslc_carousel_responsive=()=>{jQuery(\".dslc-carousel\").each((function(){var e,s;if(s=(e=jQuery(this)).closest(\".dslc-module-front\"),e.css({\"margin-left\":0,width:\"auto\"}),s.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass(\"dslc-carousel\")&&(e.find(\".dslc-col\").css({\"margin-left\":t,\"margin-right\":t}),e.css({\"margin-left\":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=()=>{jQuery(\".dslc-bg-video\").each((function(){jQuery(this).find(\"video\").length||jQuery(this).css({opacity:1})})),jQuery(\".dslc-bg-video video\").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener(\"loadeddata\",(function(e){jQuery(s).closest(\".dslc-bg-video\").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=()=>{jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-e.offset().top)/4+\"px\";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this).css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-jQuery(this).offset().top)/4+\"px\";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=(e,s)=>{e=void 0!==e?e:jQuery(\"body\"),s=void 0!==s&&s,jQuery(\".dslc-init-masonry\",e).each((function(){var e,t,o,a;e=jQuery(this).find(\".dslc-posts-inner\").length?jQuery(this).find(\".dslc-posts-inner\"):jQuery(this),t=\".dslc-masonry-item\",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\")?0:o/100*2.05,e.data(\"masonry\")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry(\"destroy\").masonry({gutter:a,itemSelector:t}),jQuery(e).find(\".dslc-post:not(.dslc-masonry-item)\").hide(),s&&jQuery(t,e).css({scale:\"0.2\"}).animate({scale:\"1\"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=e=>{var s=e.closest(\".dslc-module-front\");dslcTabsNav=jQuery(\".dslc-tabs-nav\",e),dslcTabsContent=jQuery(\".dslc-tabs-content\",e),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",e);var t=\"\",o=\"\",a=0,c=0;jQuery(\".dslc-tabs-nav-hook\",dslcTabsNav).each((function(){++a>1&&(t+=\" (dslc_sep) \"),t+=jQuery(this).find(\".dslc-tabs-nav-hook-title\").text()})),dslcTabContent.each((function(){++c>1&&(o+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslca-tab-plain-content\").val()})),o=o.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"tabs_nav\"]',s).val(t),jQuery('.dslca-module-option-front[data-id=\"tabs_content\"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=e=>{var s=e.closest(\".dslc-module-front\"),t=0,o=\"\",a=\"\";jQuery(\".dslc-accordion-item\",e).each((function(){++t>1&&(o+=\" (dslc_sep) \",a+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslc-accordion-title\").text(),a+=jQuery(this).find(\".dslc-accordion-content\").find(\".dslca-accordion-plain-content\").val()})),a=a.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"accordion_nav\"]',s).val(o),jQuery('.dslca-module-option-front[data-id=\"accordion_content\"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=()=>{var e,s;jQuery(\".dslc-tabs\").each((function(){e=jQuery(this),s=jQuery(\".dslc-tabs-nav\",e),jQuery(\".dslc-tabs-content\",e),jQuery(\".dslc-tabs-tab-content\",e).eq(0).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-nav-hook\",s).eq(0).addClass(\"dslc-active\")}))},jQuery(document).on(\"click\",\".dslca-add-new-tab-hook\",e=>function(e){var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook:last\",s),o=jQuery(\".dslc-tabs-tab-content:last\",s),a=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length;t.after('<span class=\"dslc-tabs-nav-hook\"><span class=\"dslc-tabs-nav-hook-title\" contenteditable=\"true\">Click to edit title</span><span class=\"dslca-delete-tab-hook\"><span class=\"dslca-icon dslc-icon-remove\"></span></span></span>'),o.after('<div class=\"dslc-tabs-tab-content\"><div class=\"dslca-editable-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</div><textarea class=\"dslca-tab-plain-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+a+'\">Open in WP Editor</span></div></div>'),jQuery(\".dslc-tabs-nav-hook:last\",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")}(e)),jQuery(document).on(\"click\",\".dslca-delete-tab-hook\",e=>function(e){var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(e.target).closest(\".dslc-tabs-nav-hook\"),o=t.index(),a=jQuery(\".dslc-tabs-tab-content\",s).eq(o);jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length>1&&(t.remove(),a.remove(),jQuery(\".dslc-tabs-tab-content.dslc-active\",s).length||jQuery(\".dslc-tabs-nav-hook:first\",s).trigger(\"click\"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),e.stopPropagation()}(e)),jQuery(document).on(\"click\",\".dslc-tabs-nav-hook\",e=>function(e){dslcTabs=jQuery(e.target).closest(\".dslc-tabs\"),dslcTabsNav=jQuery(\".dslc-tabs-nav\",dslcTabs),dslcTabsContent=jQuery(\".dslc-tabs-content\",dslcTabs),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(\".dslc-tabs-nav-hook.dslc-active\",dslcTabs).removeClass(\"dslc-active\"),jQuery(e.currentTarget).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).length?jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass(\"dslc-active\"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)}(e)),jQuery(document).on(\"blur paste\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){dslc_tabs_generate_code(jQuery(this).closest(\".dslc-tabs\"))})).on(\"focus\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),window.dslc_download_count_increment=e=>{jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-download-count-increment\",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=()=>{!!document.documentMode?jQuery(\".dslc-in-viewport-check\").css(\"opacity\",1):jQuery(\".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)\").each((function(){var e=jQuery(this),s=e.data(\"dslc-anim\"),t=parseInt(e.data(\"dslc-anim-duration\"))/1e3+\"s\";jQuery(window).width()<768&&(t=\"0s\");var o=parseInt(e.data(\"dslc-anim-delay\")),a=s+\" \"+t+\" \"+e.data(\"dslc-anim-easing\")+\" forwards\";jQuery(this).addClass(\"dslc-in-viewport\"),o>0?setTimeout((function(){e.css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}),o):jQuery(this).css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}))},window.dslc_el_anim_hover=()=>{jQuery(\".dslc-on-hover-anim-target\").each((function(){var e=\"all \"+parseInt(jQuery(this).data(\"dslc-anim-speed\"))/1e3+\"s ease-out\";jQuery(this).css({\"-webkit-transition\":e,\"-moz-transition\":e,transition:e})}))},window.dslc_check_progress_bar_viewport=()=>{jQuery(\".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)\").each((function(){var e=jQuery(this),s=e.find(\".dslc-progress-bar-loader-inner\"),t=s.data(\"amount\")+\"%\",o=s.data(\"speed\");e.addClass(\"dslc-progress-bar-in-viewport\"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=e=>{var s=e.find(\"#author\"),t=e.find(\"#email\"),o=(e.find(\"#url\"),e.find(\"#comment\")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:\"#e55f5f\"}),a=!1):s.attr(\"style\",\"\"),!t.length||0!=t.val().length&&-1!==t.val().indexOf(\"@\")?t.attr(\"style\",\"\"):(t.css({borderColor:\"#e55f5f\"}),a=!1),0==o.val().length?(o.css({borderColor:\"#e55f5f\"}),a=!1):o.attr(\"style\",\"\"),a},window.dslc_social_share=(e,s,t)=>{var o,a,c=\"status=no,height=\"+s+\",width=\"+e+\",resizable=yes,left=\"+(o=window.screen.width/2-(e/2+10))+\",top=\"+(a=window.screen.height/2-(s/2+50))+\",screenX=\"+o+\",screenY=\"+a+\",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no\";return location.href,document.title,window.open(t,\"sharer\",c),!1},window.dslc_sticky_row=()=>{if(jQuery(\"body .dslc-modules-section\").hasClass(\"dslc-sticky-row\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\"),s=jQuery(\".dslc-sticky-row\");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class=\"dslc-modules-section-placeholder\"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\")).offset().top;jQuery(\"#wpadminbar\").length&&jQuery(\"#wpadminbar\").height();var t=jQuery(\".dslc-sticky-row\");document.addEventListener(\"scroll\",s=>{var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery(\"#wpadminbar\").length&&(c-=jQuery(\"#wpadminbar\").height());var d=o<=s.exTop,l=c<=o,n=\"fixed\",r=0;if(d)n=\"relative\",r=0,s.isFixed=!1,s.classList.remove(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight());else if(l){if(n=\"fixed\",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery(\"#wpadminbar\").length&&(r+=32),s.classList.add(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight())}jQuery(s).css({position:n,top:r+\"px\"})})):(e.removeClass(\"dslc-sticky-section-fixed\"),t.css({position:\"relative\",top:\"0px\"})))},{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector(\"meta[name=viewport]\").setAttribute(\"content\",\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on(\"click\",\".dslc-pagination-load-more a\",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass(\"dslc-active\")){var s=jQuery(this),t=jQuery(this).closest(\".dslc-module-front\"),o=t.find(\".dslc-pagination\"),a=t.find(\".dslc-posts-inner\"),c=t.attr(\"id\"),i=s.attr(\"href\"),d=t.find(\".dslc-load-more-temp\");s.find(\".dslc-icon\").addClass(\"dslc-icon-spin\"),d.load(i+\" #\"+c,(function(){a.append('<div class=\"dslc-post-separator\"></div>'),a.append(d.find(\".dslc-posts-inner\").html()),t.find(\".dslc-pagination\").html(d.find(\".dslc-pagination\").html()),o.replaceWith(d.find(\".dslc-pagination\")),d.html(\"\"),a.imagesLoaded((function(){t.find(\".dslc-init-masonry\").length&&t.find(\".dslc-init-masonry .dslc-posts-inner\").masonry(\"reloadItems\").masonry()}))}))}})),jQuery(\".dslc-tp-comment-form form\").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(\".dslc-mobile-navigation select\").change((function(){window.location=jQuery(this).val()})),jQuery(document).on(\"click\",\".dslc-notification-close\",(function(e){jQuery(this).closest(\".dslc-notification\").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on(\"click\",\".dslc-post-filter\",(function(){var e=jQuery(this),s=e.closest(\".dslc-module-front\").find(\".dslc-posts\"),t=e.closest(\".dslc-module-front\"),o=e.data(\"filter-id\"),a=jQuery(),c=jQuery();\"show-all\"===o?(a=s.closest(\".dslc-module-front\").find(\".dslc-post\"),c=jQuery()):(a=s.closest(\".dslc-module-front\").find('.dslc-post[data-cats*=\"'+o+'\"]'),c=s.closest(\".dslc-module-front\").find('.dslc-post:not([data-cats*=\"'+o+'\"])')),e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\").siblings(\".dslc-active\").removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),s.hasClass(\"dslc-init-grid\")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"hidden\"}),a.addClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"visible\"}).show(),dslc_masonry(t,!0))})),jQuery(document).on(\"click\",\".dslc-download-count-hook\",(function(e){dslc_download_count_increment(jQuery(this).data(\"post-id\"))})),jQuery(\".dslc-notification-box-has-timeout\").each((function(){var e=jQuery(this);nTimeout=\"none\",moduleID=e.closest(\".dslc-module-front\").data(\"module-id\"),cookieID=\"nBox\"+moduleID,e.data(\"notification-timeout\")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on(\"click\",\".dslc-notification-box-close\",(function(){var e=jQuery(this).closest(\".dslc-notification-box\"),s=\"none\",t=\"nBox\"+e.closest(\".dslc-module-front\").data(\"module-id\");e.data(\"notification-timeout\")&&(s=e.data(\"notification-timeout\")),\"none\"!==s&&Cookies.set(t,\"closed\",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on(\"click\",\".dslc-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion-item\"),s=e.siblings(\".dslc-accordion-item\");e.hasClass(\"dslc-active\")?(jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\")),s=e):(e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\"),jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):(e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\"),s.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")))),s.removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",e).slideDown(300),jQuery(\".dslc-accordion-content\",s).slideUp(300)})),jQuery(document).on(\"click\",\".dslca-add-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion\"),s=jQuery(\".dslc-accordion-item:last\",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(\".dslc-accordion-item\",e).length,jQuery(\".dslc-accordion-title\",t).html(\"CLICK TO EDIT\"),jQuery(\".dslc-accordion-content\",t).html('<div class=\"dslca-editable-content\" data-edit-id=\"'+numberOfTabs+'\">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class=\"dslca-accordion-plain-content\"></textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+numberOfTabs+'\">Edit Content</span></div>'),jQuery(\".dslc-accordion-hook\",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslca-delete-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(\".dslc-accordion-item\",s).length>1?(t.remove(),jQuery(\".dslc-accordion-item.dslc-active\",s).length||jQuery(\".dslc-accordion-hook:first\",s).trigger(\"click\"),dslc_accordion_generate_code(s)):alert(\"You can not delete the last remaining accordion item.\"),e.stopPropagation()})),jQuery(document).on(\"click\",\".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\"),o=t.next(\".dslc-accordion-item\"),a=t.prev(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(this).hasClass(\"dslca-move-down-accordion-hook\")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on(\"blur paste keyup\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){dslc_accordion_generate_code(jQuery(this).closest(\".dslc-accordion\"))})).on(\"focus\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslc-trigger-lightbox-gallery\",(function(e){if(e.preventDefault(),jQuery(this).closest(\".dslc-post\").length)jQuery(this).closest(\".dslc-post\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\");else if(jQuery(this).closest(\".dslc-col\")){var s=jQuery(this).closest(\".dslc-col\").index();jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:eq(\"+s+\")\").trigger(\"click\")}else jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\")})),jQuery(\"#dslc-header\").hasClass(\"dslc-header-extra-padding\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var i=jQuery(\"#dslc-header\").height();jQuery(\"#dslc-main .dslc-modules-section:first-child\").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on(\"scroll\",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery(\"#dslc-footer\").hasClass(\"dslc-footer-pos-relative\"))&&(s=jQuery(\"body\").height(),t=jQuery(\"#dslc-footer\"),o=jQuery(t).height(),a=jQuery(\"#dslc-content\"),c=\"100vh\",jQuery(\"#wpadminbar\").length&&(c=\"96.7vh\"),s<jQuery(window).height()&&(jQuery(t).css({position:\"absolute\",bottom:\"0\",width:\"100%\"}),jQuery(a).css({\"min-height\":c,\"padding-bottom\":o+\"px\"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});"],"mappings":"AAAA","sourceRoot":""}
js/dist/editor_backend.min.js CHANGED
@@ -1,9 +1,9 @@
1
- !function(e){var t={};function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(i,s,function(t){return e[t]}.bind(null,s));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}({3:function(e,t,o){"use strict";o.r(t);const i=function(e){if("object"!=typeof e||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class="dslca-prompt-modal dslca-prompt-modal-active"><div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg"><span class="dslca-prompt-modal-title">'+e.title+'</span><span class="dslca-prompt-modal-descr">'+e.content+"</span></div>",o="";o=e.confirm||e.cancel?'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.confirm_title?e.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span>'+(e.cancel_title?e.cancel_title:"Cancel")+"</span></div>":'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.ok_title?e.ok_title:"OK")+"</a></div>",t+=o+"</div>",t=jQuery(t),"function"!=typeof e.confirm&&(e.confirm=function(){}),"function"!=typeof e.cancel&&(e.cancel=function(){}),t.find(".dslca-prompt-modal-confirm-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(".dslca-prompt-modal-cancel-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery("body").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=()=>{window.dslcDebug&&console.log("updatePreset");var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").innerText,i=e.data("module");"none"!==t&&""!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){"enabled"==t.preset_setting&&jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-module="'+e.data("module")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\s/g,"-");jQuery("body").addClass("dslca-new-preset-added"),jQuery('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+t+'">'+t+"</option>").val(t).trigger("change"),jQuery(this).val(""),jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}})),jQuery(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',(function(e){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})),jQuery(document).on("click",".dslc-delete-preset",(function(e){var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),i=t.data("module");"none"!==o&&""!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function n(){window.dslcDebug&&console.log("dslc_save_composer"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log("dslca_gen_content_for_search");var e=document.getElementById("dslca-content-for-search");if(null===e)return;var t=e.value,o="",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(""!==e.getAttribute("data-exportable-content")){var s=e.getAttribute("data-exportable-content");i="<"+s+">"+e.innerHTML+"</"+s+">"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\s+/g," ").trim()+"\n")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery("#dslca-code").val(),t=jQuery("#dslca-content-for-search").val(),o=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250),jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+o+'" src="'+DSLCSiteData.siteurl+"/?p="+o+'" ></iframe>'),jQuery(".lbmn-cache-iframe").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+e.status)})).fail((function(e){"timeout"==e.statusText?alert("The request timed out after 30 seconds. Server do not respond in time. Please try again."):alert("Something went wrong. Please try again. Error Code: "+e.statusText)})).always((function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log("dslc_generate_code");var e,t,o="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(".dslc-module-front",this).length?(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content",this).hide()):(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300))})),jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=a(e),e.find(".dslca-section-code").val(t),o=o+t+","})),o="["+(o=o.slice(0,-1))+"]",jQuery("#dslca-code").val(o),jQuery("#dslca-export-code").val(o)};const a=e=>{window.dslcDebug&&console.log("generateSectionCode");var t,o,i,s,n="",a=0,d="";return o=e,jQuery(".dslc-modules-area",o).length?o.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):o.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty"),jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),a=0,i=o.find(".dslca-section-code").val(),s=JSON.parse(i),d="",jQuery(".dslca-modules-section-settings input",o).each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();d=d+t+'="'+o+'" ',s[t]=o})),void 0!==s.give_new_id&&delete s.give_new_id,s.content=[],jQuery(".dslc-modules-area",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data("size")),d=o.data("valign"),l="no",r="no";a+=i,jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==a?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),a=0,l="yes"):a>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),a=i,r="yes"),a==i&&(r="yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));var c='{"element_type":"module_area","last":"'+l+'","first":"'+r+'","size":"'+i+'","valign":"'+d+'"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(".dslc-module-front",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute("data-dslc-module-size"));var i="no";jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==(e+=t)?(jQuery(this).addClass("dslc-last-col"),jQuery(this).next(".dslc-module-front").addClass("dslc-first-col"),e=0,i="yes"):e>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),e=t),e==t&&("yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));try{n=o[0].querySelector(".dslca-module-code").innerText}catch(e){console.info("No DSLC code found in module: "+o[0].getAttribute("id"))}if(""!==n){var s=JSON.parse(n);s.last=i,jQuery.each(s,(function(e,t){!1!==t&&""!==t||delete s[e],"content"===e&&(s[e]=t.replace(/\\'/g,"'")),"give_new_id"===e&&delete s[e]})),o[0].querySelector(".dslca-module-code").innerText=JSON.stringify(s),c.content.push(s)}n=""})),s.content.push(c)})),JSON.stringify(s)},d=()=>{jQuery(document).on("click",".dslca-save-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||n()})),jQuery(document).on("click",".dslca-save-draft-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||function(){window.dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),t=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:t,dslc_code:e},(function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")}))}()}))};const l=e=>{if(window.dslcDebug&&console.log("editableContentCodeGeneration"),void 0===e)return!1;const t=e.closest(".dslc-module-front")[0],o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),i=e.data("id");LiveComposer.Utils.update_module_property_raw(t,i,o)};const r=(e,t)=>{"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("hideModal"),(t=jQuery(t)).outerHide("destroy"),t.hide(),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut(),t.removeClass("dslca-modal-open")};jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-open-modal-hook",(function(e){e.preventDefault();var t=jQuery(this).data("modal");!function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_show_modal"),jQuery(".dslca-modal:visible").length&&r("",jQuery(".dslca-modal:visible")),t=jQuery(t),jQuery(".dslca-container").height(),t.outerHide({clbk:function(){r("",jQuery(".dslca-modal:visible"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,s=o.left-i;t.css({left:s}),jQuery(".dslca-prompt-modal-custom").insertAfter(t),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn(),t.addClass("dslca-modal-open").show()}(jQuery(this),t)})),jQuery(document).on("click",".dslca-close-modal-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-action-disabled")){var t=jQuery(this).data("modal");r(jQuery(this),t)}}))}));const c=()=>{"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_js_confirm_close"),jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").animate({opacity:0},400,(function(){jQuery(this).hide(),jQuery(".dslca-prompt-modal-cancel-hook").show(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)})),jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-confirm-hook").trigger("click"):27==e.which&&jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")},jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-prompt-modal-cancel-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==t&&dslc_module_options_cancel_changes((function(){o.trigger("click")})),c(),jQuery(".dslca-prompt-modal").data("id","")})),jQuery(document).on("click",".dslca-prompt-modal-confirm-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target"),i=!0;if("edit_in_progress"==t)dslc_module_options_confirm_changes((function(){o.trigger("click")}));else if("disable_lc"==t)window.location=o;else if("delete_module"===t){var s=o.closest(".dslc-module-front");dslc_module_delete(s)}else if("delete_modules_area"===t){var n=o.closest(".dslc-modules-area");n.closest(".dslc-modules-section-inner");dslc_modules_area_delete(n)}else"delete_modules_section"==t?dslc_row_delete(o.closest(".dslc-modules-section")):"export_modules_section"==t||"import_modules_section"==t&&(dslc_row_import(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),i=!1);i&&c(),jQuery(".dslca-prompt-modal").data("id","")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if("destroy"==(e=e||{}))return jQuery(document).unbind("click.outer_hide"),!1;jQuery(document).bind("click.outer_hide",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&"none"!=jQuery(o).css("display")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener("modalWysiwygCancel",(function(e){jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})),document.addEventListener("modalWysiwygConfirm",(function(e){var t=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor").getContent();else o=jQuery("#dslcawpeditor").val();if(o=o.trim(),jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(o);var i=t.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(o);var s=t.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(s)}else l(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else console.info("Live Composer: TinyMCE is undefined.")}));var u=window.DSLCFonts.regular,m=window.DSLCFonts.google,p=u.concat(m),h=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",(function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()})),jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",(function(){var e,t=jQuery(".dslca-module-edit-field-ttip"),o=t.find(".dslca-module-edit-field-ttip-inner"),i=jQuery(this);if(e=i.parent().parent().hasClass("dslca-modules-section-edit-option")?i.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html():i.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html(),t.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{o.html(e);var s=i.offset(),n=t.outerHeight(),a=t.outerWidth(),d=s.left-a/2+6,l="50%";d<0&&(l=a/2+d+"px",d=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:s.top-n-20,left:d}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+l+" }</style>"))}})),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",(function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),t=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=t.offset(),i=e.outerHeight(),s=e.outerWidth(),n=o.left-s/2+6,a="50%";n<0&&(a=s/2+n+"px",n=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-i-20,left:n}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+a+" }</style>"))}})),window.dslc_module_options_font(),jQuery(document).on("keyup",".dslca-module-edit-field-icon",(function(e){var t,o,i,s;o=(t=jQuery(this)).closest(".dslca-module-edit-option"),38==e.which&&k(t,"previous"),40==e.which&&k(t,"next"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),s=jQuery.grep(h,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(s))})),jQuery(document).on("keypress",".dslca-module-edit-field-icon",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",t).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",t).text(""))})),jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',(function(e){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")})),jQuery(document).on("click",".dslca-modal-icons .icon-item",(function(e){var t=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(t).change(),r("",jQuery(".dslca-modal:visible")),jQuery("input.icon-modal-active").removeClass("icon-modal-active")})),jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",(function(){var e=jQuery(this),t=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),i=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");t.removeClass("dslca-active"),e.addClass("dslca-active"),i.val(o).trigger("change")})),jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",(function(){var e=jQuery(this),t=e.siblings('input[type="checkbox"]');t.prop("checked")?(t.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(t.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),t.change()})),function(){window.dslcDebug&&console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",(function(){var e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-box-shadow-hor").val(),i=e.find(".dslca-module-edit-option-box-shadow-ver").val(),s=e.find(".dslca-module-edit-option-box-shadow-blur").val(),n=e.find(".dslca-module-edit-option-box-shadow-spread").val(),a=e.find(".dslca-module-edit-option-box-shadow-color").val(),d=e.find(".dslca-module-edit-option-box-shadow-inset").is(":checked"),l=o+"px "+i+"px "+s+"px "+n+"px "+a+(d=d?" inset":"");t.val(l).trigger("change")}))}(),function(){window.dslcDebug&&console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,.dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",(function(){var e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-text-shadow-hor").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-ver").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-blur").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-color").val();t.val(o).trigger("change")}))}();jQuery(document).on("click",".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color",(function(){D(this);var e=jQuery(this).closest(".dslca-color-option"),t=jQuery(".dslca-module-edit-options-inner"),o=e.find(".wp-picker-holder"),i=e.offset(),s=i.left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css("left",s+"px"),jQuery(t).on("scroll",(function(t){var s=(i=e.offset()).left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css("left",s+"px")}))})),jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",(function(){jQuery(this).hasClass("dslca-module-edit-option-select")||L(this)})),jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",(function(){L(this)})),jQuery(".dslca-module-edit-form").submit((function(e){e.preventDefault(),Go()})),jQuery(document).on("click",".dslca-module-edit-options-tab-hook",(function(e){e.preventDefault(),j(jQuery(this))})),jQuery(document).on("click",".dslca-clear-responsive-options",(function(e){e.preventDefault(),b()})),jQuery(document).on("click",".dslca-options-filter-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=jQuery(this).data("section");jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),jQuery(this).addClass("dslca-active"),jQuery(".dslca-container-loader"),document.querySelector(".dslca-container").dataset.currentSection=o,w(o),"responsive"==t&&(jQuery(".dslca-container-loader").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Go((function(){jQuery(".dslca-container-loader").hide()})),jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")),"responsive"==o&&jQuery("#page-builder-preview-area").resizable()})),jQuery(document).on("click",".dslca-module-edit-save",(function(e){e.preventDefault(),_((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),x()})),jQuery(document).on("click",".dslca-module-edit-cancel",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),x()}))}));const f=()=>{var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log("window.LiveComposer.Builder.UI.clearUtils"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(".temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(".mce-tinymce",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass("dslca-modules-section-edit-field")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery("body").off("click.wpcolorpicker")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(".dslca-module-edit-option").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data("dep")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if(("radio"==e.type||"checkbox"==e.type)&&null==t[e.value])return!1;"checkbox"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(",").forEach((function(o){var i=jQuery(".dslca-module-edit-option-"+o.trim()).closest(".dslca-module-edit-option"),s=!0;"radio"!=e.type&&"checkbox"!=e.type||(s=jQuery(e).is(":checked"));var n=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");e.value==t&&s?(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-hide")?(i.removeClass("dep-hide"),i.addClass("dep-show")):i.addClass("dep-show"),n==i.data("tab")&&i.show()):(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-show")?(i.removeClass("dep-show"),i.addClass("dep-hide")):i.addClass("dep-hide"),i.hide())}))}))};jQuery(document).on("change dslc-init-deps",'.dslca-module-edit-option > *[data-id="'+jQuery(this).data("id")+'"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind("change",e),jQuery(document).unbind("dslc-init-deps",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if("object"!=typeof e)return!1;var t="",o="";"tablet_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")?(t="@media only screen and (max-width: 1024px) and (min-width: 768px) {",o="}"):"phone_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")&&(t="@media only screen and (max-width: 767px) {",o="}"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,""),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var s=document.createElement("style");s.innerHTML=e.styleContent,s.id=i,s.className="temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(s)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active"),setTimeout((function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")}),1e3)},v(),g(),y()},v=()=>{jQuery(document).on("change",".dslca-module-edit-field",(function(){window.dslcDebug&&console.log("on change event for .dslca-module-edit-field");var e="",t="",o=jQuery(this),i=o.data("id"),s=o.closest(".dslca-module-edit-option"),n=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=n.data("module");jQuery(".dslca-module-options-front textarea",n);if(n.addClass("dslca-module-change-made"),(s.hasClass("dslca-module-edit-option-select")||s.hasClass("dslca-module-edit-option-checkbox"))&&Q(),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(s.find(".dslca-module-edit-option-checkbox-wrapper").length)jQuery('input[type="checkbox"]',s).each((function(){jQuery(this).prop("checked")&&(e=e+jQuery(this).val()+" ")}));else if(o.hasClass("dslca-module-edit-option-radio"))e=jQuery(".dslca-module-edit-field:checked",o).val();else{e=o.val();if("orientation"==i&&"horizontal"==e)jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("40").trigger("change");else if("orientation"==i&&"vertical"==e){jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("100").trigger("change")}}null!=e&&(e=e.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea")),null===e&&(e=""),jQuery('.dslca-module-options-front textarea[data-id="'+i+'"]',n).val(e),jQuery(".dslca-container-loader").show(),Go((function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made"),"css_load_preset"!=i||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(window.dslc_module_options_show(a),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added"),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass("dslca-module-edit-field-font")){var d=o.val();d+=":400,100,200,300,500,600,700,800,900";var l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=p=o.val(),u=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==m.indexOf(o.val())?document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left");var i=l.split(","),s="#"+u[0].id+" "+i.join(", #"+u[0].id+" ")+" {"+r+": "+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:s})},inactive:function(e,t){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}):setTimeout((function(){jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left");var e=l.split(","),t="#"+u[0].id+" "+e.join(", #"+u[0].id+" ")+" {"+r+": "+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass("dslca-module-edit-field-checkbox")){jQuery('input[type="checkbox"]',s).each((function(){jQuery(this).prop("checked")?(e+="solid ",t=t+jQuery(this).val()+" "):e+="none "}))}if(!o.hasClass("dslca-module-edit-field-font")&&null!=o.data("affect-on-change-el")&&null!=o.data("affect-on-change-rule")){var p,h=o.data("ext")||"";l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=p=o.val();o.hasClass("dslca-module-edit-field-checkbox")&&(p=e,c=t),o.hasClass("dslca-module-edit-field-image")&&(p='url("'+p+'")'),null!==p&&p.length<1&&("background-color"==r||"background"==r)&&(p="transparent"),r.split(",").forEach((function(e){e=e.replace(/\s+/g,"");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),i=l.split(","),s="#"+t[0].id+" "+i.join(", #"+t[0].id+" ")+" {"+e+": "+p+h+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:s})}))}var f="";f=-1!==i.indexOf("css_")?c:o.val(),jQuery('.dslca-module-option-front[data-id="'+i+'"]',n).val(f),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:n[0].id,optionID:i,optionVal:c||o.val()})}}))},g=()=>{jQuery(document).on("change",".dslca-modules-section-edit-field",(function(){var e,t,o,i,s,n,a,d;if(t=(e=jQuery(this)).data("id"),i=e.val(),u=i,s=i+e.data("ext"),n=e.data("css-rule"),d=o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id="'+t+'"]',o),o.addClass("dslca-modules-section-change-made"),e.hasClass("dslca-modules-section-edit-field-upload")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id="dslca-img-url"]',o).val()),"background-image"==n&&(i='url("'+i+'")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),"bg_image_attachment"==t&&o.removeClass("dslc-init-parallax"),"border-top"==t||"border-right"==t||"border-bottom"==t||"border-left"==t){var l=jQuery('.dslca-modules-section-settings input[data-id="border_style"]').val();a=jQuery('.dslca-modules-section-settings input[data-id="border"]',o),u="",e.closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox").each((function(){jQuery(this).is(":checked")&&("border-top"==jQuery(this).data("id")?u+="top ":"border-right"==jQuery(this).data("id")?u+="right ":"border-bottom"==jQuery(this).data("id")?u+="bottom ":"border-left"==jQuery(this).data("id")&&(u+="left "))})),e.is(":checked")?"border-top"==e.data("id")?o.css({"border-top-style":l}):"border-right"==e.data("id")?o.css({"border-right-style":l}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":l}):"border-left"==e.data("id")&&o.css({"border-left-style":l}):"border-top"==e.data("id")?o.css({"border-top-style":"hidden"}):"border-right"==e.data("id")?o.css({"border-right-style":"hidden"}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":"hidden"}):"border-left"==e.data("id")&&o.css({"border-left-style":"hidden"})}else if(e.hasClass("dslca-modules-section-edit-field-checkbox")){var r=jQuery(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),c="";r.each((function(){jQuery(this).prop("checked")&&(c+=jQuery(this).data("val")+" ")}));var u=c;"show_on"==e.data("id")&&(-1!==c.indexOf("desktop")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop"),-1!==c.indexOf("tablet")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet"),-1!==c.indexOf("phone")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")),"section_divider_bottom_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-vert")),"section_divider_top_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-vert"))}else if("bg_image_attachment"==t&&"parallax"==i)o.addClass("dslc-init-parallax"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if("type"==t)"full"==i?o.addClass("dslc-full"):o.removeClass("dslc-full"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if("columns_spacing"==t)"nospacing"==i?o.addClass("dslc-no-columns-spacing"):o.removeClass("dslc-no-columns-spacing");else if("custom_class"==t);else if("custom_id"==t);else if("bg_video"==t){if(jQuery(".dslc-bg-video video",o).remove(),i&&i.length){var m=i;m=(m=m.replace(".webm","")).replace(".mp4",""),jQuery(".dslc-bg-video-inner",o).html('<video><source type="video/mp4" src="'+m+'.mp4" /><source type="video/webm" src="'+m+'.webm" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if("section_divider_top_style"==t||"section_divider_bottom_style"==t){let e="top";"section_divider_bottom_style"==t&&(e="bottom");let s=jQuery('.dslc-section-divider[data-divider-pos="'+e+'"] svg',o).attr("style");if(jQuery('.dslc-section-divider[data-divider-pos="'+e+'"]',o).html(""),i&&i.length){const t=jQuery("#dslc-section-dividers",LiveComposer.Builder.PreviewAreaWindow.document).find("svg#"+i).clone();jQuery('.dslc-section-divider[data-divider-pos="'+e+'"]',o).html(t[0]),void 0!==s&&jQuery('.dslc-section-divider[data-divider-pos="'+e+'"] svg',o).attr("style",s)}}else if("bg_image_thumb"==t)if("enabled"==u){if(jQuery("#dslca-post-data-thumb").length){var p="url('"+jQuery("#dslca-post-data-thumb").val()+"')";d.css(n,p)}}else"disabled"==u&&d.css(n,"none");else{var h;e.data("css-element")&&(d=jQuery(e.data("css-element"),o)),n=n.replace(/ /g,"").split(","),h=null!=e.data("ext")?s:i;for(var f=0;f<n.length;f++)d.css(n[f],h)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},y=()=>{var e;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",(function(){var t=jQuery(this);if(t.hasClass("dslca-module-edit-field-image-add-hook"))var o=t.siblings(".dslca-module-edit-field-image"),i=t.siblings(".dslca-module-edit-field-image-remove-hook");else o=t.siblings(".dslca-modules-section-edit-field-upload"),i=t.siblings(".dslca-modules-section-edit-field-image-remove-hook");(e=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:!1})).on("select",(function(){var s=e.state().get("selection").first().toJSON();o.val(s.id);var n=t.parent().attr("data-id");""!=s.alt&&"image"==n&&jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(s.alt),""!=s.title&&"image"==n&&jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(s.title),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(s.url),o.trigger("change"),t.hide(),i.show()})),e.open()})),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",(function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var t=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else t=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");t.val("").trigger("change"),"image"==e.parent().attr("data-id")&&(jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")),e.hide(),o.show()}))};function w(e){window.dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),j()}const b=()=>{const e=document.querySelector(".dslca-module-edit-options-tab-hook.dslca-active").dataset.id;if("tablet_responsive"===e||"phone_responsive"===e){document.querySelectorAll('.dslca-module-edit-option[data-tab="'+e+'"]').forEach(e=>{const t=e.querySelector(".dslca-module-edit-field").dataset.id;"css_res_t"!==t&&"css_res_p"!==t&&jQuery(".dslca-module-edit-option-"+t).find(".dslca-module-edit-field").val("").trigger("change")})}},j=e=>{window.dslcDebug&&console.log("elementOptionsTabs");var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]:first')).data("id");if(jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.addClass("dslca-active"),jQuery(".dslca-module-edit-options-tabs").show(),jQuery(".dslca-module-edit-options-tab-hook").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),Q(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),x(),o==DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet"),jQuery("html").addClass("dslc-responsive-preview")),o==DSLCString.str_res_phone.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone"),jQuery("html").addClass("dslc-responsive-preview")),o!=DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&o!=DSLCString.str_res_phone.toLowerCase()+"_responsive"||(jQuery(".dslca-container-loader").show(),Go((function(){jQuery(".dslca-container-loader").hide()})))),jQuery("body").hasClass("rtl")){var i,s=0,n=0;jQuery(".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible").each((function(e){jQuery(this).hasClass("dslca-module-edit-option-hidden")||jQuery(this).hasClass("dslca-module-control-group")||(s+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible").each((function(e){n+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(s)+parseInt(n)+10,jQuery(".dslca-module-edit-options-wrapper").css({width:i+"px"})}};function Q(){if(window.dslcDebug&&console.log("dslc_module_options_hideshow_tabs"),"styling"==jQuery(".dslca-options-filter-hook.dslca-active").data("section")){jQuery(".dslca-module-edit");var e=!0,t=!0,o=!0,i=!0,s=!0,n=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(i=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(o=!1,i=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(l=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){var L=jQuery('.dslca-module-edit-option[data-id="css_custom"]');"enabled"==L.find("select").val()?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible"),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden"),jQuery(".dslca-module-edit-options-tabs").hide(),L.css({visibility:"visible"}))}else jQuery(".dslca-module-edit-options-tabs").show();if("disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","visible")),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","visible")),jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible"),jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var x=jQuery(".dslca-options-filter-hook.dslca-active").data("section");jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-show")&&jQuery(".dslca-module-edit-option.dep-show").show(),jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-hide")&&jQuery(".dslca-module-edit-option.dep-hide").hide()}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var B=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");jQuery('.dslca-module-edit-option[data-tab="'+B+'"]').hasClass("dependent")?(jQuery(".dslca-module-edit-option.dependent").hide(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-hide').hide()):jQuery(".dslca-module-edit-option.dependent").hide()}}function _(e){window.dslcDebug&&console.log("dslc_module_options_confirm_changes"),e=void 0!==e&&e,jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),Go((function(){s(),window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Pt(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),window.dslc_show_publish_button()}function C(e){window.dslcDebug&&console.log("dslc_module_options_cancel_changes"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",t).html("").append(window.LiveComposer.Builder.moduleBackup),Go((function(){window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Pt(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function k(e,t){var o=jQuery(e).closest(".dslca-module-edit-option-icon"),i=jQuery(".dslca-module-edit-field-icon",o),s=h.indexOf(i.val());if("previous"==t)var n=s-1;else n=s+1;jQuery(".dslca-module-edit-field-icon-suggest",o).text(""),n<0&&(n=h.length-1),i.val(h[n]).trigger("change")}function D(e){var t,o,i,s,n,a;window.dslcDebug&&console.log("dslc_module_options_color");var d,l=[],r="dslcColors-"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push("#78b"),2>l.length&&l.push("#ab0"),3>l.length&&l.push("#de3"),l.push("#fff"),l.push("#000"),l.push("rgba(0,0,0,0)"),jQuery(e).each((function(){var e=jQuery(this).closest(".dslca-color-option"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:"hsl",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker("color");s=null==r?"":r,t.val(s).trigger("change"),t.css("background",s),o=t.data("affect-on-change-el"),i=t.data("affect-on-change-rule"),null!=o&&".dslca-modules-section-being-edited"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(".dslca-module-being-edited")).css(i,s),n=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',n).val(s),n.addClass("dslca-module-change-made")}}),e.find(".wp-picker-holder .iris-picker").append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var c=e.find(".dslca-colorpicker-apply");d.wpColorPicker("open"),jQuery(c).on("click",(function(){if("#fff"!==s&&"#ffffff"!==s&&"#000"!==s&&"#000000"!==s&&"rgba(0,0,0,0)"!==s)if(void 0===localStorage[r]){var e=[s];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(s)&&(e.unshift(s),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker("close")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function L(e){window.dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(".dslca-module-edit-field-slider",e).length&&e.append('<div class="dslca-module-edit-field-slider"></div>');var t=!0;if(t=!e.hasClass("dslca-modules-section-edit-option"))var o=e.find(".dslca-module-edit-field");else o=e.find(".dslca-modules-section-edit-field");if(e.hasClass("dslca-modules-section-edit-option"))o=e.find(".dslca-modules-section-edit-field");else o=e.find(".dslca-module-edit-field");var i=e.find(".dslca-module-edit-field-slider"),s=parseFloat(o.val()),n=parseFloat(o.data("max")),a=parseFloat(o.data("min")),d=parseFloat(o.data("increment")),l=!1;if(void 0!==o.data("onlypositive")&&1===o.data("onlypositive")&&(l=!0),s>=n&&(n=2*s),!l&&s<=a&&(a=2*s),i.slider({min:a,max:n,step:d,value:o.val(),slide:function(e,t){o.val(t.value+""),o.trigger("change")},change:function(t,o){(o.value>=n||o.value<=a)&&(i.slider("destroy"),L(e))}}),i.show(),jQuery(e).on("mouseleave",(function(){void 0!==i.slider("instance")&&jQuery(i).slider("destroy"),i.remove()})),!o[0].classList.contains("slider-initiated"))return o[0].classList.add("slider-initiated"),o.on("keyup",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger("change")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger("change"))),8!=e.keyCode&&45!=e.keyCode||o.trigger("change"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger("change");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on("change",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(".dslca-module-edit-option-slider")):jQuery(e.target.closest(".dslca-modules-section-edit-option-slider"))).find(".dslca-module-edit-field-slider");(void 0!==o.slider("instance")&&o.slider("value",this.value),t)&&jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made")})),!1}))}function x(){jQuery("html").removeClass("dslc-responsive-preview"),jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}
2
  /**!
3
  * Sortable 1.10.2
4
  * @author RubaXa <trash@rubaxa.org>
5
  * @author owenm <owen23355@gmail.com>
6
  * @license MIT
7
  */
8
- function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){S(e,t,o[t])}))}return e}function E(e,t){if(null==e)return{};var o,i,s=function(e,t){if(null==e)return{};var o,i,s={},n=Object.keys(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||(s[o]=e[o]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(s[o]=e[o])}return s}window.dslc_module_options_font=function(){jQuery(document).off("click",".dslca-module-edit-field-font-next").on("click",".dslca-module-edit-field-font-next",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=p.indexOf(o.val())+1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),o.val(p[i]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}})),jQuery(document).off("click",".dslca-module-edit-field-font-prev").on("click",".dslca-module-edit-field-font-prev",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=p.indexOf(o.val())-1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),i<0&&(i=p.length-1),o.val(p[i]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}})),jQuery(document).off("blur",".dslca-module-edit-field-font").on("blur",".dslca-module-edit-field-font",(function(e){var t=jQuery(this).closest(".dslca-module-edit-option");jQuery(".dslca-module-edit-field-font-suggest",t).hide()})),jQuery(document).off("keyup",".dslca-module-edit-field-font").on("keyup",".dslca-module-edit-field-font",(function(e){console.log("1 e.which:"),console.log(e.which);var t,o,i,s,n=!1;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click();40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp("^"+i,"i"),d=p.length,l=0;do{if(a.test(p[l])&&!n)n=p[l];l++}while(l<d);n?i!==n&&(s=n,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(s=i,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(s),s.length&&t.val(s.substring(0,t.val().length))}})),jQuery(document).off("keydown",".dslca-module-edit-field-font").on("keydown",".dslca-module-edit-field-font",(function(e){if(console.log("2 e.which:"),console.log(e.which),13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),jQuery(".dslca-module-edit-field-font-suggest",o).text().length&&(jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text(""))}}))};function O(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var T=O(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),I=O(/Edge/i),M=O(/firefox/i),N=O(/safari/i)&&!O(/chrome/i)&&!O(/android/i),F=O(/iP(ad|od|hone)/i),W=O(/chrome/i)&&O(/android/i),U={capture:!1,passive:!1};function H(e,t,o){e.addEventListener(t,o,!T&&U)}function z(e,t,o){e.removeEventListener(t,o,!T&&U)}function R(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function q(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function X(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&R(e,t):R(e,t))||i&&e===o)return e;if(e===o)break}while(e=q(e))}return null}var Y,J=/\s+/g;function G(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(J," ").replace(" "+t+" "," ");e.className=(i+(o?" "+t:"")).replace(J," ")}}function K(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=o+("string"==typeof o?"":"px")}}function V(e,t){var o="";if("string"==typeof e)o=e;else do{var i=K(e,"transform");i&&"none"!==i&&(o=i+" "+o)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function $(e,t,o){if(e){var i=e.getElementsByTagName(t),s=0,n=i.length;if(o)for(;s<n;s++)o(i[s],s);return i}return[]}function Z(){var e=document.scrollingElement;return e||document.documentElement}function ee(e,t,o,i,s){if(e.getBoundingClientRect||e===window){var n,a,d,l,r,c,u;if(e!==window&&e!==Z()?(a=(n=e.getBoundingClientRect()).top,d=n.left,l=n.bottom,r=n.right,c=n.height,u=n.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(s=s||e.parentNode,!T))do{if(s&&s.getBoundingClientRect&&("none"!==K(s,"transform")||o&&"static"!==K(s,"position"))){var m=s.getBoundingClientRect();a-=m.top+parseInt(K(s,"border-top-width")),d-=m.left+parseInt(K(s,"border-left-width")),l=a+n.height,r=d+n.width;break}}while(s=s.parentNode);if(i&&e!==window){var p=V(s||e),h=p&&p.a,f=p&&p.d;p&&(l=(a/=f)+(c/=f),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function te(e,t,o){for(var i=ae(e,!0),s=ee(e)[t];i;){var n=ee(i)[o];if(!("top"===o||"left"===o?s>=n:s<=n))return i;if(i===Z())break;i=ae(i,!1)}return!1}function oe(e,t,o){for(var i=0,s=0,n=e.children;s<n.length;){if("none"!==n[s].style.display&&n[s]!==rt.ghost&&n[s]!==rt.dragged&&X(n[s],o.draggable,e,!1)){if(i===t)return n[s];i++}s++}return null}function ie(e,t){for(var o=e.lastElementChild;o&&(o===rt.ghost||"none"===K(o,"display")||t&&!R(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===rt.clone||t&&!R(e,t)||o++;return o}function ne(e){var t=0,o=0,i=Z();if(e)do{var s=V(e),n=s.a,a=s.d;t+=e.scrollLeft*n,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function ae(e,t){if(!e||!e.getBoundingClientRect)return Z();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=K(o);if(o.clientWidth<o.scrollWidth&&("auto"==s.overflowX||"scroll"==s.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==s.overflowY||"scroll"==s.overflowY)){if(!o.getBoundingClientRect||o===document.body)return Z();if(i||t)return o;i=!0}}}while(o=o.parentNode);return Z()}function de(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!Y){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),Y=setTimeout((function(){Y=void 0}),t)}}}function re(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ce(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var ue="Sortable"+(new Date).getTime();function me(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==K(e,"display")&&e!==rt.ghost){t.push({target:e,rect:ee(e)});var o=P({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=V(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var s=!1,n=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=ee(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=V(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&de(l,d)&&!de(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),de(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(s=!0,n=Math.max(n,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),s?e=setTimeout((function(){"function"==typeof o&&o()}),n):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){K(e,"transition",""),K(e,"transform","");var s=V(this.el),n=s&&s.a,a=s&&s.d,d=(t.left-o.left)/(n||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,K(e,"transform","translate3d("+d+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),K(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),K(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){K(e,"transition",""),K(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var pe=[],he={initializeByDefault:!0},fe={mount:function(e){for(var t in he)!he.hasOwnProperty(t)||t in e||(e[t]=he[t]);pe.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var s=e+"Global";pe.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][s]&&t[i.pluginName][s](P({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](P({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var s in pe.forEach((function(i){var s=i.pluginName;if(e.options[s]||i.initializeByDefault){var n=new i(e,t,e.options);n.sortable=e,n.options=e.options,e[s]=n,A(o,n.defaults)}})),e.options)if(e.options.hasOwnProperty(s)){var n=this.modifyOption(e,s,e.options[s]);void 0!==n&&(e.options[s]=n)}},getEventProperties:function(e,t){var o={};return pe.forEach((function(i){"function"==typeof i.eventProperties&&A(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return pe.forEach((function(s){e[s.pluginName]&&s.optionListeners&&"function"==typeof s.optionListeners[t]&&(i=s.optionListeners[t].call(e[s.pluginName],o))})),i}};function ve(e){var t=e.sortable,o=e.rootEl,i=e.name,s=e.targetEl,n=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[ue]){var f,v=t.options,g="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||T||I?(f=document.createEvent("Event")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=a||o,f.from=d||o,f.item=s||o,f.clone=n,f.oldIndex=l,f.newIndex=r,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=P({},h,fe.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ge=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,s=E(o,["evt"]);fe.pluginEvent.bind(rt)(e,t,P({dragEl:we,parentEl:be,ghostEl:je,rootEl:Qe,nextEl:_e,lastDownEl:Ce,cloneEl:ke,cloneHidden:De,dragStarted:Fe,putSortable:Pe,activeSortable:rt.active,originalEvent:i,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se,hideGhostForTarget:nt,unhideGhostForTarget:at,cloneNowHidden:function(){De=!0},cloneNowShown:function(){De=!1},dispatchSortableEvent:function(e){ye({sortable:t,name:e,originalEvent:i})}},s))};function ye(e){ve(P({putSortable:Pe,cloneEl:ke,targetEl:we,rootEl:Qe,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se},e))}var we,be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re=!1,qe=!1,Xe=[],Ye=!1,Je=!1,Ge=[],Ke=!1,Ve=[],$e="undefined"!=typeof document,Ze=F,et=I||T?"cssFloat":"float",tt=$e&&!W&&!F&&"draggable"in document.createElement("div"),ot=function(){if($e){if(T)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),it=function(e,t){var o=K(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),s=oe(e,0,t),n=oe(e,1,t),a=s&&K(s),d=n&&K(n),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ee(s).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+ee(n).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!n||"both"!==d.clear&&d.clear!==c?"horizontal":"vertical"}return s&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===o[et]||n&&"none"===o[et]&&l+r>i)?"vertical":"horizontal"},st=function(e){function t(e,o){return function(i,s,n,a){var d=i.options.group.name&&s.options.group.name&&i.options.group.name===s.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(i,s,n,a),o)(i,s,n,a);var l=(o?i:s).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&"object"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},nt=function(){!ot&&je&&K(je,"display","none")},at=function(){!ot&&je&&K(je,"display","")};$e&&document.addEventListener("click",(function(e){if(qe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),qe=!1,!1}),!0);var dt=function(e){if(we){e=e.touches?e.touches[0]:e;var t=(s=e.clientX,n=e.clientY,Xe.some((function(e){if(!ie(e)){var t=ee(e),o=e[ue].options.emptyInsertThreshold,i=s>=t.left-o&&s<=t.right+o,d=n>=t.top-o&&n<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[ue]._onDragOver(o)}}var s,n,a},lt=function(e){we&&we.parentNode[ue]._isOutsideThisEl(e.target)};function rt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=A({},t),e[ue]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return it(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==rt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in fe.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var s in st(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?H(e,"pointerdown",this._onTapStart):(H(e,"mousedown",this._onTapStart),H(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(H(e,"dragover",this),H(e,"dragenter",this)),Xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),A(this,me())}function ct(e,t,o,i,s,n,a,d){var l,r,c=e[ue],u=c.options.onMove;return!window.CustomEvent||T||I?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=s||t,l.relatedRect=n||ee(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function ut(e){e.draggable=!1}function mt(){Ke=!1}function pt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ht(e){return setTimeout(e,0)}function ft(e){return clearTimeout(e)}rt.prototype={constructor:rt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(We=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,we):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,s=i.preventOnFilter,n=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){Ve.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var i=t[o];i.checked&&Ve.push(i)}}(o),!we&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||i.disabled||l.isContentEditable||(d=X(d,i.draggable,o,!1))&&d.animated||Ce===d)){if(Le=se(d),Be=se(d,i.draggable),"function"==typeof r){if(r.call(this,e,d,this))return ye({sortable:t,rootEl:l,name:"filter",targetEl:d,toEl:o,fromEl:o}),ge("filter",t,{evt:e}),void(s&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(",").some((function(i){if(i=X(l,i.trim(),o,!1))return ye({sortable:t,rootEl:i,name:"filter",targetEl:d,fromEl:o,toEl:o}),ge("filter",t,{evt:e}),!0}))))return void(s&&e.cancelable&&e.preventDefault());i.handle&&!X(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,s=this,n=s.el,a=s.options,d=n.ownerDocument;if(o&&!we&&o.parentNode===n){var l=ee(o);if(Qe=n,be=(we=o).parentNode,_e=we.nextSibling,Ce=o,Ae=a.group,rt.dragged=we,Ee={target:we,clientX:(t||e).clientX,clientY:(t||e).clientY},Me=Ee.clientX-l.left,Ne=Ee.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,we.style["will-change"]="all",i=function(){ge("delayEnded",s,{evt:e}),rt.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!M&&s.nativeDraggable&&(we.draggable=!0),s._triggerDragStart(e,t),ye({sortable:s,name:"choose",originalEvent:e}),G(we,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){$(we,e.trim(),ut)})),H(d,"dragover",dt),H(d,"mousemove",dt),H(d,"touchmove",dt),H(d,"mouseup",s._onDrop),H(d,"touchend",s._onDrop),H(d,"touchcancel",s._onDrop),M&&this.nativeDraggable&&(this.options.touchStartThreshold=4,we.draggable=!0),ge("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(I||T))i();else{if(rt.eventCanceled)return void this._onDrop();H(d,"mouseup",s._disableDelayedDrag),H(d,"touchend",s._disableDelayedDrag),H(d,"touchcancel",s._disableDelayedDrag),H(d,"mousemove",s._delayedDragTouchMoveHandler),H(d,"touchmove",s._delayedDragTouchMoveHandler),a.supportPointer&&H(d,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){we&&ut(we),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._disableDelayedDrag),z(e,"touchend",this._disableDelayedDrag),z(e,"touchcancel",this._disableDelayedDrag),z(e,"mousemove",this._delayedDragTouchMoveHandler),z(e,"touchmove",this._delayedDragTouchMoveHandler),z(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?H(document,"pointermove",this._onTouchMove):H(document,t?"touchmove":"mousemove",this._onTouchMove):(H(we,"dragend",this),H(Qe,"dragstart",this._onDragStart));try{document.selection?ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Re=!1,Qe&&we){ge("dragStarted",this,{evt:t}),this.nativeDraggable&&H(document,"dragover",lt);var o=this.options;!e&&G(we,o.dragClass,!1),G(we,o.ghostClass,!0),rt.active=this,e&&this._appendGhost(),ye({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Oe){this._lastX=Oe.clientX,this._lastY=Oe.clientY,nt();for(var e=document.elementFromPoint(Oe.clientX,Oe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Oe.clientX,Oe.clientY))!==t;)t=e;if(we.parentNode[ue]._isOutsideThisEl(e),t)do{if(t[ue]){if(t[ue]._onDragOver({clientX:Oe.clientX,clientY:Oe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);at()}},_onTouchMove:function(e){if(Ee){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,s=e.touches?e.touches[0]:e,n=je&&V(je,!0),a=je&&n&&n.a,d=je&&n&&n.d,l=Ze&&ze&&ne(ze),r=(s.clientX-Ee.clientX+i.x)/(a||1)+(l?l[0]-Ge[0]:0)/(a||1),c=(s.clientY-Ee.clientY+i.y)/(d||1)+(l?l[1]-Ge[1]:0)/(d||1);if(!rt.active&&!Re){if(o&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(je){n?(n.e+=r-(Te||0),n.f+=c-(Ie||0)):n={a:1,b:0,c:0,d:1,e:r,f:c};var u="matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.e,",").concat(n.f,")");K(je,"webkitTransform",u),K(je,"mozTransform",u),K(je,"msTransform",u),K(je,"transform",u),Te=r,Ie=c,Oe=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!je){var e=this.options.fallbackOnBody?document.body:Qe,t=ee(we,!0,Ze,!0,e),o=this.options;if(Ze){for(ze=e;"static"===K(ze,"position")&&"none"===K(ze,"transform")&&ze!==document;)ze=ze.parentNode;ze!==document.body&&ze!==document.documentElement?(ze===document&&(ze=Z()),t.top+=ze.scrollTop,t.left+=ze.scrollLeft):ze=Z(),Ge=ne(ze)}G(je=we.cloneNode(!0),o.ghostClass,!1),G(je,o.fallbackClass,!0),G(je,o.dragClass,!0),K(je,"transition",""),K(je,"transform",""),K(je,"box-sizing","border-box"),K(je,"margin",0),K(je,"top",t.top),K(je,"left",t.left),K(je,"width",t.width),K(je,"height",t.height),K(je,"opacity","0.8"),K(je,"position",Ze?"absolute":"fixed"),K(je,"zIndex","100000"),K(je,"pointerEvents","none"),rt.ghost=je,e.appendChild(je),K(je,"transform-origin",Me/parseInt(je.style.width)*100+"% "+Ne/parseInt(je.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,s=o.options;ge("dragStart",this,{evt:e}),rt.eventCanceled?this._onDrop():(ge("setupClone",this),rt.eventCanceled||((ke=ce(we)).draggable=!1,ke.style["will-change"]="",this._hideClone(),G(ke,this.options.chosenClass,!1),rt.clone=ke),o.cloneId=ht((function(){ge("clone",o),rt.eventCanceled||(o.options.removeCloneOnHide||Qe.insertBefore(ke,we),o._hideClone(),ye({sortable:o,name:"clone"}))})),!t&&G(we,s.dragClass,!0),t?(qe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(z(document,"mouseup",o._onDrop),z(document,"touchend",o._onDrop),z(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",s.setData&&s.setData.call(o,i,we)),H(document,"drop",o),K(we,"transform","translateZ(0)")),Re=!0,o._dragStartId=ht(o._dragStarted.bind(o,t,e)),H(document,"selectstart",o),Fe=!0,N&&K(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,i,s,n=this.el,a=e.target,d=this.options,l=d.group,r=rt.active,c=Ae===l,u=d.sort,m=Pe||r,p=this,h=!1;if(!Ke){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=X(a,d.draggable,n,!0),x("dragOver"),rt.eventCanceled)return h;if(we.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(qe=!1,r&&!d.disabled&&(c?u||(i=!Qe.contains(we)):Pe===this||(this.lastPutMode=Ae.checkPull(this,r,we,e))&&l.checkPut(this,r,we,e))){if(s="vertical"===this._getDirection(e,a),t=ee(we),x("dragOverValid"),rt.eventCanceled)return h;if(i)return be=Qe,B(),this._hideClone(),x("revert"),rt.eventCanceled||(_e?Qe.insertBefore(we,_e):Qe.appendChild(we)),S(!0);var f=ie(n,d.draggable);if(!f||function(e,t,o){var i=ee(ie(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,s,this)&&!f.animated){if(f===we)return S(!1);if(f&&n===e.target&&(a=f),a&&(o=ee(a)),!1!==ct(Qe,n,we,t,a,o,e,!!a))return B(),n.appendChild(we),be=n,A(),S(!0)}else if(a.parentNode===n){o=ee(a);var v,g,y,w=we.parentNode!==n,b=!function(e,t,o){var i=o?e.left:e.top,s=o?e.right:e.bottom,n=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||s===d||i+n/2===a+l/2}(we.animated&&we.toRect||t,a.animated&&a.toRect||o,s),j=s?"top":"left",Q=te(a,"top","top")||te(we,"top","top"),_=Q?Q.scrollTop:void 0;if(We!==a&&(g=o[j],Ye=!1,Je=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,s,n,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&He<r*s){if(!Ye&&(1===Ue?l>c+r*n/2:l<u-r*n/2)&&(Ye=!0),Ye)m=!0;else if(1===Ue?l<c+He:l>u-He)return-Ue}else if(l>c+r*(1-s)/2&&l<u-r*(1-s)/2)return function(e){return se(we)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*n/2||l>u-r*n/2))return l>c+r/2?1:-1;return 0}(e,a,o,s,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Je,We===a))){var C=se(we);do{C-=v,y=be.children[C]}while(y&&("none"===K(y,"display")||y===je))}if(0===v||y===a)return S(!1);We=a,Ue=v;var k=a.nextElementSibling,D=!1,L=ct(Qe,n,we,t,a,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ke=!0,setTimeout(mt,30),B(),D&&!k?n.appendChild(we):a.parentNode.insertBefore(we,D?k:a),Q&&re(Q,0,_-Q.scrollTop),be=we.parentNode,void 0===g||Je||(He=Math.abs(g-ee(a)[j])),A(),S(!0)}if(n.contains(we))return S(!1)}return!1}function x(d,l){ge(d,p,P({evt:e,isOwner:c,axis:s?"vertical":"horizontal",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ct(Qe,n,we,t,o,ee(o),e,i)},changed:A},l))}function B(){x("dragOverAnimationCapture"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x("dragOverCompleted",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(G(we,Pe?Pe.options.ghostClass:r.options.ghostClass,!1),G(we,d.ghostClass,!0)),Pe!==p&&p!==rt.active?Pe=p:p===rt.active&&Pe&&(Pe=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===we&&!we.animated||a===n&&!a.animated)&&(We=null),d.dragoverBubble||e.rootEl||a===document||(we.parentNode[ue]._isOutsideThisEl(e.target),!t&&dt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){xe=se(we),Se=se(we,d.draggable),ye({sortable:p,name:"change",toEl:n,newIndex:xe,newDraggableIndex:Se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,"mousemove",this._onTouchMove),z(document,"touchmove",this._onTouchMove),z(document,"pointermove",this._onTouchMove),z(document,"dragover",dt),z(document,"mousemove",dt),z(document,"touchmove",dt)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._onDrop),z(e,"touchend",this._onDrop),z(e,"pointerup",this._onDrop),z(e,"touchcancel",this._onDrop),z(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;xe=se(we),Se=se(we,o.draggable),ge("drop",this,{evt:e}),be=we&&we.parentNode,xe=se(we),Se=se(we,o.draggable),rt.eventCanceled?this._nulling():(Re=!1,Je=!1,Ye=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ft(this.cloneId),ft(this._dragStartId),this.nativeDraggable&&(z(document,"drop",this),z(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),N&&K(document.body,"user-select",""),K(we,"transform",""),e&&(Fe&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(Qe===be||Pe&&"clone"!==Pe.lastPutMode)&&ke&&ke.parentNode&&ke.parentNode.removeChild(ke),we&&(this.nativeDraggable&&z(we,"dragend",this),ut(we),we.style["will-change"]="",Fe&&!Re&&G(we,Pe?Pe.options.ghostClass:this.options.ghostClass,!1),G(we,this.options.chosenClass,!1),ye({sortable:this,name:"unchoose",toEl:be,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qe!==be?(xe>=0&&(ye({rootEl:be,name:"add",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:"remove",toEl:be,originalEvent:e}),ye({rootEl:be,name:"sort",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:"sort",toEl:be,originalEvent:e})),Pe&&Pe.save()):xe!==Le&&xe>=0&&(ye({sortable:this,name:"update",toEl:be,originalEvent:e}),ye({sortable:this,name:"sort",toEl:be,originalEvent:e})),rt.active&&(null!=xe&&-1!==xe||(xe=Le,Se=Be),ye({sortable:this,name:"end",toEl:be,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ge("nulling",this),Qe=we=be=je=_e=ke=Ce=De=Ee=Oe=Fe=xe=Se=Le=Be=We=Ue=Pe=Ae=rt.dragged=rt.ghost=rt.clone=rt.active=null,Ve.forEach((function(e){e.checked=!0})),Ve.length=Te=Ie=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":we&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,s=o.length,n=this.options;i<s;i++)X(e=o[i],n.draggable,this.el,!1)&&t.push(e.getAttribute(n.dataIdAttr)||pt(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var s=o.children[i];X(s,this.options.draggable,o,!1)&&(t[e]=s)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return X(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=fe.modifyOption(this,e,t);o[e]=void 0!==i?i:t,"group"===e&&st(o)},destroy:function(){ge("destroy",this);var e=this.el;e[ue]=null,z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart),z(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Xe.splice(Xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!De){if(ge("hideClone",this),rt.eventCanceled)return;K(ke,"display","none"),this.options.removeCloneOnHide&&ke.parentNode&&ke.parentNode.removeChild(ke),De=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(De){if(ge("showClone",this),rt.eventCanceled)return;Qe.contains(we)&&!this.options.group.revertClone?Qe.insertBefore(ke,we):_e?Qe.insertBefore(ke,_e):Qe.appendChild(ke),this.options.group.revertClone&&this.animate(we,ke),K(ke,"display",""),De=!1}}else this._hideClone()}},$e&&H(document,"touchmove",(function(e){(rt.active||Re)&&e.cancelable&&e.preventDefault()})),rt.utils={on:H,off:z,css:K,find:$,is:function(e,t){return!!X(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:X,toggleClass:G,clone:ce,index:se,nextTick:ht,cancelNextTick:ft,detectDirection:it,getChild:oe},rt.get=function(e){return e[ue]},rt.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(rt.utils=P({},rt.utils,e.utils)),fe.mount(e)}))},rt.create=function(e,t){return new rt(e,t)},rt.version="1.10.2";var vt,gt,yt,wt,bt,jt,Qt=[],_t=!1;function Ct(){Qt.forEach((function(e){clearInterval(e.pid)})),Qt=[]}function kt(){clearInterval(jt)}var Dt=le((function(e,t,o,i){if(t.scroll){var s,n=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=Z(),c=!1;gt!==o&&(gt=o,Ct(),vt=t.scroll,s=t.scrollFn,!0===vt&&(vt=ae(o,!0)));var u=0,m=vt;do{var p=m,h=ee(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=K(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY));var x=j&&(Math.abs(y-n)<=d&&D+w<_)-(Math.abs(g-n)<=d&&!!D),B=Q&&(Math.abs(v-a)<=d&&L+b<C)-(Math.abs(f-a)<=d&&!!L);if(!Qt[u])for(var S=0;S<=u;S++)Qt[S]||(Qt[S]={});Qt[u].vx==x&&Qt[u].vy==B&&Qt[u].el===p||(Qt[u].el=p,Qt[u].vx=x,Qt[u].vy=B,clearInterval(Qt[u].pid),0==x&&0==B||(c=!0,Qt[u].pid=setInterval(function(){i&&0===this.layer&&rt.active._onTouchMove(bt);var t=Qt[this.layer].vy?Qt[this.layer].vy*l:0,o=Qt[this.layer].vx?Qt[this.layer].vx*l:0;"function"==typeof s&&"continue"!==s.call(rt.dragged.parentNode[ue],o,t,e,bt,Qt[this.layer].el)||re(Qt[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=ae(m,!1)));_t=c}}),30),Lt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,s=e.activeSortable,n=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||s;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(n("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function xt(){}function Bt(){}xt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=oe(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:Lt},A(xt,{pluginName:"revertOnSpill"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:Lt},A(Bt,{pluginName:"removeOnSpill"});rt.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?H(document,"dragover",this._handleAutoScroll):this.options.supportPointer?H(document,"pointermove",this._handleFallbackAutoScroll):t.touches?H(document,"touchmove",this._handleFallbackAutoScroll):H(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):(z(document,"pointermove",this._handleFallbackAutoScroll),z(document,"touchmove",this._handleFallbackAutoScroll),z(document,"mousemove",this._handleFallbackAutoScroll)),kt(),Ct(),clearTimeout(Y),Y=void 0},nulling:function(){bt=gt=vt=_t=jt=yt=wt=null,Qt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,n=document.elementFromPoint(i,s);if(bt=e,t||I||T||N){Dt(e,this.options,n,t);var a=ae(n,!0);!_t||jt&&i===yt&&s===wt||(jt&&kt(),jt=setInterval((function(){var n=ae(document.elementFromPoint(i,s),!0);n!==a&&(a=n,Ct()),Dt(e,o.options,n,t)}),10),yt=i,wt=s)}else{if(!this.options.bubbleScroll||ae(n,!0)===Z())return void Ct();Dt(e,this.options,ae(n,!1),!1)}}},A(e,{pluginName:"scroll",initializeByDefault:!0})}),rt.mount(Bt,xt);var St=rt;window.onerror=function(e,t,o,i){Mt(e,t,o,i)},jQuery(document).on("click",".dslca-show-js-error-hook",(function(e){e.preventDefault();var t=document.getElementById("dslca-js-errors-report");jQuery("body").hasClass("dslca-saving-in-progress")||i({title:'<a href="https://livecomposerplugin.com/support/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Get Support Info</a>',content:'<span class="dslca-error-report">'+t.value+"</span>"})})),jQuery(document).ready((function(e){var t,o;jQuery("#page-builder-frame")[0].contentWindow.onerror=function(e,t,o,i){Mt(e,t,o,i)},t=document.getElementById("dslca-js-errors-report"),null!==(o=localStorage.getItem("js_errors_report"))&&(o.includes("lc-extensions")||o.includes("page-builder"))&&(t.value=o,localStorage.removeItem("js_errors_report"),document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")),jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress"),jQuery(".dslca-invisible-overlay").hide(),jQuery(".dslca-section").eq(0).show()})),jQuery(document).on("click",".dslca-currently-editing",(function(){var e=!1,t=!1;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#5890e5"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#eabba9"),e){(t=e.offset().top-100)<0&&(t=0);jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr("style")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on("click",".dslca-hide-composer-hook",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide(),jQuery(".dslca-show-composer-hook").show(),jQuery("body").addClass("dslca-composer-hidden"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}()})),jQuery(document).on("click",".dslca-show-composer-hook",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide(),jQuery(".dslca-hide-composer-hook").show(),jQuery("body").removeClass("dslca-composer-hidden"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}()})),jQuery(document).on("click",".dslca-go-to-modules-hook",(function(e){e.preventDefault(),Pt(".dslca-modules")})),jQuery(document).on("click",".dslca-go-to-section-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-active")){var t=jQuery(this).data("section");Pt(t),(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates"))&&jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}})),jQuery(document).on("click",".dslca-close-composer-hook",(function(e){e.preventDefault();var t=jQuery(this).attr("href");!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")?i({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on("click",".dslca-submit",(function(){jQuery(this).closest("form").submit()})),jQuery(document).on("click",".dslca-section-title",(function(e){e.stopPropagation(),jQuery(".dslca-section-title-filter",this).length&&(!function(){window.dslcDebug&&console.log("dslc_generate_filters");var e,t=[],o='<a html="#" data-origin="">Show All</a>';jQuery(".dslca-section:visible .dslca-origin").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),t)&&(t.push(e.data("origin")),o+='<a href="#" data-origin="'+e.data("origin")+'">'+e.data("origin")+"</a>")})),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}(),jQuery(".dslca-section-title-filter-options").slideToggle(300))})),jQuery(document).on("click",".dslca-section-title-filter-options a",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data("origin"),o=jQuery(this).closest(".dslca-section");o.hasClass("dslca-templates-load"),jQuery(".dslca-section-title-filter-curr",o).text(jQuery(this).text()),jQuery(".dslca-section-scroller-inner").css({left:0}),function(e,t){window.dslcDebug&&console.log("dslc_filter_origin");jQuery(".dslca-origin",t).attr("data-display-module","false"),jQuery('.dslca-origin[data-origin="'+e+'"]',t).attr("data-display-module","true"),""==e&&(jQuery(".dslca-origin",t).attr("data-display-module","true"),jQuery(".dslca-origin.dslca-exclude",t).attr("data-display-module","false"))}(t,o),jQuery(".dslca-section-title-filter-options").slideToggle(300)})),window.dslc_show_publish_button=function(){window.dslcDebug&&console.log("dslc_show_publish_button"),jQuery(".dslca-save-composer").show().addClass("dslca-init-animation"),jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")};const At=()=>{window.dslcDebug&&console.log("hidePublishButton"),jQuery(".dslca-save-composer").hide(),jQuery(".dslca-save-draft-composer").hide()},Pt=e=>{window.dslcDebug&&console.log("showSection");jQuery(e).data("title"),jQuery(e).data("bg");jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-module-edit"==e?jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element"):".dslca-modules-section-edit"==e?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),j(),jQuery(".dslca-container").css({bottom:0}),jQuery(e).find("input.dslca-module-edit-field-colorpicker").each((function(e){jQuery(this).css("background",jQuery(this).val())}))};function Et(e){if(void 0===e&&(e=!1),e){var t=jQuery(".dslca-module-edit-option-"+e),o=t.find(".dslca-module-edit-field"),i=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0].id,s="";"tablet_responsive"===t.data("tab")?s="body.dslc-res-tablet ":"phone_responsive"===t.data("tab")&&(s="body.dslc-res-phone ");var n=o.data("affect-on-change-el");if(void 0!==n){var a=n.split(",");n="";for(var d=0;d<a.length;d++)d>0&&(n+=", "),n+=s+"#"+i+" "+a[d];var l,r=o.data("affect-on-change-rule").replace(/ /g,"").split(","),c=o.data("ext");if(t.toggleClass("dslca-option-off"),t.hasClass("dslca-option-off")){l=Tt(e),o.data("val-bckp",l);for(d=0;d<r.length;d++)jQuery(n,LiveComposer.Builder.PreviewAreaDocument).css(r[d],""),Ot(n,r[d],i);o.val("").trigger("change")}else{o.val(o.data("val-bckp")).trigger("change"),l=function(e,t){if(""===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=Tt(e),c||"");for(d=0;d<r.length;d++){var u=n+"{"+r[d]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:n.replace(new RegExp("#"+i,"gi"),"").trim(),styleContent:u})}}}}}function Ot(e,t,o){var i,s="css-for-"+o,n=document.getElementById("page-builder-frame").contentWindow.document.getElementById(s);if(e=e.replace(/\s\s+/g," "),n){(n=n.sheet).rules?i="rules":n.cssRules&&(i="cssRules");for(var a=0;a<n[i].length;a++)if(n[i][a].selectorText==e&&n[i][a].style[t]){n[i][a].style[t]="";break}}}function Tt(e){return jQuery(".dslca-module-edit-option-"+e).find(".dslca-module-edit-field").val()}jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",(function(e){e.preventDefault(),Et(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))})),jQuery(document).on("mousedown",".dslca-module-edit-option",(function(e){var t=jQuery(".dslc-control-toggle");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")&&Et(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))}))}));const It=()=>{jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!("INPUT"===o.tagName.toUpperCase()&&("TEXT"===o.type.toUpperCase()||"PASSWORD"===o.type.toUpperCase()||"NUMBER"===o.type.toUpperCase()||"FILE"===o.type.toUpperCase())||"TEXTAREA"===o.tagName.toUpperCase()||jQuery(o).hasClass("dslca-editable-content")||jQuery(o).hasClass("dslc-tabs-nav-hook-title")||jQuery(o).hasClass("dslc-accordion-title"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(".dslca-save-composer-hook").offsetParent&&null===jQuery(".dslca-module-edit-save").offsetParent||(t.preventDefault(),i({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&"block"==jQuery(".dslca-save-composer-hook").css("display"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.add("key-press-cmd")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keyup").bind("keyup",(function(e){"Meta"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.remove("key-press-cmd")}))};function Mt(e,t,o,i){var s="JavaScript error detected in a third-party plugin";null!=t.match("wp-content/plugins/live-composer-page-builder/js")&&(s="Live Composer returned JS error");var n="";n+='<br /><strong style="color:#E55F5F;">'+s+"</strong><br />",n+=e+'<br /> File "'+t+'", line '+o+", char "+i+"<br />","undefined"!=typeof Storage&&localStorage.setItem("js_errors_report",n)}jQuery(document).on("editorFrameLoaded",(function(){jQuery;var e=jQuery("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument),t="";e.each((function(e,o){var i=jQuery(o).data("editing-link"),s=(jQuery(o).data("editing-type"),jQuery(o).data("editing-label")),n=jQuery(o).data("editing-sublabel");t+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+i+'" class="dslc-hf-block-overlay-button dslca-link">'+s+"</a>",void 0!==n&&(t+=' <span class="dslc-hf-block-overlay-text">'+n+"</span>"),t+="</div>";var a=document.createElement("div");a.innerHTML=t,o.append(a)}))}));var Nt={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Ft={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Wt=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],Ut={CSS:{},springs:{}};function Ht(e,t,o){return Math.min(Math.max(e,t),o)}function zt(e,t){return e.indexOf(t)>-1}function Rt(e,t){return e.apply(null,t)}var qt={arr:function(e){return Array.isArray(e)},obj:function(e){return zt(Object.prototype.toString.call(e),"Object")},pth:function(e){return qt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||qt.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return qt.hex(e)||qt.rgb(e)||qt.hsl(e)},key:function(e){return!Nt.hasOwnProperty(e)&&!Ft.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function Xt(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function Yt(e,t){var o=Xt(e),i=Ht(qt.und(o[0])?1:o[0],.1,100),s=Ht(qt.und(o[1])?100:o[1],.1,100),n=Ht(qt.und(o[2])?10:o[2],.1,100),a=Ht(qt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(s/i),l=n/(2*Math.sqrt(s*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=l<1?(l*d-a)/r:-a+d;function u(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(1*Math.cos(r*o)+c*Math.sin(r*o)):(1+c*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?u:function(){var t=Ut.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===u(o+=1/6)){if(++i>=16)break}else i=0;var s=o*(1/6)*1e3;return Ut.springs[e]=s,s}}function Jt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Gt,Kt,Vt=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function o(e){return 3*e}function i(i,s,n){return((e(s,n)*i+t(s,n))*i+o(s))*i}function s(i,s,n){return 3*e(s,n)*i*i+2*t(s,n)*i+o(s)}return function(e,t,o,n){if(0<=e&&e<=1&&0<=o&&o<=1){var a=new Float32Array(11);if(e!==t||o!==n)for(var d=0;d<11;++d)a[d]=i(.1*d,e,o);return function(s){return e===t&&o===n?s:0===s||1===s?s:i(l(s),t,n)}}function l(t){for(var n=0,d=1;10!==d&&a[d]<=t;++d)n+=.1;--d;var l=n+.1*((t-a[d])/(a[d+1]-a[d])),r=s(l,e,o);return r>=.001?function(e,t,o,n){for(var a=0;a<4;++a){var d=s(t,o,n);if(0===d)return t;t-=(i(t,o,n)-e)/d}return t}(t,l,e,o):0===r?l:function(e,t,o,s,n){var a,d,l=0;do{(a=i(d=t+(o-t)/2,s,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(t,n,n+.1,e,o)}}}(),$t=(Gt={linear:function(){return function(e){return e}}},Kt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Ht(e,1,10),i=Ht(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){Kt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Kt).forEach((function(e){var t=Kt[e];Gt["easeIn"+e]=t,Gt["easeOut"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Gt["easeInOut"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Gt);function Zt(e,t){if(qt.fnc(e))return e;var o=e.split("(")[0],i=$t[o],s=Xt(e);switch(o){case"spring":return Yt(e,t);case"cubicBezier":return Rt(Vt,s);case"steps":return Rt(Jt,s);default:return Rt(i,s)}}function eo(e){try{return document.querySelectorAll(e)}catch(e){return}}function to(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,s=[],n=0;n<o;n++)if(n in e){var a=e[n];t.call(i,a,n,e)&&s.push(a)}return s}function oo(e){return e.reduce((function(e,t){return e.concat(qt.arr(t)?oo(t):t)}),[])}function io(e){return qt.arr(e)?e:(qt.str(e)&&(e=eo(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function no(e){var t={};for(var o in e)t[o]=e[o];return t}function ao(e,t){var o=no(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=no(e);for(var i in t)o[i]=qt.und(e[i])?t[i]:e[i];return o}function ro(e){return qt.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:qt.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"}(e):qt.hsl(e)?function(e){var t,o,i,s=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(s[1],10)/360,a=parseInt(s[2],10)/100,d=parseInt(s[3],10)/100,l=s[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,n+1/3),o=r(u,c,n),i=r(u,c,n-1/3)}return"rgba("+255*t+","+255*o+","+255*i+","+l+")"}(e):void 0;var t,o}function co(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function uo(e,t){return qt.fnc(e)?e(t.target,t.id,t.total):e}function mo(e,t){return e.getAttribute(t)}function po(e,t,o){if(so([o,"deg","rad","turn"],co(t)))return t;var i=Ut.CSS[t+o];if(!qt.und(i))return i;var s=document.createElement(e.tagName),n=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;n.appendChild(s),s.style.position="absolute",s.style.width=100+o;var a=100/s.offsetWidth;n.removeChild(s);var d=a*parseFloat(t);return Ut.CSS[t+o]=d,d}function ho(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=e.style[t]||getComputedStyle(e).getPropertyValue(i)||"0";return o?po(e,s,o):s}}function fo(e,t){return qt.dom(e)&&!qt.inp(e)&&(mo(e,t)||qt.svg(e)&&e[t])?"attribute":qt.dom(e)&&so(Wt,t)?"transform":qt.dom(e)&&"transform"!==t&&ho(e,t)?"css":null!=e[t]?"object":void 0}function vo(e){if(qt.dom(e)){for(var t,o=e.style.transform||"",i=/(\w+)\(([^)]*)\)/g,s=new Map;t=i.exec(o);)s.set(t[1],t[2]);return s}}function go(e,t,o,i){var s=zt(t,"scale")?1:0+function(e){return zt(e,"translate")||"perspective"===e?"px":zt(e,"rotate")||zt(e,"skew")?"deg":void 0}(t),n=vo(e).get(t)||s;return o&&(o.transforms.list.set(t,n),o.transforms.last=t),i?po(e,n,i):n}function yo(e,t,o,i){switch(fo(e,t)){case"transform":return go(e,t,i,o);case"css":return ho(e,t,o);case"attribute":return mo(e,t);default:return e[t]||0}}function wo(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var i=co(e)||0,s=parseFloat(t),n=parseFloat(e.replace(o[0],""));switch(o[0][0]){case"+":return s+n+i;case"-":return s-n+i;case"*":return s*n+i}}function bo(e,t){if(qt.col(e))return ro(e);if(/\s/g.test(e))return e;var o=co(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function jo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Qo(e){for(var t,o=e.points,i=0,s=0;s<o.numberOfItems;s++){var n=o.getItem(s);s>0&&(i+=jo(t,n)),t=n}return i}function _o(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*mo(e,"r")}(e);case"rect":return function(e){return 2*mo(e,"width")+2*mo(e,"height")}(e);case"line":return function(e){return jo({x:mo(e,"x1"),y:mo(e,"y1")},{x:mo(e,"x2"),y:mo(e,"y2")})}(e);case"polyline":return Qo(e);case"polygon":return function(e){var t=e.points;return Qo(e)+jo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Co(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;qt.svg(t)&&qt.svg(t.parentNode);)t=t.parentNode;return t}(e),s=i.getBoundingClientRect(),n=mo(i,"viewBox"),a=s.width,d=s.height,l=o.viewBox||(n?n.split(" "):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function ko(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=Co(e.el,e.svg),s=o(),n=o(-1),a=o(1);switch(e.property){case"x":return(s.x-i.x)*i.w;case"y":return(s.y-i.y)*i.h;case"angle":return 180*Math.atan2(a.y-n.y,a.x-n.x)/Math.PI}}function Do(e,t){var o=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=bo(qt.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:qt.str(e)||t?i.split(o):[]}}function Lo(e){return to(e?oo(qt.arr(e)?e.map(io):io(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function xo(e){var t=Lo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:vo(e)}}}))}function Bo(e,t){var o=no(t);if(/^spring/.test(o.easing)&&(o.duration=Yt(o.easing)),qt.arr(e)){var i=e.length;2===i&&!qt.obj(e[0])?e={value:e}:qt.fnc(t.duration)||(o.duration=t.duration/i)}var s=qt.arr(e)?e:[e];return s.map((function(e,o){var i=qt.obj(e)&&!qt.pth(e)?e:{value:e};return qt.und(i.delay)&&(i.delay=o?0:t.delay),qt.und(i.endDelay)&&(i.endDelay=o===s.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function So(e,t){var o=[],i=t.keyframes;for(var s in i&&(t=lo(function(e){for(var t=to(oo(e.map((function(e){return Object.keys(e)}))),(function(e){return qt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var s=t[i];o[s]=e.map((function(e){var t={};for(var o in e)qt.key(o)?o==s&&(t.value=e[o]):t[o]=e[o];return t}))},s=0;s<t.length;s++)i(s);return o}(i),t)),t)qt.key(s)&&o.push({name:s,tweens:Bo(t[s],e)});return o}function Ao(e,t){var o;return e.tweens.map((function(i){var s=function(e,t){var o={};for(var i in e){var s=uo(e[i],t);qt.arr(s)&&1===(s=s.map((function(e){return uo(e,t)}))).length&&(s=s[0]),o[i]=s}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),n=s.value,a=qt.arr(n)?n[1]:n,d=co(a),l=yo(t.target,e.name,d,t),r=o?o.to.original:l,c=qt.arr(n)?n[0]:r,u=co(c)||co(l),m=d||u;return qt.und(a)&&(a=r),s.from=Do(c,m),s.to=Do(wo(a,c),m),s.start=o?o.end:0,s.end=s.start+s.delay+s.duration+s.endDelay,s.easing=Zt(s.easing,s.duration),s.isPath=qt.pth(n),s.isColor=qt.col(s.from.original),s.isColor&&(s.round=1),o=s,s}))}var Po={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,s){if(i.list.set(t,o),t===i.last||s){var n="";i.list.forEach((function(e,t){n+=t+"("+e+") "})),e.style.transform=n}}};function Eo(e,t){xo(e).forEach((function(e){for(var o in t){var i=uo(t[o],e),s=e.target,n=co(i),a=yo(s,o,n,e),d=wo(bo(i,n||co(a)),a),l=fo(s,o);Po[l](s,o,d,e.transforms,!0)}}))}function Oo(e,t){return to(oo(e.map((function(e){return t.map((function(t){return function(e,t){var o=fo(e.target,t.name);if(o){var i=Ao(t,e),s=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:s.end,delay:i[0].delay,endDelay:s.endDelay}}}(e,t)}))}))),(function(e){return!qt.und(e)}))}function To(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},s={};return s.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,s.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,s.endDelay=o?s.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,s}var Io=0;var Mo,No=[],Fo=[],Wo=function(){function e(){Mo=requestAnimationFrame(t)}function t(t){var o=No.length;if(o){for(var i=0;i<o;){var s=No[i];if(s.paused){var n=No.indexOf(s);n>-1&&(No.splice(n,1),o=No.length)}else s.tick(t);i++}e()}else Mo=cancelAnimationFrame(Mo)}return e}();function Uo(e){void 0===e&&(e={});var t,o=0,i=0,s=0,n=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ao(Nt,e),o=ao(Ft,e),i=So(o,e),s=xo(e.targets),n=Oo(s,i),a=To(n,o),d=Io;return Io++,lo(t,{id:d,children:[],animatables:s,animations:n,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Uo.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var s=o[t],n=s.animatable,a=s.tweens,d=a.length-1,r=a[d];d&&(r=to(a,(function(t){return e<t.end}))[0]||r);for(var c=Ht(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],f=r.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?ko(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+" ")}}else v=h[0];Po[s.type](n.target,s.property,v,n.transforms),s.currentValue=v,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function f(e){var u=l.duration,f=l.delay,v=u-l.endDelay,g=c(e);l.progress=Ht(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=n;o--;)m(e,t[o]);else for(var i=0;i<n;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h("loopBegin")),g<=f&&0!==l.currentTime&&p(0),(g>=v&&l.currentTime!==u||!u)&&p(u),g>f&&g<v?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h("changeBegin")),h("change"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h("changeComplete")),l.currentTime=Ht(g,0,u),l.began&&h("update"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=s,h("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h("loopComplete"),h("complete"),!l.passThrough&&"Promise"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var o=n=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Eo(e,t),l},l.tick=function(e){s=e,o||(o=s),f((s+(i-o))*Uo.speed)},l.seek=function(e){f(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,No.push(l),u(),Mo||Wo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Ho(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){document.hidden?(No.forEach((function(e){return e.pause()})),Fo=No.slice(0),Uo.running=No=[]):Fo.forEach((function(e){return e.play()}))})),Uo.version="3.1.0",Uo.speed=1,Uo.running=No,Uo.remove=function(e){for(var t=Lo(e),o=No.length;o--;){var i=No[o],s=i.animations,n=i.children;Ho(t,s);for(var a=n.length;a--;){var d=n[a],l=d.animations;Ho(t,l),l.length||d.children.length||n.splice(a,1)}s.length||n.length||i.pause()}},Uo.get=yo,Uo.set=Eo,Uo.convertPx=po,Uo.path=function(e,t){var o=qt.str(e)?eo(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:Co(o),totalLength:_o(o)*(i/100)}}},Uo.setDashoffset=function(e){var t=_o(e);return e.setAttribute("stroke-dasharray",t),t},Uo.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",i=t.easing?Zt(t.easing):null,s=t.grid,n=t.axis,a=t.from||0,d="first"===a,l="center"===a,r="last"===a,c=qt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=co(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!f.length){for(var y=0;y<g;y++){if(s){var w=l?(s[0]-1)/2:a%s[0],b=l?(s[1]-1)/2:Math.floor(a/s[0]),j=w-y%s[0],Q=b-Math.floor(y/s[0]),_=Math.sqrt(j*j+Q*Q);"x"===n&&(_=-j),"y"===n&&(_=-Q),f.push(_)}else f.push(Math.abs(a-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),"reverse"===o&&(f=f.map((function(e){return n?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Uo.timeline=function(e){void 0===e&&(e={});var t=Uo(e);return t.duration=0,t.add=function(o,i){var s=No.indexOf(t),n=t.children;function a(e){e.passThrough=!0}s>-1&&No.splice(s,1);for(var d=0;d<n.length;d++)a(n[d]);var l=lo(o,ao(Ft,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=qt.und(i)?r:wo(i,r),a(t),t.seek(l.timelineOffset);var c=Uo(l);a(c),n.push(c);var u=To(n,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Uo.easing=Zt,Uo.penner=$t,Uo.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var zo=Uo,Ro=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener("moduleDuplicate",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains("dslca-action-disabled")||Yo(t.closest(".dslc-module-front"))})),document.addEventListener("moduleDelete",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains("dslca-action-disabled")||i({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log("dslc_delete_module");Pt(".dslca-modules"),zo({targets:e,easing:"easeOutExpo",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(".dslc-module-front"))}})})),document.addEventListener("moduleEdit",(function(e){const t=e.detail.closest(".dslc-module-front"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited"),s=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||s>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add("dslca-module-being-edited"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add("module-editing-in-progress")})),document.addEventListener("copyModuleStyles",(function(e){let t=e.detail.closest(".dslc-module-front").querySelector(".dslca-module-code").innerText;localStorage.setItem("lcCopyPasteStorage",t)})),document.addEventListener("pasteModuleStyles",(function(e){const t=e.detail.closest(".dslc-module-front"),o=jQuery(t),i=localStorage.getItem("lcCopyPasteStorage");let s=!1;if(i)try{s=JSON.parse(i)}catch(e){console.log("Can't parse copy/paste string into JSON:"),console.log(e)}if(s&&s.module_id===t.dataset.module){const e=t.querySelector(".dslca-module-code").innerText;let i=!1;try{i=JSON.parse(e)}catch(e){console.log("Can't parse current module code into JSON:"),console.log(e)}if(i){let e=!1;for(let t in s)t.includes("css_")&&(i[t]=s[t],e=!0);for(let t in i)t.includes("css_")&&(i[t]!==s[t]&&(i[t]=""),e=!0);e&&(i.action="dslc-ajax-add-module",i.dslc="active",i.dslc_module_id=i.module_id,i.dslc_module_instance_id=i.module_instance_id,i.dslc_post_id=i.post_id,o.hasClass("dslca-preload-preset")?i.dslc_preload_preset="enabled":i.dslc_preload_preset="disabled",o.removeClass("dslca-preload-preset"),i.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,i,(function(e){e&&(o.after(e.output).next().addClass("dslca-module-being-edited"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"))})))}}}));document.addEventListener("moduleChangeWidth",(function(e){const t=e.detail,o=t.closest(".dslc-module-front");if(!t.classList.contains("dslca-action-disabled")){var i=o.dataset.dslcModuleSize,s=t.dataset.size;Number(i)!==Number(s)&&function(e,t){window.dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+t+"-col";jQuery(e).removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(o).data("dslc-module-size",t),e.setAttribute("data-dslc-module-size",t),LiveComposer.Utils.update_module_property_raw(e,"dslc_m_size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,s)}})),document.addEventListener("wysiwygEdit",(function(e){const t=e.detail,o=t.closest(".dslc-module-front"),i=t.dataset.idToEdit,s=o.querySelector('[data-edit-id="'+i+'"]');let n="";if(n="TEXTAREA"===s.tagName||"INPUT"===s.tagName?s.value:s.innerHTML,void 0===n&&(n=""),n.trim().length&&(n=n.replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")),n.includes("%")&&(n=n.replace(/%\(\(%/g,"["),n=n.replace(/%\)\)%/g,"]"),n=n.replace(/%\(%/g,"["),n=n.replace(/%\)%/g,"]"),n=n.replace(/%\{%/g,"["),n=n.replace(/%\}%/g,"]")),n=n.trim(),"undefined"!=typeof tinymce){var a=tinymce.get("dslcawpeditor");document.getElementById("wp-dslcawpeditor-wrap").classList.contains("tmce-active")?a.setContent(n,{format:"html"}):document.getElementById("dslcawpeditor").value=n,o.classList.contains("dslca-module-being-edited")||o.querySelector(".dslca-module-edit-hook").click(),jQuery(".dslca-wp-editor").show(),s.classList.add("dslca-wysiwyg-active"),jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else console.info("Live Composer: TinyMCE is undefined.")}));const qo=()=>{LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",(function(){LiveComposer.Builder.Flags.uiHidden||"simple"!=jQuery(this).data("type")||l(jQuery(this))})).on("paste",".dslca-editable-content:not(.inline-editor)",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout((function(){"simple"==e.data("type")&&e.html(e.text()),l(e)}),100)}})).on("focus",".dslca-editable-content",(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")&&jQuery(this).trigger("blur")})).on("keyup",".dslca-editable-content",(function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}))};const Xo=()=>{const e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited");null!==e&&e.classList.remove("dslca-module-being-edited")};function Yo(e){window.dslcDebug&&console.log("dslc_copy_module"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0,top:-50}).addClass("dslca-module-being-edited"),Jo(t),window.dslc_generate_code(),zo({targets:t,easing:"easeOutExpo",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove("dslca-module-being-edited")}}),window.dslc_show_publish_button()}const Jo=e=>{var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute("id");e.setAttribute("data-module-id",t),e.setAttribute("id","dslc-module-"+t);var i=e.getElementsByTagName("style")[0],s=i.textContent;i.setAttribute("id","#css-for-dslc-module-"+t),s=s.split(o).join("dslc-module-"+t),i.textContent=s,LiveComposer.Utils.update_module_property_raw(e,"module_instance_id",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log("dslc_module_options_show"),void 0===e&&console.warn("No module ID defined in dslc_module_options_show function.");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(".dslca-module-options-front textarea",t),i=jQuery(".dslca-header").data("default-section"),s=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(s);var n={action:"dslc-ajax-display-module-options",dslc:"active"};n.dslc_module_id=e,n.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();o.includes("%")&&(o=(o=(o=(o=(o=(o=o.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),n[t]=o})),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),At();var a=jQuery(".dslca-module-options-front",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,s.show(),s.addClass("show"),jQuery.post(DSLCAjax.ajaxurl,n,(function(e){s.remove(),Pt(".dslca-module-edit"),jQuery("body").hasClass("rtl"),jQuery(".dslca-module-edit-options-inner").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs);var t=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each((function(){var e=jQuery(this).data("section");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,n=0;n<o;n++)jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+t[n]+'"]').show();jQuery('.dslca-module-edit-option[data-section="'+i+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').trigger("click")):(jQuery(".dslca-header .dslca-options-filter-hook:first").hide(),jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")),jQuery(".dslca-module-edit-actions").show(),jQuery(".dslca-wp-editor-notification").hide(),jQuery(".dslca-wp-editor-actions").show(),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery(".dslca-row-edit-actions").hide(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};const Go=e=>{window.dslcDebug&&console.log("moduleOutputAltered"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.data("module"),i=jQuery(".dslca-module-options-front textarea",t),s=t.data("module-id"),n={action:"dslc-ajax-add-module",dslc:"active"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(".dslca-container").data("post-id"),t.hasClass("dslca-preload-preset")?n.dslc_preload_preset="enabled":n.dslc_preload_preset="disabled",t.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();n[t]=o})),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass("dslca-module-being-edited"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var s=new Event("moduleOutputAltered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(s),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log("dslc_module_output_reload"),t=void 0!==t&&t;var o=e.data("module"),i=jQuery(".dslca-module-options-front textarea",e),s=e.data("module-id"),n={action:"dslc-ajax-add-module",dslc:"active"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(".dslca-container").data("post-id"),n.dslc_preload_preset="enabled",e.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();n[t]=o})),e.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){e.after(o.output).next().addClass("dslca-module-being-edited"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}))};const Ko=()=>{LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998");const t=e.target.closest("[data-module-id]"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add("dslc-small-height-module"):t.classList.remove("dslc-small-height-module")},mouseleave:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage"),qo()},Vo=()=>{var e,t,o,i=jQuery(".dslca-modules .dslca-section-scroller-content");0==i.length&&(i=[document.createElement("div")]);St.create(i[0],{sort:!1,group:{name:"modules",pull:"clone",put:!1},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(i){i.oldIndex,i.newIndex;var s,n,a=i.item;if(i.preventDefault(),jQuery(a).closest(".dslca-section-scroller-content").length>0)return!1;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),"DSLC_M_A"==t||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length||(jQuery("body").addClass("dslca-module-drop-in-progress"),s=t,n=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(".dslca-module",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery("body").removeClass("dslca-module-drop-in-progress")}),700),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log("moduleOutputDefault"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:s,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){n(e)})),jQuery(a).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin"),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"})),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass("dslca-options-hovered")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(".dslc-modules-section"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(".dslc-module-front").length?(o.add("dslc-modules-area-empty"),o.remove("dslc-modules-area-not-empty")):(o.remove("dslc-modules-area-empty"),o.add("dslc-modules-area-not-empty"))}),{childList:!0}),this.sortable=St.create(e,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(e){var o=e.item;e.from,"DSLC_M_A"==jQuery(o).data("id")&&(Zo(jQuery(t.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0&&(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,(function(){})))}}),jQuery(e).attr("data-jsinit","initialized"),jQuery(document).on("LC.sortableOff",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!0)})),jQuery(document).on("LC.sortableOn",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!1)}))};jQuery(document).on("editorFrameLoaded",(function(){function e(){var e=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length||jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length?e():si(e()),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var o=jQuery(this).closest(".dslc-modules-area");(function(e){window.dslcDebug&&console.log("dslc_copy_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=e.clone().appendTo(t);new $o(o[0]),o.find(".dslca-modules-area-manage").trigger("mouseleave"),o.data("size",e.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled"))if(jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty")){var o=jQuery(this).closest(".dslc-modules-area");ei(o)}else{var s=jQuery(this);i({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(s.closest(".dslc-modules-area"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",(function(){if(!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var e=jQuery(this).closest(".dslc-modules-area"),o=e.data("size"),i=jQuery(this).data("size");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+t+"-col";if(e.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(o).data("size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-vertial-align-module-area-hook span",(function(){!function(e,t){window.dslcDebug&&console.log("dslc_modules_area_vertical_align_set");var o="dslc-valign-"+t;if(e.removeClass("dslc-valign-top dslc-valign-middle dslc-valign-bottom").addClass(o).data("valign",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("valign"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}))}));const Zo=e=>{window.dslcDebug&&console.log("modulesAreaAdd");const t=window.DSLCSiteData.editorUrl+"css/icons";jQuery('<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col" data-size="12">\n\t\t<div class="dslca-modules-area-manage">\n\t\t\t<span class="dslca-modules-area-manage-line"></span>\n\t\t\t<div class="dslca-modules-area-manage-inner">\n\t\t\t\t<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#copy"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#move"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#columns"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-width-modules-area-options"><span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>\n\t\t\t\t\t\t<span data-size="3">3/12</span><span data-size="4">4/12</span>\n\t\t\t\t\t\t<span data-size="5">5/12</span><span data-size="6">6/12</span>\n\t\t\t\t\t\t<span data-size="7">7/12</span><span data-size="8">8/12</span>\n\t\t\t\t\t\t<span data-size="9">9/12</span><span data-size="10">10/12</span>\n\t\t\t\t\t\t<span data-size="11">11/12</span><span data-size="12">12/12</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-vertial-align-module-area-hook" title="Change vertical align" >\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#git-commit"/>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-vertial-align-module-area-options">\n\t\t\t\t\t\t<span>Vertical Align</span>\n\t\t\t\t\t\t<span data-valign="top" class="dslc-popup-option">⬆️ Top</span>\n\t\t\t\t\t\t<span data-valign="middle" class="dslc-popup-option">↕️ Middle</span>\n\t\t\t\t\t\t<span data-valign="bottom" class="dslc-popup-option">⬇️ Bottom</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#x"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- .dslc-module --\x3e\n\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:"auto"})})).addClass("dslca-init-animation");var o=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log("dslc_delete_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),t.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show(),Pt(".dslca-modules")),setTimeout((function(){if(o){e.closest(".dslc-modules-section-inner");2<=e.closest("#dslc-main").find(".dslc-modules-section").length?dslc_row_delete(e.closest(".dslc-modules-section")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,(function(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ti=()=>{jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new $o(this)}))};const oi=class{constructor(e){this.sortable,this.sortableContainer=jQuery(e).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0],this.initSortable(e),this.initDropable(e),this.reactToSortableOnOff(),jQuery(e).attr("data-jsinit","initialized")}initDropable(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(".dslc-modules-section-inner");"DSLC_M_A"==t.draggable.data("id")&&Zo(o)}})}initSortable(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area-dnd",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(e,t){var o=t.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.siblings(".dslc-modules-section").each((function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}))},remove:function(){0==jQuery(self.elem).find(".dslc-modules-area").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(t.item).hasClass("dslc-12-col")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress"),jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(e,t){LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(e,t){}})}reactToSortableOnOff(){self=this.sortable,jQuery(document).on("LC.sortableOff",(function(){})),jQuery(document).on("LC.sortableOn",(function(){}))}},ii=()=>{jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){new oi(this)})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass("dslca-action-disabled")||i({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(".dslc-modules-section"))}})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||i({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){ri(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-prompt-modal-cancel-hook").hide(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),i({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>["+a(jQuery(this).closest(".dslc-modules-section"))+"]</textarea></span>"}))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",(function(){if(!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||li(jQuery(this).closest(".dslc-modules-section"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass("dslca-action-disabled")||(o.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),si((function(){o.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",(function(){if(!e())return!1;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass("dslca-action-disabled")||di(jQuery(this).closest(".dslc-modules-section")),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")}))},si=e=>{window.dslcDebug&&console.log("dslc_row_add"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem("cache-dslc-ajax-add-modules-section-v2"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id="padding"]').val()&&(o.removeItem("cache-dslc-ajax-add-modules-section-v2"),i=null));if(null!==i)return ni(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},(function(i){return o.setItem("cache-dslc-ajax-add-modules-section-v2",i.output),ni(i.output),e&&e(),t}))};function ni(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new oi(t),new $o(t.find(".dslc-modules-area").eq(0)[0]),t.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col"),t}function ai(e){window.dslcDebug&&console.log("dslc_row_delete"),e.find(".dslca-module-being-edited")&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),Pt(".dslca-modules")),e.trigger("mouseleave").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log("dslc_row_edit"),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.addClass("dslca-modules-section-being-edited"),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show(),jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-row-edit-actions").show(),jQuery(".dslca-modules-section-edit-field").each((function(){if("type"===jQuery(this).data("id")&&(""!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()&&"wrapped"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id="type"]').val("wrapper").change()),"border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace("%(%","[").replace("%)%","]")),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()}),jQuery(this).css({"background-color":e.val()})}})),jQuery(".dslca-modules-section-edit-field-upload").each((function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())})),Pt(".dslca-modules-section-edit"),LiveComposer.Builder.Flags.panelOpened=!0,At()}function li(e){var t;window.dslcDebug&&console.log("dslc_row_copy"),(t=e.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute("data-jsinit"),t.find(".dslc-modules-area").each((function(){var t=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+t+" )").data("size")),this.removeAttribute("data-jsinit")})),new oi(t),t.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log("dslc_section_new_id");var t=LiveComposer.Utils.get_unique_id();e.setAttribute("data-section-id",t),LiveComposer.Utils.update_section_property_raw(e,"section_instance_id",t)}(t[0])}function ri(e){window.dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},(function(e){c(),jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ci=()=>{jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new oi(this)}))},ui=()=>{ci(),ii(),jQuery(document).on("click",".dslca-row-edit-save",(function(){var e;window.dslcDebug&&console.log("dslc_confirm_row_changes"),e=void 0!==e&&e,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data("def",jQuery(this).val())})),Pt(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on("click",".dslca-row-edit-cancel",(function(){var e;window.dslcDebug&&console.log("dslc_row_cancel_changes"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).val(jQuery(this).data("def")),jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Pt(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_publish_button,jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log("dslc_import_template"),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0}),jQuery(".dslca-modal-templates-import .dslca-loading").show(),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),r("",".dslca-modal-templates-import"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.dslcDebug&&console.log("dslc_save_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},(function(e){r("",".dslca-modal-templates-save")}))}function hi(e){window.dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}const fi=()=>{document.querySelectorAll(".dslca-template").forEach((function(e){e.addEventListener("click",e=>{e.preventDefault(),(e=>{window.dslcDebug&&console.log("dslc_load_template"),jQuery("#wpcontent").prepend('<div class="lc-template-loader"></div>');jQuery(".lc-template-loader").prepend('<div class="lc-loader lds-css"><div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".lc-template-loader").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))})(e.target.closest("[data-id]").dataset.id)})})),jQuery(".dslca-template-import-form").submit((function(e){e.preventDefault(),mi()})),jQuery(".dslca-template-save-form").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on("click",".dslca-delete-template-hook",(function(e){e.stopPropagation(),hi(jQuery(this).data("id"))}))};jQuery(document).ready((function(e){var t=function(e){var t=jQuery(".dslca-section-scroller",e),o=jQuery(".dslca-section-scroller-inner",e)[0];function i(e){e=e<0?-100:100,e*=.75;var i=t.find(".dslca-section-scroller-content").width(),s=t.width();if(i<=s)return!1;var n=i-s+10;e=(e=(e=parseInt(o.style.left||0)-e)>=0?0:e)<=-n?-n:e,o.style.left=e+"px"}t.on("wheel",(function(e){return i(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(".dslca-section-scroller-prev",e).click((function(e){e.preventDefault(),i(-500)})),jQuery(".dslca-section-scroller-next",e).click((function(e){e.preventDefault(),i(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){i(0)}))}))};t(jQuery(".dslca-section.dslca-modules")),t(jQuery(".dslca-section.dslca-templates-load"))}));const vi=()=>{LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};jQuery(document).ready((function(e){vi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery("#scroller-stopper").on("dragover",(function(){LiveComposer.Builder.UI.stopScroller()}))}));const gi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\'/g,"\\'")).replace(/\"/g,'\\"')).replace(/\0/g,"\\0")},basename:function(e){return e.split(/[\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");return!!(t>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&parseInt(e.substring(t+5,e.indexOf(".",t)))},checkParams:function(e){if(!Array.isArray(e))throw"Param is not array";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&"string"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return"object"==typeof e}};e.map((function(e){if(!t[e[1]](e[0]))throw"Param "+e[0]+" is not "+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce((function(e,t){return e[(t=t.split("="))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-module-code")[0],s=e.querySelector('.dslca-module-option-front[data-id="'+t+'"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.value=o,s.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-section-code")[0],s=e.querySelector('.dslca-modules-section-settings input[data-id="'+t+'"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.setAttribute("value",o),s.setAttribute("data-def",o)},publish:function(e,t){t=t||{},this.checkParams([[e,"string"],[t,"object"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find("script").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");t.innerHTML=e,t.type="text/javascript",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!0)})),fi(),f(),ui(),new class{constructor(e){this.sortable,this.initSortable(e),this.reactToSortableOnOff()}initSortable(e){this.sortable=St.create(e,{group:"sections",animation:350,handle:".dslca-move-modules-section-hook",draggable:".dslc-modules-section-dnd",ghostClass:"dslca-sections-ghost",chosenClass:"dslca-sections-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:"vertical",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},onAdd:function(e){},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass("ui-state-default")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}reactToSortableOnOff(){self=this.sortable}}(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0]),jQuery(document).trigger("editorFrameLoaded"),Vo(),d(),window.dslc_generate_code(),It(),vi(),Ko(),window.LiveComposer.Utils=gi,document.addEventListener("click",(function(e){if(e.target.matches('[data-event="modal-wysiwyg-cancel"]')){const t=new CustomEvent("modalWysiwygCancel",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="modal-wysiwyg-confirm"]')){const t=new CustomEvent("modalWysiwygConfirm",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener("click",(function(e){if(e.target.matches(".dslca-link")||e.preventDefault(),e.target.matches('[data-event="module-edit"]')){const t=new CustomEvent("moduleEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-duplicate"]')){const t=new CustomEvent("moduleDuplicate",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-delete"]')){const t=new CustomEvent("moduleDelete",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches(".dslca-change-width-module-options [data-size]")){const t=new CustomEvent("moduleChangeWidth",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="wysiwyg-edit"]')){const t=new CustomEvent("wysiwygEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-style-copy"]')){const t=new CustomEvent("copyModuleStyles",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-style-paste"]')){const t=new CustomEvent("pasteModuleStyles",{detail:e.target});document.dispatchEvent(t)}}),!1)},window.onbeforeunload=function(){}}});
9
  //# sourceMappingURL=editor_backend.min.js.map
1
+ !function(e){var t={};function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(i,s,function(t){return e[t]}.bind(null,s));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}({3:function(e,t,o){"use strict";o.r(t);const i=function(e){if("object"!=typeof e||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class="dslca-prompt-modal dslca-prompt-modal-active"><div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg"><span class="dslca-prompt-modal-title">'+e.title+'</span><span class="dslca-prompt-modal-descr">'+e.content+"</span></div>",o="";o=e.confirm||e.cancel?'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.confirm_title?e.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span>'+(e.cancel_title?e.cancel_title:"Cancel")+"</span></div>":'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.ok_title?e.ok_title:"OK")+"</a></div>",t+=o+"</div>",t=jQuery(t),"function"!=typeof e.confirm&&(e.confirm=function(){}),"function"!=typeof e.cancel&&(e.cancel=function(){}),t.find(".dslca-prompt-modal-confirm-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(".dslca-prompt-modal-cancel-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery("body").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=()=>{window.dslcDebug&&console.log("updatePreset");var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").innerText,i=e.data("module");"none"!==t&&""!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){"enabled"==t.preset_setting&&jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-module="'+e.data("module")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\s/g,"-");jQuery("body").addClass("dslca-new-preset-added"),jQuery('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+t+'">'+t+"</option>").val(t).trigger("change"),jQuery(this).val(""),jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}})),jQuery(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',(function(e){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})),jQuery(document).on("click",".dslc-delete-preset",(function(e){var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),i=t.data("module");"none"!==o&&""!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function n(){window.dslcDebug&&console.log("dslc_save_composer"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log("dslca_gen_content_for_search");var e=document.getElementById("dslca-content-for-search");if(null===e)return;var t=e.value,o="",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(""!==e.getAttribute("data-exportable-content")){var s=e.getAttribute("data-exportable-content");i="<"+s+">"+e.innerHTML+"</"+s+">"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\s+/g," ").trim()+"\n")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery("#dslca-code").val(),t=jQuery("#dslca-content-for-search").val(),o=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250),jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+o+'" src="'+DSLCSiteData.siteurl+"/?p="+o+'" ></iframe>'),jQuery(".lbmn-cache-iframe").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+e.status)})).fail((function(e){"timeout"==e.statusText?alert("The request timed out after 30 seconds. Server do not respond in time. Please try again."):alert("Something went wrong. Please try again. Error Code: "+e.statusText)})).always((function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log("dslc_generate_code");var e,t,o="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(".dslc-module-front",this).length?(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content",this).hide()):(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300))})),jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=a(e),e.find(".dslca-section-code").val(t),o=o+t+","})),o="["+(o=o.slice(0,-1))+"]",jQuery("#dslca-code").val(o),jQuery("#dslca-export-code").val(o);const i=new CustomEvent("pageCodeUpdated");document.dispatchEvent(i)};const a=e=>{window.dslcDebug&&console.log("generateSectionCode");var t,o,i,s,n="",a=0,d="";return o=e,jQuery(".dslc-modules-area",o).length?o.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):o.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty"),jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),a=0,i=o.find(".dslca-section-code").val(),s=JSON.parse(i),d="",jQuery(".dslca-modules-section-settings input",o).each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();d=d+t+'="'+o+'" ',s[t]=o})),void 0!==s.give_new_id&&delete s.give_new_id,s.content=[],jQuery(".dslc-modules-area",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data("size")),d=o.data("valign"),l="no",r="no";a+=i,jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==a?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),a=0,l="yes"):a>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),a=i,r="yes"),a==i&&(r="yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));var c='{"element_type":"module_area","last":"'+l+'","first":"'+r+'","size":"'+i+'","valign":"'+d+'"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(".dslc-module-front",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute("data-dslc-module-size"));var i="no";jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==(e+=t)?(jQuery(this).addClass("dslc-last-col"),jQuery(this).next(".dslc-module-front").addClass("dslc-first-col"),e=0,i="yes"):e>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),e=t),e==t&&("yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));try{n=o[0].querySelector(".dslca-module-code").innerText}catch(e){console.info("No DSLC code found in module: "+o[0].getAttribute("id"))}if(""!==n){var s=JSON.parse(n);s.last=i,jQuery.each(s,(function(e,t){!1!==t&&""!==t||delete s[e],"content"===e&&(s[e]=t.replace(/\\'/g,"'")),"give_new_id"===e&&delete s[e]})),o[0].querySelector(".dslca-module-code").innerText=JSON.stringify(s),c.content.push(s)}n=""})),s.content.push(c)})),JSON.stringify(s)},d=()=>{jQuery(document).on("click",".dslca-save-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||n()})),jQuery(document).on("click",".dslca-save-draft-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||function(){window.dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),t=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:t,dslc_code:e},(function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")}))}()}))};const l=e=>{if(window.dslcDebug&&console.log("editableContentCodeGeneration"),void 0===e)return!1;const t=e.closest(".dslc-module-front")[0],o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),i=e.data("id");LiveComposer.Utils.update_module_property_raw(t,i,o)};const r=(e,t)=>{"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("hideModal"),(t=jQuery(t)).outerHide("destroy"),t.hide(),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut(),t.removeClass("dslca-modal-open")};jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-open-modal-hook",(function(e){e.preventDefault();var t=jQuery(this).data("modal");!function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_show_modal"),jQuery(".dslca-modal:visible").length&&r("",jQuery(".dslca-modal:visible")),t=jQuery(t),jQuery(".dslca-container").height(),t.outerHide({clbk:function(){r("",jQuery(".dslca-modal:visible"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,s=o.left-i;t.css({left:s}),jQuery(".dslca-prompt-modal-custom").insertAfter(t),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn(),t.addClass("dslca-modal-open").show()}(jQuery(this),t)})),jQuery(document).on("click",".dslca-close-modal-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-action-disabled")){var t=jQuery(this).data("modal");r(jQuery(this),t)}}))}));const c=()=>{"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_js_confirm_close"),jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").animate({opacity:0},400,(function(){jQuery(this).hide(),jQuery(".dslca-prompt-modal-cancel-hook").show(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)})),jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-confirm-hook").trigger("click"):27==e.which&&jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")},jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-prompt-modal-cancel-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==t&&dslc_module_options_cancel_changes((function(){o.trigger("click")})),c(),jQuery(".dslca-prompt-modal").data("id","")})),jQuery(document).on("click",".dslca-prompt-modal-confirm-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target"),i=!0;if("edit_in_progress"==t)dslc_module_options_confirm_changes((function(){o.trigger("click")}));else if("disable_lc"==t)window.location=o;else if("delete_module"===t){var s=o.closest(".dslc-module-front");dslc_module_delete(s)}else if("delete_modules_area"===t){var n=o.closest(".dslc-modules-area");n.closest(".dslc-modules-section-inner");dslc_modules_area_delete(n)}else"delete_modules_section"==t?dslc_row_delete(o.closest(".dslc-modules-section")):"export_modules_section"==t||"import_modules_section"==t&&(dslc_row_import(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),i=!1);i&&c(),jQuery(".dslca-prompt-modal").data("id","")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if("destroy"==(e=e||{}))return jQuery(document).unbind("click.outer_hide"),!1;jQuery(document).bind("click.outer_hide",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&"none"!=jQuery(o).css("display")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener("modalWysiwygCancel",(function(e){jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})),document.addEventListener("modalWysiwygConfirm",(function(e){var t=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor").getContent();else o=jQuery("#dslcawpeditor").val();if(o=o.trim(),jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(o);var i=t.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(o);var s=t.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(s)}else l(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else console.info("Live Composer: TinyMCE is undefined.")}));var u=window.DSLCFonts.regular,m=window.DSLCFonts.google,p=u.concat(m),h=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",(function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()})),jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",(function(){var e,t=jQuery(".dslca-module-edit-field-ttip"),o=t.find(".dslca-module-edit-field-ttip-inner"),i=jQuery(this);if(e=i.parent().parent().hasClass("dslca-modules-section-edit-option")?i.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html():i.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html(),t.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{o.html(e);var s=i.offset(),n=t.outerHeight(),a=t.outerWidth(),d=s.left-a/2+6,l="50%";d<0&&(l=a/2+d+"px",d=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:s.top-n-20,left:d}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+l+" }</style>"))}})),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",(function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),t=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=t.offset(),i=e.outerHeight(),s=e.outerWidth(),n=o.left-s/2+6,a="50%";n<0&&(a=s/2+n+"px",n=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-i-20,left:n}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+a+" }</style>"))}})),window.dslc_module_options_font(),jQuery(document).on("keyup",".dslca-module-edit-field-icon",(function(e){var t,o,i,s;o=(t=jQuery(this)).closest(".dslca-module-edit-option"),38==e.which&&k(t,"previous"),40==e.which&&k(t,"next"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),s=jQuery.grep(h,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(s))})),jQuery(document).on("keypress",".dslca-module-edit-field-icon",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",t).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",t).text(""))})),jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',(function(e){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")})),jQuery(document).on("click",".dslca-modal-icons .icon-item",(function(e){var t=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(t).change(),r("",jQuery(".dslca-modal:visible")),jQuery("input.icon-modal-active").removeClass("icon-modal-active")})),jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",(function(){var e=jQuery(this),t=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),i=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");t.removeClass("dslca-active"),e.addClass("dslca-active"),i.val(o).trigger("change")})),jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",(function(){var e=jQuery(this),t=e.siblings('input[type="checkbox"]');t.prop("checked")?(t.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(t.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),t.change()})),function(){window.dslcDebug&&console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",(function(){var e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-box-shadow-hor").val(),i=e.find(".dslca-module-edit-option-box-shadow-ver").val(),s=e.find(".dslca-module-edit-option-box-shadow-blur").val(),n=e.find(".dslca-module-edit-option-box-shadow-spread").val(),a=e.find(".dslca-module-edit-option-box-shadow-color").val(),d=e.find(".dslca-module-edit-option-box-shadow-inset").is(":checked"),l=o+"px "+i+"px "+s+"px "+n+"px "+a+(d=d?" inset":"");t.val(l).trigger("change")}))}(),function(){window.dslcDebug&&console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,.dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",(function(){var e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-text-shadow-hor").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-ver").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-blur").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-color").val();t.val(o).trigger("change")}))}();jQuery(document).on("click",".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color",(function(){D(this);var e=jQuery(this).closest(".dslca-color-option"),t=jQuery(".dslca-module-edit-options-inner"),o=e.find(".wp-picker-holder"),i=e.offset(),s=i.left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css("left",s+"px"),jQuery(t).on("scroll",(function(t){var s=(i=e.offset()).left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css("left",s+"px")}))})),jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",(function(){jQuery(this).hasClass("dslca-module-edit-option-select")||L(this)})),jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",(function(){L(this)})),jQuery(".dslca-module-edit-form").submit((function(e){e.preventDefault(),Ko()})),jQuery(document).on("click",".dslca-module-edit-options-tab-hook",(function(e){e.preventDefault(),j(jQuery(this))})),jQuery(document).on("click",".dslca-clear-responsive-options",(function(e){e.preventDefault(),b()})),jQuery(document).on("click",".dslca-options-filter-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=jQuery(this).data("section");jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),jQuery(this).addClass("dslca-active"),jQuery(".dslca-container-loader"),document.querySelector(".dslca-container").dataset.currentSection=o,w(o),"responsive"==t&&(jQuery(".dslca-container-loader").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Ko((function(){jQuery(".dslca-container-loader").hide()})),jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")),"responsive"==o&&jQuery("#page-builder-preview-area").resizable()})),jQuery(document).on("click",".dslca-module-edit-save",(function(e){e.preventDefault(),_((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),x()})),jQuery(document).on("click",".dslca-module-edit-cancel",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),x()}))}));const v=()=>{var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log("window.LiveComposer.Builder.UI.clearUtils"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(".temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(".mce-tinymce",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass("dslca-modules-section-edit-field")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery("body").off("click.wpcolorpicker")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(".dslca-module-edit-option").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data("dep")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if(("radio"==e.type||"checkbox"==e.type)&&null==t[e.value])return!1;"checkbox"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(",").forEach((function(o){var i=jQuery(".dslca-module-edit-option-"+o.trim()).closest(".dslca-module-edit-option"),s=!0;"radio"!=e.type&&"checkbox"!=e.type||(s=jQuery(e).is(":checked"));var n=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");e.value==t&&s?(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-hide")?(i.removeClass("dep-hide"),i.addClass("dep-show")):i.addClass("dep-show"),n==i.data("tab")&&i.show()):(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-show")?(i.removeClass("dep-show"),i.addClass("dep-hide")):i.addClass("dep-hide"),i.hide())}))}))};jQuery(document).on("change dslc-init-deps",'.dslca-module-edit-option > *[data-id="'+jQuery(this).data("id")+'"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind("change",e),jQuery(document).unbind("dslc-init-deps",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if("object"!=typeof e)return!1;var t="",o="";"tablet_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")?(t="@media only screen and (max-width: 1024px) and (min-width: 768px) {",o="}"):"phone_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")&&(t="@media only screen and (max-width: 767px) {",o="}"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,""),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var s=document.createElement("style");s.innerHTML=e.styleContent,s.id=i,s.className="temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(s)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active"),setTimeout((function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")}),1e3)},f(),g(),y()},f=()=>{jQuery(document).on("change",".dslca-module-edit-field",(function(){window.dslcDebug&&console.log("on change event for .dslca-module-edit-field");var e="",t="",o=jQuery(this),i=o.data("id"),s=o.closest(".dslca-module-edit-option"),n=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=n.data("module");jQuery(".dslca-module-options-front textarea",n);if(n.addClass("dslca-module-change-made"),(s.hasClass("dslca-module-edit-option-select")||s.hasClass("dslca-module-edit-option-checkbox"))&&Q(),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(s.find(".dslca-module-edit-option-checkbox-wrapper").length)jQuery('input[type="checkbox"]',s).each((function(){jQuery(this).prop("checked")&&(e=e+jQuery(this).val()+" ")}));else if(o.hasClass("dslca-module-edit-option-radio"))e=jQuery(".dslca-module-edit-field:checked",o).val();else{e=o.val();if("orientation"==i&&"horizontal"==e)jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("40").trigger("change");else if("orientation"==i&&"vertical"==e){jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("100").trigger("change")}}null!=e&&(e=e.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea")),null===e&&(e=""),jQuery('.dslca-module-options-front textarea[data-id="'+i+'"]',n).val(e),jQuery(".dslca-container-loader").show(),Ko((function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made"),"css_load_preset"!=i||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(window.dslc_module_options_show(a),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added"),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass("dslca-module-edit-field-font")){var d=o.val();d+=":400,100,200,300,500,600,700,800,900";var l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=p=o.val(),u=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==m.indexOf(o.val())?document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left");var i=l.split(","),s="#"+u[0].id+" "+i.join(", #"+u[0].id+" ")+" {"+r+": "+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:s})},inactive:function(e,t){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}):setTimeout((function(){jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left");var e=l.split(","),t="#"+u[0].id+" "+e.join(", #"+u[0].id+" ")+" {"+r+": "+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass("dslca-module-edit-field-checkbox")){jQuery('input[type="checkbox"]',s).each((function(){jQuery(this).prop("checked")?(e+="solid ",t=t+jQuery(this).val()+" "):e+="none "}))}if(!o.hasClass("dslca-module-edit-field-font")&&null!=o.data("affect-on-change-el")&&null!=o.data("affect-on-change-rule")){var p,h=o.data("ext")||"";l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=p=o.val();o.hasClass("dslca-module-edit-field-checkbox")&&(p=e,c=t),o.hasClass("dslca-module-edit-field-image")&&(p='url("'+p+'")'),null!==p&&p.length<1&&("background-color"==r||"background"==r)&&(p="transparent"),r.split(",").forEach((function(e){e=e.replace(/\s+/g,"");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),i=l.split(","),s="#"+t[0].id+" "+i.join(", #"+t[0].id+" ")+" {"+e+": "+p+h+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:s})}))}var v="";v=-1!==i.indexOf("css_")?c:o.val(),jQuery('.dslca-module-option-front[data-id="'+i+'"]',n).val(v),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:n[0].id,optionID:i,optionVal:c||o.val()})}}))},g=()=>{jQuery(document).on("change",".dslca-modules-section-edit-field",(function(){var e,t,o,i,s,n,a,d;if(t=(e=jQuery(this)).data("id"),i=e.val(),u=i,s=i+e.data("ext"),n=e.data("css-rule"),d=o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id="'+t+'"]',o),o.addClass("dslca-modules-section-change-made"),e.hasClass("dslca-modules-section-edit-field-upload")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id="dslca-img-url"]',o).val()),"background-image"==n&&(i='url("'+i+'")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),"bg_image_attachment"==t&&o.removeClass("dslc-init-parallax"),"border-top"==t||"border-right"==t||"border-bottom"==t||"border-left"==t){var l=jQuery('.dslca-modules-section-settings input[data-id="border_style"]').val();a=jQuery('.dslca-modules-section-settings input[data-id="border"]',o),u="",e.closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox").each((function(){jQuery(this).is(":checked")&&("border-top"==jQuery(this).data("id")?u+="top ":"border-right"==jQuery(this).data("id")?u+="right ":"border-bottom"==jQuery(this).data("id")?u+="bottom ":"border-left"==jQuery(this).data("id")&&(u+="left "))})),e.is(":checked")?"border-top"==e.data("id")?o.css({"border-top-style":l}):"border-right"==e.data("id")?o.css({"border-right-style":l}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":l}):"border-left"==e.data("id")&&o.css({"border-left-style":l}):"border-top"==e.data("id")?o.css({"border-top-style":"hidden"}):"border-right"==e.data("id")?o.css({"border-right-style":"hidden"}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":"hidden"}):"border-left"==e.data("id")&&o.css({"border-left-style":"hidden"})}else if(e.hasClass("dslca-modules-section-edit-field-checkbox")){var r=jQuery(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),c="";r.each((function(){jQuery(this).prop("checked")&&(c+=jQuery(this).data("val")+" ")}));var u=c;"show_on"==e.data("id")&&(-1!==c.indexOf("desktop")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop"),-1!==c.indexOf("tablet")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet"),-1!==c.indexOf("phone")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")),"section_divider_bottom_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-vert")),"section_divider_top_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-vert"))}else if("bg_image_attachment"==t&&"parallax"==i)o.addClass("dslc-init-parallax"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if("type"==t)"full"==i?o.addClass("dslc-full"):o.removeClass("dslc-full"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if("columns_spacing"==t)"nospacing"==i?o.addClass("dslc-no-columns-spacing"):o.removeClass("dslc-no-columns-spacing");else if("custom_class"==t);else if("custom_id"==t);else if("bg_video"==t){if(jQuery(".dslc-bg-video video",o).remove(),i&&i.length){var m=i;m=(m=m.replace(".webm","")).replace(".mp4",""),jQuery(".dslc-bg-video-inner",o).html('<video><source type="video/mp4" src="'+m+'.mp4" /><source type="video/webm" src="'+m+'.webm" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if("section_divider_top_style"==t||"section_divider_bottom_style"==t){let e="top";"section_divider_bottom_style"==t&&(e="bottom");let s=jQuery('.dslc-section-divider[data-divider-pos="'+e+'"] svg',o).attr("style");if(jQuery('.dslc-section-divider[data-divider-pos="'+e+'"]',o).html(""),i&&i.length){const t=jQuery("#dslc-section-dividers",LiveComposer.Builder.PreviewAreaWindow.document).find("svg#"+i).clone();jQuery('.dslc-section-divider[data-divider-pos="'+e+'"]',o).html(t[0]),void 0!==s&&jQuery('.dslc-section-divider[data-divider-pos="'+e+'"] svg',o).attr("style",s)}}else if("bg_image_thumb"==t)if("enabled"==u){if(jQuery("#dslca-post-data-thumb").length){var p="url('"+jQuery("#dslca-post-data-thumb").val()+"')";d.css(n,p)}}else"disabled"==u&&d.css(n,"none");else{var h;e.data("css-element")&&(d=jQuery(e.data("css-element"),o)),n=n.replace(/ /g,"").split(","),h=null!=e.data("ext")?s:i;for(var v=0;v<n.length;v++)d.css(n[v],h)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},y=()=>{var e;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",(function(){var t=jQuery(this);if(t.hasClass("dslca-module-edit-field-image-add-hook"))var o=t.siblings(".dslca-module-edit-field-image"),i=t.siblings(".dslca-module-edit-field-image-remove-hook");else o=t.siblings(".dslca-modules-section-edit-field-upload"),i=t.siblings(".dslca-modules-section-edit-field-image-remove-hook");(e=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:!1})).on("select",(function(){var s=e.state().get("selection").first().toJSON();o.val(s.id);var n=t.parent().attr("data-id");""!=s.alt&&"image"==n&&jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(s.alt),""!=s.title&&"image"==n&&jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(s.title),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(s.url),o.trigger("change"),t.hide(),i.show()})),e.open()})),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",(function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var t=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else t=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");t.val("").trigger("change"),"image"==e.parent().attr("data-id")&&(jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")),e.hide(),o.show()}))};function w(e){window.dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),j()}const b=()=>{const e=document.querySelector(".dslca-module-edit-options-tab-hook.dslca-active").dataset.id;if("tablet_responsive"===e||"phone_responsive"===e){document.querySelectorAll('.dslca-module-edit-option[data-tab="'+e+'"]').forEach(e=>{const t=e.querySelector(".dslca-module-edit-field").dataset.id;"css_res_t"!==t&&"css_res_p"!==t&&jQuery(".dslca-module-edit-option-"+t).find(".dslca-module-edit-field").val("").trigger("change")})}},j=e=>{window.dslcDebug&&console.log("elementOptionsTabs");var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]:first')).data("id");if(jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.addClass("dslca-active"),jQuery(".dslca-module-edit-options-tabs").show(),jQuery(".dslca-module-edit-options-tab-hook").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),Q(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),x(),o==DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet"),jQuery("html").addClass("dslc-responsive-preview")),o==DSLCString.str_res_phone.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone"),jQuery("html").addClass("dslc-responsive-preview")),o!=DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&o!=DSLCString.str_res_phone.toLowerCase()+"_responsive"||(jQuery(".dslca-container-loader").show(),Ko((function(){jQuery(".dslca-container-loader").hide()})))),jQuery("body").hasClass("rtl")){var i,s=0,n=0;jQuery(".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible").each((function(e){jQuery(this).hasClass("dslca-module-edit-option-hidden")||jQuery(this).hasClass("dslca-module-control-group")||(s+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible").each((function(e){n+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(s)+parseInt(n)+10,jQuery(".dslca-module-edit-options-wrapper").css({width:i+"px"})}};function Q(){if(window.dslcDebug&&console.log("dslc_module_options_hideshow_tabs"),"styling"==jQuery(".dslca-options-filter-hook.dslca-active").data("section")){jQuery(".dslca-module-edit");var e=!0,t=!0,o=!0,i=!0,s=!0,n=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,v=!0,f=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(i=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(o=!1,i=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(l=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){var L=jQuery('.dslca-module-edit-option[data-id="css_custom"]');"enabled"==L.find("select").val()?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible"),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden"),jQuery(".dslca-module-edit-options-tabs").hide(),L.css({visibility:"visible"}))}else jQuery(".dslca-module-edit-options-tabs").show();if("disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","visible")),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","visible")),jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible"),jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var x=jQuery(".dslca-options-filter-hook.dslca-active").data("section");jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-show")&&jQuery(".dslca-module-edit-option.dep-show").show(),jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-hide")&&jQuery(".dslca-module-edit-option.dep-hide").hide()}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var B=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");jQuery('.dslca-module-edit-option[data-tab="'+B+'"]').hasClass("dependent")?(jQuery(".dslca-module-edit-option.dependent").hide(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-hide').hide()):jQuery(".dslca-module-edit-option.dependent").hide()}}function _(e){window.dslcDebug&&console.log("dslc_module_options_confirm_changes"),e=void 0!==e&&e,jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),Ko((function(){s(),window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Pt(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),window.dslc_show_publish_button()}function C(e){window.dslcDebug&&console.log("dslc_module_options_cancel_changes"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",t).html("").append(window.LiveComposer.Builder.moduleBackup),Ko((function(){window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Pt(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function k(e,t){var o=jQuery(e).closest(".dslca-module-edit-option-icon"),i=jQuery(".dslca-module-edit-field-icon",o),s=h.indexOf(i.val());if("previous"==t)var n=s-1;else n=s+1;jQuery(".dslca-module-edit-field-icon-suggest",o).text(""),n<0&&(n=h.length-1),i.val(h[n]).trigger("change")}function D(e){var t,o,i,s,n,a;window.dslcDebug&&console.log("dslc_module_options_color");var d,l=[],r="dslcColors-"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push("#78b"),2>l.length&&l.push("#ab0"),3>l.length&&l.push("#de3"),l.push("#fff"),l.push("#000"),l.push("rgba(0,0,0,0)"),jQuery(e).each((function(){var e=jQuery(this).closest(".dslca-color-option"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:"hsl",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker("color");s=null==r?"":r,t.val(s).trigger("change"),t.css("background",s),o=t.data("affect-on-change-el"),i=t.data("affect-on-change-rule"),null!=o&&".dslca-modules-section-being-edited"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(".dslca-module-being-edited")).css(i,s),n=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',n).val(s),n.addClass("dslca-module-change-made")}}),e.find(".wp-picker-holder .iris-picker").append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var c=e.find(".dslca-colorpicker-apply");d.wpColorPicker("open"),jQuery(c).on("click",(function(){if("#fff"!==s&&"#ffffff"!==s&&"#000"!==s&&"#000000"!==s&&"rgba(0,0,0,0)"!==s)if(void 0===localStorage[r]){var e=[s];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(s)&&(e.unshift(s),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker("close")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function L(e){window.dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(".dslca-module-edit-field-slider",e).length&&e.append('<div class="dslca-module-edit-field-slider"></div>');var t=!0;if(t=!e.hasClass("dslca-modules-section-edit-option"))var o=e.find(".dslca-module-edit-field");else o=e.find(".dslca-modules-section-edit-field");if(e.hasClass("dslca-modules-section-edit-option"))o=e.find(".dslca-modules-section-edit-field");else o=e.find(".dslca-module-edit-field");var i=e.find(".dslca-module-edit-field-slider"),s=parseFloat(o.val()),n=parseFloat(o.data("max")),a=parseFloat(o.data("min")),d=parseFloat(o.data("increment")),l=!1;if(void 0!==o.data("onlypositive")&&1===o.data("onlypositive")&&(l=!0),s>=n&&(n=2*s),!l&&s<=a&&(a=2*s),i.slider({min:a,max:n,step:d,value:o.val(),slide:function(e,t){o.val(t.value+""),o.trigger("change")},change:function(t,o){(o.value>=n||o.value<=a)&&(i.slider("destroy"),L(e))}}),i.show(),jQuery(e).on("mouseleave",(function(){void 0!==i.slider("instance")&&jQuery(i).slider("destroy"),i.remove()})),!o[0].classList.contains("slider-initiated"))return o[0].classList.add("slider-initiated"),o.on("keyup",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger("change")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger("change"))),8!=e.keyCode&&45!=e.keyCode||o.trigger("change"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger("change");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on("change",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(".dslca-module-edit-option-slider")):jQuery(e.target.closest(".dslca-modules-section-edit-option-slider"))).find(".dslca-module-edit-field-slider");(void 0!==o.slider("instance")&&o.slider("value",this.value),t)&&jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made")})),!1}))}function x(){jQuery("html").removeClass("dslc-responsive-preview"),jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}
2
  /**!
3
  * Sortable 1.10.2
4
  * @author RubaXa <trash@rubaxa.org>
5
  * @author owenm <owen23355@gmail.com>
6
  * @license MIT
7
  */
8
+ function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){S(e,t,o[t])}))}return e}function E(e,t){if(null==e)return{};var o,i,s=function(e,t){if(null==e)return{};var o,i,s={},n=Object.keys(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||(s[o]=e[o]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(s[o]=e[o])}return s}window.dslc_module_options_font=function(){jQuery(document).off("click",".dslca-module-edit-field-font-next").on("click",".dslca-module-edit-field-font-next",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=p.indexOf(o.val())+1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),o.val(p[i]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}})),jQuery(document).off("click",".dslca-module-edit-field-font-prev").on("click",".dslca-module-edit-field-font-prev",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=p.indexOf(o.val())-1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),i<0&&(i=p.length-1),o.val(p[i]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}})),jQuery(document).off("blur",".dslca-module-edit-field-font").on("blur",".dslca-module-edit-field-font",(function(e){var t=jQuery(this).closest(".dslca-module-edit-option");jQuery(".dslca-module-edit-field-font-suggest",t).hide()})),jQuery(document).off("keyup",".dslca-module-edit-field-font").on("keyup",".dslca-module-edit-field-font",(function(e){var t,o,i,s,n=!1;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click();40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp("^"+i,"i"),d=p.length,l=0;do{if(a.test(p[l])&&!n)n=p[l];l++}while(l<d);n?i!==n&&(s=n,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(s=i,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(s),s.length&&t.val(s.substring(0,t.val().length))}})),jQuery(document).off("keydown",".dslca-module-edit-field-font").on("keydown",".dslca-module-edit-field-font",(function(e){if(13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),jQuery(".dslca-module-edit-field-font-suggest",o).text().length&&(jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text(""))}}))};function O(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var T=O(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),I=O(/Edge/i),M=O(/firefox/i),N=O(/safari/i)&&!O(/chrome/i)&&!O(/android/i),F=O(/iP(ad|od|hone)/i),W=O(/chrome/i)&&O(/android/i),U={capture:!1,passive:!1};function H(e,t,o){e.addEventListener(t,o,!T&&U)}function z(e,t,o){e.removeEventListener(t,o,!T&&U)}function R(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function q(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function X(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&R(e,t):R(e,t))||i&&e===o)return e;if(e===o)break}while(e=q(e))}return null}var Y,J=/\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(J," ").replace(" "+t+" "," ");e.className=(i+(o?" "+t:"")).replace(J," ")}}function G(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=o+("string"==typeof o?"":"px")}}function V(e,t){var o="";if("string"==typeof e)o=e;else do{var i=G(e,"transform");i&&"none"!==i&&(o=i+" "+o)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function $(e,t,o){if(e){var i=e.getElementsByTagName(t),s=0,n=i.length;if(o)for(;s<n;s++)o(i[s],s);return i}return[]}function Z(){var e=document.scrollingElement;return e||document.documentElement}function ee(e,t,o,i,s){if(e.getBoundingClientRect||e===window){var n,a,d,l,r,c,u;if(e!==window&&e!==Z()?(a=(n=e.getBoundingClientRect()).top,d=n.left,l=n.bottom,r=n.right,c=n.height,u=n.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(s=s||e.parentNode,!T))do{if(s&&s.getBoundingClientRect&&("none"!==G(s,"transform")||o&&"static"!==G(s,"position"))){var m=s.getBoundingClientRect();a-=m.top+parseInt(G(s,"border-top-width")),d-=m.left+parseInt(G(s,"border-left-width")),l=a+n.height,r=d+n.width;break}}while(s=s.parentNode);if(i&&e!==window){var p=V(s||e),h=p&&p.a,v=p&&p.d;p&&(l=(a/=v)+(c/=v),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function te(e,t,o){for(var i=ae(e,!0),s=ee(e)[t];i;){var n=ee(i)[o];if(!("top"===o||"left"===o?s>=n:s<=n))return i;if(i===Z())break;i=ae(i,!1)}return!1}function oe(e,t,o){for(var i=0,s=0,n=e.children;s<n.length;){if("none"!==n[s].style.display&&n[s]!==rt.ghost&&n[s]!==rt.dragged&&X(n[s],o.draggable,e,!1)){if(i===t)return n[s];i++}s++}return null}function ie(e,t){for(var o=e.lastElementChild;o&&(o===rt.ghost||"none"===G(o,"display")||t&&!R(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===rt.clone||t&&!R(e,t)||o++;return o}function ne(e){var t=0,o=0,i=Z();if(e)do{var s=V(e),n=s.a,a=s.d;t+=e.scrollLeft*n,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function ae(e,t){if(!e||!e.getBoundingClientRect)return Z();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=G(o);if(o.clientWidth<o.scrollWidth&&("auto"==s.overflowX||"scroll"==s.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==s.overflowY||"scroll"==s.overflowY)){if(!o.getBoundingClientRect||o===document.body)return Z();if(i||t)return o;i=!0}}}while(o=o.parentNode);return Z()}function de(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!Y){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),Y=setTimeout((function(){Y=void 0}),t)}}}function re(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ce(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var ue="Sortable"+(new Date).getTime();function me(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==G(e,"display")&&e!==rt.ghost){t.push({target:e,rect:ee(e)});var o=P({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=V(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var s=!1,n=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=ee(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=V(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&de(l,d)&&!de(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),de(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(s=!0,n=Math.max(n,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),s?e=setTimeout((function(){"function"==typeof o&&o()}),n):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){G(e,"transition",""),G(e,"transform","");var s=V(this.el),n=s&&s.a,a=s&&s.d,d=(t.left-o.left)/(n||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,G(e,"transform","translate3d("+d+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),G(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),G(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){G(e,"transition",""),G(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var pe=[],he={initializeByDefault:!0},ve={mount:function(e){for(var t in he)!he.hasOwnProperty(t)||t in e||(e[t]=he[t]);pe.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var s=e+"Global";pe.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][s]&&t[i.pluginName][s](P({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](P({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var s in pe.forEach((function(i){var s=i.pluginName;if(e.options[s]||i.initializeByDefault){var n=new i(e,t,e.options);n.sortable=e,n.options=e.options,e[s]=n,A(o,n.defaults)}})),e.options)if(e.options.hasOwnProperty(s)){var n=this.modifyOption(e,s,e.options[s]);void 0!==n&&(e.options[s]=n)}},getEventProperties:function(e,t){var o={};return pe.forEach((function(i){"function"==typeof i.eventProperties&&A(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return pe.forEach((function(s){e[s.pluginName]&&s.optionListeners&&"function"==typeof s.optionListeners[t]&&(i=s.optionListeners[t].call(e[s.pluginName],o))})),i}};function fe(e){var t=e.sortable,o=e.rootEl,i=e.name,s=e.targetEl,n=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[ue]){var v,f=t.options,g="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||T||I?(v=document.createEvent("Event")).initEvent(i,!0,!0):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=a||o,v.from=d||o,v.item=s||o,v.clone=n,v.oldIndex=l,v.newIndex=r,v.oldDraggableIndex=c,v.newDraggableIndex=u,v.originalEvent=m,v.pullMode=p?p.lastPutMode:void 0;var y=P({},h,ve.getEventProperties(i,t));for(var w in y)v[w]=y[w];o&&o.dispatchEvent(v),f[g]&&f[g].call(t,v)}}var ge=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,s=E(o,["evt"]);ve.pluginEvent.bind(rt)(e,t,P({dragEl:we,parentEl:be,ghostEl:je,rootEl:Qe,nextEl:_e,lastDownEl:Ce,cloneEl:ke,cloneHidden:De,dragStarted:Fe,putSortable:Pe,activeSortable:rt.active,originalEvent:i,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se,hideGhostForTarget:nt,unhideGhostForTarget:at,cloneNowHidden:function(){De=!0},cloneNowShown:function(){De=!1},dispatchSortableEvent:function(e){ye({sortable:t,name:e,originalEvent:i})}},s))};function ye(e){fe(P({putSortable:Pe,cloneEl:ke,targetEl:we,rootEl:Qe,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se},e))}var we,be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re=!1,qe=!1,Xe=[],Ye=!1,Je=!1,Ke=[],Ge=!1,Ve=[],$e="undefined"!=typeof document,Ze=F,et=I||T?"cssFloat":"float",tt=$e&&!W&&!F&&"draggable"in document.createElement("div"),ot=function(){if($e){if(T)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),it=function(e,t){var o=G(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),s=oe(e,0,t),n=oe(e,1,t),a=s&&G(s),d=n&&G(n),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ee(s).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+ee(n).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!n||"both"!==d.clear&&d.clear!==c?"horizontal":"vertical"}return s&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===o[et]||n&&"none"===o[et]&&l+r>i)?"vertical":"horizontal"},st=function(e){function t(e,o){return function(i,s,n,a){var d=i.options.group.name&&s.options.group.name&&i.options.group.name===s.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(i,s,n,a),o)(i,s,n,a);var l=(o?i:s).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&"object"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},nt=function(){!ot&&je&&G(je,"display","none")},at=function(){!ot&&je&&G(je,"display","")};$e&&document.addEventListener("click",(function(e){if(qe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),qe=!1,!1}),!0);var dt=function(e){if(we){e=e.touches?e.touches[0]:e;var t=(s=e.clientX,n=e.clientY,Xe.some((function(e){if(!ie(e)){var t=ee(e),o=e[ue].options.emptyInsertThreshold,i=s>=t.left-o&&s<=t.right+o,d=n>=t.top-o&&n<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[ue]._onDragOver(o)}}var s,n,a},lt=function(e){we&&we.parentNode[ue]._isOutsideThisEl(e.target)};function rt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=A({},t),e[ue]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return it(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==rt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var s in st(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?H(e,"pointerdown",this._onTapStart):(H(e,"mousedown",this._onTapStart),H(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(H(e,"dragover",this),H(e,"dragenter",this)),Xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),A(this,me())}function ct(e,t,o,i,s,n,a,d){var l,r,c=e[ue],u=c.options.onMove;return!window.CustomEvent||T||I?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=s||t,l.relatedRect=n||ee(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function ut(e){e.draggable=!1}function mt(){Ge=!1}function pt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ht(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}rt.prototype={constructor:rt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(We=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,we):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,s=i.preventOnFilter,n=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){Ve.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var i=t[o];i.checked&&Ve.push(i)}}(o),!we&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||i.disabled||l.isContentEditable||(d=X(d,i.draggable,o,!1))&&d.animated||Ce===d)){if(Le=se(d),Be=se(d,i.draggable),"function"==typeof r){if(r.call(this,e,d,this))return ye({sortable:t,rootEl:l,name:"filter",targetEl:d,toEl:o,fromEl:o}),ge("filter",t,{evt:e}),void(s&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(",").some((function(i){if(i=X(l,i.trim(),o,!1))return ye({sortable:t,rootEl:i,name:"filter",targetEl:d,fromEl:o,toEl:o}),ge("filter",t,{evt:e}),!0}))))return void(s&&e.cancelable&&e.preventDefault());i.handle&&!X(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,s=this,n=s.el,a=s.options,d=n.ownerDocument;if(o&&!we&&o.parentNode===n){var l=ee(o);if(Qe=n,be=(we=o).parentNode,_e=we.nextSibling,Ce=o,Ae=a.group,rt.dragged=we,Ee={target:we,clientX:(t||e).clientX,clientY:(t||e).clientY},Me=Ee.clientX-l.left,Ne=Ee.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,we.style["will-change"]="all",i=function(){ge("delayEnded",s,{evt:e}),rt.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!M&&s.nativeDraggable&&(we.draggable=!0),s._triggerDragStart(e,t),ye({sortable:s,name:"choose",originalEvent:e}),K(we,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){$(we,e.trim(),ut)})),H(d,"dragover",dt),H(d,"mousemove",dt),H(d,"touchmove",dt),H(d,"mouseup",s._onDrop),H(d,"touchend",s._onDrop),H(d,"touchcancel",s._onDrop),M&&this.nativeDraggable&&(this.options.touchStartThreshold=4,we.draggable=!0),ge("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(I||T))i();else{if(rt.eventCanceled)return void this._onDrop();H(d,"mouseup",s._disableDelayedDrag),H(d,"touchend",s._disableDelayedDrag),H(d,"touchcancel",s._disableDelayedDrag),H(d,"mousemove",s._delayedDragTouchMoveHandler),H(d,"touchmove",s._delayedDragTouchMoveHandler),a.supportPointer&&H(d,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){we&&ut(we),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._disableDelayedDrag),z(e,"touchend",this._disableDelayedDrag),z(e,"touchcancel",this._disableDelayedDrag),z(e,"mousemove",this._delayedDragTouchMoveHandler),z(e,"touchmove",this._delayedDragTouchMoveHandler),z(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?H(document,"pointermove",this._onTouchMove):H(document,t?"touchmove":"mousemove",this._onTouchMove):(H(we,"dragend",this),H(Qe,"dragstart",this._onDragStart));try{document.selection?ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Re=!1,Qe&&we){ge("dragStarted",this,{evt:t}),this.nativeDraggable&&H(document,"dragover",lt);var o=this.options;!e&&K(we,o.dragClass,!1),K(we,o.ghostClass,!0),rt.active=this,e&&this._appendGhost(),ye({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Oe){this._lastX=Oe.clientX,this._lastY=Oe.clientY,nt();for(var e=document.elementFromPoint(Oe.clientX,Oe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Oe.clientX,Oe.clientY))!==t;)t=e;if(we.parentNode[ue]._isOutsideThisEl(e),t)do{if(t[ue]){if(t[ue]._onDragOver({clientX:Oe.clientX,clientY:Oe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);at()}},_onTouchMove:function(e){if(Ee){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,s=e.touches?e.touches[0]:e,n=je&&V(je,!0),a=je&&n&&n.a,d=je&&n&&n.d,l=Ze&&ze&&ne(ze),r=(s.clientX-Ee.clientX+i.x)/(a||1)+(l?l[0]-Ke[0]:0)/(a||1),c=(s.clientY-Ee.clientY+i.y)/(d||1)+(l?l[1]-Ke[1]:0)/(d||1);if(!rt.active&&!Re){if(o&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(je){n?(n.e+=r-(Te||0),n.f+=c-(Ie||0)):n={a:1,b:0,c:0,d:1,e:r,f:c};var u="matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.e,",").concat(n.f,")");G(je,"webkitTransform",u),G(je,"mozTransform",u),G(je,"msTransform",u),G(je,"transform",u),Te=r,Ie=c,Oe=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!je){var e=this.options.fallbackOnBody?document.body:Qe,t=ee(we,!0,Ze,!0,e),o=this.options;if(Ze){for(ze=e;"static"===G(ze,"position")&&"none"===G(ze,"transform")&&ze!==document;)ze=ze.parentNode;ze!==document.body&&ze!==document.documentElement?(ze===document&&(ze=Z()),t.top+=ze.scrollTop,t.left+=ze.scrollLeft):ze=Z(),Ke=ne(ze)}K(je=we.cloneNode(!0),o.ghostClass,!1),K(je,o.fallbackClass,!0),K(je,o.dragClass,!0),G(je,"transition",""),G(je,"transform",""),G(je,"box-sizing","border-box"),G(je,"margin",0),G(je,"top",t.top),G(je,"left",t.left),G(je,"width",t.width),G(je,"height",t.height),G(je,"opacity","0.8"),G(je,"position",Ze?"absolute":"fixed"),G(je,"zIndex","100000"),G(je,"pointerEvents","none"),rt.ghost=je,e.appendChild(je),G(je,"transform-origin",Me/parseInt(je.style.width)*100+"% "+Ne/parseInt(je.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,s=o.options;ge("dragStart",this,{evt:e}),rt.eventCanceled?this._onDrop():(ge("setupClone",this),rt.eventCanceled||((ke=ce(we)).draggable=!1,ke.style["will-change"]="",this._hideClone(),K(ke,this.options.chosenClass,!1),rt.clone=ke),o.cloneId=ht((function(){ge("clone",o),rt.eventCanceled||(o.options.removeCloneOnHide||Qe.insertBefore(ke,we),o._hideClone(),ye({sortable:o,name:"clone"}))})),!t&&K(we,s.dragClass,!0),t?(qe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(z(document,"mouseup",o._onDrop),z(document,"touchend",o._onDrop),z(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",s.setData&&s.setData.call(o,i,we)),H(document,"drop",o),G(we,"transform","translateZ(0)")),Re=!0,o._dragStartId=ht(o._dragStarted.bind(o,t,e)),H(document,"selectstart",o),Fe=!0,N&&G(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,i,s,n=this.el,a=e.target,d=this.options,l=d.group,r=rt.active,c=Ae===l,u=d.sort,m=Pe||r,p=this,h=!1;if(!Ge){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=X(a,d.draggable,n,!0),x("dragOver"),rt.eventCanceled)return h;if(we.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(qe=!1,r&&!d.disabled&&(c?u||(i=!Qe.contains(we)):Pe===this||(this.lastPutMode=Ae.checkPull(this,r,we,e))&&l.checkPut(this,r,we,e))){if(s="vertical"===this._getDirection(e,a),t=ee(we),x("dragOverValid"),rt.eventCanceled)return h;if(i)return be=Qe,B(),this._hideClone(),x("revert"),rt.eventCanceled||(_e?Qe.insertBefore(we,_e):Qe.appendChild(we)),S(!0);var v=ie(n,d.draggable);if(!v||function(e,t,o){var i=ee(ie(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,s,this)&&!v.animated){if(v===we)return S(!1);if(v&&n===e.target&&(a=v),a&&(o=ee(a)),!1!==ct(Qe,n,we,t,a,o,e,!!a))return B(),n.appendChild(we),be=n,A(),S(!0)}else if(a.parentNode===n){o=ee(a);var f,g,y,w=we.parentNode!==n,b=!function(e,t,o){var i=o?e.left:e.top,s=o?e.right:e.bottom,n=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||s===d||i+n/2===a+l/2}(we.animated&&we.toRect||t,a.animated&&a.toRect||o,s),j=s?"top":"left",Q=te(a,"top","top")||te(we,"top","top"),_=Q?Q.scrollTop:void 0;if(We!==a&&(g=o[j],Ye=!1,Je=!b&&d.invertSwap||w),0!==(f=function(e,t,o,i,s,n,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&He<r*s){if(!Ye&&(1===Ue?l>c+r*n/2:l<u-r*n/2)&&(Ye=!0),Ye)m=!0;else if(1===Ue?l<c+He:l>u-He)return-Ue}else if(l>c+r*(1-s)/2&&l<u-r*(1-s)/2)return function(e){return se(we)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*n/2||l>u-r*n/2))return l>c+r/2?1:-1;return 0}(e,a,o,s,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Je,We===a))){var C=se(we);do{C-=f,y=be.children[C]}while(y&&("none"===G(y,"display")||y===je))}if(0===f||y===a)return S(!1);We=a,Ue=f;var k=a.nextElementSibling,D=!1,L=ct(Qe,n,we,t,a,o,e,D=1===f);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ge=!0,setTimeout(mt,30),B(),D&&!k?n.appendChild(we):a.parentNode.insertBefore(we,D?k:a),Q&&re(Q,0,_-Q.scrollTop),be=we.parentNode,void 0===g||Je||(He=Math.abs(g-ee(a)[j])),A(),S(!0)}if(n.contains(we))return S(!1)}return!1}function x(d,l){ge(d,p,P({evt:e,isOwner:c,axis:s?"vertical":"horizontal",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ct(Qe,n,we,t,o,ee(o),e,i)},changed:A},l))}function B(){x("dragOverAnimationCapture"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x("dragOverCompleted",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(K(we,Pe?Pe.options.ghostClass:r.options.ghostClass,!1),K(we,d.ghostClass,!0)),Pe!==p&&p!==rt.active?Pe=p:p===rt.active&&Pe&&(Pe=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===we&&!we.animated||a===n&&!a.animated)&&(We=null),d.dragoverBubble||e.rootEl||a===document||(we.parentNode[ue]._isOutsideThisEl(e.target),!t&&dt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){xe=se(we),Se=se(we,d.draggable),ye({sortable:p,name:"change",toEl:n,newIndex:xe,newDraggableIndex:Se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,"mousemove",this._onTouchMove),z(document,"touchmove",this._onTouchMove),z(document,"pointermove",this._onTouchMove),z(document,"dragover",dt),z(document,"mousemove",dt),z(document,"touchmove",dt)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,"mouseup",this._onDrop),z(e,"touchend",this._onDrop),z(e,"pointerup",this._onDrop),z(e,"touchcancel",this._onDrop),z(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;xe=se(we),Se=se(we,o.draggable),ge("drop",this,{evt:e}),be=we&&we.parentNode,xe=se(we),Se=se(we,o.draggable),rt.eventCanceled?this._nulling():(Re=!1,Je=!1,Ye=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(z(document,"drop",this),z(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),N&&G(document.body,"user-select",""),G(we,"transform",""),e&&(Fe&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(Qe===be||Pe&&"clone"!==Pe.lastPutMode)&&ke&&ke.parentNode&&ke.parentNode.removeChild(ke),we&&(this.nativeDraggable&&z(we,"dragend",this),ut(we),we.style["will-change"]="",Fe&&!Re&&K(we,Pe?Pe.options.ghostClass:this.options.ghostClass,!1),K(we,this.options.chosenClass,!1),ye({sortable:this,name:"unchoose",toEl:be,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qe!==be?(xe>=0&&(ye({rootEl:be,name:"add",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:"remove",toEl:be,originalEvent:e}),ye({rootEl:be,name:"sort",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:"sort",toEl:be,originalEvent:e})),Pe&&Pe.save()):xe!==Le&&xe>=0&&(ye({sortable:this,name:"update",toEl:be,originalEvent:e}),ye({sortable:this,name:"sort",toEl:be,originalEvent:e})),rt.active&&(null!=xe&&-1!==xe||(xe=Le,Se=Be),ye({sortable:this,name:"end",toEl:be,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ge("nulling",this),Qe=we=be=je=_e=ke=Ce=De=Ee=Oe=Fe=xe=Se=Le=Be=We=Ue=Pe=Ae=rt.dragged=rt.ghost=rt.clone=rt.active=null,Ve.forEach((function(e){e.checked=!0})),Ve.length=Te=Ie=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":we&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,s=o.length,n=this.options;i<s;i++)X(e=o[i],n.draggable,this.el,!1)&&t.push(e.getAttribute(n.dataIdAttr)||pt(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var s=o.children[i];X(s,this.options.draggable,o,!1)&&(t[e]=s)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return X(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,"group"===e&&st(o)},destroy:function(){ge("destroy",this);var e=this.el;e[ue]=null,z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart),z(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Xe.splice(Xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!De){if(ge("hideClone",this),rt.eventCanceled)return;G(ke,"display","none"),this.options.removeCloneOnHide&&ke.parentNode&&ke.parentNode.removeChild(ke),De=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(De){if(ge("showClone",this),rt.eventCanceled)return;Qe.contains(we)&&!this.options.group.revertClone?Qe.insertBefore(ke,we):_e?Qe.insertBefore(ke,_e):Qe.appendChild(ke),this.options.group.revertClone&&this.animate(we,ke),G(ke,"display",""),De=!1}}else this._hideClone()}},$e&&H(document,"touchmove",(function(e){(rt.active||Re)&&e.cancelable&&e.preventDefault()})),rt.utils={on:H,off:z,css:G,find:$,is:function(e,t){return!!X(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:X,toggleClass:K,clone:ce,index:se,nextTick:ht,cancelNextTick:vt,detectDirection:it,getChild:oe},rt.get=function(e){return e[ue]},rt.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(rt.utils=P({},rt.utils,e.utils)),ve.mount(e)}))},rt.create=function(e,t){return new rt(e,t)},rt.version="1.10.2";var ft,gt,yt,wt,bt,jt,Qt=[],_t=!1;function Ct(){Qt.forEach((function(e){clearInterval(e.pid)})),Qt=[]}function kt(){clearInterval(jt)}var Dt=le((function(e,t,o,i){if(t.scroll){var s,n=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=Z(),c=!1;gt!==o&&(gt=o,Ct(),ft=t.scroll,s=t.scrollFn,!0===ft&&(ft=ae(o,!0)));var u=0,m=ft;do{var p=m,h=ee(p),v=h.top,f=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=G(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY));var x=j&&(Math.abs(y-n)<=d&&D+w<_)-(Math.abs(g-n)<=d&&!!D),B=Q&&(Math.abs(f-a)<=d&&L+b<C)-(Math.abs(v-a)<=d&&!!L);if(!Qt[u])for(var S=0;S<=u;S++)Qt[S]||(Qt[S]={});Qt[u].vx==x&&Qt[u].vy==B&&Qt[u].el===p||(Qt[u].el=p,Qt[u].vx=x,Qt[u].vy=B,clearInterval(Qt[u].pid),0==x&&0==B||(c=!0,Qt[u].pid=setInterval(function(){i&&0===this.layer&&rt.active._onTouchMove(bt);var t=Qt[this.layer].vy?Qt[this.layer].vy*l:0,o=Qt[this.layer].vx?Qt[this.layer].vx*l:0;"function"==typeof s&&"continue"!==s.call(rt.dragged.parentNode[ue],o,t,e,bt,Qt[this.layer].el)||re(Qt[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=ae(m,!1)));_t=c}}),30),Lt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,s=e.activeSortable,n=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||s;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(n("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function xt(){}function Bt(){}xt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=oe(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:Lt},A(xt,{pluginName:"revertOnSpill"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:Lt},A(Bt,{pluginName:"removeOnSpill"});rt.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?H(document,"dragover",this._handleAutoScroll):this.options.supportPointer?H(document,"pointermove",this._handleFallbackAutoScroll):t.touches?H(document,"touchmove",this._handleFallbackAutoScroll):H(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):(z(document,"pointermove",this._handleFallbackAutoScroll),z(document,"touchmove",this._handleFallbackAutoScroll),z(document,"mousemove",this._handleFallbackAutoScroll)),kt(),Ct(),clearTimeout(Y),Y=void 0},nulling:function(){bt=gt=ft=_t=jt=yt=wt=null,Qt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,n=document.elementFromPoint(i,s);if(bt=e,t||I||T||N){Dt(e,this.options,n,t);var a=ae(n,!0);!_t||jt&&i===yt&&s===wt||(jt&&kt(),jt=setInterval((function(){var n=ae(document.elementFromPoint(i,s),!0);n!==a&&(a=n,Ct()),Dt(e,o.options,n,t)}),10),yt=i,wt=s)}else{if(!this.options.bubbleScroll||ae(n,!0)===Z())return void Ct();Dt(e,this.options,ae(n,!1),!1)}}},A(e,{pluginName:"scroll",initializeByDefault:!0})}),rt.mount(Bt,xt);var St=rt;window.onerror=function(e,t,o,i){Mt(e,t,o,i)},jQuery(document).on("click",".dslca-show-js-error-hook",(function(e){e.preventDefault();var t=document.getElementById("dslca-js-errors-report");jQuery("body").hasClass("dslca-saving-in-progress")||i({title:'<a href="https://livecomposerplugin.com/support/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Get Support Info</a>',content:'<span class="dslca-error-report">'+t.value+"</span>"})})),jQuery(document).ready((function(e){var t,o;jQuery("#page-builder-frame")[0].contentWindow.onerror=function(e,t,o,i){Mt(e,t,o,i)},t=document.getElementById("dslca-js-errors-report"),null!==(o=localStorage.getItem("js_errors_report"))&&(o.includes("lc-extensions")||o.includes("page-builder"))&&(t.value=o,localStorage.removeItem("js_errors_report"),document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")),jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress"),jQuery(".dslca-invisible-overlay").hide(),jQuery(".dslca-section").eq(0).show()})),jQuery(document).on("click",".dslca-currently-editing",(function(){var e=!1,t=!1;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#5890e5"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#eabba9"),e){(t=e.offset().top-100)<0&&(t=0);jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr("style")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on("click",".dslca-hide-composer-hook",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide(),jQuery(".dslca-show-composer-hook").show(),jQuery("body").addClass("dslca-composer-hidden"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}()})),jQuery(document).on("click",".dslca-show-composer-hook",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide(),jQuery(".dslca-hide-composer-hook").show(),jQuery("body").removeClass("dslca-composer-hidden"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}()})),jQuery(document).on("click",".dslca-go-to-modules-hook",(function(e){e.preventDefault(),Pt(".dslca-modules")})),jQuery(document).on("click",".dslca-go-to-section-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-active")){var t=jQuery(this).data("section");Pt(t),(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates"))&&jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}})),jQuery(document).on("click",".dslca-close-composer-hook",(function(e){e.preventDefault();var t=jQuery(this).attr("href");!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")?i({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on("click",".dslca-submit",(function(){jQuery(this).closest("form").submit()})),jQuery(document).on("click",".dslca-section-title",(function(e){e.stopPropagation(),jQuery(".dslca-section-title-filter",this).length&&(!function(){window.dslcDebug&&console.log("dslc_generate_filters");var e,t=[],o='<a html="#" data-origin="">Show All</a>';jQuery(".dslca-section:visible .dslca-origin").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),t)&&(t.push(e.data("origin")),o+='<a href="#" data-origin="'+e.data("origin")+'">'+e.data("origin")+"</a>")})),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}(),jQuery(".dslca-section-title-filter-options").slideToggle(300))})),jQuery(document).on("click",".dslca-section-title-filter-options a",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data("origin"),o=jQuery(this).closest(".dslca-section");o.hasClass("dslca-templates-load"),jQuery(".dslca-section-title-filter-curr",o).text(jQuery(this).text()),jQuery(".dslca-section-scroller-inner").css({left:0}),function(e,t){window.dslcDebug&&console.log("dslc_filter_origin");jQuery(".dslca-origin",t).attr("data-display-module","false"),jQuery('.dslca-origin[data-origin="'+e+'"]',t).attr("data-display-module","true"),""==e&&(jQuery(".dslca-origin",t).attr("data-display-module","true"),jQuery(".dslca-origin.dslca-exclude",t).attr("data-display-module","false"))}(t,o),jQuery(".dslca-section-title-filter-options").slideToggle(300)})),window.dslc_show_publish_button=function(){window.dslcDebug&&console.log("dslc_show_publish_button"),jQuery(".dslca-save-composer").show().addClass("dslca-init-animation"),jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")};const At=()=>{window.dslcDebug&&console.log("hidePublishButton"),jQuery(".dslca-save-composer").hide(),jQuery(".dslca-save-draft-composer").hide()},Pt=e=>{window.dslcDebug&&console.log("showSection");jQuery(e).data("title"),jQuery(e).data("bg");jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-module-edit"==e?jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element"):".dslca-modules-section-edit"==e?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),j(),jQuery(".dslca-container").css({bottom:0}),jQuery(e).find("input.dslca-module-edit-field-colorpicker").each((function(e){jQuery(this).css("background",jQuery(this).val())}))};function Et(e){if(void 0===e&&(e=!1),e){var t=jQuery(".dslca-module-edit-option-"+e),o=t.find(".dslca-module-edit-field"),i=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0].id,s="";"tablet_responsive"===t.data("tab")?s="body.dslc-res-tablet ":"phone_responsive"===t.data("tab")&&(s="body.dslc-res-phone ");var n=o.data("affect-on-change-el");if(void 0!==n){var a=n.split(",");n="";for(var d=0;d<a.length;d++)d>0&&(n+=", "),n+=s+"#"+i+" "+a[d];var l,r=o.data("affect-on-change-rule").replace(/ /g,"").split(","),c=o.data("ext");if(t.toggleClass("dslca-option-off"),t.hasClass("dslca-option-off")){l=Tt(e),o.data("val-bckp",l);for(d=0;d<r.length;d++)jQuery(n,LiveComposer.Builder.PreviewAreaDocument).css(r[d],""),Ot(n,r[d],i);o.val("").trigger("change")}else{o.val(o.data("val-bckp")).trigger("change"),l=function(e,t){if(""===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=Tt(e),c||"");for(d=0;d<r.length;d++){var u=n+"{"+r[d]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:n.replace(new RegExp("#"+i,"gi"),"").trim(),styleContent:u})}}}}}function Ot(e,t,o){var i,s="css-for-"+o,n=document.getElementById("page-builder-frame").contentWindow.document.getElementById(s);if(e=e.replace(/\s\s+/g," "),n){(n=n.sheet).rules?i="rules":n.cssRules&&(i="cssRules");for(var a=0;a<n[i].length;a++)if(n[i][a].selectorText==e&&n[i][a].style[t]){n[i][a].style[t]="";break}}}function Tt(e){return jQuery(".dslca-module-edit-option-"+e).find(".dslca-module-edit-field").val()}jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",(function(e){e.preventDefault(),Et(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))})),jQuery(document).on("mousedown",".dslca-module-edit-option",(function(e){var t=jQuery(".dslc-control-toggle");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")&&Et(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))}))}));const It=()=>{jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!("INPUT"===o.tagName.toUpperCase()&&("TEXT"===o.type.toUpperCase()||"PASSWORD"===o.type.toUpperCase()||"NUMBER"===o.type.toUpperCase()||"FILE"===o.type.toUpperCase())||"TEXTAREA"===o.tagName.toUpperCase()||jQuery(o).hasClass("dslca-editable-content")||jQuery(o).hasClass("dslc-tabs-nav-hook-title")||jQuery(o).hasClass("dslc-accordion-title"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(".dslca-save-composer-hook").offsetParent&&null===jQuery(".dslca-module-edit-save").offsetParent||(t.preventDefault(),i({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&"block"==jQuery(".dslca-save-composer-hook").css("display"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&(LiveComposer.Builder.UI.cmdMode=!0,LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.add("key-press-cmd"))}(e),function(e){LiveComposer.Builder.UI.cmdMode&&(e.metaKey||e.ctrlKey||(LiveComposer.Builder.UI.cmdMode=!1,LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.remove("key-press-cmd")))}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keyup").bind("keyup",(function(e){"Meta"===e.key&&(LiveComposer.Builder.UI.cmdMode=!1,LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.remove("key-press-cmd"))}))};function Mt(e,t,o,i){var s="JavaScript error detected in a third-party plugin";null!=t.match("wp-content/plugins/live-composer-page-builder/js")&&(s="Live Composer returned JS error");var n="";n+='<br /><strong style="color:#E55F5F;">'+s+"</strong><br />",n+=e+'<br /> File "'+t+'", line '+o+", char "+i+"<br />","undefined"!=typeof Storage&&localStorage.setItem("js_errors_report",n)}jQuery(document).on("editorFrameLoaded",(function(){jQuery;var e=jQuery("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument),t="";e.each((function(e,o){var i=jQuery(o).data("editing-link"),s=(jQuery(o).data("editing-type"),jQuery(o).data("editing-label")),n=jQuery(o).data("editing-sublabel");t+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+i+'" class="dslc-hf-block-overlay-button dslca-link">'+s+"</a>",void 0!==n&&(t+=' <span class="dslc-hf-block-overlay-text">'+n+"</span>"),t+="</div>";var a=document.createElement("div");a.innerHTML=t,o.append(a)}))}));var Nt={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Ft={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Wt=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],Ut={CSS:{},springs:{}};function Ht(e,t,o){return Math.min(Math.max(e,t),o)}function zt(e,t){return e.indexOf(t)>-1}function Rt(e,t){return e.apply(null,t)}var qt={arr:function(e){return Array.isArray(e)},obj:function(e){return zt(Object.prototype.toString.call(e),"Object")},pth:function(e){return qt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||qt.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return qt.hex(e)||qt.rgb(e)||qt.hsl(e)},key:function(e){return!Nt.hasOwnProperty(e)&&!Ft.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function Xt(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function Yt(e,t){var o=Xt(e),i=Ht(qt.und(o[0])?1:o[0],.1,100),s=Ht(qt.und(o[1])?100:o[1],.1,100),n=Ht(qt.und(o[2])?10:o[2],.1,100),a=Ht(qt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(s/i),l=n/(2*Math.sqrt(s*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=l<1?(l*d-a)/r:-a+d;function u(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(1*Math.cos(r*o)+c*Math.sin(r*o)):(1+c*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?u:function(){var t=Ut.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===u(o+=1/6)){if(++i>=16)break}else i=0;var s=o*(1/6)*1e3;return Ut.springs[e]=s,s}}function Jt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Gt,Vt=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function o(e){return 3*e}function i(i,s,n){return((e(s,n)*i+t(s,n))*i+o(s))*i}function s(i,s,n){return 3*e(s,n)*i*i+2*t(s,n)*i+o(s)}return function(e,t,o,n){if(0<=e&&e<=1&&0<=o&&o<=1){var a=new Float32Array(11);if(e!==t||o!==n)for(var d=0;d<11;++d)a[d]=i(.1*d,e,o);return function(s){return e===t&&o===n?s:0===s||1===s?s:i(l(s),t,n)}}function l(t){for(var n=0,d=1;10!==d&&a[d]<=t;++d)n+=.1;--d;var l=n+.1*((t-a[d])/(a[d+1]-a[d])),r=s(l,e,o);return r>=.001?function(e,t,o,n){for(var a=0;a<4;++a){var d=s(t,o,n);if(0===d)return t;t-=(i(t,o,n)-e)/d}return t}(t,l,e,o):0===r?l:function(e,t,o,s,n){var a,d,l=0;do{(a=i(d=t+(o-t)/2,s,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(t,n,n+.1,e,o)}}}(),$t=(Kt={linear:function(){return function(e){return e}}},Gt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Ht(e,1,10),i=Ht(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){Gt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Gt).forEach((function(e){var t=Gt[e];Kt["easeIn"+e]=t,Kt["easeOut"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt["easeInOut"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function Zt(e,t){if(qt.fnc(e))return e;var o=e.split("(")[0],i=$t[o],s=Xt(e);switch(o){case"spring":return Yt(e,t);case"cubicBezier":return Rt(Vt,s);case"steps":return Rt(Jt,s);default:return Rt(i,s)}}function eo(e){try{return document.querySelectorAll(e)}catch(e){return}}function to(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,s=[],n=0;n<o;n++)if(n in e){var a=e[n];t.call(i,a,n,e)&&s.push(a)}return s}function oo(e){return e.reduce((function(e,t){return e.concat(qt.arr(t)?oo(t):t)}),[])}function io(e){return qt.arr(e)?e:(qt.str(e)&&(e=eo(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function no(e){var t={};for(var o in e)t[o]=e[o];return t}function ao(e,t){var o=no(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=no(e);for(var i in t)o[i]=qt.und(e[i])?t[i]:e[i];return o}function ro(e){return qt.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:qt.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"}(e):qt.hsl(e)?function(e){var t,o,i,s=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(s[1],10)/360,a=parseInt(s[2],10)/100,d=parseInt(s[3],10)/100,l=s[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,n+1/3),o=r(u,c,n),i=r(u,c,n-1/3)}return"rgba("+255*t+","+255*o+","+255*i+","+l+")"}(e):void 0;var t,o}function co(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function uo(e,t){return qt.fnc(e)?e(t.target,t.id,t.total):e}function mo(e,t){return e.getAttribute(t)}function po(e,t,o){if(so([o,"deg","rad","turn"],co(t)))return t;var i=Ut.CSS[t+o];if(!qt.und(i))return i;var s=document.createElement(e.tagName),n=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;n.appendChild(s),s.style.position="absolute",s.style.width=100+o;var a=100/s.offsetWidth;n.removeChild(s);var d=a*parseFloat(t);return Ut.CSS[t+o]=d,d}function ho(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=e.style[t]||getComputedStyle(e).getPropertyValue(i)||"0";return o?po(e,s,o):s}}function vo(e,t){return qt.dom(e)&&!qt.inp(e)&&(mo(e,t)||qt.svg(e)&&e[t])?"attribute":qt.dom(e)&&so(Wt,t)?"transform":qt.dom(e)&&"transform"!==t&&ho(e,t)?"css":null!=e[t]?"object":void 0}function fo(e){if(qt.dom(e)){for(var t,o=e.style.transform||"",i=/(\w+)\(([^)]*)\)/g,s=new Map;t=i.exec(o);)s.set(t[1],t[2]);return s}}function go(e,t,o,i){var s=zt(t,"scale")?1:0+function(e){return zt(e,"translate")||"perspective"===e?"px":zt(e,"rotate")||zt(e,"skew")?"deg":void 0}(t),n=fo(e).get(t)||s;return o&&(o.transforms.list.set(t,n),o.transforms.last=t),i?po(e,n,i):n}function yo(e,t,o,i){switch(vo(e,t)){case"transform":return go(e,t,i,o);case"css":return ho(e,t,o);case"attribute":return mo(e,t);default:return e[t]||0}}function wo(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var i=co(e)||0,s=parseFloat(t),n=parseFloat(e.replace(o[0],""));switch(o[0][0]){case"+":return s+n+i;case"-":return s-n+i;case"*":return s*n+i}}function bo(e,t){if(qt.col(e))return ro(e);if(/\s/g.test(e))return e;var o=co(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function jo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Qo(e){for(var t,o=e.points,i=0,s=0;s<o.numberOfItems;s++){var n=o.getItem(s);s>0&&(i+=jo(t,n)),t=n}return i}function _o(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*mo(e,"r")}(e);case"rect":return function(e){return 2*mo(e,"width")+2*mo(e,"height")}(e);case"line":return function(e){return jo({x:mo(e,"x1"),y:mo(e,"y1")},{x:mo(e,"x2"),y:mo(e,"y2")})}(e);case"polyline":return Qo(e);case"polygon":return function(e){var t=e.points;return Qo(e)+jo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Co(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;qt.svg(t)&&qt.svg(t.parentNode);)t=t.parentNode;return t}(e),s=i.getBoundingClientRect(),n=mo(i,"viewBox"),a=s.width,d=s.height,l=o.viewBox||(n?n.split(" "):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function ko(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=Co(e.el,e.svg),s=o(),n=o(-1),a=o(1);switch(e.property){case"x":return(s.x-i.x)*i.w;case"y":return(s.y-i.y)*i.h;case"angle":return 180*Math.atan2(a.y-n.y,a.x-n.x)/Math.PI}}function Do(e,t){var o=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=bo(qt.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:qt.str(e)||t?i.split(o):[]}}function Lo(e){return to(e?oo(qt.arr(e)?e.map(io):io(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function xo(e){var t=Lo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:fo(e)}}}))}function Bo(e,t){var o=no(t);if(/^spring/.test(o.easing)&&(o.duration=Yt(o.easing)),qt.arr(e)){var i=e.length;2===i&&!qt.obj(e[0])?e={value:e}:qt.fnc(t.duration)||(o.duration=t.duration/i)}var s=qt.arr(e)?e:[e];return s.map((function(e,o){var i=qt.obj(e)&&!qt.pth(e)?e:{value:e};return qt.und(i.delay)&&(i.delay=o?0:t.delay),qt.und(i.endDelay)&&(i.endDelay=o===s.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function So(e,t){var o=[],i=t.keyframes;for(var s in i&&(t=lo(function(e){for(var t=to(oo(e.map((function(e){return Object.keys(e)}))),(function(e){return qt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var s=t[i];o[s]=e.map((function(e){var t={};for(var o in e)qt.key(o)?o==s&&(t.value=e[o]):t[o]=e[o];return t}))},s=0;s<t.length;s++)i(s);return o}(i),t)),t)qt.key(s)&&o.push({name:s,tweens:Bo(t[s],e)});return o}function Ao(e,t){var o;return e.tweens.map((function(i){var s=function(e,t){var o={};for(var i in e){var s=uo(e[i],t);qt.arr(s)&&1===(s=s.map((function(e){return uo(e,t)}))).length&&(s=s[0]),o[i]=s}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),n=s.value,a=qt.arr(n)?n[1]:n,d=co(a),l=yo(t.target,e.name,d,t),r=o?o.to.original:l,c=qt.arr(n)?n[0]:r,u=co(c)||co(l),m=d||u;return qt.und(a)&&(a=r),s.from=Do(c,m),s.to=Do(wo(a,c),m),s.start=o?o.end:0,s.end=s.start+s.delay+s.duration+s.endDelay,s.easing=Zt(s.easing,s.duration),s.isPath=qt.pth(n),s.isColor=qt.col(s.from.original),s.isColor&&(s.round=1),o=s,s}))}var Po={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,s){if(i.list.set(t,o),t===i.last||s){var n="";i.list.forEach((function(e,t){n+=t+"("+e+") "})),e.style.transform=n}}};function Eo(e,t){xo(e).forEach((function(e){for(var o in t){var i=uo(t[o],e),s=e.target,n=co(i),a=yo(s,o,n,e),d=wo(bo(i,n||co(a)),a),l=vo(s,o);Po[l](s,o,d,e.transforms,!0)}}))}function Oo(e,t){return to(oo(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Ao(t,e),s=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:s.end,delay:i[0].delay,endDelay:s.endDelay}}}(e,t)}))}))),(function(e){return!qt.und(e)}))}function To(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},s={};return s.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,s.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,s.endDelay=o?s.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,s}var Io=0;var Mo,No=[],Fo=[],Wo=function(){function e(){Mo=requestAnimationFrame(t)}function t(t){var o=No.length;if(o){for(var i=0;i<o;){var s=No[i];if(s.paused){var n=No.indexOf(s);n>-1&&(No.splice(n,1),o=No.length)}else s.tick(t);i++}e()}else Mo=cancelAnimationFrame(Mo)}return e}();function Uo(e){void 0===e&&(e={});var t,o=0,i=0,s=0,n=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ao(Nt,e),o=ao(Ft,e),i=So(o,e),s=xo(e.targets),n=Oo(s,i),a=To(n,o),d=Io;return Io++,lo(t,{id:d,children:[],animatables:s,animations:n,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Uo.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var s=o[t],n=s.animatable,a=s.tweens,d=a.length-1,r=a[d];d&&(r=to(a,(function(t){return e<t.end}))[0]||r);for(var c=Ht(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],v=r.to.numbers.length,f=void 0,g=0;g<v;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?ko(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){f=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(f+=_?C+_:C+" ")}}else f=h[0];Po[s.type](n.target,s.property,f,n.transforms),s.currentValue=f,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var u=l.duration,v=l.delay,f=u-l.endDelay,g=c(e);l.progress=Ht(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=n;o--;)m(e,t[o]);else for(var i=0;i<n;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h("loopBegin")),g<=v&&0!==l.currentTime&&p(0),(g>=f&&l.currentTime!==u||!u)&&p(u),g>v&&g<f?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h("changeBegin")),h("change"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h("changeComplete")),l.currentTime=Ht(g,0,u),l.began&&h("update"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=s,h("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h("loopComplete"),h("complete"),!l.passThrough&&"Promise"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var o=n=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Eo(e,t),l},l.tick=function(e){s=e,o||(o=s),v((s+(i-o))*Uo.speed)},l.seek=function(e){v(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,No.push(l),u(),Mo||Wo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Ho(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){document.hidden?(No.forEach((function(e){return e.pause()})),Fo=No.slice(0),Uo.running=No=[]):Fo.forEach((function(e){return e.play()}))})),Uo.version="3.1.0",Uo.speed=1,Uo.running=No,Uo.remove=function(e){for(var t=Lo(e),o=No.length;o--;){var i=No[o],s=i.animations,n=i.children;Ho(t,s);for(var a=n.length;a--;){var d=n[a],l=d.animations;Ho(t,l),l.length||d.children.length||n.splice(a,1)}s.length||n.length||i.pause()}},Uo.get=yo,Uo.set=Eo,Uo.convertPx=po,Uo.path=function(e,t){var o=qt.str(e)?eo(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:Co(o),totalLength:_o(o)*(i/100)}}},Uo.setDashoffset=function(e){var t=_o(e);return e.setAttribute("stroke-dasharray",t),t},Uo.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",i=t.easing?Zt(t.easing):null,s=t.grid,n=t.axis,a=t.from||0,d="first"===a,l="center"===a,r="last"===a,c=qt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=co(c?e[1]:e)||0,h=t.start||0+(c?u:0),v=[],f=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!v.length){for(var y=0;y<g;y++){if(s){var w=l?(s[0]-1)/2:a%s[0],b=l?(s[1]-1)/2:Math.floor(a/s[0]),j=w-y%s[0],Q=b-Math.floor(y/s[0]),_=Math.sqrt(j*j+Q*Q);"x"===n&&(_=-j),"y"===n&&(_=-Q),v.push(_)}else v.push(Math.abs(a-y));f=Math.max.apply(Math,v)}i&&(v=v.map((function(e){return i(e/f)*f}))),"reverse"===o&&(v=v.map((function(e){return n?e<0?-1*e:-e:Math.abs(f-e)})))}return h+(c?(m-u)/f:u)*(Math.round(100*v[t])/100)+p}},Uo.timeline=function(e){void 0===e&&(e={});var t=Uo(e);return t.duration=0,t.add=function(o,i){var s=No.indexOf(t),n=t.children;function a(e){e.passThrough=!0}s>-1&&No.splice(s,1);for(var d=0;d<n.length;d++)a(n[d]);var l=lo(o,ao(Ft,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=qt.und(i)?r:wo(i,r),a(t),t.seek(l.timelineOffset);var c=Uo(l);a(c),n.push(c);var u=To(n,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Uo.easing=Zt,Uo.penner=$t,Uo.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var zo=Uo,Ro=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener("moduleDuplicate",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains("dslca-action-disabled")||Yo(t.closest(".dslc-module-front"))})),document.addEventListener("moduleDelete",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains("dslca-action-disabled")||i({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log("dslc_delete_module");Pt(".dslca-modules"),zo({targets:e,easing:"easeOutExpo",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(".dslc-module-front"))}})})),document.addEventListener("moduleEdit",(function(e){const t=e.detail.closest(".dslc-module-front"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited"),s=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||s>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add("dslca-module-being-edited"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add("module-editing-in-progress")})),document.addEventListener("copyModuleStyles",(function(e){let t=e.detail.closest(".dslc-module-front").querySelector(".dslca-module-code").innerText;localStorage.setItem("lcCopyPasteStorage",t)})),document.addEventListener("pasteModuleStyles",(function(e){const t=e.detail.closest(".dslc-module-front"),o=jQuery(t),i=localStorage.getItem("lcCopyPasteStorage");let s=!1;if(i)try{s=JSON.parse(i)}catch(e){console.log("Can't parse copy/paste string into JSON:"),console.log(e)}if(s&&s.module_id===t.dataset.module){const e=t.querySelector(".dslca-module-code").innerText;let i=!1;try{i=JSON.parse(e)}catch(e){console.log("Can't parse current module code into JSON:"),console.log(e)}if(i){let e=!1;for(let t in s)t.includes("css_")&&(i[t]=s[t],e=!0);for(let t in i)t.includes("css_")&&(i[t]!==s[t]&&(i[t]=""),e=!0);e&&(i.action="dslc-ajax-add-module",i.dslc="active",i.dslc_module_id=i.module_id,i.dslc_module_instance_id=i.module_instance_id,i.dslc_post_id=i.post_id,o.hasClass("dslca-preload-preset")?i.dslc_preload_preset="enabled":i.dslc_preload_preset="disabled",o.removeClass("dslca-preload-preset"),i.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,i,(function(e){e&&(o.after(e.output).next().addClass("dslca-module-being-edited"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"))})))}}}));document.addEventListener("moduleChangeWidth",(function(e){const t=e.detail,o=t.closest(".dslc-module-front");if(!t.classList.contains("dslca-action-disabled")){var i=o.dataset.dslcModuleSize,s=t.dataset.size;Number(i)!==Number(s)&&function(e,t){window.dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+t+"-col";jQuery(e).removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(o).data("dslc-module-size",t),e.setAttribute("data-dslc-module-size",t),LiveComposer.Utils.update_module_property_raw(e,"dslc_m_size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,s)}})),document.addEventListener("wysiwygEdit",(function(e){const t=e.detail,o=t.closest(".dslc-module-front"),i=t.dataset.idToEdit,s=o.querySelector('[data-edit-id="'+i+'"]');let n="";if(n="TEXTAREA"===s.tagName||"INPUT"===s.tagName?s.value:s.innerHTML,void 0===n&&(n=""),n.trim().length&&(n=n.replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")),n.includes("%")&&(n=n.replace(/%\(\(%/g,"["),n=n.replace(/%\)\)%/g,"]"),n=n.replace(/%\(%/g,"["),n=n.replace(/%\)%/g,"]"),n=n.replace(/%\{%/g,"["),n=n.replace(/%\}%/g,"]")),n=n.trim(),"undefined"!=typeof tinymce){var a=tinymce.get("dslcawpeditor");document.getElementById("wp-dslcawpeditor-wrap").classList.contains("tmce-active")?a.setContent(n,{format:"html"}):document.getElementById("dslcawpeditor").value=n,o.classList.contains("dslca-module-being-edited")||o.querySelector(".dslca-module-edit-hook").click(),jQuery(".dslca-wp-editor").show(),s.classList.add("dslca-wysiwyg-active"),jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else console.info("Live Composer: TinyMCE is undefined.")}));const qo=()=>{LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",(function(){LiveComposer.Builder.Flags.uiHidden||"simple"!=jQuery(this).data("type")||l(jQuery(this))})).on("paste",".dslca-editable-content:not(.inline-editor)",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout((function(){"simple"==e.data("type")&&e.html(e.text()),l(e)}),100)}})).on("focus",".dslca-editable-content",(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")&&jQuery(this).trigger("blur")})).on("keyup",".dslca-editable-content",(function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}))};document.addEventListener("contentEditableFocusOut",(function(e){window.dslc_show_publish_button()}));const Xo=()=>{const e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited");null!==e&&e.classList.remove("dslca-module-being-edited")};function Yo(e){window.dslcDebug&&console.log("dslc_copy_module"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0,top:-50}).addClass("dslca-module-being-edited"),Jo(t),window.dslc_generate_code(),zo({targets:t,easing:"easeOutExpo",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove("dslca-module-being-edited")}}),window.dslc_show_publish_button()}const Jo=e=>{var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute("id");e.setAttribute("data-module-id",t),e.setAttribute("id","dslc-module-"+t);var i=e.getElementsByTagName("style")[0],s=i.textContent;i.setAttribute("id","#css-for-dslc-module-"+t),s=s.split(o).join("dslc-module-"+t),i.textContent=s,LiveComposer.Utils.update_module_property_raw(e,"module_instance_id",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log("dslc_module_options_show"),void 0===e&&console.warn("No module ID defined in dslc_module_options_show function.");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(".dslca-module-options-front textarea",t),i=jQuery(".dslca-header").data("default-section"),s=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(s);var n={action:"dslc-ajax-display-module-options",dslc:"active"};n.dslc_module_id=e,n.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();o.includes("%")&&(o=(o=(o=(o=(o=(o=o.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),n[t]=o})),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),At();var a=jQuery(".dslca-module-options-front",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,s.show(),s.addClass("show"),jQuery.post(DSLCAjax.ajaxurl,n,(function(e){s.remove(),Pt(".dslca-module-edit"),jQuery("body").hasClass("rtl"),jQuery(".dslca-module-edit-options-inner").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs);var t=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each((function(){var e=jQuery(this).data("section");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,n=0;n<o;n++)jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+t[n]+'"]').show();jQuery('.dslca-module-edit-option[data-section="'+i+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').trigger("click")):(jQuery(".dslca-header .dslca-options-filter-hook:first").hide(),jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")),jQuery(".dslca-module-edit-actions").show(),jQuery(".dslca-wp-editor-notification").hide(),jQuery(".dslca-wp-editor-actions").show(),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery(".dslca-row-edit-actions").hide(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};const Ko=e=>{window.dslcDebug&&console.log("moduleOutputAltered"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.data("module"),i=jQuery(".dslca-module-options-front textarea",t),s=t.data("module-id"),n={action:"dslc-ajax-add-module",dslc:"active"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(".dslca-container").data("post-id"),t.hasClass("dslca-preload-preset")?n.dslc_preload_preset="enabled":n.dslc_preload_preset="disabled",t.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();n[t]=o})),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass("dslca-module-being-edited"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var s=new Event("moduleOutputAltered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(s),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log("dslc_module_output_reload"),t=void 0!==t&&t;var o=e.data("module"),i=jQuery(".dslca-module-options-front textarea",e),s=e.data("module-id"),n={action:"dslc-ajax-add-module",dslc:"active"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(".dslca-container").data("post-id"),n.dslc_preload_preset="enabled",e.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();n[t]=o})),e.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){e.after(o.output).next().addClass("dslca-module-being-edited"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}))};const Go=()=>{LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998");const t=e.target.closest("[data-module-id]"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add("dslc-small-height-module"):t.classList.remove("dslc-small-height-module")},mouseleave:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage"),qo()},Vo=()=>{var e,t,o,i=jQuery(".dslca-modules .dslca-section-scroller-content");0==i.length&&(i=[document.createElement("div")]);St.create(i[0],{sort:!1,group:{name:"modules",pull:"clone",put:!1},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(i){i.oldIndex,i.newIndex;var s,n,a=i.item;if(i.preventDefault(),jQuery(a).closest(".dslca-section-scroller-content").length>0)return!1;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),"DSLC_M_A"==t||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length||(jQuery("body").addClass("dslca-module-drop-in-progress"),s=t,n=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(".dslca-module",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery("body").removeClass("dslca-module-drop-in-progress")}),700),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log("moduleOutputDefault"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:s,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){n(e)})),jQuery(a).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin"),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"})),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass("dslca-options-hovered")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(".dslc-modules-section"),this.elem=e,this.sortable=St.create(e,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(e){var o=e.item;e.from,"DSLC_M_A"==jQuery(o).data("id")&&(Zo(jQuery(t.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0&&(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,(function(){})))}}),jQuery(e).attr("data-jsinit","initialized"),jQuery(document).on("LC.sortableOff",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!0)})),jQuery(document).on("LC.sortableOn",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!1)}))};jQuery(document).on("editorFrameLoaded",(function(){function e(){var e=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length||jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length?e():si(e()),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var o=jQuery(this).closest(".dslc-modules-area");(function(e){window.dslcDebug&&console.log("dslc_copy_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=e.clone().appendTo(t);new $o(o[0]),o.find(".dslca-modules-area-manage").trigger("mouseleave"),o.data("size",e.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled"))if(jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty")){var o=jQuery(this).closest(".dslc-modules-area");ei(o)}else{var s=jQuery(this);i({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(s.closest(".dslc-modules-area"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",(function(){if(!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var e=jQuery(this).closest(".dslc-modules-area"),o=e.data("size"),i=jQuery(this).data("size");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+t+"-col";if(e.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(o).data("size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-vertial-align-module-area-hook span",(function(){!function(e,t){window.dslcDebug&&console.log("dslc_modules_area_vertical_align_set");var o="dslc-valign-"+t;if(e.removeClass("dslc-valign-top dslc-valign-middle dslc-valign-bottom").addClass(o).data("valign",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("valign"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}))}));const Zo=e=>{window.dslcDebug&&console.log("modulesAreaAdd");const t=window.DSLCSiteData.editorUrl+"css/icons";jQuery('<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col" data-size="12">\n\t\t<div class="dslca-modules-area-manage">\n\t\t\t<span class="dslca-modules-area-manage-line"></span>\n\t\t\t<div class="dslca-modules-area-manage-inner">\n\t\t\t\t<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#copy"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#move"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#columns"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-width-modules-area-options"><span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>\n\t\t\t\t\t\t<span data-size="3">3/12</span><span data-size="4">4/12</span>\n\t\t\t\t\t\t<span data-size="5">5/12</span><span data-size="6">6/12</span>\n\t\t\t\t\t\t<span data-size="7">7/12</span><span data-size="8">8/12</span>\n\t\t\t\t\t\t<span data-size="9">9/12</span><span data-size="10">10/12</span>\n\t\t\t\t\t\t<span data-size="11">11/12</span><span data-size="12">12/12</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-vertial-align-module-area-hook" title="Change vertical align" >\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#git-commit"/>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-vertial-align-module-area-options">\n\t\t\t\t\t\t<span>Vertical Align</span>\n\t\t\t\t\t\t<span data-valign="top" class="dslc-popup-option">⬆️ Top</span>\n\t\t\t\t\t\t<span data-valign="middle" class="dslc-popup-option">↕️ Middle</span>\n\t\t\t\t\t\t<span data-valign="bottom" class="dslc-popup-option">⬇️ Bottom</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#x"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- .dslc-module --\x3e\n\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:"auto"})})).addClass("dslca-init-animation");var o=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log("dslc_delete_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),t.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show(),Pt(".dslca-modules")),setTimeout((function(){if(o){e.closest(".dslc-modules-section-inner");2<=e.closest("#dslc-main").find(".dslc-modules-section").length?dslc_row_delete(e.closest(".dslc-modules-section")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,(function(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ti=()=>{jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new $o(this)}))};const oi=class{constructor(e){this.sortable,this.sortableContainer=jQuery(e).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0],this.initSortable(e),this.initDropable(e),this.reactToSortableOnOff(),jQuery(e).attr("data-jsinit","initialized")}initDropable(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(".dslc-modules-section-inner");"DSLC_M_A"==t.draggable.data("id")&&Zo(o)}})}initSortable(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area-dnd",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(e,t){var o=t.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.siblings(".dslc-modules-section").each((function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}))},remove:function(){0==jQuery(self.elem).find(".dslc-modules-area").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(t.item).hasClass("dslc-12-col")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress"),jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(e,t){LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(e,t){}})}reactToSortableOnOff(){self=this.sortable,jQuery(document).on("LC.sortableOff",(function(){})),jQuery(document).on("LC.sortableOn",(function(){}))}},ii=()=>{jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){new oi(this)})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass("dslca-action-disabled")||i({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(".dslc-modules-section"))}})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||i({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){ri(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-prompt-modal-cancel-hook").hide(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),i({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>["+a(jQuery(this).closest(".dslc-modules-section"))+"]</textarea></span>"}))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",(function(){if(!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||li(jQuery(this).closest(".dslc-modules-section"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass("dslca-action-disabled")||(o.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),si((function(){o.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",(function(){if(!e())return!1;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass("dslca-action-disabled")||di(jQuery(this).closest(".dslc-modules-section")),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")}))},si=e=>{window.dslcDebug&&console.log("dslc_row_add"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem("cache-dslc-ajax-add-modules-section-v2"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id="padding"]').val()&&(o.removeItem("cache-dslc-ajax-add-modules-section-v2"),i=null));if(null!==i)return ni(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},(function(i){return o.setItem("cache-dslc-ajax-add-modules-section-v2",i.output),ni(i.output),e&&e(),t}))};function ni(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new oi(t),new $o(t.find(".dslc-modules-area").eq(0)[0]),t.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col"),t}function ai(e){window.dslcDebug&&console.log("dslc_row_delete"),e.find(".dslca-module-being-edited")&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),Pt(".dslca-modules")),e.trigger("mouseleave").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log("dslc_row_edit"),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.addClass("dslca-modules-section-being-edited"),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show(),jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-row-edit-actions").show(),jQuery(".dslca-modules-section-edit-field").each((function(){if("type"===jQuery(this).data("id")&&(""!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()&&"wrapped"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id="type"]').val("wrapper").change()),"border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace("%(%","[").replace("%)%","]")),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()}),jQuery(this).css({"background-color":e.val()})}})),jQuery(".dslca-modules-section-edit-field-upload").each((function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())})),Pt(".dslca-modules-section-edit"),LiveComposer.Builder.Flags.panelOpened=!0,At()}function li(e){var t;window.dslcDebug&&console.log("dslc_row_copy"),(t=e.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute("data-jsinit"),t.find(".dslc-modules-area").each((function(){var t=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+t+" )").data("size")),this.removeAttribute("data-jsinit")})),new oi(t),t.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log("dslc_section_new_id");var t=LiveComposer.Utils.get_unique_id();e.setAttribute("data-section-id",t),LiveComposer.Utils.update_section_property_raw(e,"section_instance_id",t)}(t[0])}function ri(e){window.dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},(function(e){c(),jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ci=()=>{jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new oi(this)}))},ui=()=>{ci(),ii(),jQuery(document).on("click",".dslca-row-edit-save",(function(){var e;window.dslcDebug&&console.log("dslc_confirm_row_changes"),e=void 0!==e&&e,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data("def",jQuery(this).val())})),Pt(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on("click",".dslca-row-edit-cancel",(function(){var e;window.dslcDebug&&console.log("dslc_row_cancel_changes"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).val(jQuery(this).data("def")),jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Pt(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_publish_button,jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log("dslc_import_template"),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0}),jQuery(".dslca-modal-templates-import .dslca-loading").show(),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),r("",".dslca-modal-templates-import"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.dslcDebug&&console.log("dslc_save_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},(function(e){r("",".dslca-modal-templates-save")}))}function hi(e){window.dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}const vi=()=>{document.querySelectorAll(".dslca-template").forEach((function(e){e.addEventListener("click",e=>{e.preventDefault(),(e=>{window.dslcDebug&&console.log("dslc_load_template"),jQuery("#wpcontent").prepend('<div class="lc-template-loader"></div>');jQuery(".lc-template-loader").prepend('<div class="lc-loader lds-css"><div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".lc-template-loader").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))})(e.target.closest("[data-id]").dataset.id)})})),jQuery(".dslca-template-import-form").submit((function(e){e.preventDefault(),mi()})),jQuery(".dslca-template-save-form").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on("click",".dslca-delete-template-hook",(function(e){e.stopPropagation(),hi(jQuery(this).data("id"))}))};jQuery(document).ready((function(e){var t=function(e){var t=jQuery(".dslca-section-scroller",e),o=jQuery(".dslca-section-scroller-inner",e)[0];function i(e){e=e<0?-100:100,e*=.75;var i=t.find(".dslca-section-scroller-content").width(),s=t.width();if(i<=s)return!1;var n=i-s+10;e=(e=(e=parseInt(o.style.left||0)-e)>=0?0:e)<=-n?-n:e,o.style.left=e+"px"}t.on("wheel",(function(e){return i(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(".dslca-section-scroller-prev",e).click((function(e){e.preventDefault(),i(-500)})),jQuery(".dslca-section-scroller-next",e).click((function(e){e.preventDefault(),i(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){i(0)}))}))};t(jQuery(".dslca-section.dslca-modules")),t(jQuery(".dslca-section.dslca-templates-load"))}));const fi=()=>{LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};jQuery(document).ready((function(e){fi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery("#scroller-stopper").on("dragover",(function(){LiveComposer.Builder.UI.stopScroller()}))}));const gi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\'/g,"\\'")).replace(/\"/g,'\\"')).replace(/\0/g,"\\0")},basename:function(e){return e.split(/[\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");return!!(t>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&parseInt(e.substring(t+5,e.indexOf(".",t)))},checkParams:function(e){if(!Array.isArray(e))throw"Param is not array";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&"string"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return"object"==typeof e}};e.map((function(e){if(!t[e[1]](e[0]))throw"Param "+e[0]+" is not "+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce((function(e,t){return e[(t=t.split("="))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-module-code")[0],s=e.querySelector('.dslca-module-option-front[data-id="'+t+'"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.value=o,s.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-section-code")[0],s=e.querySelector('.dslca-modules-section-settings input[data-id="'+t+'"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.setAttribute("value",o),s.setAttribute("data-def",o)},publish:function(e,t){t=t||{},this.checkParams([[e,"string"],[t,"object"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find("script").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");t.innerHTML=e,t.type="text/javascript",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!0)})),vi(),v(),ui(),new class{constructor(e){this.sortable,this.initSortable(e),this.reactToSortableOnOff()}initSortable(e){this.sortable=St.create(e,{group:"sections",animation:350,handle:".dslca-move-modules-section-hook",draggable:".dslc-modules-section-dnd",ghostClass:"dslca-sections-ghost",chosenClass:"dslca-sections-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:"vertical",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},onAdd:function(e){},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass("ui-state-default")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}reactToSortableOnOff(){self=this.sortable}}(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0]),jQuery(document).trigger("editorFrameLoaded"),Vo(),d(),window.dslc_generate_code(),It(),fi(),Go(),window.LiveComposer.Utils=gi,document.addEventListener("click",(function(e){if(e.target.matches('[data-event="modal-wysiwyg-cancel"]')){const t=new CustomEvent("modalWysiwygCancel",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="modal-wysiwyg-confirm"]')){const t=new CustomEvent("modalWysiwygConfirm",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-confirm"]')){const t=new CustomEvent("moduleConfirm",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-cancel"]')){const t=new CustomEvent("moduleCancel",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener("click",(function(e){if(e.target.matches(".dslca-link")||e.preventDefault(),e.target.matches('[data-event="module-edit"]')){const t=new CustomEvent("moduleEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-duplicate"]')){const t=new CustomEvent("moduleDuplicate",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-delete"]')){const t=new CustomEvent("moduleDelete",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches(".dslca-change-width-module-options [data-size]")){const t=new CustomEvent("moduleChangeWidth",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="wysiwyg-edit"]')){const t=new CustomEvent("wysiwygEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-style-copy"]')){const t=new CustomEvent("copyModuleStyles",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-style-paste"]')){const t=new CustomEvent("pasteModuleStyles",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener("focusout",(function(e){if(e.target.matches('[contenteditable="true"]')){const t=new CustomEvent("contentEditableFocusOut",{detail:e.target});document.dispatchEvent(t)}}),!1)},window.onbeforeunload=function(){}}});
9
  //# sourceMappingURL=editor_backend.min.js.map
js/dist/editor_backend.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"editor_backend.min.js","sources":["webpack:///editor_backend.min.js"],"sourcesContent":["!function(e){var t={};function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var s in e)o.d(i,s,function(t){return e[t]}.bind(null,s));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,\"a\",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p=\"\",o(o.s=3)}({3:function(e,t,o){\"use strict\";o.r(t);const i=function(e){if(\"object\"!=typeof e||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class=\"dslca-prompt-modal dslca-prompt-modal-active\"><div class=\"dslca-prompt-modal-content\"><div class=\"dslca-prompt-modal-msg\"><span class=\"dslca-prompt-modal-title\">'+e.title+'</span><span class=\"dslca-prompt-modal-descr\">'+e.content+\"</span></div>\",o=\"\";o=e.confirm||e.cancel?'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.confirm_title?e.confirm_title:\"Confirm\")+'</a><span class=\"dslca-prompt-modal-cancel-hook\"><span class=\"dslc-icon dslc-icon-remove\"></span>'+(e.cancel_title?e.cancel_title:\"Cancel\")+\"</span></div>\":'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.ok_title?e.ok_title:\"OK\")+\"</a></div>\",t+=o+\"</div>\",t=jQuery(t),\"function\"!=typeof e.confirm&&(e.confirm=function(){}),\"function\"!=typeof e.cancel&&(e.cancel=function(){}),t.find(\".dslca-prompt-modal-confirm-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(\".dslca-prompt-modal-cancel-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery(\"body\").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(\".dslca-prompt-modal-content\").css({top:\"55%\"}).animate({top:\"50%\"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=()=>{window.dslcDebug&&console.log(\"updatePreset\");var e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),o=e.find(\".dslca-module-code\").innerText,i=e.data(\"module\");\"none\"!==t&&\"\"!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-preset\",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){\"enabled\"==t.preset_setting&&jQuery(\".dslc-module-front:not(#\"+e.attr(\"id\")+')[data-module=\"'+e.data(\"module\")+'\"][data-dslc-preset=\"'+e.data(\"dslc-preset\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on(\"keypress\",'.dslca-module-edit-field[name=\"css_save_preset\"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\\s/g,\"-\");jQuery(\"body\").addClass(\"dslca-new-preset-added\"),jQuery('.dslca-module-edit-field[name=\"css_load_preset\"]').append('<option value=\"'+t+'\">'+t+\"</option>\").val(t).trigger(\"change\"),jQuery(this).val(\"\"),jQuery(\".dslc-delete-preset\").removeClass(\"dslc-delete-preset-hide\")}})),jQuery(document).on(\"change\",'.dslca-module-edit-field[name=\"css_load_preset\"]',(function(e){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-preload-preset\")})),jQuery(document).on(\"click\",\".dslc-delete-preset\",(function(e){var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),i=t.data(\"module\");\"none\"!==o&&\"\"!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-preset\",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function n(){window.dslcDebug&&console.log(\"dslc_save_composer\"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log(\"dslca_gen_content_for_search\");var e=document.getElementById(\"dslca-content-for-search\");if(null===e)return;var t=e.value,o=\"\",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll(\"#dslc-main .dslc-module-front [data-exportable-content]\");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(\"\"!==e.getAttribute(\"data-exportable-content\")){var s=e.getAttribute(\"data-exportable-content\");i=\"<\"+s+\">\"+e.innerHTML+\"</\"+s+\">\"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\\s+/g,\" \").trim()+\"\\n\")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery(\"#dslca-code\").val(),t=jQuery(\"#dslca-content-for-search\").val(),o=jQuery(\".dslca-container\").data(\"post-id\");jQuery(\"body\").addClass(\"dslca-saving-in-progress\"),jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-ok\").addClass(\"dslc-icon-spin dslc-icon-spinner\"),jQuery.ajax({method:\"POST\",type:\"POST\",url:DSLCAjax.ajaxurl,data:{action:\"dslc-ajax-save-composer\",dslc:\"active\",dslc_post_id:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){\"success\"==e.status?(jQuery(\".dslca-save-composer\").fadeOut(250),jQuery(\".dslca-save-draft-composer\").fadeOut(250),jQuery(\"body\").append('<iframe class=\"lbmn-cache-iframe\" id=\"lbmn-cache-iframe-'+o+'\" src=\"'+DSLCSiteData.siteurl+\"/?p=\"+o+'\" ></iframe>'),jQuery(\".lbmn-cache-iframe\").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert(\"Something went wrong, please try to save again. Are you sure to make any changes? Error Code: \"+e.status)})).fail((function(e){\"timeout\"==e.statusText?alert(\"The request timed out after 30 seconds. Server do not respond in time. Please try again.\"):alert(\"Something went wrong. Please try again. Error Code: \"+e.statusText)})).always((function(e){jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-ok\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log(\"dslc_generate_code\");var e,t,o=\"\";jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(\".dslc-module-front\",this).length?(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-empty\"),jQuery(\".dslca-no-content\",this).hide()):(jQuery(this).removeClass(\"dslc-modules-area-not-empty\").addClass(\"dslc-modules-area-empty\"),jQuery(\".dslca-no-content:not(:visible)\",this).show().css({\"-webkit-animation-name\":\"dslcBounceIn\",\"-moz-animation-name\":\"dslcBounceIn\",\"animation-name\":\"dslcBounceIn\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",padding:0}).animate({padding:\"35px 0\"},300))})),jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=a(e),e.find(\".dslca-section-code\").val(t),o=o+t+\",\"})),o=\"[\"+(o=o.slice(0,-1))+\"]\",jQuery(\"#dslca-code\").val(o),jQuery(\"#dslca-export-code\").val(o)};const a=e=>{window.dslcDebug&&console.log(\"generateSectionCode\");var t,o,i,s,n=\"\",a=0,d=\"\";return o=e,jQuery(\".dslc-modules-area\",o).length?o.removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):o.removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\"),jQuery(\".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),jQuery(\".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),a=0,i=o.find(\".dslca-section-code\").val(),s=JSON.parse(i),d=\"\",jQuery(\".dslca-modules-section-settings input\",o).each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();d=d+t+'=\"'+o+'\" ',s[t]=o})),void 0!==s.give_new_id&&delete s.give_new_id,s.content=[],jQuery(\".dslc-modules-area\",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data(\"size\")),d=o.data(\"valign\"),l=\"no\",r=\"no\";a+=i,jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==a?(jQuery(this).addClass(\"dslc-last-col\").next(\".dslc-modules-area\").addClass(\"dslc-first-col\"),a=0,l=\"yes\"):a>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),a=i,r=\"yes\"),a==i&&(r=\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));var c='{\"element_type\":\"module_area\",\"last\":\"'+l+'\",\"first\":\"'+r+'\",\"size\":\"'+i+'\",\"valign\":\"'+d+'\"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(\".dslc-module-front\",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute(\"data-dslc-module-size\"));var i=\"no\";jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==(e+=t)?(jQuery(this).addClass(\"dslc-last-col\"),jQuery(this).next(\".dslc-module-front\").addClass(\"dslc-first-col\"),e=0,i=\"yes\"):e>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),e=t),e==t&&(\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));try{n=o[0].querySelector(\".dslca-module-code\").innerText}catch(e){console.info(\"No DSLC code found in module: \"+o[0].getAttribute(\"id\"))}if(\"\"!==n){var s=JSON.parse(n);s.last=i,jQuery.each(s,(function(e,t){!1!==t&&\"\"!==t||delete s[e],\"content\"===e&&(s[e]=t.replace(/\\\\'/g,\"'\")),\"give_new_id\"===e&&delete s[e]})),o[0].querySelector(\".dslca-module-code\").innerText=JSON.stringify(s),c.content.push(s)}n=\"\"})),s.content.push(c)})),JSON.stringify(s)},d=()=>{jQuery(document).on(\"click\",\".dslca-save-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||n()})),jQuery(document).on(\"click\",\".dslca-save-draft-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||function(){window.dslcDebug&&console.log(\"dslc_save_draft_composer\");var e=jQuery(\"#dslca-code\").val(),t=jQuery(\".dslca-container\").data(\"post-id\");jQuery(\"body\").addClass(\"dslca-saving-in-progress\"),jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-ok\").addClass(\"dslc-icon-spin dslc-icon-spinner\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-draft-composer\",dslc:\"active\",dslc_post_id:t,dslc_code:e},(function(e){jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-save\"),\"success\"==e.status?jQuery(\".dslca-save-draft-composer\").fadeOut(250):alert(\"Something went wrong, please try to save again.\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}()}))};const l=e=>{if(window.dslcDebug&&console.log(\"editableContentCodeGeneration\"),void 0===e)return!1;const t=e.closest(\".dslc-module-front\")[0],o=e.html().trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),i=e.data(\"id\");LiveComposer.Utils.update_module_property_raw(t,i,o)};const r=(e,t)=>{\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"hideModal\"),(t=jQuery(t)).outerHide(\"destroy\"),t.hide(),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeOut(),t.removeClass(\"dslca-modal-open\")};jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-open-modal-hook\",(function(e){e.preventDefault();var t=jQuery(this).data(\"modal\");!function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_show_modal\"),jQuery(\".dslca-modal:visible\").length&&r(\"\",jQuery(\".dslca-modal:visible\")),t=jQuery(t),jQuery(\".dslca-container\").height(),t.outerHide({clbk:function(){r(\"\",jQuery(\".dslca-modal:visible\"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,s=o.left-i;t.css({left:s}),jQuery(\".dslca-prompt-modal-custom\").insertAfter(t),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeIn(),t.addClass(\"dslca-modal-open\").show()}(jQuery(this),t)})),jQuery(document).on(\"click\",\".dslca-close-modal-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-action-disabled\")){var t=jQuery(this).data(\"modal\");r(jQuery(this),t)}}))}));const c=()=>{\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_js_confirm_close\"),jQuery(\".dslca-prompt-modal\").removeClass(\"dslca-prompt-modal-active\"),jQuery(\".dslca-prompt-modal\").animate({opacity:0},400,(function(){jQuery(this).hide(),jQuery(\".dslca-prompt-modal-cancel-hook\").show(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_confirm)})),jQuery(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-confirm-hook\").trigger(\"click\"):27==e.which&&jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-cancel-hook\").trigger(\"click\")},jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-prompt-modal-cancel-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\");\"edit_in_progress\"==t&&dslc_module_options_cancel_changes((function(){o.trigger(\"click\")})),c(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")})),jQuery(document).on(\"click\",\".dslca-prompt-modal-confirm-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\"),i=!0;if(\"edit_in_progress\"==t)dslc_module_options_confirm_changes((function(){o.trigger(\"click\")}));else if(\"disable_lc\"==t)window.location=o;else if(\"delete_module\"===t){var s=o.closest(\".dslc-module-front\");dslc_module_delete(s)}else if(\"delete_modules_area\"===t){var n=o.closest(\".dslc-modules-area\");n.closest(\".dslc-modules-section-inner\");dslc_modules_area_delete(n)}else\"delete_modules_section\"==t?dslc_row_delete(o.closest(\".dslc-modules-section\")):\"export_modules_section\"==t||\"import_modules_section\"==t&&(dslc_row_import(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show(),i=!1);i&&c(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if(\"destroy\"==(e=e||{}))return jQuery(document).unbind(\"click.outer_hide\"),!1;jQuery(document).bind(\"click.outer_hide\",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&\"none\"!=jQuery(o).css(\"display\")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener(\"modalWysiwygCancel\",(function(e){jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")})),document.addEventListener(\"modalWysiwygConfirm\",(function(e){var t=jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).closest(\".dslc-module-front\");if(\"undefined\"!=typeof tinymce){if(jQuery(\"#wp-dslcawpeditor-wrap\").hasClass(\"tmce-active\"))var o=tinymce.get(\"dslcawpeditor\").getContent();else o=jQuery(\"#dslcawpeditor\").val();if(o=o.trim(),jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass(\"dslc-module-handle-like-accordion\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-accordion-plain-content\").val(o);var i=t.find(\".dslc-accordion\");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass(\"dslc-module-handle-like-tabs\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-tab-plain-content\").val(o);var s=t.find(\".dslc-tabs\");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(s)}else l(jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument));jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")}else console.info(\"Live Composer: TinyMCE is undefined.\")}));var u=window.DSLCFonts.regular,m=window.DSLCFonts.google,p=u.concat(m),h=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-field-ttip-close\",(function(){jQuery(\".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip\").hide()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-ttip-hook\",(function(){var e,t=jQuery(\".dslca-module-edit-field-ttip\"),o=t.find(\".dslca-module-edit-field-ttip-inner\"),i=jQuery(this);if(e=i.parent().parent().hasClass(\"dslca-modules-section-edit-option\")?i.closest(\".dslca-modules-section-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html():i.closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html(),t.is(\":visible\"))jQuery(\".dslca-module-edit-field-ttip\").hide();else{o.html(e);var s=i.offset(),n=t.outerHeight(),a=t.outerWidth(),d=s.left-a/2+6,l=\"50%\";d<0&&(l=a/2+d+\"px\",d=0),jQuery(\".dslca-module-edit-field-ttip\").show().css({top:s.top-n-20,left:d}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: \"+l+\" }</style>\"))}})),jQuery(document).on(\"click\",\".dslca-module-edit-field-icon-ttip-hook\",(function(){var e=jQuery(\".dslca-module-edit-field-icon-ttip\"),t=jQuery(this);if(e.is(\":visible\"))jQuery(\".dslca-module-edit-field-icon-ttip\").hide();else{var o=t.offset(),i=e.outerHeight(),s=e.outerWidth(),n=o.left-s/2+6,a=\"50%\";n<0&&(a=s/2+n+\"px\",n=0),jQuery(\".dslca-module-edit-field-icon-ttip\").show().css({top:o.top-i-20,left:n}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: \"+a+\" }</style>\"))}})),window.dslc_module_options_font(),jQuery(document).on(\"keyup\",\".dslca-module-edit-field-icon\",(function(e){var t,o,i,s;o=(t=jQuery(this)).closest(\".dslca-module-edit-option\"),38==e.which&&k(t,\"previous\"),40==e.which&&k(t,\"next\"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),s=jQuery.grep(h,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(s))})),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-icon\",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-icon-suggest\",t).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-icon-suggest\",t).text(\"\"))})),jQuery(document).on(\"click\",'.dslca-open-modal-hook[data-modal^=\".dslc-list-icons\"]',(function(e){jQuery(this).closest(\".dslca-module-edit-option-icon\").find(\"input\").addClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-modal-icons .icon-item\",(function(e){var t=jQuery(this).find(\".icon-item_name\").text();jQuery(\"input.icon-modal-active\").val(t).change(),r(\"\",jQuery(\".dslca-modal:visible\")),jQuery(\"input.icon-modal-active\").removeClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-text-align-hook\",(function(){var e=jQuery(this),t=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").find(\".dslca-module-edit-option-text-align-hook\"),o=e.data(\"val\"),i=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").siblings(\"input.dslca-module-edit-field\");t.removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),i.val(o).trigger(\"change\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook\",(function(){var e=jQuery(this),t=e.siblings('input[type=\"checkbox\"]');t.prop(\"checked\")?(t.prop(\"checked\",!1),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\")):(t.prop(\"checked\",!0),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")),t.change()})),function(){window.dslcDebug&&console.log(\"dslc_module_options_box_shadow\");jQuery(document).on(\"change\",\".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset\",(function(){var e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-box-shadow-hor\").val(),i=e.find(\".dslca-module-edit-option-box-shadow-ver\").val(),s=e.find(\".dslca-module-edit-option-box-shadow-blur\").val(),n=e.find(\".dslca-module-edit-option-box-shadow-spread\").val(),a=e.find(\".dslca-module-edit-option-box-shadow-color\").val(),d=e.find(\".dslca-module-edit-option-box-shadow-inset\").is(\":checked\"),l=o+\"px \"+i+\"px \"+s+\"px \"+n+\"px \"+a+(d=d?\" inset\":\"\");t.val(l).trigger(\"change\")}))}(),function(){window.dslcDebug&&console.log(\"dslc_module_options_text_shadow\");jQuery(document).on(\"change\",\".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,.dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color\",(function(){var e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-text-shadow-hor\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-ver\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-blur\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-color\").val();t.val(o).trigger(\"change\")}))}();jQuery(document).on(\"click\",\".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color\",(function(){D(this);var e=jQuery(this).closest(\".dslca-color-option\"),t=jQuery(\".dslca-module-edit-options-inner\"),o=e.find(\".wp-picker-holder\"),i=e.offset(),s=i.left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css(\"left\",s+\"px\"),jQuery(t).on(\"scroll\",(function(t){var s=(i=e.offset()).left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css(\"left\",s+\"px\")}))})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-module-edit-option-slider\",(function(){jQuery(this).hasClass(\"dslca-module-edit-option-select\")||L(this)})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-modules-section-edit-option-slider\",(function(){L(this)})),jQuery(\".dslca-module-edit-form\").submit((function(e){e.preventDefault(),Go()})),jQuery(document).on(\"click\",\".dslca-module-edit-options-tab-hook\",(function(e){e.preventDefault(),j(jQuery(this))})),jQuery(document).on(\"click\",\".dslca-clear-responsive-options\",(function(e){e.preventDefault(),b()})),jQuery(document).on(\"click\",\".dslca-options-filter-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=jQuery(this).data(\"section\");jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),jQuery(this).addClass(\"dslca-active\"),jQuery(\".dslca-container-loader\"),document.querySelector(\".dslca-container\").dataset.currentSection=o,w(o),\"responsive\"==t&&(jQuery(\".dslca-container-loader\").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Go((function(){jQuery(\".dslca-container-loader\").hide()})),jQuery(\"#page-builder-preview-area\").resizable(\"destroy\").attr(\"style\",\"\")),\"responsive\"==o&&jQuery(\"#page-builder-preview-area\").resizable()})),jQuery(document).on(\"click\",\".dslca-module-edit-save\",(function(e){e.preventDefault(),_((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),x()})),jQuery(document).on(\"click\",\".dslca-module-edit-cancel\",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),x()}))}));const f=()=>{var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log(\"window.LiveComposer.Builder.UI.clearUtils\"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(\".temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(\".mce-tinymce\",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass(\"dslca-modules-section-edit-field\")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery(\"body\").off(\"click.wpcolorpicker\")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(\".dslca-module-edit-option\").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data(\"dep\")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if((\"radio\"==e.type||\"checkbox\"==e.type)&&null==t[e.value])return!1;\"checkbox\"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(\",\").forEach((function(o){var i=jQuery(\".dslca-module-edit-option-\"+o.trim()).closest(\".dslca-module-edit-option\"),s=!0;\"radio\"!=e.type&&\"checkbox\"!=e.type||(s=jQuery(e).is(\":checked\"));var n=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");e.value==t&&s?(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-hide\")?(i.removeClass(\"dep-hide\"),i.addClass(\"dep-show\")):i.addClass(\"dep-show\"),n==i.data(\"tab\")&&i.show()):(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-show\")?(i.removeClass(\"dep-show\"),i.addClass(\"dep-hide\")):i.addClass(\"dep-hide\"),i.hide())}))}))};jQuery(document).on(\"change dslc-init-deps\",'.dslca-module-edit-option > *[data-id=\"'+jQuery(this).data(\"id\")+'\"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(\".dslca-module-edit-option input, .dslca-module-edit-option select\").trigger(\"dslc-init-deps\")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind(\"change\",e),jQuery(document).unbind(\"dslc-init-deps\",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if(\"object\"!=typeof e)return!1;var t=\"\",o=\"\";\"tablet_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")?(t=\"@media only screen and (max-width: 1024px) and (min-width: 768px) {\",o=\"}\"):\"phone_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")&&(t=\"@media only screen and (max-width: 767px) {\",o=\"}\"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,\"\"),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var s=document.createElement(\"style\");s.innerHTML=e.styleContent,s.id=i,s.className=\"temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(s)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(\".dslca-module-edit-save\").addClass(\"lc-shake-effect active\"),setTimeout((function(){jQuery(\".dslca-module-edit-save\").removeClass(\"lc-shake-effect active\")}),1e3)},v(),g(),y()},v=()=>{jQuery(document).on(\"change\",\".dslca-module-edit-field\",(function(){window.dslcDebug&&console.log(\"on change event for .dslca-module-edit-field\");var e=\"\",t=\"\",o=jQuery(this),i=o.data(\"id\"),s=o.closest(\".dslca-module-edit-option\"),n=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=n.data(\"module\");jQuery(\".dslca-module-options-front textarea\",n);if(n.addClass(\"dslca-module-change-made\"),(s.hasClass(\"dslca-module-edit-option-select\")||s.hasClass(\"dslca-module-edit-option-checkbox\"))&&Q(),\"active\"==jQuery(this).closest(\".dslca-module-edit-option\").data(\"refresh-on-change\")){if(s.find(\".dslca-module-edit-option-checkbox-wrapper\").length)jQuery('input[type=\"checkbox\"]',s).each((function(){jQuery(this).prop(\"checked\")&&(e=e+jQuery(this).val()+\" \")}));else if(o.hasClass(\"dslca-module-edit-option-radio\"))e=jQuery(\".dslca-module-edit-field:checked\",o).val();else{e=o.val();if(\"orientation\"==i&&\"horizontal\"==e)jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"40\").trigger(\"change\");else if(\"orientation\"==i&&\"vertical\"==e){jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"100\").trigger(\"change\")}}null!=e&&(e=e.trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\")),null===e&&(e=\"\"),jQuery('.dslca-module-options-front textarea[data-id=\"'+i+'\"]',n).val(e),jQuery(\".dslca-container-loader\").show(),Go((function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\"),\"css_load_preset\"!=i||jQuery(\"body\").hasClass(\"dslca-new-preset-added\")?jQuery(\".dslca-container-loader\").hide():(window.dslc_module_options_show(a),jQuery(\".dslca-container-loader\").hide()),jQuery(\"body\").removeClass(\"dslca-new-preset-added\"),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass(\"dslca-module-edit-field-font\")){var d=o.val();d+=\":400,100,200,300,500,600,700,800,900\";var l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=p=o.val(),u=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==m.indexOf(o.val())?document.getElementById(\"page-builder-frame\").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){jQuery(\".dslca-font-loading\").closest(\".dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\");var i=l.split(\",\"),s=\"#\"+u[0].id+\" \"+i.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:s})},inactive:function(e,t){jQuery(\".dslca-font-loading\").closest(\".dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\")}}):setTimeout((function(){jQuery(\".dslca-font-loading.dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\");var e=l.split(\",\"),t=\"#\"+u[0].id+\" \"+e.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass(\"dslca-module-edit-field-checkbox\")){jQuery('input[type=\"checkbox\"]',s).each((function(){jQuery(this).prop(\"checked\")?(e+=\"solid \",t=t+jQuery(this).val()+\" \"):e+=\"none \"}))}if(!o.hasClass(\"dslca-module-edit-field-font\")&&null!=o.data(\"affect-on-change-el\")&&null!=o.data(\"affect-on-change-rule\")){var p,h=o.data(\"ext\")||\"\";l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=p=o.val();o.hasClass(\"dslca-module-edit-field-checkbox\")&&(p=e,c=t),o.hasClass(\"dslca-module-edit-field-image\")&&(p='url(\"'+p+'\")'),null!==p&&p.length<1&&(\"background-color\"==r||\"background\"==r)&&(p=\"transparent\"),r.split(\",\").forEach((function(e){e=e.replace(/\\s+/g,\"\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),i=l.split(\",\"),s=\"#\"+t[0].id+\" \"+i.join(\", #\"+t[0].id+\" \")+\" {\"+e+\": \"+p+h+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:s})}))}var f=\"\";f=-1!==i.indexOf(\"css_\")?c:o.val(),jQuery('.dslca-module-option-front[data-id=\"'+i+'\"]',n).val(f),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:n[0].id,optionID:i,optionVal:c||o.val()})}}))},g=()=>{jQuery(document).on(\"change\",\".dslca-modules-section-edit-field\",(function(){var e,t,o,i,s,n,a,d;if(t=(e=jQuery(this)).data(\"id\"),i=e.val(),u=i,s=i+e.data(\"ext\"),n=e.data(\"css-rule\"),d=o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id=\"'+t+'\"]',o),o.addClass(\"dslca-modules-section-change-made\"),e.hasClass(\"dslca-modules-section-edit-field-upload\")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]',o).val()),\"background-image\"==n&&(i='url(\"'+i+'\")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),\"bg_image_attachment\"==t&&o.removeClass(\"dslc-init-parallax\"),\"border-top\"==t||\"border-right\"==t||\"border-bottom\"==t||\"border-left\"==t){var l=jQuery('.dslca-modules-section-settings input[data-id=\"border_style\"]').val();a=jQuery('.dslca-modules-section-settings input[data-id=\"border\"]',o),u=\"\",e.closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\").each((function(){jQuery(this).is(\":checked\")&&(\"border-top\"==jQuery(this).data(\"id\")?u+=\"top \":\"border-right\"==jQuery(this).data(\"id\")?u+=\"right \":\"border-bottom\"==jQuery(this).data(\"id\")?u+=\"bottom \":\"border-left\"==jQuery(this).data(\"id\")&&(u+=\"left \"))})),e.is(\":checked\")?\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":l}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":l}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":l}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":l}):\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":\"hidden\"}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":\"hidden\"}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":\"hidden\"}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":\"hidden\"})}else if(e.hasClass(\"dslca-modules-section-edit-field-checkbox\")){var r=jQuery(this).closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\"),c=\"\";r.each((function(){jQuery(this).prop(\"checked\")&&(c+=jQuery(this).data(\"val\")+\" \")}));var u=c;\"show_on\"==e.data(\"id\")&&(-1!==c.indexOf(\"desktop\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-desktop\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-desktop\"),-1!==c.indexOf(\"tablet\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-tablet\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-tablet\"),-1!==c.indexOf(\"phone\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-phone\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-phone\")),\"section_divider_bottom_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-vert\")),\"section_divider_top_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-vert\"))}else if(\"bg_image_attachment\"==t&&\"parallax\"==i)o.addClass(\"dslc-init-parallax\"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if(\"type\"==t)\"full\"==i?o.addClass(\"dslc-full\"):o.removeClass(\"dslc-full\"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if(\"columns_spacing\"==t)\"nospacing\"==i?o.addClass(\"dslc-no-columns-spacing\"):o.removeClass(\"dslc-no-columns-spacing\");else if(\"custom_class\"==t);else if(\"custom_id\"==t);else if(\"bg_video\"==t){if(jQuery(\".dslc-bg-video video\",o).remove(),i&&i.length){var m=i;m=(m=m.replace(\".webm\",\"\")).replace(\".mp4\",\"\"),jQuery(\".dslc-bg-video-inner\",o).html('<video><source type=\"video/mp4\" src=\"'+m+'.mp4\" /><source type=\"video/webm\" src=\"'+m+'.webm\" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(\"section_divider_top_style\"==t||\"section_divider_bottom_style\"==t){let e=\"top\";\"section_divider_bottom_style\"==t&&(e=\"bottom\");let s=jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"] svg',o).attr(\"style\");if(jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"]',o).html(\"\"),i&&i.length){const t=jQuery(\"#dslc-section-dividers\",LiveComposer.Builder.PreviewAreaWindow.document).find(\"svg#\"+i).clone();jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"]',o).html(t[0]),void 0!==s&&jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"] svg',o).attr(\"style\",s)}}else if(\"bg_image_thumb\"==t)if(\"enabled\"==u){if(jQuery(\"#dslca-post-data-thumb\").length){var p=\"url('\"+jQuery(\"#dslca-post-data-thumb\").val()+\"')\";d.css(n,p)}}else\"disabled\"==u&&d.css(n,\"none\");else{var h;e.data(\"css-element\")&&(d=jQuery(e.data(\"css-element\"),o)),n=n.replace(/ /g,\"\").split(\",\"),h=null!=e.data(\"ext\")?s:i;for(var f=0;f<n.length;f++)d.css(n[f],h)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},y=()=>{var e;jQuery(document).on(\"click\",\".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook\",(function(){var t=jQuery(this);if(t.hasClass(\"dslca-module-edit-field-image-add-hook\"))var o=t.siblings(\".dslca-module-edit-field-image\"),i=t.siblings(\".dslca-module-edit-field-image-remove-hook\");else o=t.siblings(\".dslca-modules-section-edit-field-upload\"),i=t.siblings(\".dslca-modules-section-edit-field-image-remove-hook\");(e=wp.media.frames.file_frame=wp.media({title:\"Choose Image\",button:{text:\"Confirm\"},multiple:!1})).on(\"select\",(function(){var s=e.state().get(\"selection\").first().toJSON();o.val(s.id);var n=t.parent().attr(\"data-id\");\"\"!=s.alt&&\"image\"==n&&jQuery('.dslca-module-edit-option-image_alt input[data-id=\"image_alt\"]').val(s.alt),\"\"!=s.title&&\"image\"==n&&jQuery('.dslca-module-edit-option-image_title input[data-id=\"image_title\"]').val(s.title),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]').val(s.url),o.trigger(\"change\"),t.hide(),i.show()})),e.open()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook\",(function(){var e=jQuery(this);if(e.hasClass(\"dslca-module-edit-field-image-remove-hook\"))var t=e.siblings(\".dslca-module-edit-field-image\"),o=e.siblings(\".dslca-module-edit-field-image-add-hook\");else t=e.siblings(\".dslca-modules-section-edit-field-upload\"),o=e.siblings(\".dslca-modules-section-edit-field-image-add-hook\");t.val(\"\").trigger(\"change\"),\"image\"==e.parent().attr(\"data-id\")&&(jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"data-val-bckp\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"data-val-bckp\",\"\").trigger(\"change\")),e.hide(),o.show()}))};function w(e){window.dslcDebug&&console.log(\"dslc_module_options_section_filter\"),jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-section=\"'+e+'\"]').show(),j()}const b=()=>{const e=document.querySelector(\".dslca-module-edit-options-tab-hook.dslca-active\").dataset.id;if(\"tablet_responsive\"===e||\"phone_responsive\"===e){document.querySelectorAll('.dslca-module-edit-option[data-tab=\"'+e+'\"]').forEach(e=>{const t=e.querySelector(\".dslca-module-edit-field\").dataset.id;\"css_res_t\"!==t&&\"css_res_p\"!==t&&jQuery(\".dslca-module-edit-option-\"+t).find(\".dslca-module-edit-field\").val(\"\").trigger(\"change\")})}},j=e=>{window.dslcDebug&&console.log(\"elementOptionsTabs\");var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]:first')).data(\"id\");if(jQuery(\".dslca-module-edit-options-tab-hook\").removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),jQuery(\".dslca-module-edit-options-tabs\").show(),jQuery(\".dslca-module-edit-options-tab-hook\").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]').show(),o&&(jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+o+'\"]').show(),Q(),jQuery(\".dslca-module-edit-options-tab-hook:visible\").length<2?jQuery(\".dslca-module-edit-options-tabs\").hide():jQuery(\".dslca-module-edit-options-tabs\").show(),x(),o==DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-tablet\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o==DSLCString.str_res_phone.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-phone\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o!=DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&o!=DSLCString.str_res_phone.toLowerCase()+\"_responsive\"||(jQuery(\".dslca-container-loader\").show(),Go((function(){jQuery(\".dslca-container-loader\").hide()})))),jQuery(\"body\").hasClass(\"rtl\")){var i,s=0,n=0;jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible\").each((function(e){jQuery(this).hasClass(\"dslca-module-edit-option-hidden\")||jQuery(this).hasClass(\"dslca-module-control-group\")||(s+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible\").each((function(e){n+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(s)+parseInt(n)+10,jQuery(\".dslca-module-edit-options-wrapper\").css({width:i+\"px\"})}};function Q(){if(window.dslcDebug&&console.log(\"dslc_module_options_hideshow_tabs\"),\"styling\"==jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\")){jQuery(\".dslca-module-edit\");var e=!0,t=!0,o=!0,i=!0,s=!0,n=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value=\"main_heading\"]').is(\":checked\")||(e=!1),jQuery('.dslca-module-edit-field[value=\"filters\"]').is(\":checked\")||(t=!1),jQuery('.dslca-module-edit-field[value=\"arrows\"]').is(\":checked\")||(o=!1),jQuery('.dslca-module-edit-field[value=\"circles\"]').is(\":checked\")||(i=!1),\"carousel\"!=jQuery('.dslca-module-edit-field[data-id=\"type\"]').val()&&(o=!1,i=!1),\"disabled\"==jQuery('.dslca-module-edit-field[data-id=\"pagination_type\"]').val()&&(s=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"thumbnail\"]').is(\":checked\")||(n=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"title\"]').is(\":checked\")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"excerpt\"]').is(\":checked\")||(d=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"meta\"]').is(\":checked\")||(l=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').is(\":checked\")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"categories\"]').is(\":checked\")||(c=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"separator\"]').is(\":checked\")||(m=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"count\"]').is(\":checked\")||(u=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"tags\"]').is(\":checked\")||(p=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"social\"]').is(\":checked\")||(h=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"position\"]').is(\":checked\")||(f=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').is(\":checked\")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').is(\":checked\")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price\"]').is(\":checked\")||(y=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price_2\"]').is(\":checked\")||(w=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"addtocart\"]').is(\":checked\")||(b=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"details\"]').is(\":checked\")||(j=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"quote\"]').is(\":checked\")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_name\"]').is(\":checked\")||(_=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_position\"]').is(\":checked\")||(C=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"image\"]').is(\":checked\")||(k=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"logo\"]').is(\":checked\")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_arrows_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_arrows_styling\"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_circles_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_circles_styling\"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"primary_button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"secondary_button_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"primary_button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"secondary_button_styling\"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"count_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"count_styling\"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"tags_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"tags_styling\"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_secondary_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_secondary_styling\"]').hide(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_name_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_name_styling\"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_position_styling\"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section=\"styling\"]').hasClass(\"dslca-active\")){var L=jQuery('.dslca-module-edit-option[data-id=\"css_custom\"]');\"enabled\"==L.find(\"select\").val()?(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"visible\"}),jQuery(\".dslca-module-edit-option[data-tab]\").css(\"visibility\",\"visible\"),jQuery(\".dslca-module-edit-options-tabs\").show()):(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"hidden\"}),jQuery(\".dslca-module-control-group.dslca-module-edit-option\").css(\"visibility\",\"hidden\"),jQuery(\".dslca-module-edit-options-tabs\").hide(),L.css({visibility:\"visible\"}))}else jQuery(\".dslca-module-edit-options-tabs\").show();if(\"disabled\"==jQuery('select.dslca-module-edit-field[data-id=\"css_res_t\"]').val()?(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"hidden\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').css(\"visibility\",\"visible\")),\"disabled\"==jQuery('select.dslca-module-edit-field[data-id=\"css_res_p\"]').val()?(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"hidden\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').css(\"visibility\",\"visible\")),jQuery('.dslca-module-edit-option[data-id=\"css_res_p\"], .dslca-module-edit-option[data-id=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery(\".dslca-options-filter-hook\").hasClass(\"dslca-active\")){var x=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\");jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-show\")&&jQuery(\".dslca-module-edit-option.dep-show\").show(),jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-hide\")&&jQuery(\".dslca-module-edit-option.dep-hide\").hide()}if(jQuery(\".dslca-module-edit-options-tab-hook\").hasClass(\"dslca-active\")){var B=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"]').hasClass(\"dependent\")?(jQuery(\".dslca-module-edit-option.dependent\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-hide').hide()):jQuery(\".dslca-module-edit-option.dependent\").hide()}}function _(e){window.dslcDebug&&console.log(\"dslc_module_options_confirm_changes\"),e=void 0!==e&&e,jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).hasClass(\"dslc-module-DSLC_Sliders\")?jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"):(jQuery(\"body\").addClass(\"dslca-module-saving-in-progress\"),Go((function(){s(),window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\"body\").removeClass(\"dslca-module-saving-in-progress\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Pt(\".dslca-modules\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),window.dslc_show_publish_button()}function C(e){window.dslcDebug&&console.log(\"dslc_module_options_cancel_changes\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(\".dslca-module-options-front\",t).html(\"\").append(window.LiveComposer.Builder.moduleBackup),Go((function(){window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Pt(\".dslca-modules\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function k(e,t){var o=jQuery(e).closest(\".dslca-module-edit-option-icon\"),i=jQuery(\".dslca-module-edit-field-icon\",o),s=h.indexOf(i.val());if(\"previous\"==t)var n=s-1;else n=s+1;jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(\"\"),n<0&&(n=h.length-1),i.val(h[n]).trigger(\"change\")}function D(e){var t,o,i,s,n,a;window.dslcDebug&&console.log(\"dslc_module_options_color\");var d,l=[],r=\"dslcColors-\"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push(\"#78b\"),2>l.length&&l.push(\"#ab0\"),3>l.length&&l.push(\"#de3\"),l.push(\"#fff\"),l.push(\"#000\"),l.push(\"rgba(0,0,0,0)\"),jQuery(e).each((function(){var e=jQuery(this).closest(\".dslca-color-option\"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:\"hsl\",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker(\"color\");s=null==r?\"\":r,t.val(s).trigger(\"change\"),t.css(\"background\",s),o=t.data(\"affect-on-change-el\"),i=t.data(\"affect-on-change-rule\"),null!=o&&\".dslca-modules-section-being-edited\"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(\".dslca-module-being-edited\")).css(i,s),n=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data(\"id\"),jQuery('.dslca-module-option-front[data-id=\"'+a+'\"]',n).val(s),n.addClass(\"dslca-module-change-made\")}}),e.find(\".wp-picker-holder .iris-picker\").append('<button type=\"button\" class=\"dslca-colorpicker-apply\">Apply</button>');var c=e.find(\".dslca-colorpicker-apply\");d.wpColorPicker(\"open\"),jQuery(c).on(\"click\",(function(){if(\"#fff\"!==s&&\"#ffffff\"!==s&&\"#000\"!==s&&\"#000000\"!==s&&\"rgba(0,0,0,0)\"!==s)if(void 0===localStorage[r]){var e=[s];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(s)&&(e.unshift(s),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker(\"close\")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function L(e){window.dslcDebug&&console.log(\"dslc_module_options_numeric\"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(\".dslca-module-edit-field-slider\",e).length&&e.append('<div class=\"dslca-module-edit-field-slider\"></div>');var t=!0;if(t=!e.hasClass(\"dslca-modules-section-edit-option\"))var o=e.find(\".dslca-module-edit-field\");else o=e.find(\".dslca-modules-section-edit-field\");if(e.hasClass(\"dslca-modules-section-edit-option\"))o=e.find(\".dslca-modules-section-edit-field\");else o=e.find(\".dslca-module-edit-field\");var i=e.find(\".dslca-module-edit-field-slider\"),s=parseFloat(o.val()),n=parseFloat(o.data(\"max\")),a=parseFloat(o.data(\"min\")),d=parseFloat(o.data(\"increment\")),l=!1;if(void 0!==o.data(\"onlypositive\")&&1===o.data(\"onlypositive\")&&(l=!0),s>=n&&(n=2*s),!l&&s<=a&&(a=2*s),i.slider({min:a,max:n,step:d,value:o.val(),slide:function(e,t){o.val(t.value+\"\"),o.trigger(\"change\")},change:function(t,o){(o.value>=n||o.value<=a)&&(i.slider(\"destroy\"),L(e))}}),i.show(),jQuery(e).on(\"mouseleave\",(function(){void 0!==i.slider(\"instance\")&&jQuery(i).slider(\"destroy\"),i.remove()})),!o[0].classList.contains(\"slider-initiated\"))return o[0].classList.add(\"slider-initiated\"),o.on(\"keyup\",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger(\"change\")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger(\"change\"))),8!=e.keyCode&&45!=e.keyCode||o.trigger(\"change\"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger(\"change\");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on(\"change\",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(\".dslca-module-edit-option-slider\")):jQuery(e.target.closest(\".dslca-modules-section-edit-option-slider\"))).find(\".dslca-module-edit-field-slider\");(void 0!==o.slider(\"instance\")&&o.slider(\"value\",this.value),t)&&jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\")})),!1}))}function x(){jQuery(\"html\").removeClass(\"dslc-responsive-preview\"),jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\")}\n/**!\n * Sortable 1.10.2\n * @author\tRubaXa <trash@rubaxa.org>\n * @author\towenm <owen23355@gmail.com>\n * @license MIT\n */\nfunction B(e){return(B=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function S(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){S(e,t,o[t])}))}return e}function E(e,t){if(null==e)return{};var o,i,s=function(e,t){if(null==e)return{};var o,i,s={},n=Object.keys(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||(s[o]=e[o]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(s[o]=e[o])}return s}window.dslc_module_options_font=function(){jQuery(document).off(\"click\",\".dslca-module-edit-field-font-next\").on(\"click\",\".dslca-module-edit-field-font-next\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=p.indexOf(o.val())+1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),o.val(p[i]).trigger(\"change\"),jQuery(this).addClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-chevron-right\").addClass(\"dslc-icon-refresh dslc-icon-spin\")}})),jQuery(document).off(\"click\",\".dslca-module-edit-field-font-prev\").on(\"click\",\".dslca-module-edit-field-font-prev\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=p.indexOf(o.val())-1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),i<0&&(i=p.length-1),o.val(p[i]).trigger(\"change\"),jQuery(this).addClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-chevron-left\").addClass(\"dslc-icon-refresh dslc-icon-spin\")}})),jQuery(document).off(\"blur\",\".dslca-module-edit-field-font\").on(\"blur\",\".dslca-module-edit-field-font\",(function(e){var t=jQuery(this).closest(\".dslca-module-edit-option\");jQuery(\".dslca-module-edit-field-font-suggest\",t).hide()})),jQuery(document).off(\"keyup\",\".dslca-module-edit-field-font\").on(\"keyup\",\".dslca-module-edit-field-font\",(function(e){console.log(\"1 e.which:\"),console.log(e.which);var t,o,i,s,n=!1;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),38==e.which&&jQuery(\".dslca-module-edit-field-font-prev\",o).click();40==e.which&&jQuery(\".dslca-module-edit-field-font-next\",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp(\"^\"+i,\"i\"),d=p.length,l=0;do{if(a.test(p[l])&&!n)n=p[l];l++}while(l<d);n?i!==n&&(s=n,jQuery(\".dslca-module-edit-field-font-suggest\",o).show()):(s=i,jQuery(\".dslca-module-edit-field-font-suggest\",o).hide()),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(s),s.length&&t.val(s.substring(0,t.val().length))}})),jQuery(document).off(\"keydown\",\".dslca-module-edit-field-font\").on(\"keydown\",\".dslca-module-edit-field-font\",(function(e){if(console.log(\"2 e.which:\"),console.log(e.which),13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text().length&&(jQuery(this).val(jQuery(\".dslca-module-edit-field-font-suggest\",o).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(\"\"))}}))};function O(e){if(\"undefined\"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var T=O(/(?:Trident.*rv[ :]?11\\.|msie|iemobile|Windows Phone)/i),I=O(/Edge/i),M=O(/firefox/i),N=O(/safari/i)&&!O(/chrome/i)&&!O(/android/i),F=O(/iP(ad|od|hone)/i),W=O(/chrome/i)&&O(/android/i),U={capture:!1,passive:!1};function H(e,t,o){e.addEventListener(t,o,!T&&U)}function z(e,t,o){e.removeEventListener(t,o,!T&&U)}function R(e,t){if(t){if(\">\"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function q(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function X(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(\">\"===t[0]?e.parentNode===o&&R(e,t):R(e,t))||i&&e===o)return e;if(e===o)break}while(e=q(e))}return null}var Y,J=/\\s+/g;function G(e,t,o){if(e&&t)if(e.classList)e.classList[o?\"add\":\"remove\"](t);else{var i=(\" \"+e.className+\" \").replace(J,\" \").replace(\" \"+t+\" \",\" \");e.className=(i+(o?\" \"+t:\"\")).replace(J,\" \")}}function K(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,\"\"):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf(\"webkit\")||(t=\"-webkit-\"+t),i[t]=o+(\"string\"==typeof o?\"\":\"px\")}}function V(e,t){var o=\"\";if(\"string\"==typeof e)o=e;else do{var i=K(e,\"transform\");i&&\"none\"!==i&&(o=i+\" \"+o)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function $(e,t,o){if(e){var i=e.getElementsByTagName(t),s=0,n=i.length;if(o)for(;s<n;s++)o(i[s],s);return i}return[]}function Z(){var e=document.scrollingElement;return e||document.documentElement}function ee(e,t,o,i,s){if(e.getBoundingClientRect||e===window){var n,a,d,l,r,c,u;if(e!==window&&e!==Z()?(a=(n=e.getBoundingClientRect()).top,d=n.left,l=n.bottom,r=n.right,c=n.height,u=n.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(s=s||e.parentNode,!T))do{if(s&&s.getBoundingClientRect&&(\"none\"!==K(s,\"transform\")||o&&\"static\"!==K(s,\"position\"))){var m=s.getBoundingClientRect();a-=m.top+parseInt(K(s,\"border-top-width\")),d-=m.left+parseInt(K(s,\"border-left-width\")),l=a+n.height,r=d+n.width;break}}while(s=s.parentNode);if(i&&e!==window){var p=V(s||e),h=p&&p.a,f=p&&p.d;p&&(l=(a/=f)+(c/=f),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function te(e,t,o){for(var i=ae(e,!0),s=ee(e)[t];i;){var n=ee(i)[o];if(!(\"top\"===o||\"left\"===o?s>=n:s<=n))return i;if(i===Z())break;i=ae(i,!1)}return!1}function oe(e,t,o){for(var i=0,s=0,n=e.children;s<n.length;){if(\"none\"!==n[s].style.display&&n[s]!==rt.ghost&&n[s]!==rt.dragged&&X(n[s],o.draggable,e,!1)){if(i===t)return n[s];i++}s++}return null}function ie(e,t){for(var o=e.lastElementChild;o&&(o===rt.ghost||\"none\"===K(o,\"display\")||t&&!R(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)\"TEMPLATE\"===e.nodeName.toUpperCase()||e===rt.clone||t&&!R(e,t)||o++;return o}function ne(e){var t=0,o=0,i=Z();if(e)do{var s=V(e),n=s.a,a=s.d;t+=e.scrollLeft*n,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function ae(e,t){if(!e||!e.getBoundingClientRect)return Z();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=K(o);if(o.clientWidth<o.scrollWidth&&(\"auto\"==s.overflowX||\"scroll\"==s.overflowX)||o.clientHeight<o.scrollHeight&&(\"auto\"==s.overflowY||\"scroll\"==s.overflowY)){if(!o.getBoundingClientRect||o===document.body)return Z();if(i||t)return o;i=!0}}}while(o=o.parentNode);return Z()}function de(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!Y){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),Y=setTimeout((function(){Y=void 0}),t)}}}function re(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ce(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var ue=\"Sortable\"+(new Date).getTime();function me(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if(\"none\"!==K(e,\"display\")&&e!==rt.ghost){t.push({target:e,rect:ee(e)});var o=P({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=V(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void(\"function\"==typeof o&&o());var s=!1,n=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=ee(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=V(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&de(l,d)&&!de(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),de(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(s=!0,n=Math.max(n,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),s?e=setTimeout((function(){\"function\"==typeof o&&o()}),n):\"function\"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){K(e,\"transition\",\"\"),K(e,\"transform\",\"\");var s=V(this.el),n=s&&s.a,a=s&&s.d,d=(t.left-o.left)/(n||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,K(e,\"transform\",\"translate3d(\"+d+\"px,\"+l+\"px,0)\"),function(e){e.offsetWidth}(e),K(e,\"transition\",\"transform \"+i+\"ms\"+(this.options.easing?\" \"+this.options.easing:\"\")),K(e,\"transform\",\"translate3d(0,0,0)\"),\"number\"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){K(e,\"transition\",\"\"),K(e,\"transform\",\"\"),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var pe=[],he={initializeByDefault:!0},fe={mount:function(e){for(var t in he)!he.hasOwnProperty(t)||t in e||(e[t]=he[t]);pe.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var s=e+\"Global\";pe.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][s]&&t[i.pluginName][s](P({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](P({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var s in pe.forEach((function(i){var s=i.pluginName;if(e.options[s]||i.initializeByDefault){var n=new i(e,t,e.options);n.sortable=e,n.options=e.options,e[s]=n,A(o,n.defaults)}})),e.options)if(e.options.hasOwnProperty(s)){var n=this.modifyOption(e,s,e.options[s]);void 0!==n&&(e.options[s]=n)}},getEventProperties:function(e,t){var o={};return pe.forEach((function(i){\"function\"==typeof i.eventProperties&&A(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return pe.forEach((function(s){e[s.pluginName]&&s.optionListeners&&\"function\"==typeof s.optionListeners[t]&&(i=s.optionListeners[t].call(e[s.pluginName],o))})),i}};function ve(e){var t=e.sortable,o=e.rootEl,i=e.name,s=e.targetEl,n=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[ue]){var f,v=t.options,g=\"on\"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||T||I?(f=document.createEvent(\"Event\")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=a||o,f.from=d||o,f.item=s||o,f.clone=n,f.oldIndex=l,f.newIndex=r,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=P({},h,fe.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ge=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,s=E(o,[\"evt\"]);fe.pluginEvent.bind(rt)(e,t,P({dragEl:we,parentEl:be,ghostEl:je,rootEl:Qe,nextEl:_e,lastDownEl:Ce,cloneEl:ke,cloneHidden:De,dragStarted:Fe,putSortable:Pe,activeSortable:rt.active,originalEvent:i,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se,hideGhostForTarget:nt,unhideGhostForTarget:at,cloneNowHidden:function(){De=!0},cloneNowShown:function(){De=!1},dispatchSortableEvent:function(e){ye({sortable:t,name:e,originalEvent:i})}},s))};function ye(e){ve(P({putSortable:Pe,cloneEl:ke,targetEl:we,rootEl:Qe,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se},e))}var we,be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re=!1,qe=!1,Xe=[],Ye=!1,Je=!1,Ge=[],Ke=!1,Ve=[],$e=\"undefined\"!=typeof document,Ze=F,et=I||T?\"cssFloat\":\"float\",tt=$e&&!W&&!F&&\"draggable\"in document.createElement(\"div\"),ot=function(){if($e){if(T)return!1;var e=document.createElement(\"x\");return e.style.cssText=\"pointer-events:auto\",\"auto\"===e.style.pointerEvents}}(),it=function(e,t){var o=K(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),s=oe(e,0,t),n=oe(e,1,t),a=s&&K(s),d=n&&K(n),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ee(s).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+ee(n).width;if(\"flex\"===o.display)return\"column\"===o.flexDirection||\"column-reverse\"===o.flexDirection?\"vertical\":\"horizontal\";if(\"grid\"===o.display)return o.gridTemplateColumns.split(\" \").length<=1?\"vertical\":\"horizontal\";if(s&&a.float&&\"none\"!==a.float){var c=\"left\"===a.float?\"left\":\"right\";return!n||\"both\"!==d.clear&&d.clear!==c?\"horizontal\":\"vertical\"}return s&&(\"block\"===a.display||\"flex\"===a.display||\"table\"===a.display||\"grid\"===a.display||l>=i&&\"none\"===o[et]||n&&\"none\"===o[et]&&l+r>i)?\"vertical\":\"horizontal\"},st=function(e){function t(e,o){return function(i,s,n,a){var d=i.options.group.name&&s.options.group.name&&i.options.group.name===s.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&\"clone\"===e)return e;if(\"function\"==typeof e)return t(e(i,s,n,a),o)(i,s,n,a);var l=(o?i:s).options.group.name;return!0===e||\"string\"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&\"object\"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},nt=function(){!ot&&je&&K(je,\"display\",\"none\")},at=function(){!ot&&je&&K(je,\"display\",\"\")};$e&&document.addEventListener(\"click\",(function(e){if(qe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),qe=!1,!1}),!0);var dt=function(e){if(we){e=e.touches?e.touches[0]:e;var t=(s=e.clientX,n=e.clientY,Xe.some((function(e){if(!ie(e)){var t=ee(e),o=e[ue].options.emptyInsertThreshold,i=s>=t.left-o&&s<=t.right+o,d=n>=t.top-o&&n<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[ue]._onDragOver(o)}}var s,n,a},lt=function(e){we&&we.parentNode[ue]._isOutsideThisEl(e.target)};function rt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw\"Sortable: `el` must be an HTMLElement, not \".concat({}.toString.call(e));this.el=e,this.options=t=A({},t),e[ue]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?\">li\":\">*\",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return it(e,this.options)},ghostClass:\"sortable-ghost\",chosenClass:\"sortable-chosen\",dragClass:\"sortable-drag\",ignore:\"a, img\",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData(\"Text\",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:\"data-id\",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:\"sortable-fallback\",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==rt.supportPointer&&\"PointerEvent\"in window,emptyInsertThreshold:5};for(var i in fe.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var s in st(t),this)\"_\"===s.charAt(0)&&\"function\"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?H(e,\"pointerdown\",this._onTapStart):(H(e,\"mousedown\",this._onTapStart),H(e,\"touchstart\",this._onTapStart)),this.nativeDraggable&&(H(e,\"dragover\",this),H(e,\"dragenter\",this)),Xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),A(this,me())}function ct(e,t,o,i,s,n,a,d){var l,r,c=e[ue],u=c.options.onMove;return!window.CustomEvent||T||I?(l=document.createEvent(\"Event\")).initEvent(\"move\",!0,!0):l=new CustomEvent(\"move\",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=s||t,l.relatedRect=n||ee(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function ut(e){e.draggable=!1}function mt(){Ke=!1}function pt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ht(e){return setTimeout(e,0)}function ft(e){return clearTimeout(e)}rt.prototype={constructor:rt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(We=null)},_getDirection:function(e,t){return\"function\"==typeof this.options.direction?this.options.direction.call(this,e,t,we):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,s=i.preventOnFilter,n=e.type,a=e.touches&&e.touches[0]||e.pointerType&&\"touch\"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){Ve.length=0;var t=e.getElementsByTagName(\"input\"),o=t.length;for(;o--;){var i=t[o];i.checked&&Ve.push(i)}}(o),!we&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||i.disabled||l.isContentEditable||(d=X(d,i.draggable,o,!1))&&d.animated||Ce===d)){if(Le=se(d),Be=se(d,i.draggable),\"function\"==typeof r){if(r.call(this,e,d,this))return ye({sortable:t,rootEl:l,name:\"filter\",targetEl:d,toEl:o,fromEl:o}),ge(\"filter\",t,{evt:e}),void(s&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(\",\").some((function(i){if(i=X(l,i.trim(),o,!1))return ye({sortable:t,rootEl:i,name:\"filter\",targetEl:d,fromEl:o,toEl:o}),ge(\"filter\",t,{evt:e}),!0}))))return void(s&&e.cancelable&&e.preventDefault());i.handle&&!X(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,s=this,n=s.el,a=s.options,d=n.ownerDocument;if(o&&!we&&o.parentNode===n){var l=ee(o);if(Qe=n,be=(we=o).parentNode,_e=we.nextSibling,Ce=o,Ae=a.group,rt.dragged=we,Ee={target:we,clientX:(t||e).clientX,clientY:(t||e).clientY},Me=Ee.clientX-l.left,Ne=Ee.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,we.style[\"will-change\"]=\"all\",i=function(){ge(\"delayEnded\",s,{evt:e}),rt.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!M&&s.nativeDraggable&&(we.draggable=!0),s._triggerDragStart(e,t),ye({sortable:s,name:\"choose\",originalEvent:e}),G(we,a.chosenClass,!0))},a.ignore.split(\",\").forEach((function(e){$(we,e.trim(),ut)})),H(d,\"dragover\",dt),H(d,\"mousemove\",dt),H(d,\"touchmove\",dt),H(d,\"mouseup\",s._onDrop),H(d,\"touchend\",s._onDrop),H(d,\"touchcancel\",s._onDrop),M&&this.nativeDraggable&&(this.options.touchStartThreshold=4,we.draggable=!0),ge(\"delayStart\",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(I||T))i();else{if(rt.eventCanceled)return void this._onDrop();H(d,\"mouseup\",s._disableDelayedDrag),H(d,\"touchend\",s._disableDelayedDrag),H(d,\"touchcancel\",s._disableDelayedDrag),H(d,\"mousemove\",s._delayedDragTouchMoveHandler),H(d,\"touchmove\",s._delayedDragTouchMoveHandler),a.supportPointer&&H(d,\"pointermove\",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){we&&ut(we),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,\"mouseup\",this._disableDelayedDrag),z(e,\"touchend\",this._disableDelayedDrag),z(e,\"touchcancel\",this._disableDelayedDrag),z(e,\"mousemove\",this._delayedDragTouchMoveHandler),z(e,\"touchmove\",this._delayedDragTouchMoveHandler),z(e,\"pointermove\",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||\"touch\"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?H(document,\"pointermove\",this._onTouchMove):H(document,t?\"touchmove\":\"mousemove\",this._onTouchMove):(H(we,\"dragend\",this),H(Qe,\"dragstart\",this._onDragStart));try{document.selection?ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Re=!1,Qe&&we){ge(\"dragStarted\",this,{evt:t}),this.nativeDraggable&&H(document,\"dragover\",lt);var o=this.options;!e&&G(we,o.dragClass,!1),G(we,o.ghostClass,!0),rt.active=this,e&&this._appendGhost(),ye({sortable:this,name:\"start\",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Oe){this._lastX=Oe.clientX,this._lastY=Oe.clientY,nt();for(var e=document.elementFromPoint(Oe.clientX,Oe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Oe.clientX,Oe.clientY))!==t;)t=e;if(we.parentNode[ue]._isOutsideThisEl(e),t)do{if(t[ue]){if(t[ue]._onDragOver({clientX:Oe.clientX,clientY:Oe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);at()}},_onTouchMove:function(e){if(Ee){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,s=e.touches?e.touches[0]:e,n=je&&V(je,!0),a=je&&n&&n.a,d=je&&n&&n.d,l=Ze&&ze&&ne(ze),r=(s.clientX-Ee.clientX+i.x)/(a||1)+(l?l[0]-Ge[0]:0)/(a||1),c=(s.clientY-Ee.clientY+i.y)/(d||1)+(l?l[1]-Ge[1]:0)/(d||1);if(!rt.active&&!Re){if(o&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(je){n?(n.e+=r-(Te||0),n.f+=c-(Ie||0)):n={a:1,b:0,c:0,d:1,e:r,f:c};var u=\"matrix(\".concat(n.a,\",\").concat(n.b,\",\").concat(n.c,\",\").concat(n.d,\",\").concat(n.e,\",\").concat(n.f,\")\");K(je,\"webkitTransform\",u),K(je,\"mozTransform\",u),K(je,\"msTransform\",u),K(je,\"transform\",u),Te=r,Ie=c,Oe=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!je){var e=this.options.fallbackOnBody?document.body:Qe,t=ee(we,!0,Ze,!0,e),o=this.options;if(Ze){for(ze=e;\"static\"===K(ze,\"position\")&&\"none\"===K(ze,\"transform\")&&ze!==document;)ze=ze.parentNode;ze!==document.body&&ze!==document.documentElement?(ze===document&&(ze=Z()),t.top+=ze.scrollTop,t.left+=ze.scrollLeft):ze=Z(),Ge=ne(ze)}G(je=we.cloneNode(!0),o.ghostClass,!1),G(je,o.fallbackClass,!0),G(je,o.dragClass,!0),K(je,\"transition\",\"\"),K(je,\"transform\",\"\"),K(je,\"box-sizing\",\"border-box\"),K(je,\"margin\",0),K(je,\"top\",t.top),K(je,\"left\",t.left),K(je,\"width\",t.width),K(je,\"height\",t.height),K(je,\"opacity\",\"0.8\"),K(je,\"position\",Ze?\"absolute\":\"fixed\"),K(je,\"zIndex\",\"100000\"),K(je,\"pointerEvents\",\"none\"),rt.ghost=je,e.appendChild(je),K(je,\"transform-origin\",Me/parseInt(je.style.width)*100+\"% \"+Ne/parseInt(je.style.height)*100+\"%\")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,s=o.options;ge(\"dragStart\",this,{evt:e}),rt.eventCanceled?this._onDrop():(ge(\"setupClone\",this),rt.eventCanceled||((ke=ce(we)).draggable=!1,ke.style[\"will-change\"]=\"\",this._hideClone(),G(ke,this.options.chosenClass,!1),rt.clone=ke),o.cloneId=ht((function(){ge(\"clone\",o),rt.eventCanceled||(o.options.removeCloneOnHide||Qe.insertBefore(ke,we),o._hideClone(),ye({sortable:o,name:\"clone\"}))})),!t&&G(we,s.dragClass,!0),t?(qe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(z(document,\"mouseup\",o._onDrop),z(document,\"touchend\",o._onDrop),z(document,\"touchcancel\",o._onDrop),i&&(i.effectAllowed=\"move\",s.setData&&s.setData.call(o,i,we)),H(document,\"drop\",o),K(we,\"transform\",\"translateZ(0)\")),Re=!0,o._dragStartId=ht(o._dragStarted.bind(o,t,e)),H(document,\"selectstart\",o),Fe=!0,N&&K(document.body,\"user-select\",\"none\"))},_onDragOver:function(e){var t,o,i,s,n=this.el,a=e.target,d=this.options,l=d.group,r=rt.active,c=Ae===l,u=d.sort,m=Pe||r,p=this,h=!1;if(!Ke){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=X(a,d.draggable,n,!0),x(\"dragOver\"),rt.eventCanceled)return h;if(we.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(qe=!1,r&&!d.disabled&&(c?u||(i=!Qe.contains(we)):Pe===this||(this.lastPutMode=Ae.checkPull(this,r,we,e))&&l.checkPut(this,r,we,e))){if(s=\"vertical\"===this._getDirection(e,a),t=ee(we),x(\"dragOverValid\"),rt.eventCanceled)return h;if(i)return be=Qe,B(),this._hideClone(),x(\"revert\"),rt.eventCanceled||(_e?Qe.insertBefore(we,_e):Qe.appendChild(we)),S(!0);var f=ie(n,d.draggable);if(!f||function(e,t,o){var i=ee(ie(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,s,this)&&!f.animated){if(f===we)return S(!1);if(f&&n===e.target&&(a=f),a&&(o=ee(a)),!1!==ct(Qe,n,we,t,a,o,e,!!a))return B(),n.appendChild(we),be=n,A(),S(!0)}else if(a.parentNode===n){o=ee(a);var v,g,y,w=we.parentNode!==n,b=!function(e,t,o){var i=o?e.left:e.top,s=o?e.right:e.bottom,n=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||s===d||i+n/2===a+l/2}(we.animated&&we.toRect||t,a.animated&&a.toRect||o,s),j=s?\"top\":\"left\",Q=te(a,\"top\",\"top\")||te(we,\"top\",\"top\"),_=Q?Q.scrollTop:void 0;if(We!==a&&(g=o[j],Ye=!1,Je=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,s,n,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&He<r*s){if(!Ye&&(1===Ue?l>c+r*n/2:l<u-r*n/2)&&(Ye=!0),Ye)m=!0;else if(1===Ue?l<c+He:l>u-He)return-Ue}else if(l>c+r*(1-s)/2&&l<u-r*(1-s)/2)return function(e){return se(we)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*n/2||l>u-r*n/2))return l>c+r/2?1:-1;return 0}(e,a,o,s,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Je,We===a))){var C=se(we);do{C-=v,y=be.children[C]}while(y&&(\"none\"===K(y,\"display\")||y===je))}if(0===v||y===a)return S(!1);We=a,Ue=v;var k=a.nextElementSibling,D=!1,L=ct(Qe,n,we,t,a,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ke=!0,setTimeout(mt,30),B(),D&&!k?n.appendChild(we):a.parentNode.insertBefore(we,D?k:a),Q&&re(Q,0,_-Q.scrollTop),be=we.parentNode,void 0===g||Je||(He=Math.abs(g-ee(a)[j])),A(),S(!0)}if(n.contains(we))return S(!1)}return!1}function x(d,l){ge(d,p,P({evt:e,isOwner:c,axis:s?\"vertical\":\"horizontal\",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ct(Qe,n,we,t,o,ee(o),e,i)},changed:A},l))}function B(){x(\"dragOverAnimationCapture\"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x(\"dragOverCompleted\",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(G(we,Pe?Pe.options.ghostClass:r.options.ghostClass,!1),G(we,d.ghostClass,!0)),Pe!==p&&p!==rt.active?Pe=p:p===rt.active&&Pe&&(Pe=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x(\"dragOverAnimationComplete\"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===we&&!we.animated||a===n&&!a.animated)&&(We=null),d.dragoverBubble||e.rootEl||a===document||(we.parentNode[ue]._isOutsideThisEl(e.target),!t&&dt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){xe=se(we),Se=se(we,d.draggable),ye({sortable:p,name:\"change\",toEl:n,newIndex:xe,newDraggableIndex:Se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,\"mousemove\",this._onTouchMove),z(document,\"touchmove\",this._onTouchMove),z(document,\"pointermove\",this._onTouchMove),z(document,\"dragover\",dt),z(document,\"mousemove\",dt),z(document,\"touchmove\",dt)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,\"mouseup\",this._onDrop),z(e,\"touchend\",this._onDrop),z(e,\"pointerup\",this._onDrop),z(e,\"touchcancel\",this._onDrop),z(document,\"selectstart\",this)},_onDrop:function(e){var t=this.el,o=this.options;xe=se(we),Se=se(we,o.draggable),ge(\"drop\",this,{evt:e}),be=we&&we.parentNode,xe=se(we),Se=se(we,o.draggable),rt.eventCanceled?this._nulling():(Re=!1,Je=!1,Ye=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ft(this.cloneId),ft(this._dragStartId),this.nativeDraggable&&(z(document,\"drop\",this),z(t,\"dragstart\",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),N&&K(document.body,\"user-select\",\"\"),K(we,\"transform\",\"\"),e&&(Fe&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(Qe===be||Pe&&\"clone\"!==Pe.lastPutMode)&&ke&&ke.parentNode&&ke.parentNode.removeChild(ke),we&&(this.nativeDraggable&&z(we,\"dragend\",this),ut(we),we.style[\"will-change\"]=\"\",Fe&&!Re&&G(we,Pe?Pe.options.ghostClass:this.options.ghostClass,!1),G(we,this.options.chosenClass,!1),ye({sortable:this,name:\"unchoose\",toEl:be,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qe!==be?(xe>=0&&(ye({rootEl:be,name:\"add\",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:\"remove\",toEl:be,originalEvent:e}),ye({rootEl:be,name:\"sort\",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:\"sort\",toEl:be,originalEvent:e})),Pe&&Pe.save()):xe!==Le&&xe>=0&&(ye({sortable:this,name:\"update\",toEl:be,originalEvent:e}),ye({sortable:this,name:\"sort\",toEl:be,originalEvent:e})),rt.active&&(null!=xe&&-1!==xe||(xe=Le,Se=Be),ye({sortable:this,name:\"end\",toEl:be,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ge(\"nulling\",this),Qe=we=be=je=_e=ke=Ce=De=Ee=Oe=Fe=xe=Se=Le=Be=We=Ue=Pe=Ae=rt.dragged=rt.ghost=rt.clone=rt.active=null,Ve.forEach((function(e){e.checked=!0})),Ve.length=Te=Ie=0},handleEvent:function(e){switch(e.type){case\"drop\":case\"dragend\":this._onDrop(e);break;case\"dragenter\":case\"dragover\":we&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect=\"move\");e.cancelable&&e.preventDefault()}(e));break;case\"selectstart\":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,s=o.length,n=this.options;i<s;i++)X(e=o[i],n.draggable,this.el,!1)&&t.push(e.getAttribute(n.dataIdAttr)||pt(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var s=o.children[i];X(s,this.options.draggable,o,!1)&&(t[e]=s)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return X(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=fe.modifyOption(this,e,t);o[e]=void 0!==i?i:t,\"group\"===e&&st(o)},destroy:function(){ge(\"destroy\",this);var e=this.el;e[ue]=null,z(e,\"mousedown\",this._onTapStart),z(e,\"touchstart\",this._onTapStart),z(e,\"pointerdown\",this._onTapStart),this.nativeDraggable&&(z(e,\"dragover\",this),z(e,\"dragenter\",this)),Array.prototype.forEach.call(e.querySelectorAll(\"[draggable]\"),(function(e){e.removeAttribute(\"draggable\")})),this._onDrop(),this._disableDelayedDragEvents(),Xe.splice(Xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!De){if(ge(\"hideClone\",this),rt.eventCanceled)return;K(ke,\"display\",\"none\"),this.options.removeCloneOnHide&&ke.parentNode&&ke.parentNode.removeChild(ke),De=!0}},_showClone:function(e){if(\"clone\"===e.lastPutMode){if(De){if(ge(\"showClone\",this),rt.eventCanceled)return;Qe.contains(we)&&!this.options.group.revertClone?Qe.insertBefore(ke,we):_e?Qe.insertBefore(ke,_e):Qe.appendChild(ke),this.options.group.revertClone&&this.animate(we,ke),K(ke,\"display\",\"\"),De=!1}}else this._hideClone()}},$e&&H(document,\"touchmove\",(function(e){(rt.active||Re)&&e.cancelable&&e.preventDefault()})),rt.utils={on:H,off:z,css:K,find:$,is:function(e,t){return!!X(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:X,toggleClass:G,clone:ce,index:se,nextTick:ht,cancelNextTick:ft,detectDirection:it,getChild:oe},rt.get=function(e){return e[ue]},rt.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw\"Sortable: Mounted plugin must be a constructor function, not \".concat({}.toString.call(e));e.utils&&(rt.utils=P({},rt.utils,e.utils)),fe.mount(e)}))},rt.create=function(e,t){return new rt(e,t)},rt.version=\"1.10.2\";var vt,gt,yt,wt,bt,jt,Qt=[],_t=!1;function Ct(){Qt.forEach((function(e){clearInterval(e.pid)})),Qt=[]}function kt(){clearInterval(jt)}var Dt=le((function(e,t,o,i){if(t.scroll){var s,n=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=Z(),c=!1;gt!==o&&(gt=o,Ct(),vt=t.scroll,s=t.scrollFn,!0===vt&&(vt=ae(o,!0)));var u=0,m=vt;do{var p=m,h=ee(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=K(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX||\"visible\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY||\"visible\"===k.overflowY)):(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY));var x=j&&(Math.abs(y-n)<=d&&D+w<_)-(Math.abs(g-n)<=d&&!!D),B=Q&&(Math.abs(v-a)<=d&&L+b<C)-(Math.abs(f-a)<=d&&!!L);if(!Qt[u])for(var S=0;S<=u;S++)Qt[S]||(Qt[S]={});Qt[u].vx==x&&Qt[u].vy==B&&Qt[u].el===p||(Qt[u].el=p,Qt[u].vx=x,Qt[u].vy=B,clearInterval(Qt[u].pid),0==x&&0==B||(c=!0,Qt[u].pid=setInterval(function(){i&&0===this.layer&&rt.active._onTouchMove(bt);var t=Qt[this.layer].vy?Qt[this.layer].vy*l:0,o=Qt[this.layer].vx?Qt[this.layer].vx*l:0;\"function\"==typeof s&&\"continue\"!==s.call(rt.dragged.parentNode[ue],o,t,e,bt,Qt[this.layer].el)||re(Qt[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=ae(m,!1)));_t=c}}),30),Lt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,s=e.activeSortable,n=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||s;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(n(\"spill\"),this.onSpill({dragEl:i,putSortable:o}))}};function xt(){}function Bt(){}xt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=oe(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:Lt},A(xt,{pluginName:\"revertOnSpill\"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:Lt},A(Bt,{pluginName:\"removeOnSpill\"});rt.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)\"_\"===e.charAt(0)&&\"function\"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?H(document,\"dragover\",this._handleAutoScroll):this.options.supportPointer?H(document,\"pointermove\",this._handleFallbackAutoScroll):t.touches?H(document,\"touchmove\",this._handleFallbackAutoScroll):H(document,\"mousemove\",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?z(document,\"dragover\",this._handleAutoScroll):(z(document,\"pointermove\",this._handleFallbackAutoScroll),z(document,\"touchmove\",this._handleFallbackAutoScroll),z(document,\"mousemove\",this._handleFallbackAutoScroll)),kt(),Ct(),clearTimeout(Y),Y=void 0},nulling:function(){bt=gt=vt=_t=jt=yt=wt=null,Qt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,n=document.elementFromPoint(i,s);if(bt=e,t||I||T||N){Dt(e,this.options,n,t);var a=ae(n,!0);!_t||jt&&i===yt&&s===wt||(jt&&kt(),jt=setInterval((function(){var n=ae(document.elementFromPoint(i,s),!0);n!==a&&(a=n,Ct()),Dt(e,o.options,n,t)}),10),yt=i,wt=s)}else{if(!this.options.bubbleScroll||ae(n,!0)===Z())return void Ct();Dt(e,this.options,ae(n,!1),!1)}}},A(e,{pluginName:\"scroll\",initializeByDefault:!0})}),rt.mount(Bt,xt);var St=rt;window.onerror=function(e,t,o,i){Mt(e,t,o,i)},jQuery(document).on(\"click\",\".dslca-show-js-error-hook\",(function(e){e.preventDefault();var t=document.getElementById(\"dslca-js-errors-report\");jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||i({title:'<a href=\"https://livecomposerplugin.com/support/\" target=\"_blank\"><span class=\"dslca-icon dslc-icon-comment\"></span> &nbsp; Get Support Info</a>',content:'<span class=\"dslca-error-report\">'+t.value+\"</span>\"})})),jQuery(document).ready((function(e){var t,o;jQuery(\"#page-builder-frame\")[0].contentWindow.onerror=function(e,t,o,i){Mt(e,t,o,i)},t=document.getElementById(\"dslca-js-errors-report\"),null!==(o=localStorage.getItem(\"js_errors_report\"))&&(o.includes(\"lc-extensions\")||o.includes(\"page-builder\"))&&(t.value=o,localStorage.removeItem(\"js_errors_report\"),document.querySelector(\".dslca-show-js-error-hook\").setAttribute(\"style\",\"visibility:visible\")),jQuery(\"body\").addClass(\"dslca-enabled dslca-drag-not-in-progress\"),jQuery(\".dslca-invisible-overlay\").hide(),jQuery(\".dslca-section\").eq(0).show()})),jQuery(document).on(\"click\",\".dslca-currently-editing\",(function(){var e=!1,t=!1;if(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#5890e5\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#eabba9\"),e){(t=e.offset().top-100)<0&&(t=0);jQuery(\"html, body\",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr(\"style\")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on(\"click\",\".dslca-hide-composer-hook\",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log(\"dslc_hide_composer\");jQuery(\".dslca-hide-composer-hook\").hide(),jQuery(\".dslca-show-composer-hook\").show(),jQuery(\"body\").addClass(\"dslca-composer-hidden\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(\".dslca-container\").css({bottom:-1*jQuery(\".dslca-container\").outerHeight()}),jQuery(\".dslca-header\").hide()}()})),jQuery(document).on(\"click\",\".dslca-show-composer-hook\",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log(\"dslc_show_composer\");jQuery(\".dslca-show-composer-hook\").hide(),jQuery(\".dslca-hide-composer-hook\").show(),jQuery(\"body\").removeClass(\"dslca-composer-hidden\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(\".dslca-container\").css({bottom:0}),jQuery(\".dslca-header\").show()}()})),jQuery(document).on(\"click\",\".dslca-go-to-modules-hook\",(function(e){e.preventDefault(),Pt(\".dslca-modules\")})),jQuery(document).on(\"click\",\".dslca-go-to-section-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-active\")){var t=jQuery(this).data(\"section\");Pt(t),(jQuery(this).hasClass(\"dslca-go-to-section-modules\")||jQuery(this).hasClass(\"dslca-go-to-section-templates\"))&&jQuery(this).addClass(\"dslca-active\").siblings(\".dslca-go-to-section-hook\").removeClass(\"dslca-active\")}})),jQuery(document).on(\"click\",\".dslca-close-composer-hook\",(function(e){e.preventDefault();var t=jQuery(this).attr(\"href\");!jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")&&jQuery(\".dslca-save-composer\").is(\":visible\")?i({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on(\"click\",\".dslca-submit\",(function(){jQuery(this).closest(\"form\").submit()})),jQuery(document).on(\"click\",\".dslca-section-title\",(function(e){e.stopPropagation(),jQuery(\".dslca-section-title-filter\",this).length&&(!function(){window.dslcDebug&&console.log(\"dslc_generate_filters\");var e,t=[],o='<a html=\"#\" data-origin=\"\">Show All</a>';jQuery(\".dslca-section:visible .dslca-origin\").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data(\"origin\"),t)&&(t.push(e.data(\"origin\")),o+='<a href=\"#\" data-origin=\"'+e.data(\"origin\")+'\">'+e.data(\"origin\")+\"</a>\")})),jQuery(\".dslca-section:visible .dslca-section-title-filter-options\").html(o).css(\"background\",jQuery(\".dslca-section:visible\").data(\"bg\"))}(),jQuery(\".dslca-section-title-filter-options\").slideToggle(300))})),jQuery(document).on(\"click\",\".dslca-section-title-filter-options a\",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data(\"origin\"),o=jQuery(this).closest(\".dslca-section\");o.hasClass(\"dslca-templates-load\"),jQuery(\".dslca-section-title-filter-curr\",o).text(jQuery(this).text()),jQuery(\".dslca-section-scroller-inner\").css({left:0}),function(e,t){window.dslcDebug&&console.log(\"dslc_filter_origin\");jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"false\"),jQuery('.dslca-origin[data-origin=\"'+e+'\"]',t).attr(\"data-display-module\",\"true\"),\"\"==e&&(jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"true\"),jQuery(\".dslca-origin.dslca-exclude\",t).attr(\"data-display-module\",\"false\"))}(t,o),jQuery(\".dslca-section-title-filter-options\").slideToggle(300)})),window.dslc_show_publish_button=function(){window.dslcDebug&&console.log(\"dslc_show_publish_button\"),jQuery(\".dslca-save-composer\").show().addClass(\"dslca-init-animation\"),jQuery(\".dslca-save-draft-composer\").show().addClass(\"dslca-init-animation\")};const At=()=>{window.dslcDebug&&console.log(\"hidePublishButton\"),jQuery(\".dslca-save-composer\").hide(),jQuery(\".dslca-save-draft-composer\").hide()},Pt=e=>{window.dslcDebug&&console.log(\"showSection\");jQuery(e).data(\"title\"),jQuery(e).data(\"bg\");jQuery(\".dslca-container\").css({bottom:-500}),jQuery(\".dslca-section\").hide(),jQuery(e).show(),\".dslca-module-edit\"==e?jQuery(\".dslca-currently-editing\").show().find(\"strong\").text(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).attr(\"title\")+\" element\"):\".dslca-modules-section-edit\"==e?jQuery(\".dslca-currently-editing\").show().css(\"background-color\",\"#e5855f\").find(\"strong\").text(\"Row\"):jQuery(\".dslca-currently-editing\").hide().find(\"strong\").text(\"\"),j(),jQuery(\".dslca-container\").css({bottom:0}),jQuery(e).find(\"input.dslca-module-edit-field-colorpicker\").each((function(e){jQuery(this).css(\"background\",jQuery(this).val())}))};function Et(e){if(void 0===e&&(e=!1),e){var t=jQuery(\".dslca-module-edit-option-\"+e),o=t.find(\".dslca-module-edit-field\"),i=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument)[0].id,s=\"\";\"tablet_responsive\"===t.data(\"tab\")?s=\"body.dslc-res-tablet \":\"phone_responsive\"===t.data(\"tab\")&&(s=\"body.dslc-res-phone \");var n=o.data(\"affect-on-change-el\");if(void 0!==n){var a=n.split(\",\");n=\"\";for(var d=0;d<a.length;d++)d>0&&(n+=\", \"),n+=s+\"#\"+i+\" \"+a[d];var l,r=o.data(\"affect-on-change-rule\").replace(/ /g,\"\").split(\",\"),c=o.data(\"ext\");if(t.toggleClass(\"dslca-option-off\"),t.hasClass(\"dslca-option-off\")){l=Tt(e),o.data(\"val-bckp\",l);for(d=0;d<r.length;d++)jQuery(n,LiveComposer.Builder.PreviewAreaDocument).css(r[d],\"\"),Ot(n,r[d],i);o.val(\"\").trigger(\"change\")}else{o.val(o.data(\"val-bckp\")).trigger(\"change\"),l=function(e,t){if(\"\"===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=Tt(e),c||\"\");for(d=0;d<r.length;d++){var u=n+\"{\"+r[d]+\": \"+l+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:n.replace(new RegExp(\"#\"+i,\"gi\"),\"\").trim(),styleContent:u})}}}}}function Ot(e,t,o){var i,s=\"css-for-\"+o,n=document.getElementById(\"page-builder-frame\").contentWindow.document.getElementById(s);if(e=e.replace(/\\s\\s+/g,\" \"),n){(n=n.sheet).rules?i=\"rules\":n.cssRules&&(i=\"cssRules\");for(var a=0;a<n[i].length;a++)if(n[i][a].selectorText==e&&n[i][a].style[t]){n[i][a].style[t]=\"\";break}}}function Tt(e){return jQuery(\".dslca-module-edit-option-\"+e).find(\".dslca-module-edit-field\").val()}jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-option .dslc-control-toggle\",(function(e){e.preventDefault(),Et(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))})),jQuery(document).on(\"mousedown\",\".dslca-module-edit-option\",(function(e){var t=jQuery(\".dslc-control-toggle\");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(\".dslca-module-edit-option\").hasClass(\"dslca-option-off\")&&Et(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))}))}));const It=()=>{jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keydown\").bind(\"keydown\",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!(\"INPUT\"===o.tagName.toUpperCase()&&(\"TEXT\"===o.type.toUpperCase()||\"PASSWORD\"===o.type.toUpperCase()||\"NUMBER\"===o.type.toUpperCase()||\"FILE\"===o.type.toUpperCase())||\"TEXTAREA\"===o.tagName.toUpperCase()||jQuery(o).hasClass(\"dslca-editable-content\")||jQuery(o).hasClass(\"dslc-tabs-nav-hook-title\")||jQuery(o).hasClass(\"dslc-accordion-title\"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(\".dslca-save-composer-hook\").offsetParent&&null===jQuery(\".dslca-module-edit-save\").offsetParent||(t.preventDefault(),i({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&\"block\"==jQuery(\".dslca-save-composer-hook\").css(\"display\"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.add(\"key-press-cmd\")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keyup\").bind(\"keyup\",(function(e){\"Meta\"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.remove(\"key-press-cmd\")}))};function Mt(e,t,o,i){var s=\"JavaScript error detected in a third-party plugin\";null!=t.match(\"wp-content/plugins/live-composer-page-builder/js\")&&(s=\"Live Composer returned JS error\");var n=\"\";n+='<br /><strong style=\"color:#E55F5F;\">'+s+\"</strong><br />\",n+=e+'<br /> File \"'+t+'\", line '+o+\", char \"+i+\"<br />\",\"undefined\"!=typeof Storage&&localStorage.setItem(\"js_errors_report\",n)}jQuery(document).on(\"editorFrameLoaded\",(function(){jQuery;var e=jQuery(\"div[data-hf]\",LiveComposer.Builder.PreviewAreaDocument),t=\"\";e.each((function(e,o){var i=jQuery(o).data(\"editing-link\"),s=(jQuery(o).data(\"editing-type\"),jQuery(o).data(\"editing-label\")),n=jQuery(o).data(\"editing-sublabel\");t+='<div class=\"dslc-hf-block-overlay\"><a target=\"_blank\" href=\"'+i+'\" class=\"dslc-hf-block-overlay-button dslca-link\">'+s+\"</a>\",void 0!==n&&(t+=' <span class=\"dslc-hf-block-overlay-text\">'+n+\"</span>\"),t+=\"</div>\";var a=document.createElement(\"div\");a.innerHTML=t,o.append(a)}))}));var Nt={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},Ft={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},Wt=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\"],Ut={CSS:{},springs:{}};function Ht(e,t,o){return Math.min(Math.max(e,t),o)}function zt(e,t){return e.indexOf(t)>-1}function Rt(e,t){return e.apply(null,t)}var qt={arr:function(e){return Array.isArray(e)},obj:function(e){return zt(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return qt.obj(e)&&e.hasOwnProperty(\"totalLength\")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||qt.svg(e)},str:function(e){return\"string\"==typeof e},fnc:function(e){return\"function\"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return qt.hex(e)||qt.rgb(e)||qt.hsl(e)},key:function(e){return!Nt.hasOwnProperty(e)&&!Ft.hasOwnProperty(e)&&\"targets\"!==e&&\"keyframes\"!==e}};function Xt(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map((function(e){return parseFloat(e)})):[]}function Yt(e,t){var o=Xt(e),i=Ht(qt.und(o[0])?1:o[0],.1,100),s=Ht(qt.und(o[1])?100:o[1],.1,100),n=Ht(qt.und(o[2])?10:o[2],.1,100),a=Ht(qt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(s/i),l=n/(2*Math.sqrt(s*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=l<1?(l*d-a)/r:-a+d;function u(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(1*Math.cos(r*o)+c*Math.sin(r*o)):(1+c*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?u:function(){var t=Ut.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===u(o+=1/6)){if(++i>=16)break}else i=0;var s=o*(1/6)*1e3;return Ut.springs[e]=s,s}}function Jt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Gt,Kt,Vt=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function o(e){return 3*e}function i(i,s,n){return((e(s,n)*i+t(s,n))*i+o(s))*i}function s(i,s,n){return 3*e(s,n)*i*i+2*t(s,n)*i+o(s)}return function(e,t,o,n){if(0<=e&&e<=1&&0<=o&&o<=1){var a=new Float32Array(11);if(e!==t||o!==n)for(var d=0;d<11;++d)a[d]=i(.1*d,e,o);return function(s){return e===t&&o===n?s:0===s||1===s?s:i(l(s),t,n)}}function l(t){for(var n=0,d=1;10!==d&&a[d]<=t;++d)n+=.1;--d;var l=n+.1*((t-a[d])/(a[d+1]-a[d])),r=s(l,e,o);return r>=.001?function(e,t,o,n){for(var a=0;a<4;++a){var d=s(t,o,n);if(0===d)return t;t-=(i(t,o,n)-e)/d}return t}(t,l,e,o):0===r?l:function(e,t,o,s,n){var a,d,l=0;do{(a=i(d=t+(o-t)/2,s,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(t,n,n+.1,e,o)}}}(),$t=(Gt={linear:function(){return function(e){return e}}},Kt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Ht(e,1,10),i=Ht(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},[\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"].forEach((function(e,t){Kt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Kt).forEach((function(e){var t=Kt[e];Gt[\"easeIn\"+e]=t,Gt[\"easeOut\"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Gt[\"easeInOut\"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Gt);function Zt(e,t){if(qt.fnc(e))return e;var o=e.split(\"(\")[0],i=$t[o],s=Xt(e);switch(o){case\"spring\":return Yt(e,t);case\"cubicBezier\":return Rt(Vt,s);case\"steps\":return Rt(Jt,s);default:return Rt(i,s)}}function eo(e){try{return document.querySelectorAll(e)}catch(e){return}}function to(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,s=[],n=0;n<o;n++)if(n in e){var a=e[n];t.call(i,a,n,e)&&s.push(a)}return s}function oo(e){return e.reduce((function(e,t){return e.concat(qt.arr(t)?oo(t):t)}),[])}function io(e){return qt.arr(e)?e:(qt.str(e)&&(e=eo(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function no(e){var t={};for(var o in e)t[o]=e[o];return t}function ao(e,t){var o=no(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=no(e);for(var i in t)o[i]=qt.und(e[i])?t[i]:e[i];return o}function ro(e){return qt.rgb(e)?(o=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(t=e))?\"rgba(\"+o[1]+\",1)\":t:qt.hex(e)?function(e){var t=e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(t);return\"rgba(\"+parseInt(o[1],16)+\",\"+parseInt(o[2],16)+\",\"+parseInt(o[3],16)+\",1)\"}(e):qt.hsl(e)?function(e){var t,o,i,s=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(e)||/hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(e),n=parseInt(s[1],10)/360,a=parseInt(s[2],10)/100,d=parseInt(s[3],10)/100,l=s[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,n+1/3),o=r(u,c,n),i=r(u,c,n-1/3)}return\"rgba(\"+255*t+\",\"+255*o+\",\"+255*i+\",\"+l+\")\"}(e):void 0;var t,o}function co(e){var t=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function uo(e,t){return qt.fnc(e)?e(t.target,t.id,t.total):e}function mo(e,t){return e.getAttribute(t)}function po(e,t,o){if(so([o,\"deg\",\"rad\",\"turn\"],co(t)))return t;var i=Ut.CSS[t+o];if(!qt.und(i))return i;var s=document.createElement(e.tagName),n=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;n.appendChild(s),s.style.position=\"absolute\",s.style.width=100+o;var a=100/s.offsetWidth;n.removeChild(s);var d=a*parseFloat(t);return Ut.CSS[t+o]=d,d}function ho(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),s=e.style[t]||getComputedStyle(e).getPropertyValue(i)||\"0\";return o?po(e,s,o):s}}function fo(e,t){return qt.dom(e)&&!qt.inp(e)&&(mo(e,t)||qt.svg(e)&&e[t])?\"attribute\":qt.dom(e)&&so(Wt,t)?\"transform\":qt.dom(e)&&\"transform\"!==t&&ho(e,t)?\"css\":null!=e[t]?\"object\":void 0}function vo(e){if(qt.dom(e)){for(var t,o=e.style.transform||\"\",i=/(\\w+)\\(([^)]*)\\)/g,s=new Map;t=i.exec(o);)s.set(t[1],t[2]);return s}}function go(e,t,o,i){var s=zt(t,\"scale\")?1:0+function(e){return zt(e,\"translate\")||\"perspective\"===e?\"px\":zt(e,\"rotate\")||zt(e,\"skew\")?\"deg\":void 0}(t),n=vo(e).get(t)||s;return o&&(o.transforms.list.set(t,n),o.transforms.last=t),i?po(e,n,i):n}function yo(e,t,o,i){switch(fo(e,t)){case\"transform\":return go(e,t,i,o);case\"css\":return ho(e,t,o);case\"attribute\":return mo(e,t);default:return e[t]||0}}function wo(e,t){var o=/^(\\*=|\\+=|-=)/.exec(e);if(!o)return e;var i=co(e)||0,s=parseFloat(t),n=parseFloat(e.replace(o[0],\"\"));switch(o[0][0]){case\"+\":return s+n+i;case\"-\":return s-n+i;case\"*\":return s*n+i}}function bo(e,t){if(qt.col(e))return ro(e);if(/\\s/g.test(e))return e;var o=co(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function jo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Qo(e){for(var t,o=e.points,i=0,s=0;s<o.numberOfItems;s++){var n=o.getItem(s);s>0&&(i+=jo(t,n)),t=n}return i}function _o(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return function(e){return 2*Math.PI*mo(e,\"r\")}(e);case\"rect\":return function(e){return 2*mo(e,\"width\")+2*mo(e,\"height\")}(e);case\"line\":return function(e){return jo({x:mo(e,\"x1\"),y:mo(e,\"y1\")},{x:mo(e,\"x2\"),y:mo(e,\"y2\")})}(e);case\"polyline\":return Qo(e);case\"polygon\":return function(e){var t=e.points;return Qo(e)+jo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Co(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;qt.svg(t)&&qt.svg(t.parentNode);)t=t.parentNode;return t}(e),s=i.getBoundingClientRect(),n=mo(i,\"viewBox\"),a=s.width,d=s.height,l=o.viewBox||(n?n.split(\" \"):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function ko(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=Co(e.el,e.svg),s=o(),n=o(-1),a=o(1);switch(e.property){case\"x\":return(s.x-i.x)*i.w;case\"y\":return(s.y-i.y)*i.h;case\"angle\":return 180*Math.atan2(a.y-n.y,a.x-n.x)/Math.PI}}function Do(e,t){var o=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g,i=bo(qt.pth(e)?e.totalLength:e,t)+\"\";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:qt.str(e)||t?i.split(o):[]}}function Lo(e){return to(e?oo(qt.arr(e)?e.map(io):io(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function xo(e){var t=Lo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:vo(e)}}}))}function Bo(e,t){var o=no(t);if(/^spring/.test(o.easing)&&(o.duration=Yt(o.easing)),qt.arr(e)){var i=e.length;2===i&&!qt.obj(e[0])?e={value:e}:qt.fnc(t.duration)||(o.duration=t.duration/i)}var s=qt.arr(e)?e:[e];return s.map((function(e,o){var i=qt.obj(e)&&!qt.pth(e)?e:{value:e};return qt.und(i.delay)&&(i.delay=o?0:t.delay),qt.und(i.endDelay)&&(i.endDelay=o===s.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function So(e,t){var o=[],i=t.keyframes;for(var s in i&&(t=lo(function(e){for(var t=to(oo(e.map((function(e){return Object.keys(e)}))),(function(e){return qt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var s=t[i];o[s]=e.map((function(e){var t={};for(var o in e)qt.key(o)?o==s&&(t.value=e[o]):t[o]=e[o];return t}))},s=0;s<t.length;s++)i(s);return o}(i),t)),t)qt.key(s)&&o.push({name:s,tweens:Bo(t[s],e)});return o}function Ao(e,t){var o;return e.tweens.map((function(i){var s=function(e,t){var o={};for(var i in e){var s=uo(e[i],t);qt.arr(s)&&1===(s=s.map((function(e){return uo(e,t)}))).length&&(s=s[0]),o[i]=s}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),n=s.value,a=qt.arr(n)?n[1]:n,d=co(a),l=yo(t.target,e.name,d,t),r=o?o.to.original:l,c=qt.arr(n)?n[0]:r,u=co(c)||co(l),m=d||u;return qt.und(a)&&(a=r),s.from=Do(c,m),s.to=Do(wo(a,c),m),s.start=o?o.end:0,s.end=s.start+s.delay+s.duration+s.endDelay,s.easing=Zt(s.easing,s.duration),s.isPath=qt.pth(n),s.isColor=qt.col(s.from.original),s.isColor&&(s.round=1),o=s,s}))}var Po={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,s){if(i.list.set(t,o),t===i.last||s){var n=\"\";i.list.forEach((function(e,t){n+=t+\"(\"+e+\") \"})),e.style.transform=n}}};function Eo(e,t){xo(e).forEach((function(e){for(var o in t){var i=uo(t[o],e),s=e.target,n=co(i),a=yo(s,o,n,e),d=wo(bo(i,n||co(a)),a),l=fo(s,o);Po[l](s,o,d,e.transforms,!0)}}))}function Oo(e,t){return to(oo(e.map((function(e){return t.map((function(t){return function(e,t){var o=fo(e.target,t.name);if(o){var i=Ao(t,e),s=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:s.end,delay:i[0].delay,endDelay:s.endDelay}}}(e,t)}))}))),(function(e){return!qt.und(e)}))}function To(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},s={};return s.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,s.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,s.endDelay=o?s.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,s}var Io=0;var Mo,No=[],Fo=[],Wo=function(){function e(){Mo=requestAnimationFrame(t)}function t(t){var o=No.length;if(o){for(var i=0;i<o;){var s=No[i];if(s.paused){var n=No.indexOf(s);n>-1&&(No.splice(n,1),o=No.length)}else s.tick(t);i++}e()}else Mo=cancelAnimationFrame(Mo)}return e}();function Uo(e){void 0===e&&(e={});var t,o=0,i=0,s=0,n=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ao(Nt,e),o=ao(Ft,e),i=So(o,e),s=xo(e.targets),n=Oo(s,i),a=To(n,o),d=Io;return Io++,lo(t,{id:d,children:[],animatables:s,animations:n,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;\"alternate\"!==e&&(l.direction=\"normal\"!==e?\"normal\":\"reverse\"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Uo.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var s=o[t],n=s.animatable,a=s.tweens,d=a.length-1,r=a[d];d&&(r=to(a,(function(t){return e<t.end}))[0]||r);for(var c=Ht(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],f=r.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?ko(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+\" \")}}else v=h[0];Po[s.type](n.target,s.property,v,n.transforms),s.currentValue=v,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function f(e){var u=l.duration,f=l.delay,v=u-l.endDelay,g=c(e);l.progress=Ht(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=n;o--;)m(e,t[o]);else for(var i=0;i<n;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h(\"begin\")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h(\"loopBegin\")),g<=f&&0!==l.currentTime&&p(0),(g>=v&&l.currentTime!==u||!u)&&p(u),g>f&&g<v?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h(\"changeBegin\")),h(\"change\"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h(\"changeComplete\")),l.currentTime=Ht(g,0,u),l.began&&h(\"update\"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=s,h(\"loopComplete\"),l.loopBegan=!1,\"alternate\"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h(\"loopComplete\"),h(\"complete\"),!l.passThrough&&\"Promise\"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=\"reverse\"===e,l.remaining=l.loop,t=l.children;for(var o=n=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||\"alternate\"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Eo(e,t),l},l.tick=function(e){s=e,o||(o=s),f((s+(i-o))*Uo.speed)},l.seek=function(e){f(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,No.push(l),u(),Mo||Wo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Ho(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}\"undefined\"!=typeof document&&document.addEventListener(\"visibilitychange\",(function(){document.hidden?(No.forEach((function(e){return e.pause()})),Fo=No.slice(0),Uo.running=No=[]):Fo.forEach((function(e){return e.play()}))})),Uo.version=\"3.1.0\",Uo.speed=1,Uo.running=No,Uo.remove=function(e){for(var t=Lo(e),o=No.length;o--;){var i=No[o],s=i.animations,n=i.children;Ho(t,s);for(var a=n.length;a--;){var d=n[a],l=d.animations;Ho(t,l),l.length||d.children.length||n.splice(a,1)}s.length||n.length||i.pause()}},Uo.get=yo,Uo.set=Eo,Uo.convertPx=po,Uo.path=function(e,t){var o=qt.str(e)?eo(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:Co(o),totalLength:_o(o)*(i/100)}}},Uo.setDashoffset=function(e){var t=_o(e);return e.setAttribute(\"stroke-dasharray\",t),t},Uo.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||\"normal\",i=t.easing?Zt(t.easing):null,s=t.grid,n=t.axis,a=t.from||0,d=\"first\"===a,l=\"center\"===a,r=\"last\"===a,c=qt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=co(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!f.length){for(var y=0;y<g;y++){if(s){var w=l?(s[0]-1)/2:a%s[0],b=l?(s[1]-1)/2:Math.floor(a/s[0]),j=w-y%s[0],Q=b-Math.floor(y/s[0]),_=Math.sqrt(j*j+Q*Q);\"x\"===n&&(_=-j),\"y\"===n&&(_=-Q),f.push(_)}else f.push(Math.abs(a-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),\"reverse\"===o&&(f=f.map((function(e){return n?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Uo.timeline=function(e){void 0===e&&(e={});var t=Uo(e);return t.duration=0,t.add=function(o,i){var s=No.indexOf(t),n=t.children;function a(e){e.passThrough=!0}s>-1&&No.splice(s,1);for(var d=0;d<n.length;d++)a(n[d]);var l=lo(o,ao(Ft,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=qt.und(i)?r:wo(i,r),a(t),t.seek(l.timelineOffset);var c=Uo(l);a(c),n.push(c);var u=To(n,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Uo.easing=Zt,Uo.penner=$t,Uo.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var zo=Uo,Ro=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener(\"moduleDuplicate\",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains(\"dslca-action-disabled\")||Yo(t.closest(\".dslc-module-front\"))})),document.addEventListener(\"moduleDelete\",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains(\"dslca-action-disabled\")||i({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log(\"dslc_delete_module\");Pt(\".dslca-modules\"),zo({targets:e,easing:\"easeOutExpo\",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(\".dslc-module-front\"))}})})),document.addEventListener(\"moduleEdit\",(function(e){const t=e.detail.closest(\".dslc-module-front\"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\"),s=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||s>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add(\"dslca-module-being-edited\"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add(\"module-editing-in-progress\")})),document.addEventListener(\"copyModuleStyles\",(function(e){let t=e.detail.closest(\".dslc-module-front\").querySelector(\".dslca-module-code\").innerText;localStorage.setItem(\"lcCopyPasteStorage\",t)})),document.addEventListener(\"pasteModuleStyles\",(function(e){const t=e.detail.closest(\".dslc-module-front\"),o=jQuery(t),i=localStorage.getItem(\"lcCopyPasteStorage\");let s=!1;if(i)try{s=JSON.parse(i)}catch(e){console.log(\"Can't parse copy/paste string into JSON:\"),console.log(e)}if(s&&s.module_id===t.dataset.module){const e=t.querySelector(\".dslca-module-code\").innerText;let i=!1;try{i=JSON.parse(e)}catch(e){console.log(\"Can't parse current module code into JSON:\"),console.log(e)}if(i){let e=!1;for(let t in s)t.includes(\"css_\")&&(i[t]=s[t],e=!0);for(let t in i)t.includes(\"css_\")&&(i[t]!==s[t]&&(i[t]=\"\"),e=!0);e&&(i.action=\"dslc-ajax-add-module\",i.dslc=\"active\",i.dslc_module_id=i.module_id,i.dslc_module_instance_id=i.module_instance_id,i.dslc_post_id=i.post_id,o.hasClass(\"dslca-preload-preset\")?i.dslc_preload_preset=\"enabled\":i.dslc_preload_preset=\"disabled\",o.removeClass(\"dslca-preload-preset\"),i.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,i,(function(e){e&&(o.after(e.output).next().addClass(\"dslca-module-being-edited\"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"))})))}}}));document.addEventListener(\"moduleChangeWidth\",(function(e){const t=e.detail,o=t.closest(\".dslc-module-front\");if(!t.classList.contains(\"dslca-action-disabled\")){var i=o.dataset.dslcModuleSize,s=t.dataset.size;Number(i)!==Number(s)&&function(e,t){window.dslcDebug&&console.log(\"dslc_module_width_set\");var o=\"dslc-\"+t+\"-col\";jQuery(e).removeClass(\"dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col\").addClass(o).data(\"dslc-module-size\",t),e.setAttribute(\"data-dslc-module-size\",t),LiveComposer.Utils.update_module_property_raw(e,\"dslc_m_size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,s)}})),document.addEventListener(\"wysiwygEdit\",(function(e){const t=e.detail,o=t.closest(\".dslc-module-front\"),i=t.dataset.idToEdit,s=o.querySelector('[data-edit-id=\"'+i+'\"]');let n=\"\";if(n=\"TEXTAREA\"===s.tagName||\"INPUT\"===s.tagName?s.value:s.innerHTML,void 0===n&&(n=\"\"),n.trim().length&&(n=n.replace(/<lctextarea/g,\"<textarea\").replace(/<\\/lctextarea/g,\"</textarea\")),n.includes(\"%\")&&(n=n.replace(/%\\(\\(%/g,\"[\"),n=n.replace(/%\\)\\)%/g,\"]\"),n=n.replace(/%\\(%/g,\"[\"),n=n.replace(/%\\)%/g,\"]\"),n=n.replace(/%\\{%/g,\"[\"),n=n.replace(/%\\}%/g,\"]\")),n=n.trim(),\"undefined\"!=typeof tinymce){var a=tinymce.get(\"dslcawpeditor\");document.getElementById(\"wp-dslcawpeditor-wrap\").classList.contains(\"tmce-active\")?a.setContent(n,{format:\"html\"}):document.getElementById(\"dslcawpeditor\").value=n,o.classList.contains(\"dslca-module-being-edited\")||o.querySelector(\".dslca-module-edit-hook\").click(),jQuery(\".dslca-wp-editor\").show(),s.classList.add(\"dslca-wysiwyg-active\"),jQuery(\"#dslcawpeditor_ifr, #dslcawpeditor\").css({height:jQuery(\".dslca-wp-editor\").height()-300})}else console.info(\"Live Composer: TinyMCE is undefined.\")}));const qo=()=>{LiveComposer.Builder.PreviewAreaDocument.on(\"blur\",\".dslca-editable-content\",(function(){LiveComposer.Builder.Flags.uiHidden||\"simple\"!=jQuery(this).data(\"type\")||l(jQuery(this))})).on(\"paste\",\".dslca-editable-content:not(.inline-editor)\",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&\"simple\"==jQuery(this).data(\"type\")){var e=jQuery(this);setTimeout((function(){\"simple\"==e.data(\"type\")&&e.html(e.text()),l(e)}),100)}})).on(\"focus\",\".dslca-editable-content\",(function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")&&jQuery(this).trigger(\"blur\")})).on(\"keyup\",\".dslca-editable-content\",(function(){\"simple\"==jQuery(this).data(\"type\")&&jQuery(this).closest(\".dslc-module-front\").addClass(\"dslca-module-change-made\")}))};const Xo=()=>{const e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\");null!==e&&e.classList.remove(\"dslca-module-being-edited\")};function Yo(e){window.dslcDebug&&console.log(\"dslc_copy_module\"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.closest(\".dslc-modules-area\")).css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0,top:-50}).addClass(\"dslca-module-being-edited\"),Jo(t),window.dslc_generate_code(),zo({targets:t,easing:\"easeOutExpo\",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove(\"dslca-module-being-edited\")}}),window.dslc_show_publish_button()}const Jo=e=>{var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute(\"id\");e.setAttribute(\"data-module-id\",t),e.setAttribute(\"id\",\"dslc-module-\"+t);var i=e.getElementsByTagName(\"style\")[0],s=i.textContent;i.setAttribute(\"id\",\"#css-for-dslc-module-\"+t),s=s.split(o).join(\"dslc-module-\"+t),i.textContent=s,LiveComposer.Utils.update_module_property_raw(e,\"module_instance_id\",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log(\"dslc_module_options_show\"),void 0===e&&console.warn(\"No module ID defined in dslc_module_options_show function.\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(\".dslca-module-options-front textarea\",t),i=jQuery(\".dslca-header\").data(\"default-section\"),s=jQuery(jQuery(\"#pseudo-panel\").html());jQuery(\"#wpwrap\").append(s);var n={action:\"dslc-ajax-display-module-options\",dslc:\"active\"};n.dslc_module_id=e,n.dslc_post_id=jQuery(\".dslca-container\").data(\"data-post-id\"),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();o.includes(\"%\")&&(o=(o=(o=(o=(o=(o=o.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),n[t]=o})),jQuery(\".dslca-wp-editor-actions\").hide(),jQuery(\".dslca-wp-editor-notification\").show(),At();var a=jQuery(\".dslca-module-options-front\",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,s.show(),s.addClass(\"show\"),jQuery.post(DSLCAjax.ajaxurl,n,(function(e){s.remove(),Pt(\".dslca-module-edit\"),jQuery(\"body\").hasClass(\"rtl\"),jQuery(\".dslca-module-edit-options-inner\").html(e.output),jQuery(\".dslca-module-edit-options-tabs\").html(e.output_tabs);var t=[];jQuery(\".dslca-module-edit-options-inner .dslca-module-edit-option\").each((function(){var e=jQuery(this).data(\"section\");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,n=0;n<o;n++)jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+t[n]+'\"]').show();jQuery('.dslca-module-edit-option[data-section=\"'+i+'\"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').trigger(\"click\")):(jQuery(\".dslca-header .dslca-options-filter-hook:first\").hide(),jQuery(\".dslca-header .dslca-options-filter-hook:first\").next(\".dslca-options-filter-hook\").trigger(\"click\")),jQuery(\".dslca-module-edit-actions\").show(),jQuery(\".dslca-wp-editor-notification\").hide(),jQuery(\".dslca-wp-editor-actions\").show(),jQuery(\".dslca-header .dslca-go-to-section-hook\").hide(),jQuery(\".dslca-row-edit-actions\").hide(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};const Go=e=>{window.dslcDebug&&console.log(\"moduleOutputAltered\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",t),s=t.data(\"module-id\"),n={action:\"dslc-ajax-add-module\",dslc:\"active\"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),t.hasClass(\"dslca-preload-preset\")?n.dslc_preload_preset=\"enabled\":n.dslc_preload_preset=\"disabled\",t.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();n[t]=o})),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass(\"dslca-module-being-edited\"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var s=new Event(\"moduleOutputAltered\");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(s),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log(\"dslc_module_output_reload\"),t=void 0!==t&&t;var o=e.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",e),s=e.data(\"module-id\"),n={action:\"dslc-ajax-add-module\",dslc:\"active\"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),n.dslc_preload_preset=\"enabled\",e.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();n[t]=o})),e.append('<div class=\"dslca-module-reloading\"><span class=\"dslca-icon dslc-icon-spin dslc-icon-refresh\"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){e.after(o.output).next().addClass(\"dslca-module-being-edited\"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\")}))};const Ko=()=>{LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"99998\");const t=e.target.closest(\"[data-module-id]\"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add(\"dslc-small-height-module\"):t.classList.remove(\"dslc-small-height-module\")},mouseleave:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"999999\")}},\".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage\"),qo()},Vo=()=>{var e,t,o,i=jQuery(\".dslca-modules .dslca-section-scroller-content\");0==i.length&&(i=[document.createElement(\"div\")]);St.create(i[0],{sort:!1,group:{name:\"modules\",pull:\"clone\",put:!1},animation:150,handle:\".dslca-module\",draggable:\".dslca-module\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"#dslc-header\").addClass(\"dslca-header-low-z-index\")},onEnd:function(i){i.oldIndex,i.newIndex;var s,n,a=i.item;if(i.preventDefault(),jQuery(a).closest(\".dslca-section-scroller-content\").length>0)return!1;jQuery(\".dslca-options-hovered\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-options-hovered\"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),\"DSLC_M_A\"==t||jQuery(\"body\").hasClass(\"dslca-module-drop-in-progress\")||e.closest(\"#dslc-header\").length||e.closest(\"#dslc-footer\").length||(jQuery(\"body\").addClass(\"dslca-module-drop-in-progress\"),s=t,n=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(\".dslca-module\",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery(\"body\").removeClass(\"dslca-module-drop-in-progress\")}),700),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"visible\"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log(\"moduleOutputDefault\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-module\",dslc:\"active\",dslc_module_id:s,dslc_post_id:jQuery(\".dslca-container\").data(\"post-id\"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){n(e)})),jQuery(a).find(\".dslca-icon\").attr(\"class\",\"\").attr(\"class\",\"dslca-icon dslc-icon-refresh dslc-icon-spin\"),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"hidden\"})),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"#dslc-header\").removeClass(\"dslca-header-low-z-index\")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass(\"dslca-options-hovered\")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(\".dslc-modules-section\"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(\".dslc-module-front\").length?(o.add(\"dslc-modules-area-empty\"),o.remove(\"dslc-modules-area-not-empty\")):(o.remove(\"dslc-modules-area-empty\"),o.add(\"dslc-modules-area-not-empty\"))}),{childList:!0}),this.sortable=St.create(e,{group:\"modules\",animation:350,handle:\".dslca-move-module-hook\",draggable:\".dslc-module-front\",ghostClass:\"dslca-module-ghost\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\")},onAdd:function(e){var o=e.item;e.from,\"DSLC_M_A\"==jQuery(o).data(\"id\")&&(Zo(jQuery(t.section).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(\".dslc-modules-area-empty\").find(\".dslc-module-front\").length>0&&(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-empty\"),jQuery(\".dslca-no-content:not(:visible)\",this).show().css({\"-webkit-animation-name\":\"dslcBounceIn\",\"-moz-animation-name\":\"dslcBounceIn\",\"animation-name\":\"dslcBounceIn\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",padding:0}).animate({padding:\"35px 0\"},300,(function(){})))}}),jQuery(e).attr(\"data-jsinit\",\"initialized\"),jQuery(document).on(\"LC.sortableOff\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!0)})),jQuery(document).on(\"LC.sortableOn\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!1)}))};jQuery(document).on(\"editorFrameLoaded\",(function(){function e(){var e=jQuery(\".dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).length||jQuery(\"#dslca-tut-page\",LiveComposer.Builder.PreviewAreaDocument).length?e():si(e()),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var o=jQuery(this).closest(\".dslc-modules-area\");(function(e){window.dslcDebug&&console.log(\"dslc_copy_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=e.clone().appendTo(t);new $o(o[0]),o.find(\".dslca-modules-area-manage\").trigger(\"mouseleave\"),o.data(\"size\",e.data(\"size\")).find(\".dslc-module-front\").css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\"))if(jQuery(this).closest(\".dslc-modules-area\").hasClass(\"dslc-modules-area-empty\")){var o=jQuery(this).closest(\".dslc-modules-area\");ei(o)}else{var s=jQuery(this);i({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(s.closest(\".dslc-modules-area\"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-width-modules-area-options span\",(function(){if(!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var e=jQuery(this).closest(\".dslc-modules-area\"),o=e.data(\"size\"),i=jQuery(this).data(\"size\");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_width_set\");var o=\"dslc-\"+t+\"-col\";if(e.removeClass(\"dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col\").addClass(o).data(\"size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-vertial-align-module-area-hook span\",(function(){!function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_vertical_align_set\");var o=\"dslc-valign-\"+t;if(e.removeClass(\"dslc-valign-top dslc-valign-middle dslc-valign-bottom\").addClass(o).data(\"valign\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(\".dslc-modules-area\"),jQuery(this).data(\"valign\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"))}))}));const Zo=e=>{window.dslcDebug&&console.log(\"modulesAreaAdd\");const t=window.DSLCSiteData.editorUrl+\"css/icons\";jQuery('<div class=\"dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col\" data-size=\"12\">\\n\\t\\t<div class=\"dslca-modules-area-manage\">\\n\\t\\t\\t<span class=\"dslca-modules-area-manage-line\"></span>\\n\\t\\t\\t<div class=\"dslca-modules-area-manage-inner\">\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-copy-modules-area-hook\" title=\"Duplicate\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#copy\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-move-modules-area-hook\" title=\"Drag to move\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#move\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-width-modules-area-hook\" title=\"Change width\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#columns\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-width-modules-area-options\"><span>Container Width</span><span data-size=\"1\">1/12</span><span data-size=\"2\">2/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"3\">3/12</span><span data-size=\"4\">4/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"5\">5/12</span><span data-size=\"6\">6/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"7\">7/12</span><span data-size=\"8\">8/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"9\">9/12</span><span data-size=\"10\">10/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"11\">11/12</span><span data-size=\"12\">12/12</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-vertial-align-module-area-hook\" title=\"Change vertical align\" >\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#git-commit\"/>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-vertial-align-module-area-options\">\\n\\t\\t\\t\\t\\t\\t<span>Vertical Align</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"top\" class=\"dslc-popup-option\">⬆️ Top</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"middle\" class=\"dslc-popup-option\">↕️ Middle</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"bottom\" class=\"dslc-popup-option\">⬇️ Bottom</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-delete-modules-area-hook\" title=\"Delete\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#x\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\x3c!-- .dslc-module --\\x3e\\n\\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:\"auto\"})})).addClass(\"dslca-init-animation\");var o=jQuery(\".dslc-modules-area-empty\",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log(\"dslc_delete_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=!1;e.addClass(\"dslca-modules-area-being-deleted\"),t.find(\".dslc-modules-area\").length<2&&(o=!0),e.find(\".dslca-module-being-edited\").length&&(jQuery(\".dslca-header .dslca-options-filter-hook\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-module-edit-actions\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\",LiveComposer.Builder.PreviewAreaDocument).show(),Pt(\".dslca-modules\")),setTimeout((function(){if(o){e.closest(\".dslc-modules-section-inner\");2<=e.closest(\"#dslc-main\").find(\".dslc-modules-section\").length?dslc_row_delete(e.closest(\".dslc-modules-section\")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.css({\"-webkit-animation-name\":\"dslcBounceOut\",\"-moz-animation-name\":\"dslcBounceOut\",\"animation-name\":\"dslcBounceOut\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",overflow:\"hidden\"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,(function(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ti=()=>{jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new $o(this)}))};const oi=class{constructor(e){this.sortable,this.sortableContainer=jQuery(e).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\").eq(0)[0],this.initSortable(e),this.initDropable(e),this.reactToSortableOnOff(),jQuery(e).attr(\"data-jsinit\",\"initialized\")}initDropable(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(\".dslc-modules-section-inner\");\"DSLC_M_A\"==t.draggable.data(\"id\")&&Zo(o)}})}initSortable(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:\".dslc-modules-section-inner\",items:\".dslc-modules-area-dnd\",handle:'.dslca-move-modules-area-hook:not(\".dslca-action-disabled\")',placeholder:\"dslca-modules-area-placeholder\",cursorAt:{top:0,left:0},tolerance:\"intersect\",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass(\"ui-state-default\")},over:function(e,t){var o=t.placeholder.closest(\".dslc-modules-section\");jQuery(o).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"),o.siblings(\".dslc-modules-section\").each((function(){jQuery(\".dslc-modules-area:not(.ui-sortable-helper)\",jQuery(this)).length?jQuery(this).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):jQuery(this).removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\")}))},remove:function(){0==jQuery(self.elem).find(\".dslc-modules-area\").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class=\"dslca-placeholder-help-text\"><span class=\"dslca-placeholder-help-text-inner\">'+DSLCString.str_area_helper_text+\"</span></span>\"),jQuery(t.item).hasClass(\"dslc-12-col\")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.item.width()-10),jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress dslca-modules-area-drag-in-progress\"),jQuery(\".dslc-modules-section-inner\").sortable(\"refreshPositions\")},stop:function(e,t){LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress dslca-modules-area-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},change:function(e,t){}})}reactToSortableOnOff(){self=this.sortable,jQuery(document).on(\"LC.sortableOff\",(function(){})),jQuery(document).on(\"LC.sortableOn\",(function(){}))}},ii=()=>{jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\".dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){new oi(this)})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-section-hook\",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass(\"dslca-action-disabled\")||i({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(\".dslc-modules-section\"))}})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-import-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||i({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+\"<br><br><textarea></textarea>\",confirm:function(){ri(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-export-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||(jQuery(\".dslca-prompt-modal-cancel-hook\").hide(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_ok),i({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+\"<br><br><textarea>[\"+a(jQuery(this).closest(\".dslc-modules-section\"))+\"]</textarea></span>\"}))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-section-hook\",(function(){if(!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||li(jQuery(this).closest(\".dslc-modules-section\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass(\"dslca-action-disabled\")||(o.find(\".dslca-icon\").removeClass(\"dslc-icon-align-justify\").addClass(\"dslc-icon-spinner dslc-icon-spin\"),si((function(){o.find(\".dslca-icon\").removeClass(\"dslc-icon-spinner dslc-icon-spin\").addClass(\"dslc-icon-align-justify\")})))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-edit-modules-section-hook\",(function(){if(!e())return!1;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||di(jQuery(this).closest(\".dslc-modules-section\")),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"section-editing-in-progress\")}))},si=e=>{window.dslcDebug&&console.log(\"dslc_row_add\"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem(\"cache-dslc-ajax-add-modules-section-v2\"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id=\"padding\"]').val()&&(o.removeItem(\"cache-dslc-ajax-add-modules-section-v2\"),i=null));if(null!==i)return ni(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-modules-section\",dslc:\"active\"},(function(i){return o.setItem(\"cache-dslc-ajax-add-modules-section-v2\",i.output),ni(i.output),e&&e(),t}))};function ni(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new oi(t),new $o(t.find(\".dslc-modules-area\").eq(0)[0]),t.find(\".dslc-modules-area\").addClass(\"dslc-modules-area-empty dslc-last-col\"),t}function ai(e){window.dslcDebug&&console.log(\"dslc_row_delete\"),e.find(\".dslca-module-being-edited\")&&(jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),Pt(\".dslca-modules\")),e.trigger(\"mouseleave\").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log(\"dslc_row_edit\"),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited\").removeClass(\"dslca-modules-section-change-made\"),e.addClass(\"dslca-modules-section-being-edited\"),jQuery(\".dslca-header .dslca-go-to-section-hook\").hide(),jQuery('.dslca-row-options-filter-hook[data-section=\"styling\"], .dslca-row-options-filter-hook[data-section=\"responsive\"]').show(),jQuery('.dslca-row-options-filter-hook[data-section=\"styling\"]').trigger(\"click\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-row-edit-actions\").show(),jQuery(\".dslca-modules-section-edit-field\").each((function(){if(\"type\"===jQuery(this).data(\"id\")&&(\"\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()&&\"wrapped\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id=\"type\"]').val(\"wrapper\").change()),\"border-top\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"top\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-right\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"right\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-bottom\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"bottom\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-left\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"left\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(jQuery(this).hasClass(\"dslca-modules-section-edit-field-checkbox\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"'+jQuery(this).data(\"id\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data(\"val\"))>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"'+jQuery(this).data(\"id\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace(\"%(%\",\"[\").replace(\"%)%\",\"]\")),jQuery(this).hasClass(\"dslca-modules-section-edit-field-colorpicker\")){var e=jQuery(this);jQuery(this).closest(\".dslca-modules-section-edit-option\").find(\".sp-preview-inner\").removeClass(\"sp-clear-display\").css({\"background-color\":e.val()}),jQuery(this).css({\"background-color\":e.val()})}})),jQuery(\".dslca-modules-section-edit-field-upload\").each((function(){var e=jQuery(this).closest(\".dslca-modules-section-edit-option\");jQuery(this).val()&&\"disabled\"!==jQuery(this).val()?(jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).show()):(jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).show())})),Pt(\".dslca-modules-section-edit\"),LiveComposer.Builder.Flags.panelOpened=!0,At()}function li(e){var t;window.dslcDebug&&console.log(\"dslc_row_copy\"),(t=e.clone().appendTo(jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute(\"data-jsinit\"),t.find(\".dslc-modules-area\").each((function(){var t=jQuery(this).index();jQuery(this).data(\"size\",e.find(\".dslc-modules-area:eq( \"+t+\" )\").data(\"size\")),this.removeAttribute(\"data-jsinit\")})),new oi(t),t.find(\".dslc-module-front\").css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log(\"dslc_section_new_id\");var t=LiveComposer.Utils.get_unique_id();e.setAttribute(\"data-section-id\",t),LiveComposer.Utils.update_section_property_raw(e,\"section_instance_id\",t)}(t[0])}function ri(e){window.dslcDebug&&console.log(\"dslc_row_import\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-modules-section\",dslc:\"active\",dslc_modules_section_code:e},(function(e){c(),jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ci=()=>{jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new oi(this)}))},ui=()=>{ci(),ii(),jQuery(document).on(\"click\",\".dslca-row-edit-save\",(function(){var e;window.dslcDebug&&console.log(\"dslc_confirm_row_changes\"),e=void 0!==e&&e,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data(\"def\",jQuery(this).val())})),Pt(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on(\"click\",\".dslca-row-edit-cancel\",(function(){var e;window.dslcDebug&&console.log(\"dslc_row_cancel_changes\"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).val(jQuery(this).data(\"def\")),jQuery('.dslca-modules-section-edit-field[data-id=\"'+jQuery(this).data(\"id\")+'\"]').val(jQuery(this).data(\"def\")).trigger(\"change\")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Pt(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),dslc_show_publish_button,jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log(\"dslc_import_template\"),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:0}),jQuery(\".dslca-modal-templates-import .dslca-loading\").show(),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-template\",dslc:\"active\",dslc_template_code:jQuery(\"#dslca-import-code\").val()},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".dslca-modal-templates-import .dslca-loading\").hide(),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:1}),r(\"\",\".dslca-modal-templates-import\"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.dslcDebug&&console.log(\"dslc_save_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-template\",dslc:\"active\",dslc_template_code:jQuery(\"#dslca-code\").val(),dslc_template_title:jQuery(\"#dslca-save-template-title\").val()},(function(e){r(\"\",\".dslca-modal-templates-save\")}))}function hi(e){window.dslcDebug&&console.log(\"dslc_delete_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-template\",dslc:\"active\",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id=\"'+e+'\"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}const fi=()=>{document.querySelectorAll(\".dslca-template\").forEach((function(e){e.addEventListener(\"click\",e=>{e.preventDefault(),(e=>{window.dslcDebug&&console.log(\"dslc_load_template\"),jQuery(\"#wpcontent\").prepend('<div class=\"lc-template-loader\"></div>');jQuery(\".lc-template-loader\").prepend('<div class=\"lc-loader lds-css\"><div class=\"lds-spinner\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-load-template\",dslc:\"active\",dslc_template_id:e},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".lc-template-loader\").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))})(e.target.closest(\"[data-id]\").dataset.id)})})),jQuery(\".dslca-template-import-form\").submit((function(e){e.preventDefault(),mi()})),jQuery(\".dslca-template-save-form\").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on(\"click\",\".dslca-delete-template-hook\",(function(e){e.stopPropagation(),hi(jQuery(this).data(\"id\"))}))};jQuery(document).ready((function(e){var t=function(e){var t=jQuery(\".dslca-section-scroller\",e),o=jQuery(\".dslca-section-scroller-inner\",e)[0];function i(e){e=e<0?-100:100,e*=.75;var i=t.find(\".dslca-section-scroller-content\").width(),s=t.width();if(i<=s)return!1;var n=i-s+10;e=(e=(e=parseInt(o.style.left||0)-e)>=0?0:e)<=-n?-n:e,o.style.left=e+\"px\"}t.on(\"wheel\",(function(e){return i(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(\".dslca-section-scroller-prev\",e).click((function(e){e.preventDefault(),i(-500)})),jQuery(\".dslca-section-scroller-next\",e).click((function(e){e.preventDefault(),i(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){i(0)}))}))};t(jQuery(\".dslca-section.dslca-modules\")),t(jQuery(\".dslca-section.dslca-templates-load\"))}));const vi=()=>{LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragleave\",\".lc-scroll-top-area, .lc-scroll-bottom-area\",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter dragover\",\".lc-scroll-bottom-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter\",\".lc-scroll-top-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragend mouseup\",\"body\",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};jQuery(document).ready((function(e){vi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish(\"LC.sortableOn\",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery(\"#scroller-stopper\").on(\"dragover\",(function(){LiveComposer.Builder.UI.stopScroller()}))}));const gi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\\\/g,\"\\\\\\\\\")).replace(/\\'/g,\"\\\\'\")).replace(/\\\"/g,'\\\\\"')).replace(/\\0/g,\"\\\\0\")},basename:function(e){return e.split(/[\\\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf(\"MSIE \");return!!(t>0||navigator.userAgent.match(/Trident.*rv\\:11\\./))&&parseInt(e.substring(t+5,e.indexOf(\".\",t)))},checkParams:function(e){if(!Array.isArray(e))throw\"Param is not array\";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&\"string\"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return\"object\"==typeof e}};e.map((function(e){if(!t[e[1]](e[0]))throw\"Param \"+e[0]+\" is not \"+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split(\"&\").reduce((function(e,t){return e[(t=t.split(\"=\"))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-module-code\")[0],s=e.querySelector('.dslca-module-option-front[data-id=\"'+t+'\"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.value=o,s.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-section-code\")[0],s=e.querySelector('.dslca-modules-section-settings input[data-id=\"'+t+'\"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.setAttribute(\"value\",o),s.setAttribute(\"data-def\",o)},publish:function(e,t){t=t||{},this.checkParams([[e,\"string\"],[t,\"object\"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find(\"script\").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement(\"script\");t.innerHTML=e,t.type=\"text/javascript\",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery(\"#wpadminbar\",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragstart\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragend mousedown\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!0)})),fi(),f(),ui(),new class{constructor(e){this.sortable,this.initSortable(e),this.reactToSortableOnOff()}initSortable(e){this.sortable=St.create(e,{group:\"sections\",animation:350,handle:\".dslca-move-modules-section-hook\",draggable:\".dslc-modules-section-dnd\",ghostClass:\"dslca-sections-ghost\",chosenClass:\"dslca-sections-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:\"vertical\",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},onAdd:function(e){},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass(\"ui-state-default\")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}reactToSortableOnOff(){self=this.sortable}}(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\").eq(0)[0]),jQuery(document).trigger(\"editorFrameLoaded\"),Vo(),d(),window.dslc_generate_code(),It(),vi(),Ko(),window.LiveComposer.Utils=gi,document.addEventListener(\"click\",(function(e){if(e.target.matches('[data-event=\"modal-wysiwyg-cancel\"]')){const t=new CustomEvent(\"modalWysiwygCancel\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"modal-wysiwyg-confirm\"]')){const t=new CustomEvent(\"modalWysiwygConfirm\",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener(\"click\",(function(e){if(e.target.matches(\".dslca-link\")||e.preventDefault(),e.target.matches('[data-event=\"module-edit\"]')){const t=new CustomEvent(\"moduleEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-duplicate\"]')){const t=new CustomEvent(\"moduleDuplicate\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-delete\"]')){const t=new CustomEvent(\"moduleDelete\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches(\".dslca-change-width-module-options [data-size]\")){const t=new CustomEvent(\"moduleChangeWidth\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"wysiwyg-edit\"]')){const t=new CustomEvent(\"wysiwygEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-style-copy\"]')){const t=new CustomEvent(\"copyModuleStyles\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-style-paste\"]')){const t=new CustomEvent(\"pasteModuleStyles\",{detail:e.target});document.dispatchEvent(t)}}),!1)},window.onbeforeunload=function(){}}});"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
1
+ {"version":3,"file":"editor_backend.min.js","sources":["webpack:///editor_backend.min.js"],"sourcesContent":["!function(e){var t={};function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var s in e)o.d(i,s,function(t){return e[t]}.bind(null,s));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,\"a\",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p=\"\",o(o.s=3)}({3:function(e,t,o){\"use strict\";o.r(t);const i=function(e){if(\"object\"!=typeof e||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class=\"dslca-prompt-modal dslca-prompt-modal-active\"><div class=\"dslca-prompt-modal-content\"><div class=\"dslca-prompt-modal-msg\"><span class=\"dslca-prompt-modal-title\">'+e.title+'</span><span class=\"dslca-prompt-modal-descr\">'+e.content+\"</span></div>\",o=\"\";o=e.confirm||e.cancel?'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.confirm_title?e.confirm_title:\"Confirm\")+'</a><span class=\"dslca-prompt-modal-cancel-hook\"><span class=\"dslc-icon dslc-icon-remove\"></span>'+(e.cancel_title?e.cancel_title:\"Cancel\")+\"</span></div>\":'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.ok_title?e.ok_title:\"OK\")+\"</a></div>\",t+=o+\"</div>\",t=jQuery(t),\"function\"!=typeof e.confirm&&(e.confirm=function(){}),\"function\"!=typeof e.cancel&&(e.cancel=function(){}),t.find(\".dslca-prompt-modal-confirm-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(\".dslca-prompt-modal-cancel-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery(\"body\").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(\".dslca-prompt-modal-content\").css({top:\"55%\"}).animate({top:\"50%\"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=()=>{window.dslcDebug&&console.log(\"updatePreset\");var e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),o=e.find(\".dslca-module-code\").innerText,i=e.data(\"module\");\"none\"!==t&&\"\"!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-preset\",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){\"enabled\"==t.preset_setting&&jQuery(\".dslc-module-front:not(#\"+e.attr(\"id\")+')[data-module=\"'+e.data(\"module\")+'\"][data-dslc-preset=\"'+e.data(\"dslc-preset\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on(\"keypress\",'.dslca-module-edit-field[name=\"css_save_preset\"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\\s/g,\"-\");jQuery(\"body\").addClass(\"dslca-new-preset-added\"),jQuery('.dslca-module-edit-field[name=\"css_load_preset\"]').append('<option value=\"'+t+'\">'+t+\"</option>\").val(t).trigger(\"change\"),jQuery(this).val(\"\"),jQuery(\".dslc-delete-preset\").removeClass(\"dslc-delete-preset-hide\")}})),jQuery(document).on(\"change\",'.dslca-module-edit-field[name=\"css_load_preset\"]',(function(e){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-preload-preset\")})),jQuery(document).on(\"click\",\".dslc-delete-preset\",(function(e){var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),i=t.data(\"module\");\"none\"!==o&&\"\"!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-preset\",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function n(){window.dslcDebug&&console.log(\"dslc_save_composer\"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log(\"dslca_gen_content_for_search\");var e=document.getElementById(\"dslca-content-for-search\");if(null===e)return;var t=e.value,o=\"\",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll(\"#dslc-main .dslc-module-front [data-exportable-content]\");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(\"\"!==e.getAttribute(\"data-exportable-content\")){var s=e.getAttribute(\"data-exportable-content\");i=\"<\"+s+\">\"+e.innerHTML+\"</\"+s+\">\"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\\s+/g,\" \").trim()+\"\\n\")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery(\"#dslca-code\").val(),t=jQuery(\"#dslca-content-for-search\").val(),o=jQuery(\".dslca-container\").data(\"post-id\");jQuery(\"body\").addClass(\"dslca-saving-in-progress\"),jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-ok\").addClass(\"dslc-icon-spin dslc-icon-spinner\"),jQuery.ajax({method:\"POST\",type:\"POST\",url:DSLCAjax.ajaxurl,data:{action:\"dslc-ajax-save-composer\",dslc:\"active\",dslc_post_id:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){\"success\"==e.status?(jQuery(\".dslca-save-composer\").fadeOut(250),jQuery(\".dslca-save-draft-composer\").fadeOut(250),jQuery(\"body\").append('<iframe class=\"lbmn-cache-iframe\" id=\"lbmn-cache-iframe-'+o+'\" src=\"'+DSLCSiteData.siteurl+\"/?p=\"+o+'\" ></iframe>'),jQuery(\".lbmn-cache-iframe\").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert(\"Something went wrong, please try to save again. Are you sure to make any changes? Error Code: \"+e.status)})).fail((function(e){\"timeout\"==e.statusText?alert(\"The request timed out after 30 seconds. Server do not respond in time. Please try again.\"):alert(\"Something went wrong. Please try again. Error Code: \"+e.statusText)})).always((function(e){jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-ok\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log(\"dslc_generate_code\");var e,t,o=\"\";jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(\".dslc-module-front\",this).length?(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-empty\"),jQuery(\".dslca-no-content\",this).hide()):(jQuery(this).removeClass(\"dslc-modules-area-not-empty\").addClass(\"dslc-modules-area-empty\"),jQuery(\".dslca-no-content:not(:visible)\",this).show().css({\"-webkit-animation-name\":\"dslcBounceIn\",\"-moz-animation-name\":\"dslcBounceIn\",\"animation-name\":\"dslcBounceIn\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",padding:0}).animate({padding:\"35px 0\"},300))})),jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=a(e),e.find(\".dslca-section-code\").val(t),o=o+t+\",\"})),o=\"[\"+(o=o.slice(0,-1))+\"]\",jQuery(\"#dslca-code\").val(o),jQuery(\"#dslca-export-code\").val(o);const i=new CustomEvent(\"pageCodeUpdated\");document.dispatchEvent(i)};const a=e=>{window.dslcDebug&&console.log(\"generateSectionCode\");var t,o,i,s,n=\"\",a=0,d=\"\";return o=e,jQuery(\".dslc-modules-area\",o).length?o.removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):o.removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\"),jQuery(\".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),jQuery(\".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),a=0,i=o.find(\".dslca-section-code\").val(),s=JSON.parse(i),d=\"\",jQuery(\".dslca-modules-section-settings input\",o).each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();d=d+t+'=\"'+o+'\" ',s[t]=o})),void 0!==s.give_new_id&&delete s.give_new_id,s.content=[],jQuery(\".dslc-modules-area\",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data(\"size\")),d=o.data(\"valign\"),l=\"no\",r=\"no\";a+=i,jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==a?(jQuery(this).addClass(\"dslc-last-col\").next(\".dslc-modules-area\").addClass(\"dslc-first-col\"),a=0,l=\"yes\"):a>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),a=i,r=\"yes\"),a==i&&(r=\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));var c='{\"element_type\":\"module_area\",\"last\":\"'+l+'\",\"first\":\"'+r+'\",\"size\":\"'+i+'\",\"valign\":\"'+d+'\"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(\".dslc-module-front\",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute(\"data-dslc-module-size\"));var i=\"no\";jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==(e+=t)?(jQuery(this).addClass(\"dslc-last-col\"),jQuery(this).next(\".dslc-module-front\").addClass(\"dslc-first-col\"),e=0,i=\"yes\"):e>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),e=t),e==t&&(\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));try{n=o[0].querySelector(\".dslca-module-code\").innerText}catch(e){console.info(\"No DSLC code found in module: \"+o[0].getAttribute(\"id\"))}if(\"\"!==n){var s=JSON.parse(n);s.last=i,jQuery.each(s,(function(e,t){!1!==t&&\"\"!==t||delete s[e],\"content\"===e&&(s[e]=t.replace(/\\\\'/g,\"'\")),\"give_new_id\"===e&&delete s[e]})),o[0].querySelector(\".dslca-module-code\").innerText=JSON.stringify(s),c.content.push(s)}n=\"\"})),s.content.push(c)})),JSON.stringify(s)},d=()=>{jQuery(document).on(\"click\",\".dslca-save-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||n()})),jQuery(document).on(\"click\",\".dslca-save-draft-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||function(){window.dslcDebug&&console.log(\"dslc_save_draft_composer\");var e=jQuery(\"#dslca-code\").val(),t=jQuery(\".dslca-container\").data(\"post-id\");jQuery(\"body\").addClass(\"dslca-saving-in-progress\"),jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-ok\").addClass(\"dslc-icon-spin dslc-icon-spinner\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-draft-composer\",dslc:\"active\",dslc_post_id:t,dslc_code:e},(function(e){jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-save\"),\"success\"==e.status?jQuery(\".dslca-save-draft-composer\").fadeOut(250):alert(\"Something went wrong, please try to save again.\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}()}))};const l=e=>{if(window.dslcDebug&&console.log(\"editableContentCodeGeneration\"),void 0===e)return!1;const t=e.closest(\".dslc-module-front\")[0],o=e.html().trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),i=e.data(\"id\");LiveComposer.Utils.update_module_property_raw(t,i,o)};const r=(e,t)=>{\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"hideModal\"),(t=jQuery(t)).outerHide(\"destroy\"),t.hide(),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeOut(),t.removeClass(\"dslca-modal-open\")};jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-open-modal-hook\",(function(e){e.preventDefault();var t=jQuery(this).data(\"modal\");!function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_show_modal\"),jQuery(\".dslca-modal:visible\").length&&r(\"\",jQuery(\".dslca-modal:visible\")),t=jQuery(t),jQuery(\".dslca-container\").height(),t.outerHide({clbk:function(){r(\"\",jQuery(\".dslca-modal:visible\"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,s=o.left-i;t.css({left:s}),jQuery(\".dslca-prompt-modal-custom\").insertAfter(t),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeIn(),t.addClass(\"dslca-modal-open\").show()}(jQuery(this),t)})),jQuery(document).on(\"click\",\".dslca-close-modal-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-action-disabled\")){var t=jQuery(this).data(\"modal\");r(jQuery(this),t)}}))}));const c=()=>{\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_js_confirm_close\"),jQuery(\".dslca-prompt-modal\").removeClass(\"dslca-prompt-modal-active\"),jQuery(\".dslca-prompt-modal\").animate({opacity:0},400,(function(){jQuery(this).hide(),jQuery(\".dslca-prompt-modal-cancel-hook\").show(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_confirm)})),jQuery(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-confirm-hook\").trigger(\"click\"):27==e.which&&jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-cancel-hook\").trigger(\"click\")},jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-prompt-modal-cancel-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\");\"edit_in_progress\"==t&&dslc_module_options_cancel_changes((function(){o.trigger(\"click\")})),c(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")})),jQuery(document).on(\"click\",\".dslca-prompt-modal-confirm-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\"),i=!0;if(\"edit_in_progress\"==t)dslc_module_options_confirm_changes((function(){o.trigger(\"click\")}));else if(\"disable_lc\"==t)window.location=o;else if(\"delete_module\"===t){var s=o.closest(\".dslc-module-front\");dslc_module_delete(s)}else if(\"delete_modules_area\"===t){var n=o.closest(\".dslc-modules-area\");n.closest(\".dslc-modules-section-inner\");dslc_modules_area_delete(n)}else\"delete_modules_section\"==t?dslc_row_delete(o.closest(\".dslc-modules-section\")):\"export_modules_section\"==t||\"import_modules_section\"==t&&(dslc_row_import(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show(),i=!1);i&&c(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if(\"destroy\"==(e=e||{}))return jQuery(document).unbind(\"click.outer_hide\"),!1;jQuery(document).bind(\"click.outer_hide\",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&\"none\"!=jQuery(o).css(\"display\")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener(\"modalWysiwygCancel\",(function(e){jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")})),document.addEventListener(\"modalWysiwygConfirm\",(function(e){var t=jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).closest(\".dslc-module-front\");if(\"undefined\"!=typeof tinymce){if(jQuery(\"#wp-dslcawpeditor-wrap\").hasClass(\"tmce-active\"))var o=tinymce.get(\"dslcawpeditor\").getContent();else o=jQuery(\"#dslcawpeditor\").val();if(o=o.trim(),jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass(\"dslc-module-handle-like-accordion\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-accordion-plain-content\").val(o);var i=t.find(\".dslc-accordion\");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass(\"dslc-module-handle-like-tabs\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-tab-plain-content\").val(o);var s=t.find(\".dslc-tabs\");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(s)}else l(jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument));jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")}else console.info(\"Live Composer: TinyMCE is undefined.\")}));var u=window.DSLCFonts.regular,m=window.DSLCFonts.google,p=u.concat(m),h=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-field-ttip-close\",(function(){jQuery(\".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip\").hide()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-ttip-hook\",(function(){var e,t=jQuery(\".dslca-module-edit-field-ttip\"),o=t.find(\".dslca-module-edit-field-ttip-inner\"),i=jQuery(this);if(e=i.parent().parent().hasClass(\"dslca-modules-section-edit-option\")?i.closest(\".dslca-modules-section-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html():i.closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html(),t.is(\":visible\"))jQuery(\".dslca-module-edit-field-ttip\").hide();else{o.html(e);var s=i.offset(),n=t.outerHeight(),a=t.outerWidth(),d=s.left-a/2+6,l=\"50%\";d<0&&(l=a/2+d+\"px\",d=0),jQuery(\".dslca-module-edit-field-ttip\").show().css({top:s.top-n-20,left:d}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: \"+l+\" }</style>\"))}})),jQuery(document).on(\"click\",\".dslca-module-edit-field-icon-ttip-hook\",(function(){var e=jQuery(\".dslca-module-edit-field-icon-ttip\"),t=jQuery(this);if(e.is(\":visible\"))jQuery(\".dslca-module-edit-field-icon-ttip\").hide();else{var o=t.offset(),i=e.outerHeight(),s=e.outerWidth(),n=o.left-s/2+6,a=\"50%\";n<0&&(a=s/2+n+\"px\",n=0),jQuery(\".dslca-module-edit-field-icon-ttip\").show().css({top:o.top-i-20,left:n}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: \"+a+\" }</style>\"))}})),window.dslc_module_options_font(),jQuery(document).on(\"keyup\",\".dslca-module-edit-field-icon\",(function(e){var t,o,i,s;o=(t=jQuery(this)).closest(\".dslca-module-edit-option\"),38==e.which&&k(t,\"previous\"),40==e.which&&k(t,\"next\"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),s=jQuery.grep(h,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(s))})),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-icon\",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-icon-suggest\",t).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-icon-suggest\",t).text(\"\"))})),jQuery(document).on(\"click\",'.dslca-open-modal-hook[data-modal^=\".dslc-list-icons\"]',(function(e){jQuery(this).closest(\".dslca-module-edit-option-icon\").find(\"input\").addClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-modal-icons .icon-item\",(function(e){var t=jQuery(this).find(\".icon-item_name\").text();jQuery(\"input.icon-modal-active\").val(t).change(),r(\"\",jQuery(\".dslca-modal:visible\")),jQuery(\"input.icon-modal-active\").removeClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-text-align-hook\",(function(){var e=jQuery(this),t=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").find(\".dslca-module-edit-option-text-align-hook\"),o=e.data(\"val\"),i=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").siblings(\"input.dslca-module-edit-field\");t.removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),i.val(o).trigger(\"change\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook\",(function(){var e=jQuery(this),t=e.siblings('input[type=\"checkbox\"]');t.prop(\"checked\")?(t.prop(\"checked\",!1),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\")):(t.prop(\"checked\",!0),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")),t.change()})),function(){window.dslcDebug&&console.log(\"dslc_module_options_box_shadow\");jQuery(document).on(\"change\",\".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset\",(function(){var e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-box-shadow-hor\").val(),i=e.find(\".dslca-module-edit-option-box-shadow-ver\").val(),s=e.find(\".dslca-module-edit-option-box-shadow-blur\").val(),n=e.find(\".dslca-module-edit-option-box-shadow-spread\").val(),a=e.find(\".dslca-module-edit-option-box-shadow-color\").val(),d=e.find(\".dslca-module-edit-option-box-shadow-inset\").is(\":checked\"),l=o+\"px \"+i+\"px \"+s+\"px \"+n+\"px \"+a+(d=d?\" inset\":\"\");t.val(l).trigger(\"change\")}))}(),function(){window.dslcDebug&&console.log(\"dslc_module_options_text_shadow\");jQuery(document).on(\"change\",\".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,.dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color\",(function(){var e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-text-shadow-hor\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-ver\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-blur\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-color\").val();t.val(o).trigger(\"change\")}))}();jQuery(document).on(\"click\",\".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color\",(function(){D(this);var e=jQuery(this).closest(\".dslca-color-option\"),t=jQuery(\".dslca-module-edit-options-inner\"),o=e.find(\".wp-picker-holder\"),i=e.offset(),s=i.left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css(\"left\",s+\"px\"),jQuery(t).on(\"scroll\",(function(t){var s=(i=e.offset()).left+15,n=window.innerWidth;n<s+260&&(s=n-260),o.css(\"left\",s+\"px\")}))})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-module-edit-option-slider\",(function(){jQuery(this).hasClass(\"dslca-module-edit-option-select\")||L(this)})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-modules-section-edit-option-slider\",(function(){L(this)})),jQuery(\".dslca-module-edit-form\").submit((function(e){e.preventDefault(),Ko()})),jQuery(document).on(\"click\",\".dslca-module-edit-options-tab-hook\",(function(e){e.preventDefault(),j(jQuery(this))})),jQuery(document).on(\"click\",\".dslca-clear-responsive-options\",(function(e){e.preventDefault(),b()})),jQuery(document).on(\"click\",\".dslca-options-filter-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=jQuery(this).data(\"section\");jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),jQuery(this).addClass(\"dslca-active\"),jQuery(\".dslca-container-loader\"),document.querySelector(\".dslca-container\").dataset.currentSection=o,w(o),\"responsive\"==t&&(jQuery(\".dslca-container-loader\").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Ko((function(){jQuery(\".dslca-container-loader\").hide()})),jQuery(\"#page-builder-preview-area\").resizable(\"destroy\").attr(\"style\",\"\")),\"responsive\"==o&&jQuery(\"#page-builder-preview-area\").resizable()})),jQuery(document).on(\"click\",\".dslca-module-edit-save\",(function(e){e.preventDefault(),_((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),x()})),jQuery(document).on(\"click\",\".dslca-module-edit-cancel\",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),x()}))}));const v=()=>{var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log(\"window.LiveComposer.Builder.UI.clearUtils\"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(\".temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(\".mce-tinymce\",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass(\"dslca-modules-section-edit-field\")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery(\"body\").off(\"click.wpcolorpicker\")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(\".dslca-module-edit-option\").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data(\"dep\")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if((\"radio\"==e.type||\"checkbox\"==e.type)&&null==t[e.value])return!1;\"checkbox\"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(\",\").forEach((function(o){var i=jQuery(\".dslca-module-edit-option-\"+o.trim()).closest(\".dslca-module-edit-option\"),s=!0;\"radio\"!=e.type&&\"checkbox\"!=e.type||(s=jQuery(e).is(\":checked\"));var n=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");e.value==t&&s?(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-hide\")?(i.removeClass(\"dep-hide\"),i.addClass(\"dep-show\")):i.addClass(\"dep-show\"),n==i.data(\"tab\")&&i.show()):(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-show\")?(i.removeClass(\"dep-show\"),i.addClass(\"dep-hide\")):i.addClass(\"dep-hide\"),i.hide())}))}))};jQuery(document).on(\"change dslc-init-deps\",'.dslca-module-edit-option > *[data-id=\"'+jQuery(this).data(\"id\")+'\"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(\".dslca-module-edit-option input, .dslca-module-edit-option select\").trigger(\"dslc-init-deps\")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind(\"change\",e),jQuery(document).unbind(\"dslc-init-deps\",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if(\"object\"!=typeof e)return!1;var t=\"\",o=\"\";\"tablet_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")?(t=\"@media only screen and (max-width: 1024px) and (min-width: 768px) {\",o=\"}\"):\"phone_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")&&(t=\"@media only screen and (max-width: 767px) {\",o=\"}\"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,\"\"),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var s=document.createElement(\"style\");s.innerHTML=e.styleContent,s.id=i,s.className=\"temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(s)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(\".dslca-module-edit-save\").addClass(\"lc-shake-effect active\"),setTimeout((function(){jQuery(\".dslca-module-edit-save\").removeClass(\"lc-shake-effect active\")}),1e3)},f(),g(),y()},f=()=>{jQuery(document).on(\"change\",\".dslca-module-edit-field\",(function(){window.dslcDebug&&console.log(\"on change event for .dslca-module-edit-field\");var e=\"\",t=\"\",o=jQuery(this),i=o.data(\"id\"),s=o.closest(\".dslca-module-edit-option\"),n=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=n.data(\"module\");jQuery(\".dslca-module-options-front textarea\",n);if(n.addClass(\"dslca-module-change-made\"),(s.hasClass(\"dslca-module-edit-option-select\")||s.hasClass(\"dslca-module-edit-option-checkbox\"))&&Q(),\"active\"==jQuery(this).closest(\".dslca-module-edit-option\").data(\"refresh-on-change\")){if(s.find(\".dslca-module-edit-option-checkbox-wrapper\").length)jQuery('input[type=\"checkbox\"]',s).each((function(){jQuery(this).prop(\"checked\")&&(e=e+jQuery(this).val()+\" \")}));else if(o.hasClass(\"dslca-module-edit-option-radio\"))e=jQuery(\".dslca-module-edit-field:checked\",o).val();else{e=o.val();if(\"orientation\"==i&&\"horizontal\"==e)jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"40\").trigger(\"change\");else if(\"orientation\"==i&&\"vertical\"==e){jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"100\").trigger(\"change\")}}null!=e&&(e=e.trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\")),null===e&&(e=\"\"),jQuery('.dslca-module-options-front textarea[data-id=\"'+i+'\"]',n).val(e),jQuery(\".dslca-container-loader\").show(),Ko((function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\"),\"css_load_preset\"!=i||jQuery(\"body\").hasClass(\"dslca-new-preset-added\")?jQuery(\".dslca-container-loader\").hide():(window.dslc_module_options_show(a),jQuery(\".dslca-container-loader\").hide()),jQuery(\"body\").removeClass(\"dslca-new-preset-added\"),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass(\"dslca-module-edit-field-font\")){var d=o.val();d+=\":400,100,200,300,500,600,700,800,900\";var l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=p=o.val(),u=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==m.indexOf(o.val())?document.getElementById(\"page-builder-frame\").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){jQuery(\".dslca-font-loading\").closest(\".dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\");var i=l.split(\",\"),s=\"#\"+u[0].id+\" \"+i.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:s})},inactive:function(e,t){jQuery(\".dslca-font-loading\").closest(\".dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\")}}):setTimeout((function(){jQuery(\".dslca-font-loading.dslca-module-edit-field-font-next\").length?jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-right\"):jQuery(\".dslca-font-loading\").removeClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-spin\").addClass(\"dslc-icon-chevron-left\");var e=l.split(\",\"),t=\"#\"+u[0].id+\" \"+e.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass(\"dslca-module-edit-field-checkbox\")){jQuery('input[type=\"checkbox\"]',s).each((function(){jQuery(this).prop(\"checked\")?(e+=\"solid \",t=t+jQuery(this).val()+\" \"):e+=\"none \"}))}if(!o.hasClass(\"dslca-module-edit-field-font\")&&null!=o.data(\"affect-on-change-el\")&&null!=o.data(\"affect-on-change-rule\")){var p,h=o.data(\"ext\")||\"\";l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=p=o.val();o.hasClass(\"dslca-module-edit-field-checkbox\")&&(p=e,c=t),o.hasClass(\"dslca-module-edit-field-image\")&&(p='url(\"'+p+'\")'),null!==p&&p.length<1&&(\"background-color\"==r||\"background\"==r)&&(p=\"transparent\"),r.split(\",\").forEach((function(e){e=e.replace(/\\s+/g,\"\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),i=l.split(\",\"),s=\"#\"+t[0].id+\" \"+i.join(\", #\"+t[0].id+\" \")+\" {\"+e+\": \"+p+h+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:s})}))}var v=\"\";v=-1!==i.indexOf(\"css_\")?c:o.val(),jQuery('.dslca-module-option-front[data-id=\"'+i+'\"]',n).val(v),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:n[0].id,optionID:i,optionVal:c||o.val()})}}))},g=()=>{jQuery(document).on(\"change\",\".dslca-modules-section-edit-field\",(function(){var e,t,o,i,s,n,a,d;if(t=(e=jQuery(this)).data(\"id\"),i=e.val(),u=i,s=i+e.data(\"ext\"),n=e.data(\"css-rule\"),d=o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id=\"'+t+'\"]',o),o.addClass(\"dslca-modules-section-change-made\"),e.hasClass(\"dslca-modules-section-edit-field-upload\")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]',o).val()),\"background-image\"==n&&(i='url(\"'+i+'\")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),\"bg_image_attachment\"==t&&o.removeClass(\"dslc-init-parallax\"),\"border-top\"==t||\"border-right\"==t||\"border-bottom\"==t||\"border-left\"==t){var l=jQuery('.dslca-modules-section-settings input[data-id=\"border_style\"]').val();a=jQuery('.dslca-modules-section-settings input[data-id=\"border\"]',o),u=\"\",e.closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\").each((function(){jQuery(this).is(\":checked\")&&(\"border-top\"==jQuery(this).data(\"id\")?u+=\"top \":\"border-right\"==jQuery(this).data(\"id\")?u+=\"right \":\"border-bottom\"==jQuery(this).data(\"id\")?u+=\"bottom \":\"border-left\"==jQuery(this).data(\"id\")&&(u+=\"left \"))})),e.is(\":checked\")?\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":l}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":l}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":l}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":l}):\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":\"hidden\"}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":\"hidden\"}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":\"hidden\"}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":\"hidden\"})}else if(e.hasClass(\"dslca-modules-section-edit-field-checkbox\")){var r=jQuery(this).closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\"),c=\"\";r.each((function(){jQuery(this).prop(\"checked\")&&(c+=jQuery(this).data(\"val\")+\" \")}));var u=c;\"show_on\"==e.data(\"id\")&&(-1!==c.indexOf(\"desktop\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-desktop\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-desktop\"),-1!==c.indexOf(\"tablet\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-tablet\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-tablet\"),-1!==c.indexOf(\"phone\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-phone\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-phone\")),\"section_divider_bottom_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-vert\")),\"section_divider_top_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-vert\"))}else if(\"bg_image_attachment\"==t&&\"parallax\"==i)o.addClass(\"dslc-init-parallax\"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if(\"type\"==t)\"full\"==i?o.addClass(\"dslc-full\"):o.removeClass(\"dslc-full\"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if(\"columns_spacing\"==t)\"nospacing\"==i?o.addClass(\"dslc-no-columns-spacing\"):o.removeClass(\"dslc-no-columns-spacing\");else if(\"custom_class\"==t);else if(\"custom_id\"==t);else if(\"bg_video\"==t){if(jQuery(\".dslc-bg-video video\",o).remove(),i&&i.length){var m=i;m=(m=m.replace(\".webm\",\"\")).replace(\".mp4\",\"\"),jQuery(\".dslc-bg-video-inner\",o).html('<video><source type=\"video/mp4\" src=\"'+m+'.mp4\" /><source type=\"video/webm\" src=\"'+m+'.webm\" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(\"section_divider_top_style\"==t||\"section_divider_bottom_style\"==t){let e=\"top\";\"section_divider_bottom_style\"==t&&(e=\"bottom\");let s=jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"] svg',o).attr(\"style\");if(jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"]',o).html(\"\"),i&&i.length){const t=jQuery(\"#dslc-section-dividers\",LiveComposer.Builder.PreviewAreaWindow.document).find(\"svg#\"+i).clone();jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"]',o).html(t[0]),void 0!==s&&jQuery('.dslc-section-divider[data-divider-pos=\"'+e+'\"] svg',o).attr(\"style\",s)}}else if(\"bg_image_thumb\"==t)if(\"enabled\"==u){if(jQuery(\"#dslca-post-data-thumb\").length){var p=\"url('\"+jQuery(\"#dslca-post-data-thumb\").val()+\"')\";d.css(n,p)}}else\"disabled\"==u&&d.css(n,\"none\");else{var h;e.data(\"css-element\")&&(d=jQuery(e.data(\"css-element\"),o)),n=n.replace(/ /g,\"\").split(\",\"),h=null!=e.data(\"ext\")?s:i;for(var v=0;v<n.length;v++)d.css(n[v],h)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},y=()=>{var e;jQuery(document).on(\"click\",\".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook\",(function(){var t=jQuery(this);if(t.hasClass(\"dslca-module-edit-field-image-add-hook\"))var o=t.siblings(\".dslca-module-edit-field-image\"),i=t.siblings(\".dslca-module-edit-field-image-remove-hook\");else o=t.siblings(\".dslca-modules-section-edit-field-upload\"),i=t.siblings(\".dslca-modules-section-edit-field-image-remove-hook\");(e=wp.media.frames.file_frame=wp.media({title:\"Choose Image\",button:{text:\"Confirm\"},multiple:!1})).on(\"select\",(function(){var s=e.state().get(\"selection\").first().toJSON();o.val(s.id);var n=t.parent().attr(\"data-id\");\"\"!=s.alt&&\"image\"==n&&jQuery('.dslca-module-edit-option-image_alt input[data-id=\"image_alt\"]').val(s.alt),\"\"!=s.title&&\"image\"==n&&jQuery('.dslca-module-edit-option-image_title input[data-id=\"image_title\"]').val(s.title),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]').val(s.url),o.trigger(\"change\"),t.hide(),i.show()})),e.open()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook\",(function(){var e=jQuery(this);if(e.hasClass(\"dslca-module-edit-field-image-remove-hook\"))var t=e.siblings(\".dslca-module-edit-field-image\"),o=e.siblings(\".dslca-module-edit-field-image-add-hook\");else t=e.siblings(\".dslca-modules-section-edit-field-upload\"),o=e.siblings(\".dslca-modules-section-edit-field-image-add-hook\");t.val(\"\").trigger(\"change\"),\"image\"==e.parent().attr(\"data-id\")&&(jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"data-val-bckp\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"data-val-bckp\",\"\").trigger(\"change\")),e.hide(),o.show()}))};function w(e){window.dslcDebug&&console.log(\"dslc_module_options_section_filter\"),jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-section=\"'+e+'\"]').show(),j()}const b=()=>{const e=document.querySelector(\".dslca-module-edit-options-tab-hook.dslca-active\").dataset.id;if(\"tablet_responsive\"===e||\"phone_responsive\"===e){document.querySelectorAll('.dslca-module-edit-option[data-tab=\"'+e+'\"]').forEach(e=>{const t=e.querySelector(\".dslca-module-edit-field\").dataset.id;\"css_res_t\"!==t&&\"css_res_p\"!==t&&jQuery(\".dslca-module-edit-option-\"+t).find(\".dslca-module-edit-field\").val(\"\").trigger(\"change\")})}},j=e=>{window.dslcDebug&&console.log(\"elementOptionsTabs\");var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]:first')).data(\"id\");if(jQuery(\".dslca-module-edit-options-tab-hook\").removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),jQuery(\".dslca-module-edit-options-tabs\").show(),jQuery(\".dslca-module-edit-options-tab-hook\").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]').show(),o&&(jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+o+'\"]').show(),Q(),jQuery(\".dslca-module-edit-options-tab-hook:visible\").length<2?jQuery(\".dslca-module-edit-options-tabs\").hide():jQuery(\".dslca-module-edit-options-tabs\").show(),x(),o==DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-tablet\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o==DSLCString.str_res_phone.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-phone\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o!=DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&o!=DSLCString.str_res_phone.toLowerCase()+\"_responsive\"||(jQuery(\".dslca-container-loader\").show(),Ko((function(){jQuery(\".dslca-container-loader\").hide()})))),jQuery(\"body\").hasClass(\"rtl\")){var i,s=0,n=0;jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible\").each((function(e){jQuery(this).hasClass(\"dslca-module-edit-option-hidden\")||jQuery(this).hasClass(\"dslca-module-control-group\")||(s+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible\").each((function(e){n+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(s)+parseInt(n)+10,jQuery(\".dslca-module-edit-options-wrapper\").css({width:i+\"px\"})}};function Q(){if(window.dslcDebug&&console.log(\"dslc_module_options_hideshow_tabs\"),\"styling\"==jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\")){jQuery(\".dslca-module-edit\");var e=!0,t=!0,o=!0,i=!0,s=!0,n=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,v=!0,f=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value=\"main_heading\"]').is(\":checked\")||(e=!1),jQuery('.dslca-module-edit-field[value=\"filters\"]').is(\":checked\")||(t=!1),jQuery('.dslca-module-edit-field[value=\"arrows\"]').is(\":checked\")||(o=!1),jQuery('.dslca-module-edit-field[value=\"circles\"]').is(\":checked\")||(i=!1),\"carousel\"!=jQuery('.dslca-module-edit-field[data-id=\"type\"]').val()&&(o=!1,i=!1),\"disabled\"==jQuery('.dslca-module-edit-field[data-id=\"pagination_type\"]').val()&&(s=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"thumbnail\"]').is(\":checked\")||(n=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"title\"]').is(\":checked\")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"excerpt\"]').is(\":checked\")||(d=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"meta\"]').is(\":checked\")||(l=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').is(\":checked\")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"categories\"]').is(\":checked\")||(c=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"separator\"]').is(\":checked\")||(m=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"count\"]').is(\":checked\")||(u=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"tags\"]').is(\":checked\")||(p=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"social\"]').is(\":checked\")||(h=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"position\"]').is(\":checked\")||(v=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').is(\":checked\")&&(f=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').is(\":checked\")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price\"]').is(\":checked\")||(y=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price_2\"]').is(\":checked\")||(w=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"addtocart\"]').is(\":checked\")||(b=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"details\"]').is(\":checked\")||(j=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"quote\"]').is(\":checked\")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_name\"]').is(\":checked\")||(_=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_position\"]').is(\":checked\")||(C=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"image\"]').is(\":checked\")||(k=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"logo\"]').is(\":checked\")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_arrows_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_arrows_styling\"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_circles_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"carousel_circles_styling\"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"primary_button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"secondary_button_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"primary_button_styling\"], .dslca-module-edit-options-tab-hook[data-id=\"secondary_button_styling\"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"count_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"count_styling\"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"tags_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"tags_styling\"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_secondary_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_secondary_styling\"]').hide(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_name_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_name_styling\"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"author_position_styling\"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section=\"styling\"]').hasClass(\"dslca-active\")){var L=jQuery('.dslca-module-edit-option[data-id=\"css_custom\"]');\"enabled\"==L.find(\"select\").val()?(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"visible\"}),jQuery(\".dslca-module-edit-option[data-tab]\").css(\"visibility\",\"visible\"),jQuery(\".dslca-module-edit-options-tabs\").show()):(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"hidden\"}),jQuery(\".dslca-module-control-group.dslca-module-edit-option\").css(\"visibility\",\"hidden\"),jQuery(\".dslca-module-edit-options-tabs\").hide(),L.css({visibility:\"visible\"}))}else jQuery(\".dslca-module-edit-options-tabs\").show();if(\"disabled\"==jQuery('select.dslca-module-edit-field[data-id=\"css_res_t\"]').val()?(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"hidden\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').css(\"visibility\",\"visible\")),\"disabled\"==jQuery('select.dslca-module-edit-field[data-id=\"css_res_p\"]').val()?(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"hidden\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').css(\"visibility\",\"visible\")),jQuery('.dslca-module-edit-option[data-id=\"css_res_p\"], .dslca-module-edit-option[data-id=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery(\".dslca-options-filter-hook\").hasClass(\"dslca-active\")){var x=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\");jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-show\")&&jQuery(\".dslca-module-edit-option.dep-show\").show(),jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-hide\")&&jQuery(\".dslca-module-edit-option.dep-hide\").hide()}if(jQuery(\".dslca-module-edit-options-tab-hook\").hasClass(\"dslca-active\")){var B=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"]').hasClass(\"dependent\")?(jQuery(\".dslca-module-edit-option.dependent\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-hide').hide()):jQuery(\".dslca-module-edit-option.dependent\").hide()}}function _(e){window.dslcDebug&&console.log(\"dslc_module_options_confirm_changes\"),e=void 0!==e&&e,jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).hasClass(\"dslc-module-DSLC_Sliders\")?jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"):(jQuery(\"body\").addClass(\"dslca-module-saving-in-progress\"),Ko((function(){s(),window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\"body\").removeClass(\"dslca-module-saving-in-progress\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Pt(\".dslca-modules\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),window.dslc_show_publish_button()}function C(e){window.dslcDebug&&console.log(\"dslc_module_options_cancel_changes\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(\".dslca-module-options-front\",t).html(\"\").append(window.LiveComposer.Builder.moduleBackup),Ko((function(){window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Pt(\".dslca-modules\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function k(e,t){var o=jQuery(e).closest(\".dslca-module-edit-option-icon\"),i=jQuery(\".dslca-module-edit-field-icon\",o),s=h.indexOf(i.val());if(\"previous\"==t)var n=s-1;else n=s+1;jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(\"\"),n<0&&(n=h.length-1),i.val(h[n]).trigger(\"change\")}function D(e){var t,o,i,s,n,a;window.dslcDebug&&console.log(\"dslc_module_options_color\");var d,l=[],r=\"dslcColors-\"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push(\"#78b\"),2>l.length&&l.push(\"#ab0\"),3>l.length&&l.push(\"#de3\"),l.push(\"#fff\"),l.push(\"#000\"),l.push(\"rgba(0,0,0,0)\"),jQuery(e).each((function(){var e=jQuery(this).closest(\".dslca-color-option\"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:\"hsl\",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker(\"color\");s=null==r?\"\":r,t.val(s).trigger(\"change\"),t.css(\"background\",s),o=t.data(\"affect-on-change-el\"),i=t.data(\"affect-on-change-rule\"),null!=o&&\".dslca-modules-section-being-edited\"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(\".dslca-module-being-edited\")).css(i,s),n=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data(\"id\"),jQuery('.dslca-module-option-front[data-id=\"'+a+'\"]',n).val(s),n.addClass(\"dslca-module-change-made\")}}),e.find(\".wp-picker-holder .iris-picker\").append('<button type=\"button\" class=\"dslca-colorpicker-apply\">Apply</button>');var c=e.find(\".dslca-colorpicker-apply\");d.wpColorPicker(\"open\"),jQuery(c).on(\"click\",(function(){if(\"#fff\"!==s&&\"#ffffff\"!==s&&\"#000\"!==s&&\"#000000\"!==s&&\"rgba(0,0,0,0)\"!==s)if(void 0===localStorage[r]){var e=[s];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(s)&&(e.unshift(s),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker(\"close\")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function L(e){window.dslcDebug&&console.log(\"dslc_module_options_numeric\"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(\".dslca-module-edit-field-slider\",e).length&&e.append('<div class=\"dslca-module-edit-field-slider\"></div>');var t=!0;if(t=!e.hasClass(\"dslca-modules-section-edit-option\"))var o=e.find(\".dslca-module-edit-field\");else o=e.find(\".dslca-modules-section-edit-field\");if(e.hasClass(\"dslca-modules-section-edit-option\"))o=e.find(\".dslca-modules-section-edit-field\");else o=e.find(\".dslca-module-edit-field\");var i=e.find(\".dslca-module-edit-field-slider\"),s=parseFloat(o.val()),n=parseFloat(o.data(\"max\")),a=parseFloat(o.data(\"min\")),d=parseFloat(o.data(\"increment\")),l=!1;if(void 0!==o.data(\"onlypositive\")&&1===o.data(\"onlypositive\")&&(l=!0),s>=n&&(n=2*s),!l&&s<=a&&(a=2*s),i.slider({min:a,max:n,step:d,value:o.val(),slide:function(e,t){o.val(t.value+\"\"),o.trigger(\"change\")},change:function(t,o){(o.value>=n||o.value<=a)&&(i.slider(\"destroy\"),L(e))}}),i.show(),jQuery(e).on(\"mouseleave\",(function(){void 0!==i.slider(\"instance\")&&jQuery(i).slider(\"destroy\"),i.remove()})),!o[0].classList.contains(\"slider-initiated\"))return o[0].classList.add(\"slider-initiated\"),o.on(\"keyup\",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger(\"change\")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger(\"change\"))),8!=e.keyCode&&45!=e.keyCode||o.trigger(\"change\"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger(\"change\");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on(\"change\",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(\".dslca-module-edit-option-slider\")):jQuery(e.target.closest(\".dslca-modules-section-edit-option-slider\"))).find(\".dslca-module-edit-field-slider\");(void 0!==o.slider(\"instance\")&&o.slider(\"value\",this.value),t)&&jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\")})),!1}))}function x(){jQuery(\"html\").removeClass(\"dslc-responsive-preview\"),jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\")}\n/**!\n * Sortable 1.10.2\n * @author\tRubaXa <trash@rubaxa.org>\n * @author\towenm <owen23355@gmail.com>\n * @license MIT\n */\nfunction B(e){return(B=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function S(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){S(e,t,o[t])}))}return e}function E(e,t){if(null==e)return{};var o,i,s=function(e,t){if(null==e)return{};var o,i,s={},n=Object.keys(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||(s[o]=e[o]);return s}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)o=n[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(s[o]=e[o])}return s}window.dslc_module_options_font=function(){jQuery(document).off(\"click\",\".dslca-module-edit-field-font-next\").on(\"click\",\".dslca-module-edit-field-font-next\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=p.indexOf(o.val())+1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),o.val(p[i]).trigger(\"change\"),jQuery(this).addClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-chevron-right\").addClass(\"dslc-icon-refresh dslc-icon-spin\")}})),jQuery(document).off(\"click\",\".dslca-module-edit-field-font-prev\").on(\"click\",\".dslca-module-edit-field-font-prev\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=p.indexOf(o.val())-1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),i<0&&(i=p.length-1),o.val(p[i]).trigger(\"change\"),jQuery(this).addClass(\"dslca-font-loading\").find(\".dslca-icon\").removeClass(\"dslc-icon-chevron-left\").addClass(\"dslc-icon-refresh dslc-icon-spin\")}})),jQuery(document).off(\"blur\",\".dslca-module-edit-field-font\").on(\"blur\",\".dslca-module-edit-field-font\",(function(e){var t=jQuery(this).closest(\".dslca-module-edit-option\");jQuery(\".dslca-module-edit-field-font-suggest\",t).hide()})),jQuery(document).off(\"keyup\",\".dslca-module-edit-field-font\").on(\"keyup\",\".dslca-module-edit-field-font\",(function(e){var t,o,i,s,n=!1;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),38==e.which&&jQuery(\".dslca-module-edit-field-font-prev\",o).click();40==e.which&&jQuery(\".dslca-module-edit-field-font-next\",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp(\"^\"+i,\"i\"),d=p.length,l=0;do{if(a.test(p[l])&&!n)n=p[l];l++}while(l<d);n?i!==n&&(s=n,jQuery(\".dslca-module-edit-field-font-suggest\",o).show()):(s=i,jQuery(\".dslca-module-edit-field-font-suggest\",o).hide()),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(s),s.length&&t.val(s.substring(0,t.val().length))}})),jQuery(document).off(\"keydown\",\".dslca-module-edit-field-font\").on(\"keydown\",\".dslca-module-edit-field-font\",(function(e){if(13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text().length&&(jQuery(this).val(jQuery(\".dslca-module-edit-field-font-suggest\",o).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(\"\"))}}))};function O(e){if(\"undefined\"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var T=O(/(?:Trident.*rv[ :]?11\\.|msie|iemobile|Windows Phone)/i),I=O(/Edge/i),M=O(/firefox/i),N=O(/safari/i)&&!O(/chrome/i)&&!O(/android/i),F=O(/iP(ad|od|hone)/i),W=O(/chrome/i)&&O(/android/i),U={capture:!1,passive:!1};function H(e,t,o){e.addEventListener(t,o,!T&&U)}function z(e,t,o){e.removeEventListener(t,o,!T&&U)}function R(e,t){if(t){if(\">\"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function q(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function X(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(\">\"===t[0]?e.parentNode===o&&R(e,t):R(e,t))||i&&e===o)return e;if(e===o)break}while(e=q(e))}return null}var Y,J=/\\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?\"add\":\"remove\"](t);else{var i=(\" \"+e.className+\" \").replace(J,\" \").replace(\" \"+t+\" \",\" \");e.className=(i+(o?\" \"+t:\"\")).replace(J,\" \")}}function G(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,\"\"):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf(\"webkit\")||(t=\"-webkit-\"+t),i[t]=o+(\"string\"==typeof o?\"\":\"px\")}}function V(e,t){var o=\"\";if(\"string\"==typeof e)o=e;else do{var i=G(e,\"transform\");i&&\"none\"!==i&&(o=i+\" \"+o)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function $(e,t,o){if(e){var i=e.getElementsByTagName(t),s=0,n=i.length;if(o)for(;s<n;s++)o(i[s],s);return i}return[]}function Z(){var e=document.scrollingElement;return e||document.documentElement}function ee(e,t,o,i,s){if(e.getBoundingClientRect||e===window){var n,a,d,l,r,c,u;if(e!==window&&e!==Z()?(a=(n=e.getBoundingClientRect()).top,d=n.left,l=n.bottom,r=n.right,c=n.height,u=n.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(s=s||e.parentNode,!T))do{if(s&&s.getBoundingClientRect&&(\"none\"!==G(s,\"transform\")||o&&\"static\"!==G(s,\"position\"))){var m=s.getBoundingClientRect();a-=m.top+parseInt(G(s,\"border-top-width\")),d-=m.left+parseInt(G(s,\"border-left-width\")),l=a+n.height,r=d+n.width;break}}while(s=s.parentNode);if(i&&e!==window){var p=V(s||e),h=p&&p.a,v=p&&p.d;p&&(l=(a/=v)+(c/=v),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function te(e,t,o){for(var i=ae(e,!0),s=ee(e)[t];i;){var n=ee(i)[o];if(!(\"top\"===o||\"left\"===o?s>=n:s<=n))return i;if(i===Z())break;i=ae(i,!1)}return!1}function oe(e,t,o){for(var i=0,s=0,n=e.children;s<n.length;){if(\"none\"!==n[s].style.display&&n[s]!==rt.ghost&&n[s]!==rt.dragged&&X(n[s],o.draggable,e,!1)){if(i===t)return n[s];i++}s++}return null}function ie(e,t){for(var o=e.lastElementChild;o&&(o===rt.ghost||\"none\"===G(o,\"display\")||t&&!R(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)\"TEMPLATE\"===e.nodeName.toUpperCase()||e===rt.clone||t&&!R(e,t)||o++;return o}function ne(e){var t=0,o=0,i=Z();if(e)do{var s=V(e),n=s.a,a=s.d;t+=e.scrollLeft*n,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function ae(e,t){if(!e||!e.getBoundingClientRect)return Z();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=G(o);if(o.clientWidth<o.scrollWidth&&(\"auto\"==s.overflowX||\"scroll\"==s.overflowX)||o.clientHeight<o.scrollHeight&&(\"auto\"==s.overflowY||\"scroll\"==s.overflowY)){if(!o.getBoundingClientRect||o===document.body)return Z();if(i||t)return o;i=!0}}}while(o=o.parentNode);return Z()}function de(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!Y){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),Y=setTimeout((function(){Y=void 0}),t)}}}function re(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ce(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var ue=\"Sortable\"+(new Date).getTime();function me(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if(\"none\"!==G(e,\"display\")&&e!==rt.ghost){t.push({target:e,rect:ee(e)});var o=P({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=V(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void(\"function\"==typeof o&&o());var s=!1,n=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=ee(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=V(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&de(l,d)&&!de(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),de(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(s=!0,n=Math.max(n,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),s?e=setTimeout((function(){\"function\"==typeof o&&o()}),n):\"function\"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){G(e,\"transition\",\"\"),G(e,\"transform\",\"\");var s=V(this.el),n=s&&s.a,a=s&&s.d,d=(t.left-o.left)/(n||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,G(e,\"transform\",\"translate3d(\"+d+\"px,\"+l+\"px,0)\"),function(e){e.offsetWidth}(e),G(e,\"transition\",\"transform \"+i+\"ms\"+(this.options.easing?\" \"+this.options.easing:\"\")),G(e,\"transform\",\"translate3d(0,0,0)\"),\"number\"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){G(e,\"transition\",\"\"),G(e,\"transform\",\"\"),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var pe=[],he={initializeByDefault:!0},ve={mount:function(e){for(var t in he)!he.hasOwnProperty(t)||t in e||(e[t]=he[t]);pe.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var s=e+\"Global\";pe.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][s]&&t[i.pluginName][s](P({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](P({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var s in pe.forEach((function(i){var s=i.pluginName;if(e.options[s]||i.initializeByDefault){var n=new i(e,t,e.options);n.sortable=e,n.options=e.options,e[s]=n,A(o,n.defaults)}})),e.options)if(e.options.hasOwnProperty(s)){var n=this.modifyOption(e,s,e.options[s]);void 0!==n&&(e.options[s]=n)}},getEventProperties:function(e,t){var o={};return pe.forEach((function(i){\"function\"==typeof i.eventProperties&&A(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return pe.forEach((function(s){e[s.pluginName]&&s.optionListeners&&\"function\"==typeof s.optionListeners[t]&&(i=s.optionListeners[t].call(e[s.pluginName],o))})),i}};function fe(e){var t=e.sortable,o=e.rootEl,i=e.name,s=e.targetEl,n=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[ue]){var v,f=t.options,g=\"on\"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||T||I?(v=document.createEvent(\"Event\")).initEvent(i,!0,!0):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=a||o,v.from=d||o,v.item=s||o,v.clone=n,v.oldIndex=l,v.newIndex=r,v.oldDraggableIndex=c,v.newDraggableIndex=u,v.originalEvent=m,v.pullMode=p?p.lastPutMode:void 0;var y=P({},h,ve.getEventProperties(i,t));for(var w in y)v[w]=y[w];o&&o.dispatchEvent(v),f[g]&&f[g].call(t,v)}}var ge=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,s=E(o,[\"evt\"]);ve.pluginEvent.bind(rt)(e,t,P({dragEl:we,parentEl:be,ghostEl:je,rootEl:Qe,nextEl:_e,lastDownEl:Ce,cloneEl:ke,cloneHidden:De,dragStarted:Fe,putSortable:Pe,activeSortable:rt.active,originalEvent:i,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se,hideGhostForTarget:nt,unhideGhostForTarget:at,cloneNowHidden:function(){De=!0},cloneNowShown:function(){De=!1},dispatchSortableEvent:function(e){ye({sortable:t,name:e,originalEvent:i})}},s))};function ye(e){fe(P({putSortable:Pe,cloneEl:ke,targetEl:we,rootEl:Qe,oldIndex:Le,oldDraggableIndex:Be,newIndex:xe,newDraggableIndex:Se},e))}var we,be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re=!1,qe=!1,Xe=[],Ye=!1,Je=!1,Ke=[],Ge=!1,Ve=[],$e=\"undefined\"!=typeof document,Ze=F,et=I||T?\"cssFloat\":\"float\",tt=$e&&!W&&!F&&\"draggable\"in document.createElement(\"div\"),ot=function(){if($e){if(T)return!1;var e=document.createElement(\"x\");return e.style.cssText=\"pointer-events:auto\",\"auto\"===e.style.pointerEvents}}(),it=function(e,t){var o=G(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),s=oe(e,0,t),n=oe(e,1,t),a=s&&G(s),d=n&&G(n),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ee(s).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+ee(n).width;if(\"flex\"===o.display)return\"column\"===o.flexDirection||\"column-reverse\"===o.flexDirection?\"vertical\":\"horizontal\";if(\"grid\"===o.display)return o.gridTemplateColumns.split(\" \").length<=1?\"vertical\":\"horizontal\";if(s&&a.float&&\"none\"!==a.float){var c=\"left\"===a.float?\"left\":\"right\";return!n||\"both\"!==d.clear&&d.clear!==c?\"horizontal\":\"vertical\"}return s&&(\"block\"===a.display||\"flex\"===a.display||\"table\"===a.display||\"grid\"===a.display||l>=i&&\"none\"===o[et]||n&&\"none\"===o[et]&&l+r>i)?\"vertical\":\"horizontal\"},st=function(e){function t(e,o){return function(i,s,n,a){var d=i.options.group.name&&s.options.group.name&&i.options.group.name===s.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&\"clone\"===e)return e;if(\"function\"==typeof e)return t(e(i,s,n,a),o)(i,s,n,a);var l=(o?i:s).options.group.name;return!0===e||\"string\"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&\"object\"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},nt=function(){!ot&&je&&G(je,\"display\",\"none\")},at=function(){!ot&&je&&G(je,\"display\",\"\")};$e&&document.addEventListener(\"click\",(function(e){if(qe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),qe=!1,!1}),!0);var dt=function(e){if(we){e=e.touches?e.touches[0]:e;var t=(s=e.clientX,n=e.clientY,Xe.some((function(e){if(!ie(e)){var t=ee(e),o=e[ue].options.emptyInsertThreshold,i=s>=t.left-o&&s<=t.right+o,d=n>=t.top-o&&n<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[ue]._onDragOver(o)}}var s,n,a},lt=function(e){we&&we.parentNode[ue]._isOutsideThisEl(e.target)};function rt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw\"Sortable: `el` must be an HTMLElement, not \".concat({}.toString.call(e));this.el=e,this.options=t=A({},t),e[ue]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?\">li\":\">*\",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return it(e,this.options)},ghostClass:\"sortable-ghost\",chosenClass:\"sortable-chosen\",dragClass:\"sortable-drag\",ignore:\"a, img\",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData(\"Text\",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:\"data-id\",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:\"sortable-fallback\",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==rt.supportPointer&&\"PointerEvent\"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var s in st(t),this)\"_\"===s.charAt(0)&&\"function\"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&tt,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?H(e,\"pointerdown\",this._onTapStart):(H(e,\"mousedown\",this._onTapStart),H(e,\"touchstart\",this._onTapStart)),this.nativeDraggable&&(H(e,\"dragover\",this),H(e,\"dragenter\",this)),Xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),A(this,me())}function ct(e,t,o,i,s,n,a,d){var l,r,c=e[ue],u=c.options.onMove;return!window.CustomEvent||T||I?(l=document.createEvent(\"Event\")).initEvent(\"move\",!0,!0):l=new CustomEvent(\"move\",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=s||t,l.relatedRect=n||ee(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function ut(e){e.draggable=!1}function mt(){Ge=!1}function pt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ht(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}rt.prototype={constructor:rt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(We=null)},_getDirection:function(e,t){return\"function\"==typeof this.options.direction?this.options.direction.call(this,e,t,we):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,s=i.preventOnFilter,n=e.type,a=e.touches&&e.touches[0]||e.pointerType&&\"touch\"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){Ve.length=0;var t=e.getElementsByTagName(\"input\"),o=t.length;for(;o--;){var i=t[o];i.checked&&Ve.push(i)}}(o),!we&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||i.disabled||l.isContentEditable||(d=X(d,i.draggable,o,!1))&&d.animated||Ce===d)){if(Le=se(d),Be=se(d,i.draggable),\"function\"==typeof r){if(r.call(this,e,d,this))return ye({sortable:t,rootEl:l,name:\"filter\",targetEl:d,toEl:o,fromEl:o}),ge(\"filter\",t,{evt:e}),void(s&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(\",\").some((function(i){if(i=X(l,i.trim(),o,!1))return ye({sortable:t,rootEl:i,name:\"filter\",targetEl:d,fromEl:o,toEl:o}),ge(\"filter\",t,{evt:e}),!0}))))return void(s&&e.cancelable&&e.preventDefault());i.handle&&!X(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,s=this,n=s.el,a=s.options,d=n.ownerDocument;if(o&&!we&&o.parentNode===n){var l=ee(o);if(Qe=n,be=(we=o).parentNode,_e=we.nextSibling,Ce=o,Ae=a.group,rt.dragged=we,Ee={target:we,clientX:(t||e).clientX,clientY:(t||e).clientY},Me=Ee.clientX-l.left,Ne=Ee.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,we.style[\"will-change\"]=\"all\",i=function(){ge(\"delayEnded\",s,{evt:e}),rt.eventCanceled?s._onDrop():(s._disableDelayedDragEvents(),!M&&s.nativeDraggable&&(we.draggable=!0),s._triggerDragStart(e,t),ye({sortable:s,name:\"choose\",originalEvent:e}),K(we,a.chosenClass,!0))},a.ignore.split(\",\").forEach((function(e){$(we,e.trim(),ut)})),H(d,\"dragover\",dt),H(d,\"mousemove\",dt),H(d,\"touchmove\",dt),H(d,\"mouseup\",s._onDrop),H(d,\"touchend\",s._onDrop),H(d,\"touchcancel\",s._onDrop),M&&this.nativeDraggable&&(this.options.touchStartThreshold=4,we.draggable=!0),ge(\"delayStart\",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(I||T))i();else{if(rt.eventCanceled)return void this._onDrop();H(d,\"mouseup\",s._disableDelayedDrag),H(d,\"touchend\",s._disableDelayedDrag),H(d,\"touchcancel\",s._disableDelayedDrag),H(d,\"mousemove\",s._delayedDragTouchMoveHandler),H(d,\"touchmove\",s._delayedDragTouchMoveHandler),a.supportPointer&&H(d,\"pointermove\",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){we&&ut(we),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;z(e,\"mouseup\",this._disableDelayedDrag),z(e,\"touchend\",this._disableDelayedDrag),z(e,\"touchcancel\",this._disableDelayedDrag),z(e,\"mousemove\",this._delayedDragTouchMoveHandler),z(e,\"touchmove\",this._delayedDragTouchMoveHandler),z(e,\"pointermove\",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||\"touch\"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?H(document,\"pointermove\",this._onTouchMove):H(document,t?\"touchmove\":\"mousemove\",this._onTouchMove):(H(we,\"dragend\",this),H(Qe,\"dragstart\",this._onDragStart));try{document.selection?ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Re=!1,Qe&&we){ge(\"dragStarted\",this,{evt:t}),this.nativeDraggable&&H(document,\"dragover\",lt);var o=this.options;!e&&K(we,o.dragClass,!1),K(we,o.ghostClass,!0),rt.active=this,e&&this._appendGhost(),ye({sortable:this,name:\"start\",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Oe){this._lastX=Oe.clientX,this._lastY=Oe.clientY,nt();for(var e=document.elementFromPoint(Oe.clientX,Oe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Oe.clientX,Oe.clientY))!==t;)t=e;if(we.parentNode[ue]._isOutsideThisEl(e),t)do{if(t[ue]){if(t[ue]._onDragOver({clientX:Oe.clientX,clientY:Oe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);at()}},_onTouchMove:function(e){if(Ee){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,s=e.touches?e.touches[0]:e,n=je&&V(je,!0),a=je&&n&&n.a,d=je&&n&&n.d,l=Ze&&ze&&ne(ze),r=(s.clientX-Ee.clientX+i.x)/(a||1)+(l?l[0]-Ke[0]:0)/(a||1),c=(s.clientY-Ee.clientY+i.y)/(d||1)+(l?l[1]-Ke[1]:0)/(d||1);if(!rt.active&&!Re){if(o&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(je){n?(n.e+=r-(Te||0),n.f+=c-(Ie||0)):n={a:1,b:0,c:0,d:1,e:r,f:c};var u=\"matrix(\".concat(n.a,\",\").concat(n.b,\",\").concat(n.c,\",\").concat(n.d,\",\").concat(n.e,\",\").concat(n.f,\")\");G(je,\"webkitTransform\",u),G(je,\"mozTransform\",u),G(je,\"msTransform\",u),G(je,\"transform\",u),Te=r,Ie=c,Oe=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!je){var e=this.options.fallbackOnBody?document.body:Qe,t=ee(we,!0,Ze,!0,e),o=this.options;if(Ze){for(ze=e;\"static\"===G(ze,\"position\")&&\"none\"===G(ze,\"transform\")&&ze!==document;)ze=ze.parentNode;ze!==document.body&&ze!==document.documentElement?(ze===document&&(ze=Z()),t.top+=ze.scrollTop,t.left+=ze.scrollLeft):ze=Z(),Ke=ne(ze)}K(je=we.cloneNode(!0),o.ghostClass,!1),K(je,o.fallbackClass,!0),K(je,o.dragClass,!0),G(je,\"transition\",\"\"),G(je,\"transform\",\"\"),G(je,\"box-sizing\",\"border-box\"),G(je,\"margin\",0),G(je,\"top\",t.top),G(je,\"left\",t.left),G(je,\"width\",t.width),G(je,\"height\",t.height),G(je,\"opacity\",\"0.8\"),G(je,\"position\",Ze?\"absolute\":\"fixed\"),G(je,\"zIndex\",\"100000\"),G(je,\"pointerEvents\",\"none\"),rt.ghost=je,e.appendChild(je),G(je,\"transform-origin\",Me/parseInt(je.style.width)*100+\"% \"+Ne/parseInt(je.style.height)*100+\"%\")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,s=o.options;ge(\"dragStart\",this,{evt:e}),rt.eventCanceled?this._onDrop():(ge(\"setupClone\",this),rt.eventCanceled||((ke=ce(we)).draggable=!1,ke.style[\"will-change\"]=\"\",this._hideClone(),K(ke,this.options.chosenClass,!1),rt.clone=ke),o.cloneId=ht((function(){ge(\"clone\",o),rt.eventCanceled||(o.options.removeCloneOnHide||Qe.insertBefore(ke,we),o._hideClone(),ye({sortable:o,name:\"clone\"}))})),!t&&K(we,s.dragClass,!0),t?(qe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(z(document,\"mouseup\",o._onDrop),z(document,\"touchend\",o._onDrop),z(document,\"touchcancel\",o._onDrop),i&&(i.effectAllowed=\"move\",s.setData&&s.setData.call(o,i,we)),H(document,\"drop\",o),G(we,\"transform\",\"translateZ(0)\")),Re=!0,o._dragStartId=ht(o._dragStarted.bind(o,t,e)),H(document,\"selectstart\",o),Fe=!0,N&&G(document.body,\"user-select\",\"none\"))},_onDragOver:function(e){var t,o,i,s,n=this.el,a=e.target,d=this.options,l=d.group,r=rt.active,c=Ae===l,u=d.sort,m=Pe||r,p=this,h=!1;if(!Ge){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=X(a,d.draggable,n,!0),x(\"dragOver\"),rt.eventCanceled)return h;if(we.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(qe=!1,r&&!d.disabled&&(c?u||(i=!Qe.contains(we)):Pe===this||(this.lastPutMode=Ae.checkPull(this,r,we,e))&&l.checkPut(this,r,we,e))){if(s=\"vertical\"===this._getDirection(e,a),t=ee(we),x(\"dragOverValid\"),rt.eventCanceled)return h;if(i)return be=Qe,B(),this._hideClone(),x(\"revert\"),rt.eventCanceled||(_e?Qe.insertBefore(we,_e):Qe.appendChild(we)),S(!0);var v=ie(n,d.draggable);if(!v||function(e,t,o){var i=ee(ie(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,s,this)&&!v.animated){if(v===we)return S(!1);if(v&&n===e.target&&(a=v),a&&(o=ee(a)),!1!==ct(Qe,n,we,t,a,o,e,!!a))return B(),n.appendChild(we),be=n,A(),S(!0)}else if(a.parentNode===n){o=ee(a);var f,g,y,w=we.parentNode!==n,b=!function(e,t,o){var i=o?e.left:e.top,s=o?e.right:e.bottom,n=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||s===d||i+n/2===a+l/2}(we.animated&&we.toRect||t,a.animated&&a.toRect||o,s),j=s?\"top\":\"left\",Q=te(a,\"top\",\"top\")||te(we,\"top\",\"top\"),_=Q?Q.scrollTop:void 0;if(We!==a&&(g=o[j],Ye=!1,Je=!b&&d.invertSwap||w),0!==(f=function(e,t,o,i,s,n,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&He<r*s){if(!Ye&&(1===Ue?l>c+r*n/2:l<u-r*n/2)&&(Ye=!0),Ye)m=!0;else if(1===Ue?l<c+He:l>u-He)return-Ue}else if(l>c+r*(1-s)/2&&l<u-r*(1-s)/2)return function(e){return se(we)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*n/2||l>u-r*n/2))return l>c+r/2?1:-1;return 0}(e,a,o,s,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Je,We===a))){var C=se(we);do{C-=f,y=be.children[C]}while(y&&(\"none\"===G(y,\"display\")||y===je))}if(0===f||y===a)return S(!1);We=a,Ue=f;var k=a.nextElementSibling,D=!1,L=ct(Qe,n,we,t,a,o,e,D=1===f);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ge=!0,setTimeout(mt,30),B(),D&&!k?n.appendChild(we):a.parentNode.insertBefore(we,D?k:a),Q&&re(Q,0,_-Q.scrollTop),be=we.parentNode,void 0===g||Je||(He=Math.abs(g-ee(a)[j])),A(),S(!0)}if(n.contains(we))return S(!1)}return!1}function x(d,l){ge(d,p,P({evt:e,isOwner:c,axis:s?\"vertical\":\"horizontal\",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ct(Qe,n,we,t,o,ee(o),e,i)},changed:A},l))}function B(){x(\"dragOverAnimationCapture\"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x(\"dragOverCompleted\",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(K(we,Pe?Pe.options.ghostClass:r.options.ghostClass,!1),K(we,d.ghostClass,!0)),Pe!==p&&p!==rt.active?Pe=p:p===rt.active&&Pe&&(Pe=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x(\"dragOverAnimationComplete\"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===we&&!we.animated||a===n&&!a.animated)&&(We=null),d.dragoverBubble||e.rootEl||a===document||(we.parentNode[ue]._isOutsideThisEl(e.target),!t&&dt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){xe=se(we),Se=se(we,d.draggable),ye({sortable:p,name:\"change\",toEl:n,newIndex:xe,newDraggableIndex:Se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){z(document,\"mousemove\",this._onTouchMove),z(document,\"touchmove\",this._onTouchMove),z(document,\"pointermove\",this._onTouchMove),z(document,\"dragover\",dt),z(document,\"mousemove\",dt),z(document,\"touchmove\",dt)},_offUpEvents:function(){var e=this.el.ownerDocument;z(e,\"mouseup\",this._onDrop),z(e,\"touchend\",this._onDrop),z(e,\"pointerup\",this._onDrop),z(e,\"touchcancel\",this._onDrop),z(document,\"selectstart\",this)},_onDrop:function(e){var t=this.el,o=this.options;xe=se(we),Se=se(we,o.draggable),ge(\"drop\",this,{evt:e}),be=we&&we.parentNode,xe=se(we),Se=se(we,o.draggable),rt.eventCanceled?this._nulling():(Re=!1,Je=!1,Ye=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(z(document,\"drop\",this),z(t,\"dragstart\",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),N&&G(document.body,\"user-select\",\"\"),G(we,\"transform\",\"\"),e&&(Fe&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(Qe===be||Pe&&\"clone\"!==Pe.lastPutMode)&&ke&&ke.parentNode&&ke.parentNode.removeChild(ke),we&&(this.nativeDraggable&&z(we,\"dragend\",this),ut(we),we.style[\"will-change\"]=\"\",Fe&&!Re&&K(we,Pe?Pe.options.ghostClass:this.options.ghostClass,!1),K(we,this.options.chosenClass,!1),ye({sortable:this,name:\"unchoose\",toEl:be,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qe!==be?(xe>=0&&(ye({rootEl:be,name:\"add\",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:\"remove\",toEl:be,originalEvent:e}),ye({rootEl:be,name:\"sort\",toEl:be,fromEl:Qe,originalEvent:e}),ye({sortable:this,name:\"sort\",toEl:be,originalEvent:e})),Pe&&Pe.save()):xe!==Le&&xe>=0&&(ye({sortable:this,name:\"update\",toEl:be,originalEvent:e}),ye({sortable:this,name:\"sort\",toEl:be,originalEvent:e})),rt.active&&(null!=xe&&-1!==xe||(xe=Le,Se=Be),ye({sortable:this,name:\"end\",toEl:be,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ge(\"nulling\",this),Qe=we=be=je=_e=ke=Ce=De=Ee=Oe=Fe=xe=Se=Le=Be=We=Ue=Pe=Ae=rt.dragged=rt.ghost=rt.clone=rt.active=null,Ve.forEach((function(e){e.checked=!0})),Ve.length=Te=Ie=0},handleEvent:function(e){switch(e.type){case\"drop\":case\"dragend\":this._onDrop(e);break;case\"dragenter\":case\"dragover\":we&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect=\"move\");e.cancelable&&e.preventDefault()}(e));break;case\"selectstart\":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,s=o.length,n=this.options;i<s;i++)X(e=o[i],n.draggable,this.el,!1)&&t.push(e.getAttribute(n.dataIdAttr)||pt(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var s=o.children[i];X(s,this.options.draggable,o,!1)&&(t[e]=s)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return X(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,\"group\"===e&&st(o)},destroy:function(){ge(\"destroy\",this);var e=this.el;e[ue]=null,z(e,\"mousedown\",this._onTapStart),z(e,\"touchstart\",this._onTapStart),z(e,\"pointerdown\",this._onTapStart),this.nativeDraggable&&(z(e,\"dragover\",this),z(e,\"dragenter\",this)),Array.prototype.forEach.call(e.querySelectorAll(\"[draggable]\"),(function(e){e.removeAttribute(\"draggable\")})),this._onDrop(),this._disableDelayedDragEvents(),Xe.splice(Xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!De){if(ge(\"hideClone\",this),rt.eventCanceled)return;G(ke,\"display\",\"none\"),this.options.removeCloneOnHide&&ke.parentNode&&ke.parentNode.removeChild(ke),De=!0}},_showClone:function(e){if(\"clone\"===e.lastPutMode){if(De){if(ge(\"showClone\",this),rt.eventCanceled)return;Qe.contains(we)&&!this.options.group.revertClone?Qe.insertBefore(ke,we):_e?Qe.insertBefore(ke,_e):Qe.appendChild(ke),this.options.group.revertClone&&this.animate(we,ke),G(ke,\"display\",\"\"),De=!1}}else this._hideClone()}},$e&&H(document,\"touchmove\",(function(e){(rt.active||Re)&&e.cancelable&&e.preventDefault()})),rt.utils={on:H,off:z,css:G,find:$,is:function(e,t){return!!X(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:X,toggleClass:K,clone:ce,index:se,nextTick:ht,cancelNextTick:vt,detectDirection:it,getChild:oe},rt.get=function(e){return e[ue]},rt.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw\"Sortable: Mounted plugin must be a constructor function, not \".concat({}.toString.call(e));e.utils&&(rt.utils=P({},rt.utils,e.utils)),ve.mount(e)}))},rt.create=function(e,t){return new rt(e,t)},rt.version=\"1.10.2\";var ft,gt,yt,wt,bt,jt,Qt=[],_t=!1;function Ct(){Qt.forEach((function(e){clearInterval(e.pid)})),Qt=[]}function kt(){clearInterval(jt)}var Dt=le((function(e,t,o,i){if(t.scroll){var s,n=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=Z(),c=!1;gt!==o&&(gt=o,Ct(),ft=t.scroll,s=t.scrollFn,!0===ft&&(ft=ae(o,!0)));var u=0,m=ft;do{var p=m,h=ee(p),v=h.top,f=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=G(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX||\"visible\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY||\"visible\"===k.overflowY)):(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY));var x=j&&(Math.abs(y-n)<=d&&D+w<_)-(Math.abs(g-n)<=d&&!!D),B=Q&&(Math.abs(f-a)<=d&&L+b<C)-(Math.abs(v-a)<=d&&!!L);if(!Qt[u])for(var S=0;S<=u;S++)Qt[S]||(Qt[S]={});Qt[u].vx==x&&Qt[u].vy==B&&Qt[u].el===p||(Qt[u].el=p,Qt[u].vx=x,Qt[u].vy=B,clearInterval(Qt[u].pid),0==x&&0==B||(c=!0,Qt[u].pid=setInterval(function(){i&&0===this.layer&&rt.active._onTouchMove(bt);var t=Qt[this.layer].vy?Qt[this.layer].vy*l:0,o=Qt[this.layer].vx?Qt[this.layer].vx*l:0;\"function\"==typeof s&&\"continue\"!==s.call(rt.dragged.parentNode[ue],o,t,e,bt,Qt[this.layer].el)||re(Qt[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=ae(m,!1)));_t=c}}),30),Lt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,s=e.activeSortable,n=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||s;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(n(\"spill\"),this.onSpill({dragEl:i,putSortable:o}))}};function xt(){}function Bt(){}xt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=oe(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:Lt},A(xt,{pluginName:\"revertOnSpill\"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:Lt},A(Bt,{pluginName:\"removeOnSpill\"});rt.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)\"_\"===e.charAt(0)&&\"function\"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?H(document,\"dragover\",this._handleAutoScroll):this.options.supportPointer?H(document,\"pointermove\",this._handleFallbackAutoScroll):t.touches?H(document,\"touchmove\",this._handleFallbackAutoScroll):H(document,\"mousemove\",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?z(document,\"dragover\",this._handleAutoScroll):(z(document,\"pointermove\",this._handleFallbackAutoScroll),z(document,\"touchmove\",this._handleFallbackAutoScroll),z(document,\"mousemove\",this._handleFallbackAutoScroll)),kt(),Ct(),clearTimeout(Y),Y=void 0},nulling:function(){bt=gt=ft=_t=jt=yt=wt=null,Qt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,n=document.elementFromPoint(i,s);if(bt=e,t||I||T||N){Dt(e,this.options,n,t);var a=ae(n,!0);!_t||jt&&i===yt&&s===wt||(jt&&kt(),jt=setInterval((function(){var n=ae(document.elementFromPoint(i,s),!0);n!==a&&(a=n,Ct()),Dt(e,o.options,n,t)}),10),yt=i,wt=s)}else{if(!this.options.bubbleScroll||ae(n,!0)===Z())return void Ct();Dt(e,this.options,ae(n,!1),!1)}}},A(e,{pluginName:\"scroll\",initializeByDefault:!0})}),rt.mount(Bt,xt);var St=rt;window.onerror=function(e,t,o,i){Mt(e,t,o,i)},jQuery(document).on(\"click\",\".dslca-show-js-error-hook\",(function(e){e.preventDefault();var t=document.getElementById(\"dslca-js-errors-report\");jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||i({title:'<a href=\"https://livecomposerplugin.com/support/\" target=\"_blank\"><span class=\"dslca-icon dslc-icon-comment\"></span> &nbsp; Get Support Info</a>',content:'<span class=\"dslca-error-report\">'+t.value+\"</span>\"})})),jQuery(document).ready((function(e){var t,o;jQuery(\"#page-builder-frame\")[0].contentWindow.onerror=function(e,t,o,i){Mt(e,t,o,i)},t=document.getElementById(\"dslca-js-errors-report\"),null!==(o=localStorage.getItem(\"js_errors_report\"))&&(o.includes(\"lc-extensions\")||o.includes(\"page-builder\"))&&(t.value=o,localStorage.removeItem(\"js_errors_report\"),document.querySelector(\".dslca-show-js-error-hook\").setAttribute(\"style\",\"visibility:visible\")),jQuery(\"body\").addClass(\"dslca-enabled dslca-drag-not-in-progress\"),jQuery(\".dslca-invisible-overlay\").hide(),jQuery(\".dslca-section\").eq(0).show()})),jQuery(document).on(\"click\",\".dslca-currently-editing\",(function(){var e=!1,t=!1;if(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#5890e5\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#eabba9\"),e){(t=e.offset().top-100)<0&&(t=0);jQuery(\"html, body\",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr(\"style\")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on(\"click\",\".dslca-hide-composer-hook\",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log(\"dslc_hide_composer\");jQuery(\".dslca-hide-composer-hook\").hide(),jQuery(\".dslca-show-composer-hook\").show(),jQuery(\"body\").addClass(\"dslca-composer-hidden\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(\".dslca-container\").css({bottom:-1*jQuery(\".dslca-container\").outerHeight()}),jQuery(\".dslca-header\").hide()}()})),jQuery(document).on(\"click\",\".dslca-show-composer-hook\",(function(e){e.preventDefault(),function(){window.dslcDebug&&console.log(\"dslc_show_composer\");jQuery(\".dslca-show-composer-hook\").hide(),jQuery(\".dslca-hide-composer-hook\").show(),jQuery(\"body\").removeClass(\"dslca-composer-hidden\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(\".dslca-container\").css({bottom:0}),jQuery(\".dslca-header\").show()}()})),jQuery(document).on(\"click\",\".dslca-go-to-modules-hook\",(function(e){e.preventDefault(),Pt(\".dslca-modules\")})),jQuery(document).on(\"click\",\".dslca-go-to-section-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-active\")){var t=jQuery(this).data(\"section\");Pt(t),(jQuery(this).hasClass(\"dslca-go-to-section-modules\")||jQuery(this).hasClass(\"dslca-go-to-section-templates\"))&&jQuery(this).addClass(\"dslca-active\").siblings(\".dslca-go-to-section-hook\").removeClass(\"dslca-active\")}})),jQuery(document).on(\"click\",\".dslca-close-composer-hook\",(function(e){e.preventDefault();var t=jQuery(this).attr(\"href\");!jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")&&jQuery(\".dslca-save-composer\").is(\":visible\")?i({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on(\"click\",\".dslca-submit\",(function(){jQuery(this).closest(\"form\").submit()})),jQuery(document).on(\"click\",\".dslca-section-title\",(function(e){e.stopPropagation(),jQuery(\".dslca-section-title-filter\",this).length&&(!function(){window.dslcDebug&&console.log(\"dslc_generate_filters\");var e,t=[],o='<a html=\"#\" data-origin=\"\">Show All</a>';jQuery(\".dslca-section:visible .dslca-origin\").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data(\"origin\"),t)&&(t.push(e.data(\"origin\")),o+='<a href=\"#\" data-origin=\"'+e.data(\"origin\")+'\">'+e.data(\"origin\")+\"</a>\")})),jQuery(\".dslca-section:visible .dslca-section-title-filter-options\").html(o).css(\"background\",jQuery(\".dslca-section:visible\").data(\"bg\"))}(),jQuery(\".dslca-section-title-filter-options\").slideToggle(300))})),jQuery(document).on(\"click\",\".dslca-section-title-filter-options a\",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data(\"origin\"),o=jQuery(this).closest(\".dslca-section\");o.hasClass(\"dslca-templates-load\"),jQuery(\".dslca-section-title-filter-curr\",o).text(jQuery(this).text()),jQuery(\".dslca-section-scroller-inner\").css({left:0}),function(e,t){window.dslcDebug&&console.log(\"dslc_filter_origin\");jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"false\"),jQuery('.dslca-origin[data-origin=\"'+e+'\"]',t).attr(\"data-display-module\",\"true\"),\"\"==e&&(jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"true\"),jQuery(\".dslca-origin.dslca-exclude\",t).attr(\"data-display-module\",\"false\"))}(t,o),jQuery(\".dslca-section-title-filter-options\").slideToggle(300)})),window.dslc_show_publish_button=function(){window.dslcDebug&&console.log(\"dslc_show_publish_button\"),jQuery(\".dslca-save-composer\").show().addClass(\"dslca-init-animation\"),jQuery(\".dslca-save-draft-composer\").show().addClass(\"dslca-init-animation\")};const At=()=>{window.dslcDebug&&console.log(\"hidePublishButton\"),jQuery(\".dslca-save-composer\").hide(),jQuery(\".dslca-save-draft-composer\").hide()},Pt=e=>{window.dslcDebug&&console.log(\"showSection\");jQuery(e).data(\"title\"),jQuery(e).data(\"bg\");jQuery(\".dslca-container\").css({bottom:-500}),jQuery(\".dslca-section\").hide(),jQuery(e).show(),\".dslca-module-edit\"==e?jQuery(\".dslca-currently-editing\").show().find(\"strong\").text(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).attr(\"title\")+\" element\"):\".dslca-modules-section-edit\"==e?jQuery(\".dslca-currently-editing\").show().css(\"background-color\",\"#e5855f\").find(\"strong\").text(\"Row\"):jQuery(\".dslca-currently-editing\").hide().find(\"strong\").text(\"\"),j(),jQuery(\".dslca-container\").css({bottom:0}),jQuery(e).find(\"input.dslca-module-edit-field-colorpicker\").each((function(e){jQuery(this).css(\"background\",jQuery(this).val())}))};function Et(e){if(void 0===e&&(e=!1),e){var t=jQuery(\".dslca-module-edit-option-\"+e),o=t.find(\".dslca-module-edit-field\"),i=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument)[0].id,s=\"\";\"tablet_responsive\"===t.data(\"tab\")?s=\"body.dslc-res-tablet \":\"phone_responsive\"===t.data(\"tab\")&&(s=\"body.dslc-res-phone \");var n=o.data(\"affect-on-change-el\");if(void 0!==n){var a=n.split(\",\");n=\"\";for(var d=0;d<a.length;d++)d>0&&(n+=\", \"),n+=s+\"#\"+i+\" \"+a[d];var l,r=o.data(\"affect-on-change-rule\").replace(/ /g,\"\").split(\",\"),c=o.data(\"ext\");if(t.toggleClass(\"dslca-option-off\"),t.hasClass(\"dslca-option-off\")){l=Tt(e),o.data(\"val-bckp\",l);for(d=0;d<r.length;d++)jQuery(n,LiveComposer.Builder.PreviewAreaDocument).css(r[d],\"\"),Ot(n,r[d],i);o.val(\"\").trigger(\"change\")}else{o.val(o.data(\"val-bckp\")).trigger(\"change\"),l=function(e,t){if(\"\"===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=Tt(e),c||\"\");for(d=0;d<r.length;d++){var u=n+\"{\"+r[d]+\": \"+l+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:n.replace(new RegExp(\"#\"+i,\"gi\"),\"\").trim(),styleContent:u})}}}}}function Ot(e,t,o){var i,s=\"css-for-\"+o,n=document.getElementById(\"page-builder-frame\").contentWindow.document.getElementById(s);if(e=e.replace(/\\s\\s+/g,\" \"),n){(n=n.sheet).rules?i=\"rules\":n.cssRules&&(i=\"cssRules\");for(var a=0;a<n[i].length;a++)if(n[i][a].selectorText==e&&n[i][a].style[t]){n[i][a].style[t]=\"\";break}}}function Tt(e){return jQuery(\".dslca-module-edit-option-\"+e).find(\".dslca-module-edit-field\").val()}jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-option .dslc-control-toggle\",(function(e){e.preventDefault(),Et(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))})),jQuery(document).on(\"mousedown\",\".dslca-module-edit-option\",(function(e){var t=jQuery(\".dslc-control-toggle\");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(\".dslca-module-edit-option\").hasClass(\"dslca-option-off\")&&Et(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))}))}));const It=()=>{jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keydown\").bind(\"keydown\",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!(\"INPUT\"===o.tagName.toUpperCase()&&(\"TEXT\"===o.type.toUpperCase()||\"PASSWORD\"===o.type.toUpperCase()||\"NUMBER\"===o.type.toUpperCase()||\"FILE\"===o.type.toUpperCase())||\"TEXTAREA\"===o.tagName.toUpperCase()||jQuery(o).hasClass(\"dslca-editable-content\")||jQuery(o).hasClass(\"dslc-tabs-nav-hook-title\")||jQuery(o).hasClass(\"dslc-accordion-title\"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(\".dslca-save-composer-hook\").offsetParent&&null===jQuery(\".dslca-module-edit-save\").offsetParent||(t.preventDefault(),i({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&\"block\"==jQuery(\".dslca-save-composer-hook\").css(\"display\"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&(LiveComposer.Builder.UI.cmdMode=!0,LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.add(\"key-press-cmd\"))}(e),function(e){LiveComposer.Builder.UI.cmdMode&&(e.metaKey||e.ctrlKey||(LiveComposer.Builder.UI.cmdMode=!1,LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.remove(\"key-press-cmd\")))}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keyup\").bind(\"keyup\",(function(e){\"Meta\"===e.key&&(LiveComposer.Builder.UI.cmdMode=!1,LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.remove(\"key-press-cmd\"))}))};function Mt(e,t,o,i){var s=\"JavaScript error detected in a third-party plugin\";null!=t.match(\"wp-content/plugins/live-composer-page-builder/js\")&&(s=\"Live Composer returned JS error\");var n=\"\";n+='<br /><strong style=\"color:#E55F5F;\">'+s+\"</strong><br />\",n+=e+'<br /> File \"'+t+'\", line '+o+\", char \"+i+\"<br />\",\"undefined\"!=typeof Storage&&localStorage.setItem(\"js_errors_report\",n)}jQuery(document).on(\"editorFrameLoaded\",(function(){jQuery;var e=jQuery(\"div[data-hf]\",LiveComposer.Builder.PreviewAreaDocument),t=\"\";e.each((function(e,o){var i=jQuery(o).data(\"editing-link\"),s=(jQuery(o).data(\"editing-type\"),jQuery(o).data(\"editing-label\")),n=jQuery(o).data(\"editing-sublabel\");t+='<div class=\"dslc-hf-block-overlay\"><a target=\"_blank\" href=\"'+i+'\" class=\"dslc-hf-block-overlay-button dslca-link\">'+s+\"</a>\",void 0!==n&&(t+=' <span class=\"dslc-hf-block-overlay-text\">'+n+\"</span>\"),t+=\"</div>\";var a=document.createElement(\"div\");a.innerHTML=t,o.append(a)}))}));var Nt={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},Ft={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},Wt=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\"],Ut={CSS:{},springs:{}};function Ht(e,t,o){return Math.min(Math.max(e,t),o)}function zt(e,t){return e.indexOf(t)>-1}function Rt(e,t){return e.apply(null,t)}var qt={arr:function(e){return Array.isArray(e)},obj:function(e){return zt(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return qt.obj(e)&&e.hasOwnProperty(\"totalLength\")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||qt.svg(e)},str:function(e){return\"string\"==typeof e},fnc:function(e){return\"function\"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return qt.hex(e)||qt.rgb(e)||qt.hsl(e)},key:function(e){return!Nt.hasOwnProperty(e)&&!Ft.hasOwnProperty(e)&&\"targets\"!==e&&\"keyframes\"!==e}};function Xt(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map((function(e){return parseFloat(e)})):[]}function Yt(e,t){var o=Xt(e),i=Ht(qt.und(o[0])?1:o[0],.1,100),s=Ht(qt.und(o[1])?100:o[1],.1,100),n=Ht(qt.und(o[2])?10:o[2],.1,100),a=Ht(qt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(s/i),l=n/(2*Math.sqrt(s*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=l<1?(l*d-a)/r:-a+d;function u(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(1*Math.cos(r*o)+c*Math.sin(r*o)):(1+c*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?u:function(){var t=Ut.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===u(o+=1/6)){if(++i>=16)break}else i=0;var s=o*(1/6)*1e3;return Ut.springs[e]=s,s}}function Jt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Gt,Vt=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function o(e){return 3*e}function i(i,s,n){return((e(s,n)*i+t(s,n))*i+o(s))*i}function s(i,s,n){return 3*e(s,n)*i*i+2*t(s,n)*i+o(s)}return function(e,t,o,n){if(0<=e&&e<=1&&0<=o&&o<=1){var a=new Float32Array(11);if(e!==t||o!==n)for(var d=0;d<11;++d)a[d]=i(.1*d,e,o);return function(s){return e===t&&o===n?s:0===s||1===s?s:i(l(s),t,n)}}function l(t){for(var n=0,d=1;10!==d&&a[d]<=t;++d)n+=.1;--d;var l=n+.1*((t-a[d])/(a[d+1]-a[d])),r=s(l,e,o);return r>=.001?function(e,t,o,n){for(var a=0;a<4;++a){var d=s(t,o,n);if(0===d)return t;t-=(i(t,o,n)-e)/d}return t}(t,l,e,o):0===r?l:function(e,t,o,s,n){var a,d,l=0;do{(a=i(d=t+(o-t)/2,s,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(t,n,n+.1,e,o)}}}(),$t=(Kt={linear:function(){return function(e){return e}}},Gt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Ht(e,1,10),i=Ht(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},[\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"].forEach((function(e,t){Gt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Gt).forEach((function(e){var t=Gt[e];Kt[\"easeIn\"+e]=t,Kt[\"easeOut\"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt[\"easeInOut\"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function Zt(e,t){if(qt.fnc(e))return e;var o=e.split(\"(\")[0],i=$t[o],s=Xt(e);switch(o){case\"spring\":return Yt(e,t);case\"cubicBezier\":return Rt(Vt,s);case\"steps\":return Rt(Jt,s);default:return Rt(i,s)}}function eo(e){try{return document.querySelectorAll(e)}catch(e){return}}function to(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,s=[],n=0;n<o;n++)if(n in e){var a=e[n];t.call(i,a,n,e)&&s.push(a)}return s}function oo(e){return e.reduce((function(e,t){return e.concat(qt.arr(t)?oo(t):t)}),[])}function io(e){return qt.arr(e)?e:(qt.str(e)&&(e=eo(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function no(e){var t={};for(var o in e)t[o]=e[o];return t}function ao(e,t){var o=no(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=no(e);for(var i in t)o[i]=qt.und(e[i])?t[i]:e[i];return o}function ro(e){return qt.rgb(e)?(o=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(t=e))?\"rgba(\"+o[1]+\",1)\":t:qt.hex(e)?function(e){var t=e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(t);return\"rgba(\"+parseInt(o[1],16)+\",\"+parseInt(o[2],16)+\",\"+parseInt(o[3],16)+\",1)\"}(e):qt.hsl(e)?function(e){var t,o,i,s=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(e)||/hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(e),n=parseInt(s[1],10)/360,a=parseInt(s[2],10)/100,d=parseInt(s[3],10)/100,l=s[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,n+1/3),o=r(u,c,n),i=r(u,c,n-1/3)}return\"rgba(\"+255*t+\",\"+255*o+\",\"+255*i+\",\"+l+\")\"}(e):void 0;var t,o}function co(e){var t=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function uo(e,t){return qt.fnc(e)?e(t.target,t.id,t.total):e}function mo(e,t){return e.getAttribute(t)}function po(e,t,o){if(so([o,\"deg\",\"rad\",\"turn\"],co(t)))return t;var i=Ut.CSS[t+o];if(!qt.und(i))return i;var s=document.createElement(e.tagName),n=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;n.appendChild(s),s.style.position=\"absolute\",s.style.width=100+o;var a=100/s.offsetWidth;n.removeChild(s);var d=a*parseFloat(t);return Ut.CSS[t+o]=d,d}function ho(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),s=e.style[t]||getComputedStyle(e).getPropertyValue(i)||\"0\";return o?po(e,s,o):s}}function vo(e,t){return qt.dom(e)&&!qt.inp(e)&&(mo(e,t)||qt.svg(e)&&e[t])?\"attribute\":qt.dom(e)&&so(Wt,t)?\"transform\":qt.dom(e)&&\"transform\"!==t&&ho(e,t)?\"css\":null!=e[t]?\"object\":void 0}function fo(e){if(qt.dom(e)){for(var t,o=e.style.transform||\"\",i=/(\\w+)\\(([^)]*)\\)/g,s=new Map;t=i.exec(o);)s.set(t[1],t[2]);return s}}function go(e,t,o,i){var s=zt(t,\"scale\")?1:0+function(e){return zt(e,\"translate\")||\"perspective\"===e?\"px\":zt(e,\"rotate\")||zt(e,\"skew\")?\"deg\":void 0}(t),n=fo(e).get(t)||s;return o&&(o.transforms.list.set(t,n),o.transforms.last=t),i?po(e,n,i):n}function yo(e,t,o,i){switch(vo(e,t)){case\"transform\":return go(e,t,i,o);case\"css\":return ho(e,t,o);case\"attribute\":return mo(e,t);default:return e[t]||0}}function wo(e,t){var o=/^(\\*=|\\+=|-=)/.exec(e);if(!o)return e;var i=co(e)||0,s=parseFloat(t),n=parseFloat(e.replace(o[0],\"\"));switch(o[0][0]){case\"+\":return s+n+i;case\"-\":return s-n+i;case\"*\":return s*n+i}}function bo(e,t){if(qt.col(e))return ro(e);if(/\\s/g.test(e))return e;var o=co(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function jo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Qo(e){for(var t,o=e.points,i=0,s=0;s<o.numberOfItems;s++){var n=o.getItem(s);s>0&&(i+=jo(t,n)),t=n}return i}function _o(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return function(e){return 2*Math.PI*mo(e,\"r\")}(e);case\"rect\":return function(e){return 2*mo(e,\"width\")+2*mo(e,\"height\")}(e);case\"line\":return function(e){return jo({x:mo(e,\"x1\"),y:mo(e,\"y1\")},{x:mo(e,\"x2\"),y:mo(e,\"y2\")})}(e);case\"polyline\":return Qo(e);case\"polygon\":return function(e){var t=e.points;return Qo(e)+jo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function Co(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;qt.svg(t)&&qt.svg(t.parentNode);)t=t.parentNode;return t}(e),s=i.getBoundingClientRect(),n=mo(i,\"viewBox\"),a=s.width,d=s.height,l=o.viewBox||(n?n.split(\" \"):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function ko(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=Co(e.el,e.svg),s=o(),n=o(-1),a=o(1);switch(e.property){case\"x\":return(s.x-i.x)*i.w;case\"y\":return(s.y-i.y)*i.h;case\"angle\":return 180*Math.atan2(a.y-n.y,a.x-n.x)/Math.PI}}function Do(e,t){var o=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g,i=bo(qt.pth(e)?e.totalLength:e,t)+\"\";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:qt.str(e)||t?i.split(o):[]}}function Lo(e){return to(e?oo(qt.arr(e)?e.map(io):io(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function xo(e){var t=Lo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:fo(e)}}}))}function Bo(e,t){var o=no(t);if(/^spring/.test(o.easing)&&(o.duration=Yt(o.easing)),qt.arr(e)){var i=e.length;2===i&&!qt.obj(e[0])?e={value:e}:qt.fnc(t.duration)||(o.duration=t.duration/i)}var s=qt.arr(e)?e:[e];return s.map((function(e,o){var i=qt.obj(e)&&!qt.pth(e)?e:{value:e};return qt.und(i.delay)&&(i.delay=o?0:t.delay),qt.und(i.endDelay)&&(i.endDelay=o===s.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function So(e,t){var o=[],i=t.keyframes;for(var s in i&&(t=lo(function(e){for(var t=to(oo(e.map((function(e){return Object.keys(e)}))),(function(e){return qt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var s=t[i];o[s]=e.map((function(e){var t={};for(var o in e)qt.key(o)?o==s&&(t.value=e[o]):t[o]=e[o];return t}))},s=0;s<t.length;s++)i(s);return o}(i),t)),t)qt.key(s)&&o.push({name:s,tweens:Bo(t[s],e)});return o}function Ao(e,t){var o;return e.tweens.map((function(i){var s=function(e,t){var o={};for(var i in e){var s=uo(e[i],t);qt.arr(s)&&1===(s=s.map((function(e){return uo(e,t)}))).length&&(s=s[0]),o[i]=s}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),n=s.value,a=qt.arr(n)?n[1]:n,d=co(a),l=yo(t.target,e.name,d,t),r=o?o.to.original:l,c=qt.arr(n)?n[0]:r,u=co(c)||co(l),m=d||u;return qt.und(a)&&(a=r),s.from=Do(c,m),s.to=Do(wo(a,c),m),s.start=o?o.end:0,s.end=s.start+s.delay+s.duration+s.endDelay,s.easing=Zt(s.easing,s.duration),s.isPath=qt.pth(n),s.isColor=qt.col(s.from.original),s.isColor&&(s.round=1),o=s,s}))}var Po={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,s){if(i.list.set(t,o),t===i.last||s){var n=\"\";i.list.forEach((function(e,t){n+=t+\"(\"+e+\") \"})),e.style.transform=n}}};function Eo(e,t){xo(e).forEach((function(e){for(var o in t){var i=uo(t[o],e),s=e.target,n=co(i),a=yo(s,o,n,e),d=wo(bo(i,n||co(a)),a),l=vo(s,o);Po[l](s,o,d,e.transforms,!0)}}))}function Oo(e,t){return to(oo(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Ao(t,e),s=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:s.end,delay:i[0].delay,endDelay:s.endDelay}}}(e,t)}))}))),(function(e){return!qt.und(e)}))}function To(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},s={};return s.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,s.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,s.endDelay=o?s.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,s}var Io=0;var Mo,No=[],Fo=[],Wo=function(){function e(){Mo=requestAnimationFrame(t)}function t(t){var o=No.length;if(o){for(var i=0;i<o;){var s=No[i];if(s.paused){var n=No.indexOf(s);n>-1&&(No.splice(n,1),o=No.length)}else s.tick(t);i++}e()}else Mo=cancelAnimationFrame(Mo)}return e}();function Uo(e){void 0===e&&(e={});var t,o=0,i=0,s=0,n=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=ao(Nt,e),o=ao(Ft,e),i=So(o,e),s=xo(e.targets),n=Oo(s,i),a=To(n,o),d=Io;return Io++,lo(t,{id:d,children:[],animatables:s,animations:n,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;\"alternate\"!==e&&(l.direction=\"normal\"!==e?\"normal\":\"reverse\"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Uo.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var s=o[t],n=s.animatable,a=s.tweens,d=a.length-1,r=a[d];d&&(r=to(a,(function(t){return e<t.end}))[0]||r);for(var c=Ht(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],v=r.to.numbers.length,f=void 0,g=0;g<v;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?ko(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){f=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(f+=_?C+_:C+\" \")}}else f=h[0];Po[s.type](n.target,s.property,f,n.transforms),s.currentValue=f,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var u=l.duration,v=l.delay,f=u-l.endDelay,g=c(e);l.progress=Ht(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=n;o--;)m(e,t[o]);else for(var i=0;i<n;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h(\"begin\")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h(\"loopBegin\")),g<=v&&0!==l.currentTime&&p(0),(g>=f&&l.currentTime!==u||!u)&&p(u),g>v&&g<f?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h(\"changeBegin\")),h(\"change\"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h(\"changeComplete\")),l.currentTime=Ht(g,0,u),l.began&&h(\"update\"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=s,h(\"loopComplete\"),l.loopBegan=!1,\"alternate\"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h(\"loopComplete\"),h(\"complete\"),!l.passThrough&&\"Promise\"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=\"reverse\"===e,l.remaining=l.loop,t=l.children;for(var o=n=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||\"alternate\"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Eo(e,t),l},l.tick=function(e){s=e,o||(o=s),v((s+(i-o))*Uo.speed)},l.seek=function(e){v(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,No.push(l),u(),Mo||Wo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Ho(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}\"undefined\"!=typeof document&&document.addEventListener(\"visibilitychange\",(function(){document.hidden?(No.forEach((function(e){return e.pause()})),Fo=No.slice(0),Uo.running=No=[]):Fo.forEach((function(e){return e.play()}))})),Uo.version=\"3.1.0\",Uo.speed=1,Uo.running=No,Uo.remove=function(e){for(var t=Lo(e),o=No.length;o--;){var i=No[o],s=i.animations,n=i.children;Ho(t,s);for(var a=n.length;a--;){var d=n[a],l=d.animations;Ho(t,l),l.length||d.children.length||n.splice(a,1)}s.length||n.length||i.pause()}},Uo.get=yo,Uo.set=Eo,Uo.convertPx=po,Uo.path=function(e,t){var o=qt.str(e)?eo(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:Co(o),totalLength:_o(o)*(i/100)}}},Uo.setDashoffset=function(e){var t=_o(e);return e.setAttribute(\"stroke-dasharray\",t),t},Uo.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||\"normal\",i=t.easing?Zt(t.easing):null,s=t.grid,n=t.axis,a=t.from||0,d=\"first\"===a,l=\"center\"===a,r=\"last\"===a,c=qt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=co(c?e[1]:e)||0,h=t.start||0+(c?u:0),v=[],f=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!v.length){for(var y=0;y<g;y++){if(s){var w=l?(s[0]-1)/2:a%s[0],b=l?(s[1]-1)/2:Math.floor(a/s[0]),j=w-y%s[0],Q=b-Math.floor(y/s[0]),_=Math.sqrt(j*j+Q*Q);\"x\"===n&&(_=-j),\"y\"===n&&(_=-Q),v.push(_)}else v.push(Math.abs(a-y));f=Math.max.apply(Math,v)}i&&(v=v.map((function(e){return i(e/f)*f}))),\"reverse\"===o&&(v=v.map((function(e){return n?e<0?-1*e:-e:Math.abs(f-e)})))}return h+(c?(m-u)/f:u)*(Math.round(100*v[t])/100)+p}},Uo.timeline=function(e){void 0===e&&(e={});var t=Uo(e);return t.duration=0,t.add=function(o,i){var s=No.indexOf(t),n=t.children;function a(e){e.passThrough=!0}s>-1&&No.splice(s,1);for(var d=0;d<n.length;d++)a(n[d]);var l=lo(o,ao(Ft,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=qt.und(i)?r:wo(i,r),a(t),t.seek(l.timelineOffset);var c=Uo(l);a(c),n.push(c);var u=To(n,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Uo.easing=Zt,Uo.penner=$t,Uo.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var zo=Uo,Ro=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener(\"moduleDuplicate\",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains(\"dslca-action-disabled\")||Yo(t.closest(\".dslc-module-front\"))})),document.addEventListener(\"moduleDelete\",(function(e){const t=e.detail;if(!Ro())return!1;t.classList.contains(\"dslca-action-disabled\")||i({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log(\"dslc_delete_module\");Pt(\".dslca-modules\"),zo({targets:e,easing:\"easeOutExpo\",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(\".dslc-module-front\"))}})})),document.addEventListener(\"moduleEdit\",(function(e){const t=e.detail.closest(\".dslc-module-front\"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\"),s=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||s>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add(\"dslca-module-being-edited\"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add(\"module-editing-in-progress\")})),document.addEventListener(\"copyModuleStyles\",(function(e){let t=e.detail.closest(\".dslc-module-front\").querySelector(\".dslca-module-code\").innerText;localStorage.setItem(\"lcCopyPasteStorage\",t)})),document.addEventListener(\"pasteModuleStyles\",(function(e){const t=e.detail.closest(\".dslc-module-front\"),o=jQuery(t),i=localStorage.getItem(\"lcCopyPasteStorage\");let s=!1;if(i)try{s=JSON.parse(i)}catch(e){console.log(\"Can't parse copy/paste string into JSON:\"),console.log(e)}if(s&&s.module_id===t.dataset.module){const e=t.querySelector(\".dslca-module-code\").innerText;let i=!1;try{i=JSON.parse(e)}catch(e){console.log(\"Can't parse current module code into JSON:\"),console.log(e)}if(i){let e=!1;for(let t in s)t.includes(\"css_\")&&(i[t]=s[t],e=!0);for(let t in i)t.includes(\"css_\")&&(i[t]!==s[t]&&(i[t]=\"\"),e=!0);e&&(i.action=\"dslc-ajax-add-module\",i.dslc=\"active\",i.dslc_module_id=i.module_id,i.dslc_module_instance_id=i.module_instance_id,i.dslc_post_id=i.post_id,o.hasClass(\"dslca-preload-preset\")?i.dslc_preload_preset=\"enabled\":i.dslc_preload_preset=\"disabled\",o.removeClass(\"dslca-preload-preset\"),i.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,i,(function(e){e&&(o.after(e.output).next().addClass(\"dslca-module-being-edited\"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"))})))}}}));document.addEventListener(\"moduleChangeWidth\",(function(e){const t=e.detail,o=t.closest(\".dslc-module-front\");if(!t.classList.contains(\"dslca-action-disabled\")){var i=o.dataset.dslcModuleSize,s=t.dataset.size;Number(i)!==Number(s)&&function(e,t){window.dslcDebug&&console.log(\"dslc_module_width_set\");var o=\"dslc-\"+t+\"-col\";jQuery(e).removeClass(\"dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col\").addClass(o).data(\"dslc-module-size\",t),e.setAttribute(\"data-dslc-module-size\",t),LiveComposer.Utils.update_module_property_raw(e,\"dslc_m_size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,s)}})),document.addEventListener(\"wysiwygEdit\",(function(e){const t=e.detail,o=t.closest(\".dslc-module-front\"),i=t.dataset.idToEdit,s=o.querySelector('[data-edit-id=\"'+i+'\"]');let n=\"\";if(n=\"TEXTAREA\"===s.tagName||\"INPUT\"===s.tagName?s.value:s.innerHTML,void 0===n&&(n=\"\"),n.trim().length&&(n=n.replace(/<lctextarea/g,\"<textarea\").replace(/<\\/lctextarea/g,\"</textarea\")),n.includes(\"%\")&&(n=n.replace(/%\\(\\(%/g,\"[\"),n=n.replace(/%\\)\\)%/g,\"]\"),n=n.replace(/%\\(%/g,\"[\"),n=n.replace(/%\\)%/g,\"]\"),n=n.replace(/%\\{%/g,\"[\"),n=n.replace(/%\\}%/g,\"]\")),n=n.trim(),\"undefined\"!=typeof tinymce){var a=tinymce.get(\"dslcawpeditor\");document.getElementById(\"wp-dslcawpeditor-wrap\").classList.contains(\"tmce-active\")?a.setContent(n,{format:\"html\"}):document.getElementById(\"dslcawpeditor\").value=n,o.classList.contains(\"dslca-module-being-edited\")||o.querySelector(\".dslca-module-edit-hook\").click(),jQuery(\".dslca-wp-editor\").show(),s.classList.add(\"dslca-wysiwyg-active\"),jQuery(\"#dslcawpeditor_ifr, #dslcawpeditor\").css({height:jQuery(\".dslca-wp-editor\").height()-300})}else console.info(\"Live Composer: TinyMCE is undefined.\")}));const qo=()=>{LiveComposer.Builder.PreviewAreaDocument.on(\"blur\",\".dslca-editable-content\",(function(){LiveComposer.Builder.Flags.uiHidden||\"simple\"!=jQuery(this).data(\"type\")||l(jQuery(this))})).on(\"paste\",\".dslca-editable-content:not(.inline-editor)\",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&\"simple\"==jQuery(this).data(\"type\")){var e=jQuery(this);setTimeout((function(){\"simple\"==e.data(\"type\")&&e.html(e.text()),l(e)}),100)}})).on(\"focus\",\".dslca-editable-content\",(function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")&&jQuery(this).trigger(\"blur\")})).on(\"keyup\",\".dslca-editable-content\",(function(){\"simple\"==jQuery(this).data(\"type\")&&jQuery(this).closest(\".dslc-module-front\").addClass(\"dslca-module-change-made\")}))};document.addEventListener(\"contentEditableFocusOut\",(function(e){window.dslc_show_publish_button()}));const Xo=()=>{const e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\");null!==e&&e.classList.remove(\"dslca-module-being-edited\")};function Yo(e){window.dslcDebug&&console.log(\"dslc_copy_module\"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.closest(\".dslc-modules-area\")).css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0,top:-50}).addClass(\"dslca-module-being-edited\"),Jo(t),window.dslc_generate_code(),zo({targets:t,easing:\"easeOutExpo\",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove(\"dslca-module-being-edited\")}}),window.dslc_show_publish_button()}const Jo=e=>{var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute(\"id\");e.setAttribute(\"data-module-id\",t),e.setAttribute(\"id\",\"dslc-module-\"+t);var i=e.getElementsByTagName(\"style\")[0],s=i.textContent;i.setAttribute(\"id\",\"#css-for-dslc-module-\"+t),s=s.split(o).join(\"dslc-module-\"+t),i.textContent=s,LiveComposer.Utils.update_module_property_raw(e,\"module_instance_id\",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log(\"dslc_module_options_show\"),void 0===e&&console.warn(\"No module ID defined in dslc_module_options_show function.\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(\".dslca-module-options-front textarea\",t),i=jQuery(\".dslca-header\").data(\"default-section\"),s=jQuery(jQuery(\"#pseudo-panel\").html());jQuery(\"#wpwrap\").append(s);var n={action:\"dslc-ajax-display-module-options\",dslc:\"active\"};n.dslc_module_id=e,n.dslc_post_id=jQuery(\".dslca-container\").data(\"data-post-id\"),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();o.includes(\"%\")&&(o=(o=(o=(o=(o=(o=o.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),n[t]=o})),jQuery(\".dslca-wp-editor-actions\").hide(),jQuery(\".dslca-wp-editor-notification\").show(),At();var a=jQuery(\".dslca-module-options-front\",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,s.show(),s.addClass(\"show\"),jQuery.post(DSLCAjax.ajaxurl,n,(function(e){s.remove(),Pt(\".dslca-module-edit\"),jQuery(\"body\").hasClass(\"rtl\"),jQuery(\".dslca-module-edit-options-inner\").html(e.output),jQuery(\".dslca-module-edit-options-tabs\").html(e.output_tabs);var t=[];jQuery(\".dslca-module-edit-options-inner .dslca-module-edit-option\").each((function(){var e=jQuery(this).data(\"section\");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,n=0;n<o;n++)jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+t[n]+'\"]').show();jQuery('.dslca-module-edit-option[data-section=\"'+i+'\"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').trigger(\"click\")):(jQuery(\".dslca-header .dslca-options-filter-hook:first\").hide(),jQuery(\".dslca-header .dslca-options-filter-hook:first\").next(\".dslca-options-filter-hook\").trigger(\"click\")),jQuery(\".dslca-module-edit-actions\").show(),jQuery(\".dslca-wp-editor-notification\").hide(),jQuery(\".dslca-wp-editor-actions\").show(),jQuery(\".dslca-header .dslca-go-to-section-hook\").hide(),jQuery(\".dslca-row-edit-actions\").hide(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};const Ko=e=>{window.dslcDebug&&console.log(\"moduleOutputAltered\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",t),s=t.data(\"module-id\"),n={action:\"dslc-ajax-add-module\",dslc:\"active\"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),t.hasClass(\"dslca-preload-preset\")?n.dslc_preload_preset=\"enabled\":n.dslc_preload_preset=\"disabled\",t.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();n[t]=o})),n.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass(\"dslca-module-being-edited\"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var s=new Event(\"moduleOutputAltered\");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(s),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log(\"dslc_module_output_reload\"),t=void 0!==t&&t;var o=e.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",e),s=e.data(\"module-id\"),n={action:\"dslc-ajax-add-module\",dslc:\"active\"};n.dslc_module_id=o,n.dslc_module_instance_id=s,n.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),n.dslc_preload_preset=\"enabled\",e.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();n[t]=o})),e.append('<div class=\"dslca-module-reloading\"><span class=\"dslca-icon dslc-icon-spin dslc-icon-refresh\"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,n,(function(o){e.after(o.output).next().addClass(\"dslca-module-being-edited\"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\")}))};const Go=()=>{LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"99998\");const t=e.target.closest(\"[data-module-id]\"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add(\"dslc-small-height-module\"):t.classList.remove(\"dslc-small-height-module\")},mouseleave:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"999999\")}},\".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage\"),qo()},Vo=()=>{var e,t,o,i=jQuery(\".dslca-modules .dslca-section-scroller-content\");0==i.length&&(i=[document.createElement(\"div\")]);St.create(i[0],{sort:!1,group:{name:\"modules\",pull:\"clone\",put:!1},animation:150,handle:\".dslca-module\",draggable:\".dslca-module\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"#dslc-header\").addClass(\"dslca-header-low-z-index\")},onEnd:function(i){i.oldIndex,i.newIndex;var s,n,a=i.item;if(i.preventDefault(),jQuery(a).closest(\".dslca-section-scroller-content\").length>0)return!1;jQuery(\".dslca-options-hovered\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-options-hovered\"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),\"DSLC_M_A\"==t||jQuery(\"body\").hasClass(\"dslca-module-drop-in-progress\")||e.closest(\"#dslc-header\").length||e.closest(\"#dslc-footer\").length||(jQuery(\"body\").addClass(\"dslca-module-drop-in-progress\"),s=t,n=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(\".dslca-module\",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery(\"body\").removeClass(\"dslca-module-drop-in-progress\")}),700),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"visible\"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log(\"moduleOutputDefault\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-module\",dslc:\"active\",dslc_module_id:s,dslc_post_id:jQuery(\".dslca-container\").data(\"post-id\"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){n(e)})),jQuery(a).find(\".dslca-icon\").attr(\"class\",\"\").attr(\"class\",\"dslca-icon dslc-icon-refresh dslc-icon-spin\"),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"hidden\"})),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"#dslc-header\").removeClass(\"dslca-header-low-z-index\")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass(\"dslca-options-hovered\")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(\".dslc-modules-section\"),this.elem=e,this.sortable=St.create(e,{group:\"modules\",animation:350,handle:\".dslca-move-module-hook\",draggable:\".dslc-module-front\",ghostClass:\"dslca-module-ghost\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\")},onAdd:function(e){var o=e.item;e.from,\"DSLC_M_A\"==jQuery(o).data(\"id\")&&(Zo(jQuery(t.section).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(\".dslc-modules-area-empty\").find(\".dslc-module-front\").length>0&&(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-empty\"),jQuery(\".dslca-no-content:not(:visible)\",this).show().css({\"-webkit-animation-name\":\"dslcBounceIn\",\"-moz-animation-name\":\"dslcBounceIn\",\"animation-name\":\"dslcBounceIn\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",padding:0}).animate({padding:\"35px 0\"},300,(function(){})))}}),jQuery(e).attr(\"data-jsinit\",\"initialized\"),jQuery(document).on(\"LC.sortableOff\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!0)})),jQuery(document).on(\"LC.sortableOn\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!1)}))};jQuery(document).on(\"editorFrameLoaded\",(function(){function e(){var e=jQuery(\".dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).length||jQuery(\"#dslca-tut-page\",LiveComposer.Builder.PreviewAreaDocument).length?e():si(e()),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var o=jQuery(this).closest(\".dslc-modules-area\");(function(e){window.dslcDebug&&console.log(\"dslc_copy_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=e.clone().appendTo(t);new $o(o[0]),o.find(\".dslca-modules-area-manage\").trigger(\"mouseleave\"),o.data(\"size\",e.data(\"size\")).find(\".dslc-module-front\").css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\"))if(jQuery(this).closest(\".dslc-modules-area\").hasClass(\"dslc-modules-area-empty\")){var o=jQuery(this).closest(\".dslc-modules-area\");ei(o)}else{var s=jQuery(this);i({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(s.closest(\".dslc-modules-area\"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-width-modules-area-options span\",(function(){if(!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var e=jQuery(this).closest(\".dslc-modules-area\"),o=e.data(\"size\"),i=jQuery(this).data(\"size\");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_width_set\");var o=\"dslc-\"+t+\"-col\";if(e.removeClass(\"dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col\").addClass(o).data(\"size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-vertial-align-module-area-hook span\",(function(){!function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_vertical_align_set\");var o=\"dslc-valign-\"+t;if(e.removeClass(\"dslc-valign-top dslc-valign-middle dslc-valign-bottom\").addClass(o).data(\"valign\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(\".dslc-modules-area\"),jQuery(this).data(\"valign\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"))}))}));const Zo=e=>{window.dslcDebug&&console.log(\"modulesAreaAdd\");const t=window.DSLCSiteData.editorUrl+\"css/icons\";jQuery('<div class=\"dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col\" data-size=\"12\">\\n\\t\\t<div class=\"dslca-modules-area-manage\">\\n\\t\\t\\t<span class=\"dslca-modules-area-manage-line\"></span>\\n\\t\\t\\t<div class=\"dslca-modules-area-manage-inner\">\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-copy-modules-area-hook\" title=\"Duplicate\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#copy\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-move-modules-area-hook\" title=\"Drag to move\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#move\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-width-modules-area-hook\" title=\"Change width\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#columns\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-width-modules-area-options\"><span>Container Width</span><span data-size=\"1\">1/12</span><span data-size=\"2\">2/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"3\">3/12</span><span data-size=\"4\">4/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"5\">5/12</span><span data-size=\"6\">6/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"7\">7/12</span><span data-size=\"8\">8/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"9\">9/12</span><span data-size=\"10\">10/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"11\">11/12</span><span data-size=\"12\">12/12</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-vertial-align-module-area-hook\" title=\"Change vertical align\" >\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#git-commit\"/>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-vertial-align-module-area-options\">\\n\\t\\t\\t\\t\\t\\t<span>Vertical Align</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"top\" class=\"dslc-popup-option\">⬆️ Top</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"middle\" class=\"dslc-popup-option\">↕️ Middle</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"bottom\" class=\"dslc-popup-option\">⬇️ Bottom</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-delete-modules-area-hook\" title=\"Delete\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#x\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\x3c!-- .dslc-module --\\x3e\\n\\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:\"auto\"})})).addClass(\"dslca-init-animation\");var o=jQuery(\".dslc-modules-area-empty\",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log(\"dslc_delete_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=!1;e.addClass(\"dslca-modules-area-being-deleted\"),t.find(\".dslc-modules-area\").length<2&&(o=!0),e.find(\".dslca-module-being-edited\").length&&(jQuery(\".dslca-header .dslca-options-filter-hook\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-module-edit-actions\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\",LiveComposer.Builder.PreviewAreaDocument).show(),Pt(\".dslca-modules\")),setTimeout((function(){if(o){e.closest(\".dslc-modules-section-inner\");2<=e.closest(\"#dslc-main\").find(\".dslc-modules-section\").length?dslc_row_delete(e.closest(\".dslc-modules-section\")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.css({\"-webkit-animation-name\":\"dslcBounceOut\",\"-moz-animation-name\":\"dslcBounceOut\",\"animation-name\":\"dslcBounceOut\",\"animation-duration\":\"0.6s\",\"-webkit-animation-duration\":\"0.6s\",overflow:\"hidden\"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,(function(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ti=()=>{jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new $o(this)}))};const oi=class{constructor(e){this.sortable,this.sortableContainer=jQuery(e).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\").eq(0)[0],this.initSortable(e),this.initDropable(e),this.reactToSortableOnOff(),jQuery(e).attr(\"data-jsinit\",\"initialized\")}initDropable(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(\".dslc-modules-section-inner\");\"DSLC_M_A\"==t.draggable.data(\"id\")&&Zo(o)}})}initSortable(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:\".dslc-modules-section-inner\",items:\".dslc-modules-area-dnd\",handle:'.dslca-move-modules-area-hook:not(\".dslca-action-disabled\")',placeholder:\"dslca-modules-area-placeholder\",cursorAt:{top:0,left:0},tolerance:\"intersect\",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass(\"ui-state-default\")},over:function(e,t){var o=t.placeholder.closest(\".dslc-modules-section\");jQuery(o).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"),o.siblings(\".dslc-modules-section\").each((function(){jQuery(\".dslc-modules-area:not(.ui-sortable-helper)\",jQuery(this)).length?jQuery(this).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):jQuery(this).removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\")}))},remove:function(){0==jQuery(self.elem).find(\".dslc-modules-area\").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class=\"dslca-placeholder-help-text\"><span class=\"dslca-placeholder-help-text-inner\">'+DSLCString.str_area_helper_text+\"</span></span>\"),jQuery(t.item).hasClass(\"dslc-12-col\")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.item.width()-10),jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress dslca-modules-area-drag-in-progress\"),jQuery(\".dslc-modules-section-inner\").sortable(\"refreshPositions\")},stop:function(e,t){LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress dslca-modules-area-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},change:function(e,t){}})}reactToSortableOnOff(){self=this.sortable,jQuery(document).on(\"LC.sortableOff\",(function(){})),jQuery(document).on(\"LC.sortableOn\",(function(){}))}},ii=()=>{jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\".dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){new oi(this)})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-section-hook\",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass(\"dslca-action-disabled\")||i({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(\".dslc-modules-section\"))}})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-import-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||i({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+\"<br><br><textarea></textarea>\",confirm:function(){ri(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-export-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||(jQuery(\".dslca-prompt-modal-cancel-hook\").hide(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_ok),i({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+\"<br><br><textarea>[\"+a(jQuery(this).closest(\".dslc-modules-section\"))+\"]</textarea></span>\"}))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-section-hook\",(function(){if(!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||li(jQuery(this).closest(\".dslc-modules-section\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass(\"dslca-action-disabled\")||(o.find(\".dslca-icon\").removeClass(\"dslc-icon-align-justify\").addClass(\"dslc-icon-spinner dslc-icon-spin\"),si((function(){o.find(\".dslca-icon\").removeClass(\"dslc-icon-spinner dslc-icon-spin\").addClass(\"dslc-icon-align-justify\")})))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-edit-modules-section-hook\",(function(){if(!e())return!1;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||di(jQuery(this).closest(\".dslc-modules-section\")),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"section-editing-in-progress\")}))},si=e=>{window.dslcDebug&&console.log(\"dslc_row_add\"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem(\"cache-dslc-ajax-add-modules-section-v2\"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id=\"padding\"]').val()&&(o.removeItem(\"cache-dslc-ajax-add-modules-section-v2\"),i=null));if(null!==i)return ni(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-modules-section\",dslc:\"active\"},(function(i){return o.setItem(\"cache-dslc-ajax-add-modules-section-v2\",i.output),ni(i.output),e&&e(),t}))};function ni(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new oi(t),new $o(t.find(\".dslc-modules-area\").eq(0)[0]),t.find(\".dslc-modules-area\").addClass(\"dslc-modules-area-empty dslc-last-col\"),t}function ai(e){window.dslcDebug&&console.log(\"dslc_row_delete\"),e.find(\".dslca-module-being-edited\")&&(jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),Pt(\".dslca-modules\")),e.trigger(\"mouseleave\").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log(\"dslc_row_edit\"),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited\").removeClass(\"dslca-modules-section-change-made\"),e.addClass(\"dslca-modules-section-being-edited\"),jQuery(\".dslca-header .dslca-go-to-section-hook\").hide(),jQuery('.dslca-row-options-filter-hook[data-section=\"styling\"], .dslca-row-options-filter-hook[data-section=\"responsive\"]').show(),jQuery('.dslca-row-options-filter-hook[data-section=\"styling\"]').trigger(\"click\"),jQuery(\".dslca-header .dslca-options-filter-hook\").hide(),jQuery(\".dslca-module-edit-actions\").hide(),jQuery(\".dslca-row-edit-actions\").show(),jQuery(\".dslca-modules-section-edit-field\").each((function(){if(\"type\"===jQuery(this).data(\"id\")&&(\"\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()&&\"wrapped\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id=\"type\"]').val(\"wrapper\").change()),\"border-top\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"top\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-right\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"right\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-bottom\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"bottom\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(\"border-left\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(\"left\")>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(jQuery(this).hasClass(\"dslca-modules-section-edit-field-checkbox\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"'+jQuery(this).data(\"id\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data(\"val\"))>=0?(jQuery(this).prop(\"checked\",!0),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")):(jQuery(this).prop(\"checked\",!1),jQuery(this).siblings(\".dslca-modules-section-edit-option-checkbox-hook\").find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"'+jQuery(this).data(\"id\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace(\"%(%\",\"[\").replace(\"%)%\",\"]\")),jQuery(this).hasClass(\"dslca-modules-section-edit-field-colorpicker\")){var e=jQuery(this);jQuery(this).closest(\".dslca-modules-section-edit-option\").find(\".sp-preview-inner\").removeClass(\"sp-clear-display\").css({\"background-color\":e.val()}),jQuery(this).css({\"background-color\":e.val()})}})),jQuery(\".dslca-modules-section-edit-field-upload\").each((function(){var e=jQuery(this).closest(\".dslca-modules-section-edit-option\");jQuery(this).val()&&\"disabled\"!==jQuery(this).val()?(jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).show()):(jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).show())})),Pt(\".dslca-modules-section-edit\"),LiveComposer.Builder.Flags.panelOpened=!0,At()}function li(e){var t;window.dslcDebug&&console.log(\"dslc_row_copy\"),(t=e.clone().appendTo(jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute(\"data-jsinit\"),t.find(\".dslc-modules-area\").each((function(){var t=jQuery(this).index();jQuery(this).data(\"size\",e.find(\".dslc-modules-area:eq( \"+t+\" )\").data(\"size\")),this.removeAttribute(\"data-jsinit\")})),new oi(t),t.find(\".dslc-module-front\").css({\"-webkit-animation-name\":\"none\",\"-moz-animation-name\":\"none\",\"animation-name\":\"none\",\"animation-duration\":\"0\",\"-webkit-animation-duration\":\"0\",opacity:0}).each((function(){var e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log(\"dslc_section_new_id\");var t=LiveComposer.Utils.get_unique_id();e.setAttribute(\"data-section-id\",t),LiveComposer.Utils.update_section_property_raw(e,\"section_instance_id\",t)}(t[0])}function ri(e){window.dslcDebug&&console.log(\"dslc_row_import\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-modules-section\",dslc:\"active\",dslc_modules_section_code:e},(function(e){c(),jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}const ci=()=>{jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new oi(this)}))},ui=()=>{ci(),ii(),jQuery(document).on(\"click\",\".dslca-row-edit-save\",(function(){var e;window.dslcDebug&&console.log(\"dslc_confirm_row_changes\"),e=void 0!==e&&e,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data(\"def\",jQuery(this).val())})),Pt(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on(\"click\",\".dslca-row-edit-cancel\",(function(){var e;window.dslcDebug&&console.log(\"dslc_row_cancel_changes\"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).val(jQuery(this).data(\"def\")),jQuery('.dslca-modules-section-edit-field[data-id=\"'+jQuery(this).data(\"id\")+'\"]').val(jQuery(this).data(\"def\")).trigger(\"change\")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Pt(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),dslc_show_publish_button,jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log(\"dslc_import_template\"),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:0}),jQuery(\".dslca-modal-templates-import .dslca-loading\").show(),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-template\",dslc:\"active\",dslc_template_code:jQuery(\"#dslca-import-code\").val()},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".dslca-modal-templates-import .dslca-loading\").hide(),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:1}),r(\"\",\".dslca-modal-templates-import\"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.dslcDebug&&console.log(\"dslc_save_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-template\",dslc:\"active\",dslc_template_code:jQuery(\"#dslca-code\").val(),dslc_template_title:jQuery(\"#dslca-save-template-title\").val()},(function(e){r(\"\",\".dslca-modal-templates-save\")}))}function hi(e){window.dslcDebug&&console.log(\"dslc_delete_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-template\",dslc:\"active\",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id=\"'+e+'\"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}const vi=()=>{document.querySelectorAll(\".dslca-template\").forEach((function(e){e.addEventListener(\"click\",e=>{e.preventDefault(),(e=>{window.dslcDebug&&console.log(\"dslc_load_template\"),jQuery(\"#wpcontent\").prepend('<div class=\"lc-template-loader\"></div>');jQuery(\".lc-template-loader\").prepend('<div class=\"lc-loader lds-css\"><div class=\"lds-spinner\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-load-template\",dslc:\"active\",dslc_template_id:e},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".lc-template-loader\").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))})(e.target.closest(\"[data-id]\").dataset.id)})})),jQuery(\".dslca-template-import-form\").submit((function(e){e.preventDefault(),mi()})),jQuery(\".dslca-template-save-form\").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on(\"click\",\".dslca-delete-template-hook\",(function(e){e.stopPropagation(),hi(jQuery(this).data(\"id\"))}))};jQuery(document).ready((function(e){var t=function(e){var t=jQuery(\".dslca-section-scroller\",e),o=jQuery(\".dslca-section-scroller-inner\",e)[0];function i(e){e=e<0?-100:100,e*=.75;var i=t.find(\".dslca-section-scroller-content\").width(),s=t.width();if(i<=s)return!1;var n=i-s+10;e=(e=(e=parseInt(o.style.left||0)-e)>=0?0:e)<=-n?-n:e,o.style.left=e+\"px\"}t.on(\"wheel\",(function(e){return i(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(\".dslca-section-scroller-prev\",e).click((function(e){e.preventDefault(),i(-500)})),jQuery(\".dslca-section-scroller-next\",e).click((function(e){e.preventDefault(),i(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){i(0)}))}))};t(jQuery(\".dslca-section.dslca-modules\")),t(jQuery(\".dslca-section.dslca-templates-load\"))}));const fi=()=>{LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragleave\",\".lc-scroll-top-area, .lc-scroll-bottom-area\",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter dragover\",\".lc-scroll-bottom-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter\",\".lc-scroll-top-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragend mouseup\",\"body\",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};jQuery(document).ready((function(e){fi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish(\"LC.sortableOn\",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery(\"#scroller-stopper\").on(\"dragover\",(function(){LiveComposer.Builder.UI.stopScroller()}))}));const gi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\\\/g,\"\\\\\\\\\")).replace(/\\'/g,\"\\\\'\")).replace(/\\\"/g,'\\\\\"')).replace(/\\0/g,\"\\\\0\")},basename:function(e){return e.split(/[\\\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf(\"MSIE \");return!!(t>0||navigator.userAgent.match(/Trident.*rv\\:11\\./))&&parseInt(e.substring(t+5,e.indexOf(\".\",t)))},checkParams:function(e){if(!Array.isArray(e))throw\"Param is not array\";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&\"string\"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return\"object\"==typeof e}};e.map((function(e){if(!t[e[1]](e[0]))throw\"Param \"+e[0]+\" is not \"+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split(\"&\").reduce((function(e,t){return e[(t=t.split(\"=\"))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-module-code\")[0],s=e.querySelector('.dslca-module-option-front[data-id=\"'+t+'\"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.value=o,s.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-section-code\")[0],s=e.querySelector('.dslca-modules-section-settings input[data-id=\"'+t+'\"]'),n=i.value;(n=JSON.parse(n))[t]=o,n=JSON.stringify(n),i.value=n,i.innerText=n,s.setAttribute(\"value\",o),s.setAttribute(\"data-def\",o)},publish:function(e,t){t=t||{},this.checkParams([[e,\"string\"],[t,\"object\"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find(\"script\").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement(\"script\");t.innerHTML=e,t.type=\"text/javascript\",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery(\"#wpadminbar\",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragstart\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragend mousedown\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!0)})),vi(),v(),ui(),new class{constructor(e){this.sortable,this.initSortable(e),this.reactToSortableOnOff()}initSortable(e){this.sortable=St.create(e,{group:\"sections\",animation:350,handle:\".dslca-move-modules-section-hook\",draggable:\".dslc-modules-section-dnd\",ghostClass:\"dslca-sections-ghost\",chosenClass:\"dslca-sections-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:\"vertical\",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},onAdd:function(e){},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass(\"ui-state-default\")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}reactToSortableOnOff(){self=this.sortable}}(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\").eq(0)[0]),jQuery(document).trigger(\"editorFrameLoaded\"),Vo(),d(),window.dslc_generate_code(),It(),fi(),Go(),window.LiveComposer.Utils=gi,document.addEventListener(\"click\",(function(e){if(e.target.matches('[data-event=\"modal-wysiwyg-cancel\"]')){const t=new CustomEvent(\"modalWysiwygCancel\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"modal-wysiwyg-confirm\"]')){const t=new CustomEvent(\"modalWysiwygConfirm\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-confirm\"]')){const t=new CustomEvent(\"moduleConfirm\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-cancel\"]')){const t=new CustomEvent(\"moduleCancel\",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener(\"click\",(function(e){if(e.target.matches(\".dslca-link\")||e.preventDefault(),e.target.matches('[data-event=\"module-edit\"]')){const t=new CustomEvent(\"moduleEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-duplicate\"]')){const t=new CustomEvent(\"moduleDuplicate\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-delete\"]')){const t=new CustomEvent(\"moduleDelete\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches(\".dslca-change-width-module-options [data-size]\")){const t=new CustomEvent(\"moduleChangeWidth\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"wysiwyg-edit\"]')){const t=new CustomEvent(\"wysiwygEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-style-copy\"]')){const t=new CustomEvent(\"copyModuleStyles\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-style-paste\"]')){const t=new CustomEvent(\"pasteModuleStyles\",{detail:e.target});document.dispatchEvent(t)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener(\"focusout\",(function(e){if(e.target.matches('[contenteditable=\"true\"]')){const t=new CustomEvent(\"contentEditableFocusOut\",{detail:e.target});document.dispatchEvent(t)}}),!1)},window.onbeforeunload=function(){}}});"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
js/src/client/frontend/index.js CHANGED
@@ -525,9 +525,6 @@ function dslc_on_tab_add( event ) {
525
  }
526
 
527
  function dslc_on_tab_delete( event ) {
528
-
529
- console.log ( 'dslc_on_tab_delete' );
530
-
531
  var dslcTabs = jQuery(event.target).closest('.dslc-tabs');
532
  var dslcTabHook = jQuery(event.target).closest('.dslc-tabs-nav-hook');
533
  var dslcTabIndex = dslcTabHook.index();
525
  }
526
 
527
  function dslc_on_tab_delete( event ) {
 
 
 
528
  var dslcTabs = jQuery(event.target).closest('.dslc-tabs');
529
  var dslcTabHook = jQuery(event.target).closest('.dslc-tabs-nav-hook');
530
  var dslcTabIndex = dslcTabHook.index();
js/src/editor/backend/codegeneration.js CHANGED
@@ -219,6 +219,12 @@ window.dslc_generate_code = function() {
219
  jQuery('#dslca-code').val(pageCodeInJson);
220
 
221
  jQuery('#dslca-export-code').val(pageCodeInJson);
 
 
 
 
 
 
222
  }
223
 
224
 
219
  jQuery('#dslca-code').val(pageCodeInJson);
220
 
221
  jQuery('#dslca-export-code').val(pageCodeInJson);
222
+
223
+ // Create a new "Code Updated" event
224
+ // I'm not sure if we really need to pass source code as event details.
225
+ // Seems like overkill.
226
+ const pageCodeUpdated = new CustomEvent('pageCodeUpdated', /* { detail: pageCodeInJson } */);
227
+ document.dispatchEvent( pageCodeUpdated );
228
  }
229
 
230
 
js/src/editor/backend/events.js CHANGED
@@ -16,9 +16,21 @@ export const eventsInit = () =>{
16
  const modalWysiwygConfirm = new CustomEvent('modalWysiwygConfirm', { detail: event.target });
17
  document.dispatchEvent( modalWysiwygConfirm );
18
  }
 
 
 
 
 
 
 
 
 
 
 
 
19
  }, false);
20
 
21
- // Preview iframe events.
22
  LiveComposer.Builder.PreviewAreaWindow.document.addEventListener('click', function (event) {
23
  // Disable default action/event,
24
  // but only if the link clicked doesn't have '.dslca-link' class.
@@ -60,16 +72,26 @@ export const eventsInit = () =>{
60
  }
61
 
62
  if ( event.target.matches( '[data-event="module-style-copy"]' ) ) {
63
- // Create a new "Copy Modyle Style" event
64
  const copyStyles = new CustomEvent('copyModuleStyles', { detail: event.target });
65
  document.dispatchEvent( copyStyles );
66
  }
67
 
68
  if ( event.target.matches( '[data-event="module-style-paste"]' ) ) {
69
- // Create a new "Paste Modyle Style" event
70
  const pasteStyles = new CustomEvent('pasteModuleStyles', { detail: event.target });
71
  document.dispatchEvent( pasteStyles );
72
  }
73
 
74
  }, false);
 
 
 
 
 
 
 
 
 
 
75
  }
16
  const modalWysiwygConfirm = new CustomEvent('modalWysiwygConfirm', { detail: event.target });
17
  document.dispatchEvent( modalWysiwygConfirm );
18
  }
19
+
20
+ if ( event.target.matches( '[data-event="module-confirm"]' ) ) {
21
+ // Create "Module Confirm" event
22
+ const moduleConfirm = new CustomEvent('moduleConfirm', { detail: event.target });
23
+ document.dispatchEvent( moduleConfirm );
24
+ }
25
+
26
+ if ( event.target.matches( '[data-event="module-cancel"]' ) ) {
27
+ // Create "Module Cancel" event
28
+ const moduleCancel = new CustomEvent('moduleCancel', { detail: event.target });
29
+ document.dispatchEvent( moduleCancel );
30
+ }
31
  }, false);
32
 
33
+ // Preview iframe events: click.
34
  LiveComposer.Builder.PreviewAreaWindow.document.addEventListener('click', function (event) {
35
  // Disable default action/event,
36
  // but only if the link clicked doesn't have '.dslca-link' class.
72
  }
73
 
74
  if ( event.target.matches( '[data-event="module-style-copy"]' ) ) {
75
+ // Create a new "Copy Module Style" event
76
  const copyStyles = new CustomEvent('copyModuleStyles', { detail: event.target });
77
  document.dispatchEvent( copyStyles );
78
  }
79
 
80
  if ( event.target.matches( '[data-event="module-style-paste"]' ) ) {
81
+ // Create a new "Paste Module Style" event
82
  const pasteStyles = new CustomEvent('pasteModuleStyles', { detail: event.target });
83
  document.dispatchEvent( pasteStyles );
84
  }
85
 
86
  }, false);
87
+
88
+ // Preview iframe events: focusout.
89
+ LiveComposer.Builder.PreviewAreaWindow.document.addEventListener('focusout', function (event) {
90
+ // This event gets dispatched when the contenteditable element loses focus.
91
+ // Useful when you need to save data when element text edited.
92
+ if ( event.target.matches( '[contenteditable="true"]' ) ) {
93
+ const contentEditableFocusOut = new CustomEvent('contentEditableFocusOut', { detail: event.target });
94
+ document.dispatchEvent( contentEditableFocusOut );
95
+ }
96
+ }, false);
97
  }
js/src/editor/backend/module.js CHANGED
@@ -432,6 +432,13 @@ const editableContentTextEvents = () => {
432
  });
433
  }
434
 
 
 
 
 
 
 
 
435
 
436
 
437
  /**
432
  });
433
  }
434
 
435
+ /**
436
+ * Hook - On contenteditable focusout.
437
+ */
438
+ document.addEventListener('contentEditableFocusOut', function (customEvent) {
439
+ window.dslc_show_publish_button();
440
+ });
441
+
442
 
443
 
444
  /**
js/src/editor/backend/modulearea.class.js CHANGED
@@ -11,20 +11,20 @@ export const ModuleArea = function(elem) {
11
  this.elem = elem;
12
 
13
  /** Set observer to change elems class */
14
- this.observer = new mqMutationObserver(elem, function(){
15
 
16
- var classList = self.elem.classList;
17
 
18
- if (elem.querySelectorAll('.dslc-module-front').length == 0) {
19
 
20
- classList.add('dslc-modules-area-empty');
21
- classList.remove('dslc-modules-area-not-empty');
22
- } else {
23
 
24
- classList.remove('dslc-modules-area-empty');
25
- classList.add('dslc-modules-area-not-empty');
26
- }
27
- }, {childList: true});
28
 
29
  /**
30
  * Make MODULES inside the Modules Area draggable/sortable
11
  this.elem = elem;
12
 
13
  /** Set observer to change elems class */
14
+ // this.observer = new mqMutationObserver(elem, function(){
15
 
16
+ // var classList = self.elem.classList;
17
 
18
+ // if (elem.querySelectorAll('.dslc-module-front').length == 0) {
19
 
20
+ // classList.add('dslc-modules-area-empty');
21
+ // classList.remove('dslc-modules-area-not-empty');
22
+ // } else {
23
 
24
+ // classList.remove('dslc-modules-area-empty');
25
+ // classList.add('dslc-modules-area-not-empty');
26
+ // }
27
+ // }, {childList: true});
28
 
29
  /**
30
  * Make MODULES inside the Modules Area draggable/sortable
js/src/editor/backend/presets.js CHANGED
@@ -12,9 +12,7 @@
12
  * Module Presets - Update
13
  */
14
  export const updatePreset = () => {
15
-
16
  if ( window.dslcDebug ) console.log( 'updatePreset' );
17
-
18
  // Vars
19
  var module = jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument),
20
  presetName = module.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),
12
  * Module Presets - Update
13
  */
14
  export const updatePreset = () => {
 
15
  if ( window.dslcDebug ) console.log( 'updatePreset' );
 
16
  // Vars
17
  var module = jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument),
18
  presetName = module.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),
js/src/editor/backend/settings.panel.js CHANGED
@@ -1977,7 +1977,6 @@ window.dslc_module_options_font = function () {
1977
  jQuery(document).off( 'keyup', '.dslca-module-edit-field-font' ).on( 'keyup', '.dslca-module-edit-field-font', onKeyUp );
1978
  // Keyup ( left arrow, right arrow, else )
1979
  function onKeyUp(e) {
1980
- console.log( "1 e.which:" ); console.log( e.which );
1981
  var dslcField, dslcOption, dslcVal, dslcMatchingFont = false, dslcFont;
1982
 
1983
  dslcField = jQuery(this);
@@ -2029,7 +2028,6 @@ window.dslc_module_options_font = function () {
2029
  jQuery(document).off( 'keydown', '.dslca-module-edit-field-font' ).on( 'keydown', '.dslca-module-edit-field-font', onPushEnter );
2030
  // Key press ( enter = 13 and tab = 9 )
2031
  function onPushEnter(e) {
2032
- console.log( "2 e.which:" ); console.log( e.which );
2033
  if ( e.which == 13 || e.which == 9 ) {
2034
  var dslcField, dslcOption, dslcVal, dslcMatchingFont, dslcFont;
2035
 
1977
  jQuery(document).off( 'keyup', '.dslca-module-edit-field-font' ).on( 'keyup', '.dslca-module-edit-field-font', onKeyUp );
1978
  // Keyup ( left arrow, right arrow, else )
1979
  function onKeyUp(e) {
 
1980
  var dslcField, dslcOption, dslcVal, dslcMatchingFont = false, dslcFont;
1981
 
1982
  dslcField = jQuery(this);
2028
  jQuery(document).off( 'keydown', '.dslca-module-edit-field-font' ).on( 'keydown', '.dslca-module-edit-field-font', onPushEnter );
2029
  // Key press ( enter = 13 and tab = 9 )
2030
  function onPushEnter(e) {
 
2031
  if ( e.which == 13 || e.which == 9 ) {
2032
  var dslcField, dslcOption, dslcVal, dslcMatchingFont, dslcFont;
2033
 
js/src/editor/backend/uigeneral.js CHANGED
@@ -655,8 +655,12 @@ export const keypressEvents = () => {
655
 
656
  // CMD button press event.
657
  dslc_cmd_press( keydown_event );
 
 
 
658
  });
659
 
 
660
  jQuery( [document, LiveComposer.Builder.PreviewAreaWindow.document ] ).unbind('keyup').bind('keyup', function (keyup_event) {
661
  dslc_cmd_unpress( keyup_event );
662
  });
@@ -742,11 +746,25 @@ function dslc_save_page(e) {
742
  }
743
  }
744
 
 
 
 
 
 
 
 
 
 
 
 
 
 
745
  /**
746
  * If Command key is pressed.
747
  */
748
  function dslc_cmd_press( e ) {
749
  if ( e.metaKey || e.ctrlKey ) {
 
750
  LiveComposer.Builder.PreviewAreaWindow.document.querySelector('body').classList.add( 'key-press-cmd' );
751
  }
752
  }
@@ -756,6 +774,7 @@ function dslc_cmd_press( e ) {
756
  */
757
  function dslc_cmd_unpress( e ) {
758
  if ( e.key === "Meta" ) {
 
759
  LiveComposer.Builder.PreviewAreaWindow.document.querySelector('body').classList.remove( 'key-press-cmd' );
760
  }
761
  }
655
 
656
  // CMD button press event.
657
  dslc_cmd_press( keydown_event );
658
+
659
+ // Events to run when any button preset.
660
+ dslc_keydown( keydown_event );
661
  });
662
 
663
+ // Key UP events.
664
  jQuery( [document, LiveComposer.Builder.PreviewAreaWindow.document ] ).unbind('keyup').bind('keyup', function (keyup_event) {
665
  dslc_cmd_unpress( keyup_event );
666
  });
746
  }
747
  }
748
 
749
+
750
+ /**
751
+ * If any key is pressed.
752
+ */
753
+ function dslc_keydown( e ) {
754
+ if ( LiveComposer.Builder.UI.cmdMode ) {
755
+ if ( ! e.metaKey && ! e.ctrlKey ) {
756
+ LiveComposer.Builder.UI.cmdMode = false;
757
+ LiveComposer.Builder.PreviewAreaWindow.document.querySelector('body').classList.remove( 'key-press-cmd' );
758
+ }
759
+ }
760
+ }
761
+
762
  /**
763
  * If Command key is pressed.
764
  */
765
  function dslc_cmd_press( e ) {
766
  if ( e.metaKey || e.ctrlKey ) {
767
+ LiveComposer.Builder.UI.cmdMode = true;
768
  LiveComposer.Builder.PreviewAreaWindow.document.querySelector('body').classList.add( 'key-press-cmd' );
769
  }
770
  }
774
  */
775
  function dslc_cmd_unpress( e ) {
776
  if ( e.key === "Meta" ) {
777
+ LiveComposer.Builder.UI.cmdMode = false;
778
  LiveComposer.Builder.PreviewAreaWindow.document.querySelector('body').classList.remove( 'key-press-cmd' );
779
  }
780
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: LiveComposer
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
- Tested up to: 5.3
6
- Stable tag: 1.5.6
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
@@ -58,14 +58,19 @@ In most of the cases, this is because the homepage is not a real WordPress page,
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
 
 
 
 
 
 
 
61
  = 1.5.6 - Feb 20 2020 =
62
  * 🕷 Fixed 'Edit Footer/Header' buttons (issue #1006)
63
  * 🕷 Fix broken image links in project grid/carousel (issue #1024)
64
  * 🕷 Limit errors reports only to JS warnings caused by the Live Composer
65
  * 🔄 Update NPM packages.
66
 
67
-
68
-
69
  = 1.5.5 - Jan 14 2020 =
70
  * 🕷 Fixed flickering sections in the header on mobile
71
  * 🕷 Fixed unresponsive font family selector
@@ -74,7 +79,6 @@ In most of the cases, this is because the homepage is not a real WordPress page,
74
  = 1.5.4 - Dec 10 2019 =
75
  * 🕷 Fix bugs with Tabs and Accordions editing.
76
 
77
-
78
  = 1.5.3 - Nov 6 2019 =
79
  * 🆕 New feature: Copy/Paste any module styling by pressing command key.
80
  * 🆕 New feature: Reset module responsive settings using "the trash" icon in the responsive settings panel.
2
  Contributors: LiveComposer
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
+ Tested up to: 5.5
6
+ Stable tag: 1.5.8
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
61
+ = 1.5.8 - Aug 13 2020 =
62
+ * 🕷 Fix error: mqMutationObserver is not defined
63
+
64
+ = 1.5.7 - Feb 26 2020 =
65
+ * 🕷 Disable navigating back when swiping too far in the module settings (issue #1033)
66
+ * 🕷 Editing contenteditable elements (Infobox Title, Button Title, etc.) won't cause 'Save Page' button to appear (issue #1030)
67
+
68
  = 1.5.6 - Feb 20 2020 =
69
  * 🕷 Fixed 'Edit Footer/Header' buttons (issue #1006)
70
  * 🕷 Fix broken image links in project grid/carousel (issue #1024)
71
  * 🕷 Limit errors reports only to JS warnings caused by the Live Composer
72
  * 🔄 Update NPM packages.
73
 
 
 
74
  = 1.5.5 - Jan 14 2020 =
75
  * 🕷 Fixed flickering sections in the header on mobile
76
  * 🕷 Fixed unresponsive font family selector
79
  = 1.5.4 - Dec 10 2019 =
80
  * 🕷 Fix bugs with Tabs and Accordions editing.
81
 
 
82
  = 1.5.3 - Nov 6 2019 =
83
  * 🆕 New feature: Copy/Paste any module styling by pressing command key.
84
  * 🆕 New feature: Reset module responsive settings using "the trash" icon in the responsive settings panel.