Version Description
- December 11th 2018 =
Download this release
Release Info
Developer | LiveComposer |
Plugin | Page Builder: Live Composer – drag and drop website builder (visual front end site editor) |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.18 to 1.4
- css/builder.min.css +1 -1
- css/builder/builder.main.css +161 -2
- css/frontend.min.css +1 -1
- css/frontend/main.css +8 -2
- css/frontend/modules.css +20 -7
- ds-live-composer.php +2 -2
- images/extensions/breadcrumb/index.php +1 -0
- images/extensions/breadcrumb/thumbnail.png +0 -0
- images/extensions/contact-forms/index.php +1 -0
- images/extensions/contact-forms/thumbnail.png +0 -0
- images/extensions/headroom/index.php +1 -0
- images/extensions/headroom/thumbnail.png +0 -0
- images/extensions/openstreetmap/index.php +1 -0
- images/extensions/openstreetmap/thumbnail.png +0 -0
- images/extensions/preloader/index.php +1 -0
- images/extensions/preloader/thumbnail.png +0 -0
- images/extensions/restrict-content/index.php +1 -0
- images/extensions/restrict-content/thumbnail.png +0 -0
- includes/archive-templates.php +22 -2
- includes/class.module.php +47 -17
- includes/css-generation.php +4 -1
- includes/display-functions.php +19 -12
- includes/editing-screen.php +3 -4
- includes/module-controls.php +1 -0
- includes/other-functions.php +197 -0
- includes/other.php +11 -1
- includes/plugin-options-framework/inc/options.php +1 -1
- includes/plugin-options-framework/tab-extensions.php +52 -0
- includes/plugin-options-framework/tab-settings.php +19 -1
- includes/post-options-framework/js/main.js +13 -0
- includes/post-options-framework/js/main.min.js +1 -1
- includes/shortcodes.php +56 -0
- includes/single-templates-framework/inc/filters.php +4 -4
- includes/single-templates-framework/inc/functions.php +31 -0
- js/builder.all.min.js +4 -4
- js/builder/builder.row.functions.js +1 -1
- js/builder/builder.settings.panel.functions.js +33 -19
- js/builder/builder.templates.functions.js +15 -0
- js/frontend.all.min.js +3 -3
- js/frontend/main.js +79 -1
- modules/accordion/module.php +22 -2
- modules/blog/module.php +288 -63
- modules/downloads/module.php +25 -6
- modules/galleries/module.php +96 -11
- modules/html/module.php +0 -17
- modules/infobox/module.php +624 -0
- modules/navigation/module.php +1 -3
- modules/partners/module.php +26 -6
- modules/posts/module.php +23 -4
- modules/projects/module.php +23 -4
- modules/shortcode/module.php +0 -17
- modules/sliders/module.php +2 -2
- modules/staff/module.php +25 -6
- modules/tabs/module.php +2 -2
- modules/testimonials/module.php +37 -15
- modules/text-simple/module.php +51 -32
- modules/tp-comments-form/module.php +242 -1
- modules/tp-content/module.php +0 -17
- modules/tp-gallery-slider/module.php +186 -4
- modules/tp-meta/module.php +1 -1
- modules/tp-project-slider/module.php +5 -3
- modules/tp-thumbnail/module.php +9 -4
- readme.txt +39 -5
- templates/dslc-page-not-found.php +28 -0
css/builder.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after{clear:both}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}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[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 .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.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,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{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=number],.dslca-container input[type=email]{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-module-edit-option-select .dslca-icon,.dslca-modules-section-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 .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.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{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.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-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-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:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff!important;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook: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-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait!important}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.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,.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,.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,.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,.dslca-subsection{display:none}.dslca-module-non-active{opacity:.5!important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Notification],.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator]{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,.19),-1px 1px 0 0 rgba(255,255,255,.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;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}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 *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-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-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-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:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;min-width:180px;position:relative;padding:40px 15px}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{min-width:180px;border:1px solid rgba(0,0,0,.1);border-radius:3px;position:relative;padding:0 15px}.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,.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=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea: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-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;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;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:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;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;font-family:'Open Sans',sans-serif}.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;font-family:'Open Sans',sans-serif}.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 input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.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 .dslca-module-edit-option-checkbox-hook,.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=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]: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 .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.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:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.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,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslc-modules-area.dslc-modules-area-empty,.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-modules-section-edit,.dslca-templates{position:relative}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{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;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook: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,.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,.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-export-code,#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-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-cancel,.dslca-submit,.dslca-submit-secondary{border-radius:3px;color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslc-modules-area-empty::after,.dslca-module-placeholder,.dslca-modules-section-placeholder,div.dslca-add-modules-section{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.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:120px;text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px}.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}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.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:.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,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!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:0!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,.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:0!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 43px 10px 12px;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-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;width:80%;max-width:620px;overflow:hidden;margin:30px auto 180px}.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,.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}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;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-module-manage-inner,.dslca-modules-section-manage-inner{background:#f17c56;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-top-right-radius:0;border-top-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-family:'Open Sans',sans-serif;font-weight:700;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,.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:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:-24px;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.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{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;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;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 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-module-options,.dslca-change-width-modules-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-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-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-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.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"],.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-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.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-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"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;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:-47px;top:0;text-align:center;z-index:99999;line-height:1}.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}.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 .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.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,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 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:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.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,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(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;border-color:rgba(255,255,255,0);border-top-color:#fff;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-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.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:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size,.dslca-section-code{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;font-size:12px;line-height:1}#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;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;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:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,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(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.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(.9);-moz-transform:scale(.9);transform:scale(.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(.9);transform:scale(.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(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}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,.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,.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-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(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-actions,.dslca-wp-editor-notification{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,.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-family:'Open Sans',sans-serif;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-family:'Open Sans',sans-serif;font-weight:700;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:400;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,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(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:700;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{position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-button-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer!important;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text,.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#fff}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{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,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;font-size:20px;text-decoration:none}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-editor-messages-section-122017,body.dslca-composer-hidden .dslc-hf-block-overlay,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.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-container.active-message-panel{margin-bottom:0}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.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:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(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-exclude,.dslca-module.dslca-origin[data-display-module=false]{display:none}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-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-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;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;position:fixed;z-index:99999;right:5px;bottom:5px}.dslc-editor-messages-section-122017,.dslca-modal-icons .icon-item_name,.dslca-modal-icons .set-heading{font-family:'Open Sans',sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.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-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-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,body.rtl .dslca-no-content .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:auto}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-module-edit-options-inner,.dslca-modules-section-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 .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .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,.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,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover{box-shadow:none}.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-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;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:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-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:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .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:0;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 .82s cubic-bezier(.36,.07,.19,.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-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;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:0;left:0;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0;width:100%;height:83px}.dslc-control-toggle:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-options-iconbutton .dslca-icon,.dslca-options-iconbutton:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-row-edit-cancel:hover,.dslca-row-edit-save:hover{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3!important;border-color:#ccc!important}.dslca-container.active-message-panel{margin-bottom:40px}.dslc-editor-messages-section-122017{position:fixed;bottom:0;width:100%;height:40px;color:#fff;font-weight:100;background:#404a58;display:none}.dslc-editor-messages-title{float:left;background:#303030;color:#fff;font-size:14px;line-height:22px;text-transform:uppercase;padding:12px 17px;text-align:center;display:block;letter-spacing:1px}a.dslc-editor-messages-title:hover{color:#fff}#editor-messages{font-size:14px;text-overflow:ellipsis;white-space:nowrap;margin:0!important;padding:0!important;opacity:0}#editor-messages li{position:relative;padding:13px 20px 11px 50px!important;margin:0;line-height:16px;font-size:14px}#editor-messages a{text-decoration:none;display:block;position:absolute;left:0;top:0;width:100%;height:100%}#editor-messages strong{font-weight:500}#editor-messages .cta{font-size:11px;font-weight:500;background:#5A92E2;color:#fff;text-transform:uppercase;letter-spacing:.5px;display:inline-block;padding:4px 10px;position:absolute;border-radius:3px;margin-left:14px;margin-top:-4px}#editor-messages .dslc-icon{font-size:19px;margin-right:10px;position:absolute;left:20px;top:12px}#editor-messages .dslc-notice{background:#d90a0a;margin:0;padding:12px 17px;font-size:16px}#editor-messages .dslc-notice a{position:relative;color:#fff}.dslc-editor-messages-hide{float:right;padding:12px 17px;background:#283546;font-size:14px;text-align:center;display:block;color:#fff}.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide,.dslca-module-edit-option-box-shadow-single .wp-picker-clear,.dslca-module-edit-option-color .wp-picker-clear,.dslca-module-edit-option-text-shadow-single .wp-picker-clear,.dslca-modules-section-edit-option .wp-picker-clear{display:none}.dslc-editor-messages-hide .dslc-icon{font-size:17px;margin-right:10px}a.dslc-editor-messages-hide:hover{color:#fff}.dslca-enabled.dslc-res-phone .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover .dslca-modules-section-manage{visibility:hidden!important}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslca-modules-area-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslca-modules-area-manage{visibility:hidden!important;opacity:0}.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:0}body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-module-being-edited):before,body.module-editing-in-progress.dslc-res-tablet .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before,body.section-editing-in-progress.dslc-res-tablet .dslc-modules-section:not(.dslca-modules-section-being-edited):before{z-index:1}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:.5}.dslca-module-edit-label .dslc-delete-preset:hover{opacity:1}.dslca-module-edit-option-box-shadow-single .wp-picker-holder,.dslca-module-edit-option-color .wp-picker-holder,.dslca-module-edit-option-text-shadow-single .wp-picker-holder,.dslca-modules-section-edit-option .wp-picker-holder{position:fixed;margin-top:-315px;z-index:1}body .dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,body .dslca-module-edit-option-color input[type=text].dslca-module-edit-field-colorpicker,body .dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color,body .dslca-modules-section-edit-option input[type=text].dslca-modules-section-edit-field-colorpicker{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.7),0 0 7px rgba(0,0,0,.28),4px 3px 6px rgba(0,0,0,.1);padding:0;line-height:31px;text-align:center;font-size:14px;min-height:33px}.dslca-module-edit-option-box-shadow-single .wp-color-result,.dslca-module-edit-option-color .wp-color-result,.dslca-module-edit-option-text-shadow-single .wp-color-result,.dslca-modules-section-edit-option .wp-color-result{position:absolute!important;top:53px;z-index:2;right:10px;height:33px;left:16px;opacity:0}.dslca-module-edit-option-color .wp-picker-container input[type=text].wp-color-picker,.dslca-modules-section-edit-option .wp-picker-container input[type=text].wp-color-picker{width:100%!important;font-family:inherit;margin:inherit}.dslca-module-edit-option-box-shadow-single .wp-picker-container input[type=text].wp-color-picker,.dslca-module-edit-option-text-shadow-single .wp-picker-container input[type=text].wp-color-picker{width:100px;font-family:'Open Sans',sans-serif}.wp-picker-open+.wp-picker-input-wrap{vertical-align:middle!important}.dslca-module-edit-option-box-shadow-single .iris-picker.iris-border,.dslca-module-edit-option-color .iris-picker.iris-border,.dslca-modules-section-edit-option .iris-picker.iris-border{border-top-right-radius:3px;border-top-left-radius:3px}.dslca-colorpicker-apply{background:#f1f1f1;border-radius:0 0 3px 3px;color:#444;cursor:pointer;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-weight:600;line-height:1;padding:10px 0;text-decoration:none;z-index:1;position:absolute;bottom:-36px;left:-1px;width:100%;display:block;border:1px solid #FFF}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child{position:relative;background:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,.6) 100%),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==)!important}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child:before,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child:before,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child:before{content:'×';position:absolute;left:0;right:0;top:0;bottom:0;display:block;text-align:center;vertical-align:middle;color:red;font-size:20px;line-height:27px}.wp-picker-container .wp-picker-input-wrap.hidden{display:block}.wp-picker-container .wp-picker-input-wrap.hidden label,.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{width:100%}.dslca-module-edit-option-box-shadow-single.dslca-color-option .wp-picker-container{display:inline-block;vertical-align:middle}
|
1 |
+
.dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after{clear:both}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}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[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 .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.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,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{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=number],.dslca-container input[type=email]{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-module-edit-option-select .dslca-icon,.dslca-modules-section-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 .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.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{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.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-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-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:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff!important;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook: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-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait!important}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.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,.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,.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,.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,.dslca-subsection{display:none}.dslca-module-non-active{opacity:.5!important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Notification],.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator]{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,.19),-1px 1px 0 0 rgba(255,255,255,.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;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}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 *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-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-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-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:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;min-width:180px;position:relative;padding:40px 15px}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{min-width:180px;border:1px solid rgba(0,0,0,.1);border-radius:3px;position:relative;padding:0 15px}.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,.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=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea: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-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;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;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:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;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;font-family:'Open Sans',sans-serif}.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;font-family:'Open Sans',sans-serif}.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 input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.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 .dslca-module-edit-option-checkbox-hook,.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=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]: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 .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.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:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.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,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslc-modules-area.dslc-modules-area-empty,.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-modules-section-edit,.dslca-templates{position:relative}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{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;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook: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,.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,.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-export-code,#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-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-cancel,.dslca-submit,.dslca-submit-secondary{border-radius:3px;color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslc-modules-area-empty::after,.dslca-module-placeholder,.dslca-modules-section-placeholder,div.dslca-add-modules-section{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.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:120px;text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px}.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}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.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:.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,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!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:0!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,.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:0!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 43px 10px 12px;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-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;width:80%;max-width:620px;overflow:hidden;margin:30px auto 180px}.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,.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}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;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-module-manage-inner,.dslca-modules-section-manage-inner{background:#f17c56;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-top-right-radius:0;border-top-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-family:'Open Sans',sans-serif;font-weight:700;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,.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:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:-24px;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.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{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;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;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 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-module-options,.dslca-change-width-modules-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-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-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-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.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"],.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-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.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-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"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;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:-47px;top:0;text-align:center;z-index:99999;line-height:1}.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}.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 .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.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,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 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:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.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,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(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;border-color:rgba(255,255,255,0);border-top-color:#fff;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-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.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:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size,.dslca-section-code{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;font-size:12px;line-height:1}#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;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;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:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,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(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.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(.9);-moz-transform:scale(.9);transform:scale(.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(.9);transform:scale(.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(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}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,.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,.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-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(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-actions,.dslca-wp-editor-notification{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,.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-family:'Open Sans',sans-serif;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-family:'Open Sans',sans-serif;font-weight:700;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:400;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,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(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:700;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{position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-button-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer!important;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text,.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#fff}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{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,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;font-size:20px;text-decoration:none}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-editor-messages-section-122017,body.dslca-composer-hidden .dslc-hf-block-overlay,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.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-container.active-message-panel{margin-bottom:0}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.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:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(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-exclude,.dslca-module.dslca-origin[data-display-module=false]{display:none}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-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-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;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;position:fixed;z-index:99999;right:5px;bottom:5px}.dslc-editor-messages-section-122017,.dslca-modal-icons .icon-item_name,.dslca-modal-icons .set-heading{font-family:'Open Sans',sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.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-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-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,body.rtl .dslca-no-content .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-module-edit-options-wrapper{display:block}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-module-edit-options-inner,.dslca-modules-section-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 .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .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,.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,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover{box-shadow:none}.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-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;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:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-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:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .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:0;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 .82s cubic-bezier(.36,.07,.19,.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-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;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:0;left:0;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0;width:100%;height:83px}.dslc-control-toggle:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-options-iconbutton .dslca-icon,.dslca-options-iconbutton:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-row-edit-cancel:hover,.dslca-row-edit-save:hover{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3!important;border-color:#ccc!important}.dslca-container.active-message-panel{margin-bottom:40px}.dslc-editor-messages-section-122017{position:fixed;bottom:0;width:100%;height:40px;color:#fff;font-weight:100;background:#404a58;display:none}.dslc-editor-messages-title{float:left;background:#303030;color:#fff;font-size:14px;line-height:22px;text-transform:uppercase;padding:12px 17px;text-align:center;display:block;letter-spacing:1px}a.dslc-editor-messages-title:hover{color:#fff}#editor-messages{font-size:14px;text-overflow:ellipsis;white-space:nowrap;margin:0!important;padding:0!important;opacity:0}#editor-messages li{position:relative;padding:13px 20px 11px 50px!important;margin:0;line-height:16px;font-size:14px}#editor-messages a{text-decoration:none;display:block;position:absolute;left:0;top:0;width:100%;height:100%}#editor-messages strong{font-weight:500}#editor-messages .cta{font-size:11px;font-weight:500;background:#5A92E2;color:#fff;text-transform:uppercase;letter-spacing:.5px;display:inline-block;padding:4px 10px;position:absolute;border-radius:3px;margin-left:14px;margin-top:-4px}#editor-messages .dslc-icon{font-size:19px;margin-right:10px;position:absolute;left:20px;top:12px}#editor-messages .dslc-notice{background:#d90a0a;margin:0;padding:12px 17px;font-size:16px}#editor-messages .dslc-notice a{position:relative;color:#fff}.dslc-editor-messages-hide{float:right;padding:12px 17px;background:#283546;font-size:14px;text-align:center;display:block;color:#fff}.dslc-editor-messages-hide .dslc-icon{font-size:17px;margin-right:10px}a.dslc-editor-messages-hide:hover{color:#fff}.dslca-enabled.dslc-res-phone .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover .dslca-modules-section-manage{visibility:hidden!important}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslca-modules-area-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslca-modules-area-manage{visibility:hidden!important;opacity:0}.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:0}body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-module-being-edited):before,body.module-editing-in-progress.dslc-res-tablet .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before,body.section-editing-in-progress.dslc-res-tablet .dslc-modules-section:not(.dslca-modules-section-being-edited):before{z-index:1}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:.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(0);transform:rotate(0);-webkit-animation-delay:-.916666666666667s;animation-delay:-.916666666666667s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-.833333333333333s;animation-delay:-.833333333333333s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-.666666666666667s;animation-delay:-.666666666666667s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-.583333333333333s;animation-delay:-.583333333333333s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-.416666666666667s;animation-delay:-.416666666666667s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-.333333333333333s;animation-delay:-.333333333333333s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-.166666666666667s;animation-delay:-.166666666666667s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-83.333333333333ms;animation-delay:-83.333333333333ms}.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(.5) translate(50px,50px);transform:translate(-50px,-50px) scale(.5) translate(50px,50px)}.dslca-module-edit-option-box-shadow-single .wp-picker-holder,.dslca-module-edit-option-color .wp-picker-holder,.dslca-module-edit-option-text-shadow-single .wp-picker-holder,.dslca-modules-section-edit-option .wp-picker-holder{position:fixed;margin-top:-315px;z-index:1}body .dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,body .dslca-module-edit-option-color input[type=text].dslca-module-edit-field-colorpicker,body .dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color,body .dslca-modules-section-edit-option input[type=text].dslca-modules-section-edit-field-colorpicker{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.7),0 0 7px rgba(0,0,0,.28),4px 3px 6px rgba(0,0,0,.1);padding:0;line-height:31px;text-align:center;font-size:14px;min-height:33px}.dslca-module-edit-option-box-shadow-single .wp-picker-clear,.dslca-module-edit-option-color .wp-picker-clear,.dslca-module-edit-option-text-shadow-single .wp-picker-clear,.dslca-modules-section-edit-option .wp-picker-clear{display:none}.dslca-module-edit-option-box-shadow-single .wp-color-result,.dslca-module-edit-option-color .wp-color-result,.dslca-module-edit-option-text-shadow-single .wp-color-result,.dslca-modules-section-edit-option .wp-color-result{position:absolute!important;top:53px;z-index:2;right:10px;height:33px;left:16px;opacity:0}.dslca-module-edit-option-color .wp-picker-container input[type=text].wp-color-picker,.dslca-modules-section-edit-option .wp-picker-container input[type=text].wp-color-picker{width:100%!important;font-family:inherit;margin:inherit}.dslca-module-edit-option-box-shadow-single .wp-picker-container input[type=text].wp-color-picker,.dslca-module-edit-option-text-shadow-single .wp-picker-container input[type=text].wp-color-picker{width:100px;font-family:'Open Sans',sans-serif}.wp-picker-open+.wp-picker-input-wrap{vertical-align:middle!important}.dslca-module-edit-option-box-shadow-single .iris-picker.iris-border,.dslca-module-edit-option-color .iris-picker.iris-border,.dslca-modules-section-edit-option .iris-picker.iris-border{border-top-right-radius:3px;border-top-left-radius:3px}.dslca-colorpicker-apply{background:#f1f1f1;border-radius:0 0 3px 3px;color:#444;cursor:pointer;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-weight:600;line-height:1;padding:10px 0;text-decoration:none;z-index:1;position:absolute;bottom:-36px;left:-1px;width:100%;display:block;border:1px solid #FFF}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child{position:relative;background:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,.6) 100%),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==)!important}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child:before,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child:before,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child:before{content:'×';position:absolute;left:0;right:0;top:0;bottom:0;display:block;text-align:center;vertical-align:middle;color:red;font-size:20px;line-height:27px}.wp-picker-container .wp-picker-input-wrap.hidden{display:block}.wp-picker-container .wp-picker-input-wrap.hidden label,.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{width:100%}.dslca-module-edit-option-box-shadow-single.dslca-color-option .wp-picker-container{display:inline-block;vertical-align:middle}
|
css/builder/builder.main.css
CHANGED
@@ -634,7 +634,7 @@ body a:focus {
|
|
634 |
.dslca-module[data-id="DSLC_Separator"],
|
635 |
.dslca-module[data-id="DSLC_Notification"],
|
636 |
.dslca-module[data-id="DSLC_Sliders"],
|
637 |
-
.dslca-module[data-id="DSLC_Staff"]{
|
638 |
margin-right: 14px;
|
639 |
}
|
640 |
|
@@ -3802,7 +3802,7 @@ body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
|
|
3802 |
|
3803 |
body.rtl .dslca-module-edit-options-inner,
|
3804 |
body.rtl .dslca-modules-section-edit-options-inner {
|
3805 |
-
overflow-x:
|
3806 |
}
|
3807 |
|
3808 |
body.rtl .dslca-module-edit-option,
|
@@ -3815,6 +3815,10 @@ body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
|
|
3815 |
margin-left: 10px;
|
3816 |
}
|
3817 |
|
|
|
|
|
|
|
|
|
3818 |
|
3819 |
.dslca-modules-section-edit-options-wrapper,
|
3820 |
.dslca-module-edit-options-wrapper,
|
@@ -4419,3 +4423,158 @@ body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca
|
|
4419 |
.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide {
|
4420 |
display: none;
|
4421 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
.dslca-module[data-id="DSLC_Separator"],
|
635 |
.dslca-module[data-id="DSLC_Notification"],
|
636 |
.dslca-module[data-id="DSLC_Sliders"],
|
637 |
+
.dslca-module[data-id="DSLC_Staff"] {
|
638 |
margin-right: 14px;
|
639 |
}
|
640 |
|
3802 |
|
3803 |
body.rtl .dslca-module-edit-options-inner,
|
3804 |
body.rtl .dslca-modules-section-edit-options-inner {
|
3805 |
+
overflow-x: scroll;
|
3806 |
}
|
3807 |
|
3808 |
body.rtl .dslca-module-edit-option,
|
3815 |
margin-left: 10px;
|
3816 |
}
|
3817 |
|
3818 |
+
body.rtl .dslca-module-edit-options-wrapper {
|
3819 |
+
display: block;
|
3820 |
+
}
|
3821 |
+
|
3822 |
|
3823 |
.dslca-modules-section-edit-options-wrapper,
|
3824 |
.dslca-module-edit-options-wrapper,
|
4423 |
.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide {
|
4424 |
display: none;
|
4425 |
}
|
4426 |
+
|
4427 |
+
/*
|
4428 |
+
* Template preloader
|
4429 |
+
*/
|
4430 |
+
|
4431 |
+
.lc-template-loader {
|
4432 |
+
display: block;
|
4433 |
+
width: 100%;
|
4434 |
+
height: 100%;
|
4435 |
+
position: fixed;
|
4436 |
+
top: 0;
|
4437 |
+
left: 0;
|
4438 |
+
background: #fefefe;
|
4439 |
+
z-index: 100000;
|
4440 |
+
}
|
4441 |
+
|
4442 |
+
.lc-loader {
|
4443 |
+
position: absolute;
|
4444 |
+
top: 50%;
|
4445 |
+
left: 50%;
|
4446 |
+
margin: -110px 0 0 -60px;
|
4447 |
+
font-size: 10px;
|
4448 |
+
z-index: 100001;
|
4449 |
+
}
|
4450 |
+
|
4451 |
+
/*
|
4452 |
+
* Spinner
|
4453 |
+
*/
|
4454 |
+
|
4455 |
+
@keyframes lds-spinner {
|
4456 |
+
0% {
|
4457 |
+
opacity: 1;
|
4458 |
+
}
|
4459 |
+
100% {
|
4460 |
+
opacity: 0;
|
4461 |
+
}
|
4462 |
+
}
|
4463 |
+
|
4464 |
+
@-webkit-keyframes lds-spinner {
|
4465 |
+
0% {
|
4466 |
+
opacity: 1;
|
4467 |
+
}
|
4468 |
+
100% {
|
4469 |
+
opacity: 0;
|
4470 |
+
}
|
4471 |
+
}
|
4472 |
+
|
4473 |
+
.lds-spinner {
|
4474 |
+
position: relative;
|
4475 |
+
}
|
4476 |
+
|
4477 |
+
.lds-spinner div {
|
4478 |
+
left: 94px;
|
4479 |
+
top: 48px;
|
4480 |
+
position: absolute;
|
4481 |
+
-webkit-animation: lds-spinner linear 1s infinite;
|
4482 |
+
animation: lds-spinner linear 1s infinite;
|
4483 |
+
background: #8cd0e5;
|
4484 |
+
width: 12px;
|
4485 |
+
height: 24px;
|
4486 |
+
border-radius: 40%;
|
4487 |
+
-webkit-transform-origin: 6px 52px;
|
4488 |
+
transform-origin: 6px 52px;
|
4489 |
+
}
|
4490 |
+
|
4491 |
+
.lds-spinner div:nth-child(1) {
|
4492 |
+
-webkit-transform: rotate(0deg);
|
4493 |
+
transform: rotate(0deg);
|
4494 |
+
-webkit-animation-delay: -0.916666666666667s;
|
4495 |
+
animation-delay: -0.916666666666667s;
|
4496 |
+
}
|
4497 |
+
|
4498 |
+
.lds-spinner div:nth-child(2) {
|
4499 |
+
-webkit-transform: rotate(30deg);
|
4500 |
+
transform: rotate(30deg);
|
4501 |
+
-webkit-animation-delay: -0.833333333333333s;
|
4502 |
+
animation-delay: -0.833333333333333s;
|
4503 |
+
}
|
4504 |
+
|
4505 |
+
.lds-spinner div:nth-child(3) {
|
4506 |
+
-webkit-transform: rotate(60deg);
|
4507 |
+
transform: rotate(60deg);
|
4508 |
+
-webkit-animation-delay: -0.75s;
|
4509 |
+
animation-delay: -0.75s;
|
4510 |
+
}
|
4511 |
+
|
4512 |
+
.lds-spinner div:nth-child(4) {
|
4513 |
+
-webkit-transform: rotate(90deg);
|
4514 |
+
transform: rotate(90deg);
|
4515 |
+
-webkit-animation-delay: -0.666666666666667s;
|
4516 |
+
animation-delay: -0.666666666666667s;
|
4517 |
+
}
|
4518 |
+
|
4519 |
+
.lds-spinner div:nth-child(5) {
|
4520 |
+
-webkit-transform: rotate(120deg);
|
4521 |
+
transform: rotate(120deg);
|
4522 |
+
-webkit-animation-delay: -0.583333333333333s;
|
4523 |
+
animation-delay: -0.583333333333333s;
|
4524 |
+
}
|
4525 |
+
|
4526 |
+
.lds-spinner div:nth-child(6) {
|
4527 |
+
-webkit-transform: rotate(150deg);
|
4528 |
+
transform: rotate(150deg);
|
4529 |
+
-webkit-animation-delay: -0.5s;
|
4530 |
+
animation-delay: -0.5s;
|
4531 |
+
}
|
4532 |
+
|
4533 |
+
.lds-spinner div:nth-child(7) {
|
4534 |
+
-webkit-transform: rotate(180deg);
|
4535 |
+
transform: rotate(180deg);
|
4536 |
+
-webkit-animation-delay: -0.416666666666667s;
|
4537 |
+
animation-delay: -0.416666666666667s;
|
4538 |
+
}
|
4539 |
+
|
4540 |
+
.lds-spinner div:nth-child(8) {
|
4541 |
+
-webkit-transform: rotate(210deg);
|
4542 |
+
transform: rotate(210deg);
|
4543 |
+
-webkit-animation-delay: -0.333333333333333s;
|
4544 |
+
animation-delay: -0.333333333333333s;
|
4545 |
+
}
|
4546 |
+
|
4547 |
+
.lds-spinner div:nth-child(9) {
|
4548 |
+
-webkit-transform: rotate(240deg);
|
4549 |
+
transform: rotate(240deg);
|
4550 |
+
-webkit-animation-delay: -0.25s;
|
4551 |
+
animation-delay: -0.25s;
|
4552 |
+
}
|
4553 |
+
|
4554 |
+
.lds-spinner div:nth-child(10) {
|
4555 |
+
-webkit-transform: rotate(270deg);
|
4556 |
+
transform: rotate(270deg);
|
4557 |
+
-webkit-animation-delay: -0.166666666666667s;
|
4558 |
+
animation-delay: -0.166666666666667s;
|
4559 |
+
}
|
4560 |
+
|
4561 |
+
.lds-spinner div:nth-child(11) {
|
4562 |
+
-webkit-transform: rotate(300deg);
|
4563 |
+
transform: rotate(300deg);
|
4564 |
+
-webkit-animation-delay: -0.083333333333333s;
|
4565 |
+
animation-delay: -0.083333333333333s;
|
4566 |
+
}
|
4567 |
+
|
4568 |
+
.lds-spinner div:nth-child(12) {
|
4569 |
+
-webkit-transform: rotate(330deg);
|
4570 |
+
transform: rotate(330deg);
|
4571 |
+
-webkit-animation-delay: 0s;
|
4572 |
+
animation-delay: 0s;
|
4573 |
+
}
|
4574 |
+
|
4575 |
+
.lds-spinner {
|
4576 |
+
width: 100px !important;
|
4577 |
+
height: 100px !important;
|
4578 |
+
-webkit-transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px);
|
4579 |
+
transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px);
|
4580 |
+
}
|
css/frontend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative;z-index:2}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:99999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:99999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}.dslca-enabled:not(.dslca-composer-hidden) #dslc-footer{margin-bottom:74px}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}.dslc-carousel-nav-next.position-aside,.dslc-carousel-nav-prev.position-aside{position:absolute;top:50%;margin-top:-30px}.dslc-carousel-nav-prev.position-aside{left:-40px;margin-right:0}.dslc-carousel-nav-next.position-aside{right:-40px}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px;overflow:hidden}.dslc-carousel.owl-carousel .owl-wrapper-outer{overflow:visible}.dslca-activate-composer-hook{background:#54c13f!important;color:#fff!important;border-radius:3px!important;position:fixed!important;z-index:99999!important;right:5px!important;bottom:5px!important;cursor:pointer!important;display:block!important;font-size:11px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;font-weight:900!important;line-height:1!important;padding:11px 12px!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;float:left!important;margin-left:5px!important}.dslc-module-DSLC_Image .dslc-notification,.dslc-module-front,.dslca-module{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F!important}.dslca-activate-composer-hook:visited{color:#fff!important}.dslca-activate-composer-hook.dslca-position-left{right:auto!important;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft{position:absolute;top:0;left:0;bottom:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright{position:absolute;top:0;right:0;bottom:auto;left:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft{position:absolute;bottom:0;left:0;top:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright{position:absolute;bottom:0;right:0;top:auto;left:auto}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i:not(.fa,.dslc-icon){font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}.dslc-post-heading{overflow:hidden}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0 0 30px;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}.dslc-post-heading{overflow:hidden}}@media all and (-ms-high-contrast:none){.dslc-image-container .dslc-image,.dslc-image-container .dslc-image a{width:100%!important}.dslc-in-viewport-check{transform:none!important;opacity:1!important}#dslc-content .dslc-info-box-image-alt-inner{width:100%}}body #dslc-content .nf-field-container{margin-bottom:0}body #dslc-content input:focus{outline:0}body:not(.dslca-enabled) .dslc-sticky-row{width:100%;left:0;z-index:1}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-post{overflow:hidden}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author.above{float:none}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-meta-date.above{float:none}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1;width:100%}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-author.above{float:none}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-meta-date.above{float:none}#dslc-content .dslc-blog-post-meta-comment-count{display:inline-block;margin:0 auto}#dslc-content .dslc-blog-post-meta-comment-count.right{float:right}#dslc-content .dslc-blog-post-meta-comment-count.left{float:left}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-thumb .dslc-gallery-images-count{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image,#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-image-alt{float:left;margin-right:20px}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-alt-inner{display:inline-block}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none;box-shadow:none;-webkit-appearance:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-content,#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{position:relative;width:90%;margin:0 auto}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-avatar{float:left}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-testimonial-avatar-above .dslc-testimonial-author-avatar{float:right}.dslc-testimonial-clearfix{clear:both}button,input[type=button],input[type=submit],input[type=reset],input[type=file]::-webkit-file-upload-button{border-style:none;-webkit-appearance:none}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap{border:0 solid transparent}.dslc-module-DSLC_Text_Simple img{max-width:100%;height:auto}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;font-weight:400;font-size:25px;line-height:1;position:absolute;left:0;top:0;width:100%;height:100%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center;-webkit-appearance:none}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-social li:last-child{margin-right:0}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1;box-shadow:none;-webkit-appearance:none}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}.dslc-image,.dslc-image img{border:0;box-shadow:none}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none;position:relative}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:999;position:relative;text-align:right;font-size:0}body .dslc-navigation .menu-item[class*=" dslc-icon-"]:before,body .dslc-navigation .menu-item[class^=dslc-icon-]:before{display:none}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{display:none;list-style-type:none;margin:0;opacity:0;position:absolute;z-index:10;top:100%;left:-28px;text-align:left}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;position:relative;z-index:3;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-1px;top:-1px}#dslc-content .dslc-navigation .menu ul:before{position:absolute;content:'';display:block;left:0;top:0;bottom:0;right:0;z-index:2;border-style:solid}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu:after{display:block;content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;z-index:0;position:absolute}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu{display:block;opacity:1}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-tabs-nav{display:none}.dslc-tabs-tab-content{display:block!important}.dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}.dslc-carousel .dslc-carousel-item{margin-left:0!important}body #dslc-content .dslc-partner-thumb{width:100%}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{width:80%}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:visible}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
|
1 |
+
.dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative;z-index:2}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:99999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:99999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}.dslca-enabled:not(.dslca-composer-hidden) #dslc-footer{margin-bottom:74px}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-blog-post-meta .clearfix,.dslc-separator,.dslc-testimonial-clearfix{clear:both}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}.dslc-carousel-nav-next.position-aside,.dslc-carousel-nav-prev.position-aside{position:absolute;top:50%;margin-top:-30px}.dslc-carousel-nav-prev.position-aside{left:-40px;margin-right:0}.dslc-carousel-nav-next.position-aside{right:-40px}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider-item .dslc-caption{display:block}.dslc-carousel{opacity:0;max-height:100px;overflow:hidden}.dslc-carousel.owl-carousel .owl-wrapper-outer{overflow:visible}.dslca-activate-composer-hook{background:#54c13f!important;color:#fff!important;border-radius:3px!important;position:fixed!important;z-index:99999!important;right:5px!important;bottom:5px!important;cursor:pointer!important;display:block!important;font-size:11px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;font-weight:900!important;line-height:1!important;padding:11px 12px!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;float:left!important;margin-left:5px!important}.dslc-module-DSLC_Image .dslc-notification,.dslc-module-front,.dslca-module{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F!important}.dslca-activate-composer-hook:visited{color:#fff!important}.dslca-activate-composer-hook.dslca-position-left{right:auto!important;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft{position:absolute;top:0;left:0;bottom:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright{position:absolute;top:0;right:0;bottom:auto;left:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft{position:absolute;bottom:0;left:0;top:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright{position:absolute;bottom:0;right:0;top:auto;left:auto}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i:not(.fa,.dslc-icon){font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}.dslc-post-heading{overflow:hidden}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0 0 30px;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}.dslc-post-heading{overflow:hidden}}@media all and (-ms-high-contrast:none){.dslc-image-container .dslc-image,.dslc-image-container .dslc-image a{width:100%!important}.dslc-in-viewport-check{transform:none!important;opacity:1!important}#dslc-content .dslc-info-box-image-alt-inner{width:100%}}body #dslc-content .nf-field-container{margin-bottom:0}body #dslc-content input:focus{outline:0}body:not(.dslca-enabled) .dslc-sticky-row{width:100%;left:0;z-index:1}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-post{overflow:hidden}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author.above{float:none}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-meta-date.above{float:none}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1;width:100%}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-author.above{float:none}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-meta-date.above{float:none}#dslc-content .dslc-blog-post-meta-comment-count{display:inline-block;margin:0 auto}#dslc-content .dslc-blog-post-meta-comment-count.right{float:right}#dslc-content .dslc-blog-post-meta-comment-count.left{float:left}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-thumb .dslc-gallery-images-count{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image,#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-image-alt{float:left;margin-right:20px}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-alt-inner{display:inline-block}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none;box-shadow:none;-webkit-appearance:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-content,#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{position:relative;width:90%;margin:0 auto}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-avatar{float:left}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main,#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-testimonial-avatar-above .dslc-testimonial-author-avatar{float:right}button,input[type=button],input[type=submit],input[type=reset],input[type=file]::-webkit-file-upload-button{border-style:none;-webkit-appearance:none}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap{border:0 solid transparent}.dslc-module-DSLC_Text_Simple img{max-width:100%;height:auto}.dslc-text-module-content:before{content:"";top:0;left:0;bottom:0;right:0;position:absolute;z-index:-1}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;font-weight:400;font-size:25px;line-height:1;position:absolute;left:0;top:0;width:100%;height:100%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center;-webkit-appearance:none}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-social li:last-child{margin-right:0}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1;box-shadow:none;-webkit-appearance:none}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}.dslc-image,.dslc-image img{border:0;box-shadow:none}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none;position:relative}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook,#dslc-content .dslca-toggle-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:999;position:relative;text-align:right;font-size:0}body .dslc-navigation .menu-item[class*=" dslc-icon-"]:before,body .dslc-navigation .menu-item[class^=dslc-icon-]:before{display:none}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{display:none;list-style-type:none;margin:0;opacity:0;position:absolute;z-index:10;top:100%;left:-28px;text-align:left}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;position:relative;z-index:3;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-1px;top:-1px}#dslc-content .dslc-navigation .menu ul:before{position:absolute;content:'';display:block;left:0;top:0;bottom:0;right:0;z-index:2;border-style:solid}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu:after{display:block;content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;z-index:0;position:absolute}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu{display:block;opacity:1}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}.dslc-carousel .dslc-carousel-item{margin-left:0!important}body #dslc-content .dslc-partner-thumb{width:100%}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{width:80%}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:visible}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
|
css/frontend/main.css
CHANGED
@@ -284,6 +284,10 @@ body.rtl .dslc-last-col {
|
|
284 |
opacity: 1;
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
287 |
/**
|
288 |
* Elements
|
289 |
*/
|
@@ -839,7 +843,9 @@ body.rtl .dslc-last-col {
|
|
839 |
* Responsive ( User Set )
|
840 |
*/
|
841 |
|
842 |
-
|
|
|
|
|
843 |
|
844 |
.dslc-modules-section.dslc-init-parallax {
|
845 |
background-attachment: scroll !important;
|
@@ -855,7 +861,7 @@ body.rtl .dslc-last-col {
|
|
855 |
background-position: 0 0 !important;
|
856 |
}
|
857 |
|
858 |
-
}
|
859 |
|
860 |
/**
|
861 |
* Animations moved outside of media queries
|
284 |
opacity: 1;
|
285 |
}
|
286 |
|
287 |
+
#dslc-content .dslc-slider-item .dslc-caption {
|
288 |
+
display: block;
|
289 |
+
}
|
290 |
+
|
291 |
/**
|
292 |
* Elements
|
293 |
*/
|
843 |
* Responsive ( User Set )
|
844 |
*/
|
845 |
|
846 |
+
/* https://github.com/live-composer/live-composer-page-builder/issues/505 */
|
847 |
+
|
848 |
+
/* @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
|
849 |
|
850 |
.dslc-modules-section.dslc-init-parallax {
|
851 |
background-attachment: scroll !important;
|
861 |
background-position: 0 0 !important;
|
862 |
}
|
863 |
|
864 |
+
} */
|
865 |
|
866 |
/**
|
867 |
* Animations moved outside of media queries
|
css/frontend/modules.css
CHANGED
@@ -279,6 +279,10 @@
|
|
279 |
float: left;
|
280 |
}
|
281 |
|
|
|
|
|
|
|
|
|
282 |
#dslc-content .dslc-blog-post-title {
|
283 |
margin-bottom: 13px;
|
284 |
}
|
@@ -1150,6 +1154,7 @@
|
|
1150 |
|
1151 |
#dslc-content .dslc-testimonial-author-avatar {
|
1152 |
border: 0 transparent solid;
|
|
|
1153 |
}
|
1154 |
|
1155 |
#dslc-content .dslc-testimonial-author-avatar img {
|
@@ -1157,7 +1162,8 @@
|
|
1157 |
height: auto;
|
1158 |
}
|
1159 |
|
1160 |
-
#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main
|
|
|
1161 |
overflow: hidden;
|
1162 |
float: left;
|
1163 |
}
|
@@ -1198,9 +1204,15 @@ input[type="button"], input[type="submit"], input[type="reset"], input[type="fil
|
|
1198 |
height: auto;
|
1199 |
}
|
1200 |
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1204 |
|
1205 |
/**
|
1206 |
* WIDGETS MODULE
|
@@ -1984,7 +1996,8 @@ body.dslca-enabled .dslc-notification-box-has-timeout {
|
|
1984 |
color: #3b6fbe;
|
1985 |
}
|
1986 |
|
1987 |
-
#dslc-content .dslca-delete-accordion-hook
|
|
|
1988 |
color: #E55F5F;
|
1989 |
cursor: pointer;
|
1990 |
display: inline-block;
|
@@ -2301,7 +2314,7 @@ body.dslca-enabled .dslc-notification-box-has-timeout {
|
|
2301 |
|
2302 |
/* Smartphone */
|
2303 |
@media only screen and ( max-width: 767px ) {
|
2304 |
-
.dslc-tabs-nav {
|
2305 |
display: none;
|
2306 |
}
|
2307 |
|
@@ -2313,7 +2326,7 @@ body.dslca-enabled .dslc-notification-box-has-timeout {
|
|
2313 |
display: block !important;
|
2314 |
float: none !important;
|
2315 |
margin-bottom: 20px;
|
2316 |
-
}
|
2317 |
|
2318 |
.dslc-comment .dslc-comment {
|
2319 |
margin-left: 0;
|
279 |
float: left;
|
280 |
}
|
281 |
|
282 |
+
.dslc-blog-post-meta .clearfix {
|
283 |
+
clear: both;
|
284 |
+
}
|
285 |
+
|
286 |
#dslc-content .dslc-blog-post-title {
|
287 |
margin-bottom: 13px;
|
288 |
}
|
1154 |
|
1155 |
#dslc-content .dslc-testimonial-author-avatar {
|
1156 |
border: 0 transparent solid;
|
1157 |
+
float: left;
|
1158 |
}
|
1159 |
|
1160 |
#dslc-content .dslc-testimonial-author-avatar img {
|
1162 |
height: auto;
|
1163 |
}
|
1164 |
|
1165 |
+
#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main,
|
1166 |
+
#dslc-content .dslc-testimonial-author-main {
|
1167 |
overflow: hidden;
|
1168 |
float: left;
|
1169 |
}
|
1204 |
height: auto;
|
1205 |
}
|
1206 |
|
1207 |
+
.dslc-text-module-content:before {
|
1208 |
+
content: "";
|
1209 |
+
top: 0;
|
1210 |
+
left: 0;
|
1211 |
+
bottom: 0;
|
1212 |
+
right: 0;
|
1213 |
+
position: absolute;
|
1214 |
+
z-index: -1;
|
1215 |
+
}
|
1216 |
|
1217 |
/**
|
1218 |
* WIDGETS MODULE
|
1996 |
color: #3b6fbe;
|
1997 |
}
|
1998 |
|
1999 |
+
#dslc-content .dslca-delete-accordion-hook,
|
2000 |
+
#dslc-content .dslca-toggle-accordion-hook {
|
2001 |
color: #E55F5F;
|
2002 |
cursor: pointer;
|
2003 |
display: inline-block;
|
2314 |
|
2315 |
/* Smartphone */
|
2316 |
@media only screen and ( max-width: 767px ) {
|
2317 |
+
/* .dslc-tabs-nav {
|
2318 |
display: none;
|
2319 |
}
|
2320 |
|
2326 |
display: block !important;
|
2327 |
float: none !important;
|
2328 |
margin-bottom: 20px;
|
2329 |
+
} */
|
2330 |
|
2331 |
.dslc-comment .dslc-comment {
|
2332 |
margin-left: 0;
|
ds-live-composer.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://www.livecomposerplugin.com
|
5 |
* Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
|
6 |
* Author: Live Composer Team
|
7 |
-
* Version: 1.
|
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.
|
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: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
|
6 |
* Author: Live Composer Team
|
7 |
+
* Version: 1.4
|
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.4' );
|
45 |
|
46 |
define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
|
47 |
define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
|
images/extensions/breadcrumb/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/breadcrumb/thumbnail.png
ADDED
Binary file
|
images/extensions/contact-forms/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/contact-forms/thumbnail.png
ADDED
Binary file
|
images/extensions/headroom/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/headroom/thumbnail.png
ADDED
Binary file
|
images/extensions/openstreetmap/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/openstreetmap/thumbnail.png
ADDED
Binary file
|
images/extensions/preloader/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/preloader/thumbnail.png
ADDED
Binary file
|
images/extensions/restrict-content/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
images/extensions/restrict-content/thumbnail.png
ADDED
Binary file
|
includes/archive-templates.php
CHANGED
@@ -42,17 +42,17 @@ function dslc_template_redirects( $template ) {
|
|
42 |
|
43 |
} elseif ( is_404() ||
|
44 |
( is_archive() && ! $post ) ||
|
45 |
-
( is_search() && ! $post ) ||
|
46 |
( is_author() && ! $post ) ) {
|
47 |
|
48 |
// If 404 page.
|
49 |
// If Archive page and no posts to show.
|
50 |
-
// If Search page and no posts to show.
|
51 |
// If Author post listing and no posts to show.
|
52 |
// ---
|
53 |
// Redirect to 404 page if archive posts listing has no posts.
|
54 |
$template_custom = dslc_404_template_redirect( $template );
|
55 |
|
|
|
|
|
56 |
}
|
57 |
|
58 |
// Return custom or default template.
|
@@ -176,6 +176,26 @@ function dslc_404_template_redirect( $template ) {
|
|
176 |
return $not_found_template;
|
177 |
}
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
/**
|
180 |
* Fixes 404 on pagination caused when regular WP query has no more post
|
181 |
*
|
42 |
|
43 |
} elseif ( is_404() ||
|
44 |
( is_archive() && ! $post ) ||
|
|
|
45 |
( is_author() && ! $post ) ) {
|
46 |
|
47 |
// If 404 page.
|
48 |
// If Archive page and no posts to show.
|
|
|
49 |
// If Author post listing and no posts to show.
|
50 |
// ---
|
51 |
// Redirect to 404 page if archive posts listing has no posts.
|
52 |
$template_custom = dslc_404_template_redirect( $template );
|
53 |
|
54 |
+
} elseif ( is_search() && ! $post ) {
|
55 |
+
$template_custom = dslc_page_not_found_template_redirect( $template );
|
56 |
}
|
57 |
|
58 |
// Return custom or default template.
|
176 |
return $not_found_template;
|
177 |
}
|
178 |
|
179 |
+
/**
|
180 |
+
* Load custom template for page not found
|
181 |
+
*
|
182 |
+
* @param String $template Path to a template to filter.
|
183 |
+
* @return String Return the a full path to a template file.
|
184 |
+
* @since 1.0
|
185 |
+
*/
|
186 |
+
function dslc_page_not_found_template_redirect( $template ) {
|
187 |
+
|
188 |
+
$template_id = dslc_get_archive_template_by_pt( 'page_not_found' );
|
189 |
+
|
190 |
+
if ( ! $template_id || 'none' === $template_id ) {
|
191 |
+
return $template;
|
192 |
+
}
|
193 |
+
|
194 |
+
$not_found_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-page-not-found.php';
|
195 |
+
|
196 |
+
return $not_found_template;
|
197 |
+
}
|
198 |
+
|
199 |
/**
|
200 |
* Fixes 404 on pagination caused when regular WP query has no more post
|
201 |
*
|
includes/class.module.php
CHANGED
@@ -1611,6 +1611,14 @@ class DSLC_Module {
|
|
1611 |
|
1612 |
$pagination_options = array(
|
1613 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1614 |
array(
|
1615 |
'label' => 'Align',
|
1616 |
'id' => 'css_pag_align',
|
@@ -2418,13 +2426,34 @@ class DSLC_Module {
|
|
2418 |
public static function common_options() {
|
2419 |
|
2420 |
$options = array(
|
2421 |
-
array(
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2428 |
),
|
2429 |
);
|
2430 |
|
@@ -2500,15 +2529,15 @@ class DSLC_Module {
|
|
2500 |
$show_on = explode( ' ', trim( $options['css_show_on'] ) );
|
2501 |
|
2502 |
if ( ! in_array( 'desktop', $show_on, true ) ) {
|
2503 |
-
|
2504 |
}
|
2505 |
|
2506 |
if ( ! in_array( 'tablet', $show_on, true ) ) {
|
2507 |
-
|
2508 |
}
|
2509 |
|
2510 |
if ( ! in_array( 'phone', $show_on, true ) ) {
|
2511 |
-
|
2512 |
}
|
2513 |
}
|
2514 |
|
@@ -2581,10 +2610,8 @@ class DSLC_Module {
|
|
2581 |
$module_class = implode( ' ', $module_class_arr );
|
2582 |
|
2583 |
if ( ! $dslc_active ) {
|
2584 |
-
|
2585 |
-
|
2586 |
-
$before_module_content = '';
|
2587 |
-
echo apply_filters( 'dslc_before_module', $before_module_content, $options );
|
2588 |
}
|
2589 |
|
2590 |
?>
|
@@ -2601,6 +2628,10 @@ class DSLC_Module {
|
|
2601 |
|
2602 |
$options_arr = $this->options();
|
2603 |
|
|
|
|
|
|
|
|
|
2604 |
if ( ! isset( $options['css_custom'] ) || 'enabled' === $options['css_custom'] ) {
|
2605 |
|
2606 |
// Generate CSS for the module based on the selected options.
|
@@ -2800,9 +2831,8 @@ class DSLC_Module {
|
|
2800 |
<?php
|
2801 |
|
2802 |
if ( ! $dslc_active ) {
|
2803 |
-
|
2804 |
-
|
2805 |
-
echo apply_filters( 'dslc_after_module', $after_module_content, $user_options );
|
2806 |
}
|
2807 |
|
2808 |
global $dslc_should_filter;
|
1611 |
|
1612 |
$pagination_options = array(
|
1613 |
|
1614 |
+
array(
|
1615 |
+
'label' => __( 'Pagination Text', 'live-composer-page-builder' ),
|
1616 |
+
'id' => 'pagination_text',
|
1617 |
+
'std' => 'Load More Items',
|
1618 |
+
'type' => 'text',
|
1619 |
+
'section' => 'styling',
|
1620 |
+
'tab' => 'Pagination',
|
1621 |
+
),
|
1622 |
array(
|
1623 |
'label' => 'Align',
|
1624 |
'id' => 'css_pag_align',
|
2426 |
public static function common_options() {
|
2427 |
|
2428 |
$options = array(
|
2429 |
+
'custom_class' => array(
|
2430 |
+
array(
|
2431 |
+
'label' => 'Custom class',
|
2432 |
+
'id' => 'custom_class',
|
2433 |
+
'std' => '',
|
2434 |
+
'type' => 'text',
|
2435 |
+
'section' => 'functionality',
|
2436 |
+
'tab' => 'general',
|
2437 |
+
),
|
2438 |
+
),
|
2439 |
+
'css_custom' => array(
|
2440 |
+
array(
|
2441 |
+
'label' => __( 'Enable/Disable Custom CSS', 'live-composer-page-builder' ),
|
2442 |
+
'id' => 'css_custom',
|
2443 |
+
'std' => 'enabled',
|
2444 |
+
'type' => 'select',
|
2445 |
+
'choices' => array(
|
2446 |
+
array(
|
2447 |
+
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
2448 |
+
'value' => 'enabled',
|
2449 |
+
),
|
2450 |
+
array(
|
2451 |
+
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
2452 |
+
'value' => 'disabled',
|
2453 |
+
),
|
2454 |
+
),
|
2455 |
+
'section' => 'styling',
|
2456 |
+
),
|
2457 |
),
|
2458 |
);
|
2459 |
|
2529 |
$show_on = explode( ' ', trim( $options['css_show_on'] ) );
|
2530 |
|
2531 |
if ( ! in_array( 'desktop', $show_on, true ) ) {
|
2532 |
+
$class_show_on .= 'dslc-hide-on-desktop ';
|
2533 |
}
|
2534 |
|
2535 |
if ( ! in_array( 'tablet', $show_on, true ) ) {
|
2536 |
+
$class_show_on .= 'dslc-hide-on-tablet ';
|
2537 |
}
|
2538 |
|
2539 |
if ( ! in_array( 'phone', $show_on, true ) ) {
|
2540 |
+
$class_show_on .= 'dslc-hide-on-phone ';
|
2541 |
}
|
2542 |
}
|
2543 |
|
2610 |
$module_class = implode( ' ', $module_class_arr );
|
2611 |
|
2612 |
if ( ! $dslc_active ) {
|
2613 |
+
$dslc_module_before = '';
|
2614 |
+
echo dslc_decode_shortcodes( apply_filters( 'dslc_module_before_filter', $dslc_module_before, $options ) );
|
|
|
|
|
2615 |
}
|
2616 |
|
2617 |
?>
|
2628 |
|
2629 |
$options_arr = $this->options();
|
2630 |
|
2631 |
+
if ( isset( $options['css_custom'] ) && $options['css_custom'] == '' ) {
|
2632 |
+
$options['css_custom'] = 'enabled';
|
2633 |
+
}
|
2634 |
+
|
2635 |
if ( ! isset( $options['css_custom'] ) || 'enabled' === $options['css_custom'] ) {
|
2636 |
|
2637 |
// Generate CSS for the module based on the selected options.
|
2831 |
<?php
|
2832 |
|
2833 |
if ( ! $dslc_active ) {
|
2834 |
+
$dslc_module_after = '';
|
2835 |
+
echo dslc_decode_shortcodes( apply_filters( 'dslc_module_after_filter', $dslc_module_after, $user_options ) );
|
|
|
2836 |
}
|
2837 |
|
2838 |
global $dslc_should_filter;
|
includes/css-generation.php
CHANGED
@@ -131,11 +131,14 @@ function dslc_custom_css( $dslc_code = '' ) {
|
|
131 |
|
132 |
if ( is_404() ||
|
133 |
( is_archive() && ! $post ) ||
|
134 |
-
( is_search() && ! $post ) ||
|
135 |
( is_author() && ! $post ) ) {
|
136 |
$template_id = dslc_get_archive_template_by_pt( '404_page' );
|
137 |
}
|
138 |
|
|
|
|
|
|
|
|
|
139 |
// Header/Footer.
|
140 |
if ( $template_id ) {
|
141 |
|
131 |
|
132 |
if ( is_404() ||
|
133 |
( is_archive() && ! $post ) ||
|
|
|
134 |
( is_author() && ! $post ) ) {
|
135 |
$template_id = dslc_get_archive_template_by_pt( '404_page' );
|
136 |
}
|
137 |
|
138 |
+
if ( is_search() && ! $post ) {
|
139 |
+
$template_id = dslc_get_archive_template_by_pt( 'page_not_found' );
|
140 |
+
}
|
141 |
+
|
142 |
// Header/Footer.
|
143 |
if ( $template_id ) {
|
144 |
|
includes/display-functions.php
CHANGED
@@ -575,6 +575,7 @@ function dslc_filter_content( $content ) {
|
|
575 |
global $wp_the_query;
|
576 |
global $dslc_post_types;
|
577 |
global $post;
|
|
|
578 |
|
579 |
// Get ID of the post from the main query.
|
580 |
if ( isset( $wp_the_query->queried_object_id ) ) {
|
@@ -635,6 +636,7 @@ function dslc_filter_content( $content ) {
|
|
635 |
if ( is_archive() && ! $showing_404_page && ! is_author() && ! is_search() ) {
|
636 |
|
637 |
$post_type_slug = get_post_type();
|
|
|
638 |
|
639 |
// Get ID of the page set to power the category of the current post type.
|
640 |
$template_id = dslc_get_archive_template_by_pt( $post_type_slug );
|
@@ -663,7 +665,11 @@ function dslc_filter_content( $content ) {
|
|
663 |
if ( is_search() && ! $showing_404_page ) {
|
664 |
|
665 |
// Get ID of the page set to power the search results page.
|
666 |
-
|
|
|
|
|
|
|
|
|
667 |
|
668 |
// If there is a page that powers it.
|
669 |
if ( $template_id ) {
|
@@ -1098,7 +1104,12 @@ function dslc_module_front( $atts, $settings_raw = null ) {
|
|
1098 |
|
1099 |
// Module output.
|
1100 |
ob_start();
|
1101 |
-
|
|
|
|
|
|
|
|
|
|
|
1102 |
$output_body = ob_get_contents();
|
1103 |
ob_end_clean();
|
1104 |
|
@@ -1356,10 +1367,8 @@ function dslc_modules_section_front( $atts, $content = null, $version = 1 ) {
|
|
1356 |
$output = '';
|
1357 |
|
1358 |
if ( ! $dslc_active ) {
|
1359 |
-
|
1360 |
-
|
1361 |
-
$before_section_content = '';
|
1362 |
-
$output .= apply_filters( 'dslc_before_section', $before_section_content, $atts );
|
1363 |
}
|
1364 |
|
1365 |
$output .= '
|
@@ -1396,10 +1405,8 @@ function dslc_modules_section_front( $atts, $content = null, $version = 1 ) {
|
|
1396 |
$output .= '</div>';
|
1397 |
|
1398 |
if ( ! $dslc_active ) {
|
1399 |
-
|
1400 |
-
|
1401 |
-
$after_section_content = '';
|
1402 |
-
$output .= apply_filters( 'dslc_after_section', $after_section_content, $atts );
|
1403 |
}
|
1404 |
|
1405 |
/*
|
@@ -1684,9 +1691,9 @@ function dslc_post_pagination( $atts ) {
|
|
1684 |
|
1685 |
if ( $type == 'loadmore' ) {
|
1686 |
if ( $paged < $pages ) {
|
1687 |
-
echo "<li class='dslc-pagination-load-more dslc-active'><a href='" . get_pagenum_link( $paged + 1 ) . "'><span class='dslc-icon dslc-icon-refresh'></span>" .
|
1688 |
} else {
|
1689 |
-
echo "<li class='dslc-pagination-load-more dslc-inactive'><a href='#'><span class='dslc-icon dslc-icon-refresh'></span>" .
|
1690 |
}
|
1691 |
}
|
1692 |
|
575 |
global $wp_the_query;
|
576 |
global $dslc_post_types;
|
577 |
global $post;
|
578 |
+
global $wp_query;
|
579 |
|
580 |
// Get ID of the post from the main query.
|
581 |
if ( isset( $wp_the_query->queried_object_id ) ) {
|
636 |
if ( is_archive() && ! $showing_404_page && ! is_author() && ! is_search() ) {
|
637 |
|
638 |
$post_type_slug = get_post_type();
|
639 |
+
$post_id = $post->ID;
|
640 |
|
641 |
// Get ID of the page set to power the category of the current post type.
|
642 |
$template_id = dslc_get_archive_template_by_pt( $post_type_slug );
|
665 |
if ( is_search() && ! $showing_404_page ) {
|
666 |
|
667 |
// Get ID of the page set to power the search results page.
|
668 |
+
if ( is_search() && ( 0 == $wp_query->found_posts ) ) {
|
669 |
+
$template_id = dslc_get_option( 'page_not_found', 'dslc_plugin_options_archives' );
|
670 |
+
} else {
|
671 |
+
$template_id = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
|
672 |
+
}
|
673 |
|
674 |
// If there is a page that powers it.
|
675 |
if ( $template_id ) {
|
1104 |
|
1105 |
// Module output.
|
1106 |
ob_start();
|
1107 |
+
if ( did_action( $module_id . '_output' ) > 0 ) {
|
1108 |
+
do_action( $module_id . '_output', $settings, $module_instance, $dslc_active );
|
1109 |
+
} else {
|
1110 |
+
$module_instance->output( $settings );
|
1111 |
+
}
|
1112 |
+
|
1113 |
$output_body = ob_get_contents();
|
1114 |
ob_end_clean();
|
1115 |
|
1367 |
$output = '';
|
1368 |
|
1369 |
if ( ! $dslc_active ) {
|
1370 |
+
$dslc_section_before = '';
|
1371 |
+
$output .= dslc_decode_shortcodes( apply_filters( 'dslc_section_before', $dslc_section_before, $atts ) );
|
|
|
|
|
1372 |
}
|
1373 |
|
1374 |
$output .= '
|
1405 |
$output .= '</div>';
|
1406 |
|
1407 |
if ( ! $dslc_active ) {
|
1408 |
+
$dslc_section_after = '';
|
1409 |
+
$output .= dslc_decode_shortcodes( apply_filters( 'dslc_section_after', $dslc_section_after, $atts ) );
|
|
|
|
|
1410 |
}
|
1411 |
|
1412 |
/*
|
1691 |
|
1692 |
if ( $type == 'loadmore' ) {
|
1693 |
if ( $paged < $pages ) {
|
1694 |
+
echo "<li class='dslc-pagination-load-more dslc-active'><a href='" . get_pagenum_link( $paged + 1 ) . "'><span class='dslc-icon dslc-icon-refresh'></span>" . $atts['pagination_text'] . '</a></li>';
|
1695 |
} else {
|
1696 |
+
echo "<li class='dslc-pagination-load-more dslc-inactive'><a href='#'><span class='dslc-icon dslc-icon-refresh'></span>" . $atts['pagination_text'] . '</a></li>';
|
1697 |
}
|
1698 |
}
|
1699 |
|
includes/editing-screen.php
CHANGED
@@ -114,10 +114,9 @@ function dslc_editing_screen_content() {
|
|
114 |
do_action( 'dslca_editing_screen_preview_after' );
|
115 |
} else {
|
116 |
|
117 |
-
//
|
118 |
-
|
119 |
-
|
120 |
-
echo '</p></div>';
|
121 |
}
|
122 |
}
|
123 |
|
114 |
do_action( 'dslca_editing_screen_preview_after' );
|
115 |
} else {
|
116 |
|
117 |
+
// Redirect page URL to home URL if no page_id for editing provided.
|
118 |
+
wp_redirect( home_url() );
|
119 |
+
exit;
|
|
|
120 |
}
|
121 |
}
|
122 |
|
includes/module-controls.php
CHANGED
@@ -632,6 +632,7 @@ class LC_Control {
|
|
632 |
'resize_height',
|
633 |
'infobox_image_alt',
|
634 |
'infobox_image_title',
|
|
|
635 |
);
|
636 |
|
637 |
$controls_without_toggle = apply_filters( 'dslc_controls_without_toggle', $controls_without_toggle );
|
632 |
'resize_height',
|
633 |
'infobox_image_alt',
|
634 |
'infobox_image_title',
|
635 |
+
'pagination_text',
|
636 |
);
|
637 |
|
638 |
$controls_without_toggle = apply_filters( 'dslc_controls_without_toggle', $controls_without_toggle );
|
includes/other-functions.php
CHANGED
@@ -520,3 +520,200 @@ function dslc_filter_textarea( $content ) {
|
|
520 |
}
|
521 |
|
522 |
add_filter( 'dslc_text_block_render', 'dslc_filter_textarea' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
}
|
521 |
|
522 |
add_filter( 'dslc_text_block_render', 'dslc_filter_textarea' );
|
523 |
+
|
524 |
+
|
525 |
+
// Add term page
|
526 |
+
function dslc_taxonomy_add_new_meta_field( $taxonomy ) {
|
527 |
+
|
528 |
+
$dslc_template_for = array(
|
529 |
+
'category' => 'post_archive',
|
530 |
+
'dslc_downloads_cats' => 'dslc_downloads_archive',
|
531 |
+
'dslc_galleries_cats' => 'dslc_galleries_archive',
|
532 |
+
'dslc_partners_cats' => 'dslc_partners_archive',
|
533 |
+
'dslc_projects_cats' => 'dslc_projects_archive',
|
534 |
+
'dslc_staff_cats' => 'dslc_staff_archive',
|
535 |
+
//'dslc_testimonials_cats'
|
536 |
+
);
|
537 |
+
|
538 |
+
// Get templates
|
539 |
+
$args = array(
|
540 |
+
'post_type' => 'dslc_templates',
|
541 |
+
'post_status' => 'any',
|
542 |
+
'posts_per_page' => -1,
|
543 |
+
'meta_key' => 'dslc_template_for',
|
544 |
+
'meta_value' => $dslc_template_for[$taxonomy],
|
545 |
+
'orderby' => 'meta_value'
|
546 |
+
);
|
547 |
+
|
548 |
+
$templates = get_posts( $args );
|
549 |
+
|
550 |
+
if ( class_exists( 'LC_TemplatesForCPT' ) ) {
|
551 |
+
if ( 'category' == $taxonomy ) {
|
552 |
+
$taxonomy = 'post';
|
553 |
+
} else {
|
554 |
+
$taxonomy = str_replace( '_cats', '', $taxonomy );
|
555 |
+
}
|
556 |
+
|
557 |
+
$dslc_custom_options = get_option( 'dslc_custom_options_templatesforcpt', '' );
|
558 |
+
$option = 'lc_tpl_for_cpt_' . $taxonomy;
|
559 |
+
|
560 |
+
if ( ! empty( $dslc_custom_options ) ) {
|
561 |
+
if ( array_key_exists( $option, $dslc_custom_options ) ) {
|
562 |
+
$value = $dslc_custom_options[$option];
|
563 |
+
|
564 |
+
if ( 'unique' == $value || 'disabled' == $value ) {
|
565 |
+
return false;
|
566 |
+
}
|
567 |
+
}
|
568 |
+
}
|
569 |
+
}
|
570 |
+
|
571 |
+
?>
|
572 |
+
<div class="form-field">
|
573 |
+
<label for="lc_templates_taxonomy[<?php echo $taxonomy; ?>]"><?php _e( 'LC Templates', 'live-composer-page-builder' ); ?></label>
|
574 |
+
<select name="lc_templates_taxonomy[<?php echo $taxonomy; ?>]" id="lc_templates_taxonomy[<?php echo $taxonomy; ?>]">
|
575 |
+
<option value="none">None</option>
|
576 |
+
<?php if ( ! empty( $templates ) ) : ?>
|
577 |
+
<?php foreach ( $templates as $template ) : ?>
|
578 |
+
<?php
|
579 |
+
|
580 |
+
$template_type = get_post_meta( $template->ID, 'dslc_template_type', true );
|
581 |
+
|
582 |
+
if ( 'default' === $template_type ) {
|
583 |
+
$title = 'Default: ' . $template->post_title;
|
584 |
+
} else {
|
585 |
+
$title = $template->post_title;
|
586 |
+
}
|
587 |
+
|
588 |
+
?>
|
589 |
+
<option value="<?php echo $template->ID; ?>" <?php //if ( $curr_value == $select_option['value'] ) { echo 'selected="selected"';} ?>><?php echo $title; ?></option>
|
590 |
+
<?php endforeach; ?>
|
591 |
+
<?php endif; ?>
|
592 |
+
</select>
|
593 |
+
<p class="description"><?php _e( 'Select your LC template', 'live-composer-page-builder' ); ?></p>
|
594 |
+
</div>
|
595 |
+
<?php
|
596 |
+
}
|
597 |
+
|
598 |
+
// Edit term page
|
599 |
+
function dslc_taxonomy_edit_meta_field( $term, $taxonomy ) {
|
600 |
+
|
601 |
+
$dslc_template_for = array(
|
602 |
+
'category' => 'post_archive',
|
603 |
+
'dslc_downloads_cats' => 'dslc_downloads_archive',
|
604 |
+
'dslc_galleries_cats' => 'dslc_galleries_archive',
|
605 |
+
'dslc_partners_cats' => 'dslc_partners_archive',
|
606 |
+
'dslc_projects_cats' => 'dslc_projects_archive',
|
607 |
+
'dslc_staff_cats' => 'dslc_staff_archive',
|
608 |
+
//'dslc_testimonials_cats'
|
609 |
+
);
|
610 |
+
|
611 |
+
// Get templates
|
612 |
+
$args = array(
|
613 |
+
'post_type' => 'dslc_templates',
|
614 |
+
'post_status' => 'any',
|
615 |
+
'posts_per_page' => -1,
|
616 |
+
'meta_key' => 'dslc_template_for',
|
617 |
+
'meta_value' => $dslc_template_for[$taxonomy],
|
618 |
+
'orderby' => 'meta_value'
|
619 |
+
);
|
620 |
+
|
621 |
+
$templates = get_posts( $args );
|
622 |
+
|
623 |
+
// retrieve the existing value(s) for this meta field. This returns an array
|
624 |
+
$term_meta = get_option( "lc_templates_taxonomies" );
|
625 |
+
|
626 |
+
if ( class_exists( 'LC_TemplatesForCPT' ) ) {
|
627 |
+
if ( 'category' == $taxonomy ) {
|
628 |
+
$taxonomy = 'post';
|
629 |
+
} else {
|
630 |
+
$taxonomy = str_replace( '_cats', '', $taxonomy );
|
631 |
+
}
|
632 |
+
|
633 |
+
$dslc_custom_options = get_option( 'dslc_custom_options_templatesforcpt', '' );
|
634 |
+
$option = 'lc_tpl_for_cpt_' . $taxonomy;
|
635 |
+
|
636 |
+
if ( ! empty( $dslc_custom_options ) ) {
|
637 |
+
if ( array_key_exists( $option, $dslc_custom_options ) ) {
|
638 |
+
$value = $dslc_custom_options[$option];
|
639 |
+
|
640 |
+
if ( 'unique' == $value || 'disabled' == $value ) {
|
641 |
+
return false;
|
642 |
+
}
|
643 |
+
}
|
644 |
+
}
|
645 |
+
}
|
646 |
+
|
647 |
+
?>
|
648 |
+
<tr class="form-field">
|
649 |
+
<th scope="row" valign="top"><label for="lc_templates_taxonomy[<?php echo $taxonomy; ?>]"><?php _e( 'LC Templates', 'live-composer-page-builder' ); ?></label></th>
|
650 |
+
<td>
|
651 |
+
<select name="lc_templates_taxonomy[<?php echo $taxonomy; ?>]" id="lc_templates_taxonomy[<?php echo $taxonomy; ?>]">
|
652 |
+
<option value="none">None</option>
|
653 |
+
<?php if ( ! empty( $templates ) ) : ?>
|
654 |
+
<?php foreach ( $templates as $template ) : ?>
|
655 |
+
<?php
|
656 |
+
|
657 |
+
$template_type = get_post_meta( $template->ID, 'dslc_template_type', true );
|
658 |
+
|
659 |
+
if ( 'default' === $template_type ) {
|
660 |
+
$title = 'Default: ' . $template->post_title;
|
661 |
+
} else {
|
662 |
+
$title = $template->post_title;
|
663 |
+
}
|
664 |
+
|
665 |
+
$current_template = $template->ID;
|
666 |
+
$template_id = '';
|
667 |
+
$t_id = $term->term_id;
|
668 |
+
|
669 |
+
if ( ! empty( $term_meta ) && array_key_exists( $taxonomy, $term_meta ) ) {
|
670 |
+
if ( array_key_exists( $t_id, $term_meta[$taxonomy] ) ) {
|
671 |
+
$template_id = $term_meta[$taxonomy][$t_id];
|
672 |
+
}
|
673 |
+
}
|
674 |
+
|
675 |
+
?>
|
676 |
+
<option value="<?php echo $template->ID; ?>" <?php if ( $current_template == $template_id ) { echo 'selected="selected"';} ?>><?php echo $title; ?></option>
|
677 |
+
<?php endforeach; ?>
|
678 |
+
<?php endif; ?>
|
679 |
+
</select>
|
680 |
+
<p class="description"><?php _e( 'Select your LC template', 'live-composer-page-builder' ); ?></p>
|
681 |
+
</td>
|
682 |
+
</tr>
|
683 |
+
<?php
|
684 |
+
}
|
685 |
+
|
686 |
+
// Save extra taxonomy fields callback function.
|
687 |
+
function dslc_save_taxonomy_custom_meta( $term_id ) {
|
688 |
+
if ( isset( $_POST['lc_templates_taxonomy'] ) ) {
|
689 |
+
$t_id = $term_id;
|
690 |
+
$term_meta = get_option( "lc_templates_taxonomies" );
|
691 |
+
$cat_keys = array_keys( $_POST['lc_templates_taxonomy'] );
|
692 |
+
|
693 |
+
foreach ( $cat_keys as $key ) {
|
694 |
+
if ( isset ( $_POST['lc_templates_taxonomy'][$key] ) ) {
|
695 |
+
$term_meta[$key][$term_id] = $_POST['lc_templates_taxonomy'][$key];
|
696 |
+
}
|
697 |
+
}
|
698 |
+
|
699 |
+
// Save the option array.
|
700 |
+
update_option( "lc_templates_taxonomies", $term_meta );
|
701 |
+
}
|
702 |
+
}
|
703 |
+
|
704 |
+
$dslc_category_type_names = array(
|
705 |
+
'category',
|
706 |
+
'dslc_downloads_cats',
|
707 |
+
'dslc_galleries_cats',
|
708 |
+
'dslc_partners_cats',
|
709 |
+
'dslc_projects_cats',
|
710 |
+
'dslc_staff_cats',
|
711 |
+
//'dslc_testimonials_cats'
|
712 |
+
);
|
713 |
+
|
714 |
+
foreach ( $dslc_category_type_names as $name ) {
|
715 |
+
add_action( "{$name}_edit_form_fields", 'dslc_taxonomy_edit_meta_field', 10, 2 );
|
716 |
+
add_action( "{$name}_add_form_fields", 'dslc_taxonomy_add_new_meta_field', 10, 2 );
|
717 |
+
add_action( "edited_{$name}", 'dslc_save_taxonomy_custom_meta', 10, 2 );
|
718 |
+
add_action( "create_{$name}", 'dslc_save_taxonomy_custom_meta', 10, 2 );
|
719 |
+
}
|
includes/other.php
CHANGED
@@ -23,6 +23,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
|
24 |
function dslc_plugin_action_links( $links ) {
|
25 |
|
|
|
|
|
|
|
|
|
26 |
// Themes link
|
27 |
$themes_link = '<a href="https://livecomposerplugin.com/themes/?utm_source=wp-admin&utm_medium=plugins-list&utm_campaign=themes_link" target="_blank">Themes</a>';
|
28 |
array_unshift( $links, $themes_link );
|
@@ -277,7 +281,13 @@ add_action( 'admin_notices', 'dslc_check_wpsettings_admin_notice' );
|
|
277 |
|
278 |
function dslc_module_options_func( $module_options ) {
|
279 |
|
280 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
}
|
282 |
add_filter( 'dslc_module_options', 'dslc_module_options_func', 1 );
|
283 |
|
23 |
|
24 |
function dslc_plugin_action_links( $links ) {
|
25 |
|
26 |
+
// Woo integration
|
27 |
+
$woo_integration_link = '<a href="https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=plugins-list&utm_campaign=woo_integration_link" target="_blank">Woo integration</a>';
|
28 |
+
array_unshift( $links, $woo_integration_link );
|
29 |
+
|
30 |
// Themes link
|
31 |
$themes_link = '<a href="https://livecomposerplugin.com/themes/?utm_source=wp-admin&utm_medium=plugins-list&utm_campaign=themes_link" target="_blank">Themes</a>';
|
32 |
array_unshift( $links, $themes_link );
|
281 |
|
282 |
function dslc_module_options_func( $module_options ) {
|
283 |
|
284 |
+
$other_options = DSLC_Module::common_options();
|
285 |
+
$options = array_merge( $module_options, $other_options['custom_class'] );
|
286 |
+
|
287 |
+
$elements_key = array_search( 'styling', array_column( $options, 'section' ) );
|
288 |
+
array_splice( $options, $elements_key + 1, 0, $other_options['css_custom'] );
|
289 |
+
|
290 |
+
return $options;
|
291 |
}
|
292 |
add_filter( 'dslc_module_options', 'dslc_module_options_func', 1 );
|
293 |
|
includes/plugin-options-framework/inc/options.php
CHANGED
@@ -376,7 +376,7 @@ function dslc_plugin_opts_archives() {
|
|
376 |
|
377 |
foreach ( $custom_fields as $custom_field ) {
|
378 |
if ( ! empty( $custom_field ) ) {
|
379 |
-
if ( 'author' == $custom_field || 'search_results' == $custom_field || '404_page' == $custom_field || strripos( $custom_field, '_archive' ) ) {
|
380 |
|
381 |
$module_opts_array[ $custom_field ] = array(
|
382 |
|
376 |
|
377 |
foreach ( $custom_fields as $custom_field ) {
|
378 |
if ( ! empty( $custom_field ) ) {
|
379 |
+
if ( 'author' == $custom_field || 'search_results' == $custom_field || '404_page' == $custom_field || 'page_not_found' == $custom_field || strripos( $custom_field, '_archive' ) ) {
|
380 |
|
381 |
$module_opts_array[ $custom_field ] = array(
|
382 |
|
includes/plugin-options-framework/tab-extensions.php
CHANGED
@@ -182,6 +182,54 @@ if ( $extensions && is_plugin_active( 'lc-extensions/lc-extensions.php' ) ) {
|
|
182 |
'rank' => 28,
|
183 |
'demo' => true,
|
184 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
);
|
186 |
endif; // If empty.
|
187 |
|
@@ -190,6 +238,10 @@ if ( $extensions && is_plugin_active( 'lc-extensions/lc-extensions.php' ) ) {
|
|
190 |
|
191 |
foreach ( $extensions as $extension_id => $extension ) {
|
192 |
|
|
|
|
|
|
|
|
|
193 |
$extension_thumbnail = DS_LIVE_COMPOSER_URL . 'images/lc-placeholder.png';
|
194 |
if ( isset( $extension['thumbnail'] ) && !empty( $extension['thumbnail'] ) ) {
|
195 |
$extension_thumbnail = $extension['thumbnail'];
|
182 |
'rank' => 28,
|
183 |
'demo' => true,
|
184 |
),
|
185 |
+
'contact-forms' => array(
|
186 |
+
'title' => 'Contact Forms',
|
187 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/contact-forms/thumbnail.png',
|
188 |
+
'details' => 'https://livecomposerplugin.com/downloads/contact-forms/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=contact-forms/',
|
189 |
+
'description' => 'Creates modules for third-party contact form plugins. Drag and drop contact form module on the page instead of dealing with shortcodes.',
|
190 |
+
'rank' => 50,
|
191 |
+
'demo' => true,
|
192 |
+
),
|
193 |
+
'restrict-content' => array(
|
194 |
+
'title' => 'Restrict Content',
|
195 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/restrict-content/thumbnail.png',
|
196 |
+
'details' => 'https://livecomposerplugin.com/downloads/restrict-content/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=restrict-content/',
|
197 |
+
'description' => 'This extension add full support for Restrict Content plugin. Lock away your exclusive content. Give access to valued members.',
|
198 |
+
'rank' => 55,
|
199 |
+
'demo' => true,
|
200 |
+
),
|
201 |
+
'openstreetmap' => array(
|
202 |
+
'title' => 'Open Street Map',
|
203 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/openstreetmap/thumbnail.png',
|
204 |
+
'details' => 'https://livecomposerplugin.com/downloads/open-street-map/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=open-street-map/',
|
205 |
+
'description' => 'Fast and easy way to display an Open Street Maps map on your Live Composer powered website. The extension adds a new module.',
|
206 |
+
'rank' => 60,
|
207 |
+
'demo' => true,
|
208 |
+
),
|
209 |
+
'preloader' => array(
|
210 |
+
'title' => 'Preloader',
|
211 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/preloader/thumbnail.png',
|
212 |
+
'details' => 'https://livecomposerplugin.com/downloads/preloader/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=preloader/',
|
213 |
+
'description' => 'Add a responsive preloader to your website, fully customizable, compatible with all major browsers.',
|
214 |
+
'rank' => 65,
|
215 |
+
'demo' => true,
|
216 |
+
),
|
217 |
+
'breadcrumb' => array(
|
218 |
+
'title' => 'Breadcrumb',
|
219 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/breadcrumb/thumbnail.png',
|
220 |
+
'details' => 'https://livecomposerplugin.com/downloads/breadcrumb/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=breadcrumb/',
|
221 |
+
'description' => 'Display breadcrumb navigation links in your WordPress site with this new module.',
|
222 |
+
'rank' => 70,
|
223 |
+
'demo' => true,
|
224 |
+
),
|
225 |
+
'headroom' => array(
|
226 |
+
'title' => 'Autohide header',
|
227 |
+
'thumbnail' => DS_LIVE_COMPOSER_URL . 'images/extensions/headroom/thumbnail.png',
|
228 |
+
'details' => 'https://livecomposerplugin.com/downloads/autohide-header/?utm_source=lcproext&utm_medium=extensions-list&utm_campaign=autohide-header/',
|
229 |
+
'description' => 'Extend the header functionality with this feature. The header is hidden on page scroll with a smooth animation.',
|
230 |
+
'rank' => 70,
|
231 |
+
'demo' => true,
|
232 |
+
),
|
233 |
);
|
234 |
endif; // If empty.
|
235 |
|
238 |
|
239 |
foreach ( $extensions as $extension_id => $extension ) {
|
240 |
|
241 |
+
if ( ! array_key_exists( "title", $extension) ) {
|
242 |
+
continue;
|
243 |
+
}
|
244 |
+
|
245 |
$extension_thumbnail = DS_LIVE_COMPOSER_URL . 'images/lc-placeholder.png';
|
246 |
if ( isset( $extension['thumbnail'] ) && !empty( $extension['thumbnail'] ) ) {
|
247 |
$extension_thumbnail = $extension['thumbnail'];
|
includes/plugin-options-framework/tab-settings.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
// Prevent direct access to the file.
|
3 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
header( 'HTTP/1.0 403 Forbidden' );
|
5 |
exit;
|
6 |
}
|
@@ -48,6 +48,14 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
48 |
<span class="dashicons dashicons-index-card"></span> <?php _e( 'Post Types', 'live-composer-page-builder' ) ?>
|
49 |
</a>
|
50 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</ul>
|
52 |
|
53 |
<div id="dslc-setings-liquid">
|
@@ -103,6 +111,16 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
103 |
<?php do_settings_sections( 'dslc_plugin_options_cpt_slugs' ); ?>
|
104 |
<?php submit_button(); ?>
|
105 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
<div class="dslc-panel dslc-hide-panel">
|
107 |
<?php do_settings_sections( 'dslc_plugin_options_archives' ); ?>
|
108 |
</div>
|
1 |
<?php
|
2 |
// Prevent direct access to the file.
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
header( 'HTTP/1.0 403 Forbidden' );
|
5 |
exit;
|
6 |
}
|
48 |
<span class="dashicons dashicons-index-card"></span> <?php _e( 'Post Types', 'live-composer-page-builder' ) ?>
|
49 |
</a>
|
50 |
</li>
|
51 |
+
|
52 |
+
<?php if ( class_exists( 'LC_Extensions_Core' ) && LC_Extensions_Core::is_extension_active( 'preloader' ) ) : ?>
|
53 |
+
<li class="dslc-submenu-section">
|
54 |
+
<a href="#preloader" data-nav-to="<?php echo 'tab-1' ?>" class="nav-subtab <?php echo $anchor == 'tab-1' ? 'nav-tab-active' : ''; ?>">
|
55 |
+
<span class="dashicons dashicons-image-filter"></span> <?php _e( 'Preloader', 'live-composer-page-builder' ) ?>
|
56 |
+
</a>
|
57 |
+
</li>
|
58 |
+
<?php endif; ?>
|
59 |
</ul>
|
60 |
|
61 |
<div id="dslc-setings-liquid">
|
111 |
<?php do_settings_sections( 'dslc_plugin_options_cpt_slugs' ); ?>
|
112 |
<?php submit_button(); ?>
|
113 |
</div>
|
114 |
+
|
115 |
+
<?php if ( class_exists( 'LC_Extensions_Core' ) && LC_Extensions_Core::is_extension_active( 'preloader' ) ) : ?>
|
116 |
+
<a name="preloader"></a>
|
117 |
+
<a href="#dslc-top" class="dslc-scroll-back"><span class="dashicons dashicons-arrow-up-alt"></span> Top</a>
|
118 |
+
<div class="dslc-panel">
|
119 |
+
<?php do_settings_sections( 'dslc_plugin_options_preloader' ); ?>
|
120 |
+
<?php submit_button(); ?>
|
121 |
+
</div>
|
122 |
+
<?php endif; ?>
|
123 |
+
|
124 |
<div class="dslc-panel dslc-hide-panel">
|
125 |
<?php do_settings_sections( 'dslc_plugin_options_archives' ); ?>
|
126 |
</div>
|
includes/post-options-framework/js/main.js
CHANGED
@@ -221,4 +221,17 @@ jQuery(document).ready(function(){
|
|
221 |
jQuery('#post-option-dslc_extra_padding').hide();
|
222 |
}
|
223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
}); // jQuery(document).ready
|
221 |
jQuery('#post-option-dslc_extra_padding').hide();
|
222 |
}
|
223 |
|
224 |
+
function getUrlVars() {
|
225 |
+
var vars = {};
|
226 |
+
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
|
227 |
+
vars[key] = value;
|
228 |
+
});
|
229 |
+
return vars;
|
230 |
+
}
|
231 |
+
|
232 |
+
if ( getUrlVars()['for'] !== undefined ) {
|
233 |
+
var paramFor = getUrlVars()['for'];
|
234 |
+
jQuery("input[value='" + paramFor + "']").prop('checked', true);
|
235 |
+
}
|
236 |
+
|
237 |
}); // jQuery(document).ready
|
includes/post-options-framework/js/main.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".dslca-post-options-field-datepicker").datepicker();function a(a){var b,c="",d=jQuery(".dslca-post-option-image",a);d.each(function(){b=jQuery(this);imageID=b.data("id");c+=imageID+" "});jQuery(".dslca-post-options-field-file",a).val(c)}function b(b){var c=b.closest(".dslca-post-option");b.remove();a(c)}jQuery(document).on("click",".dslca-post-option-image-remove",function(){b(jQuery(this).closest(".dslca-post-option-image"))});if(jQuery(".dslca-post-option-field-files .dslca-post-options-images").length){jQuery(".dslca-post-option-field-files .dslca-post-options-images").sortable({update:function(b,c){a(jQuery(this).closest(".dslca-post-option"))}});jQuery(".dslca-post-options-images").disableSelection()}var c;jQuery(".dslca-post-option-add-file-hook").click(function(){var a=jQuery(this);var b=jQuery(this).closest(".dslca-post-option");var d=jQuery(".dslca-post-options-field-file",b);var e=jQuery(".dslca-post-option-image",b);var f=false;if(a.data("multiple")){f=true}c=wp.media.frames.file_frame=wp.media({title:"Choose File",button:{text:"Send to option"},multiple:f});c.on("select",function(){if(f){attachments=c.state().get("selection").toJSON();attachmentVal="";for(var a=0;a<attachments.length;a++){attachment=attachments[a];attachmentVal+=attachment.id+" ";b.find(".dslca-post-options-images").append('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><img src="'+attachment.url+'" /><span class="dslca-post-option-image-remove">x</span></div></div>')}d.val(d.val()+attachmentVal)}else{attachment=c.state().get("selection").first().toJSON();if(attachment.type=="image"){if(e.length){e.find("img").attr("src",attachment.url)}else{b.find(".dslca-post-options-images").html('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><img src="'+attachment.url+'" /></div><span class="dslca-post-option-image-remove">x</span></div>')}}else{if(e.length){e.find("strong").text(attachment.filename)}else{b.find(".dslca-post-options-images").html('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><strong>'+attachment.filename+"</strong></div></div>")}}d.val(attachment.id)}});c.open()});if(typeof tabData!=="undefined"){var d=jQuery("<div></div>");d.addClass("quicktags-toolbar-lc");$wrap=jQuery("#lc_content_wrap");$wrap.prepend(d);jQuery("#wp-content-editor-tools #content-html").after('<button type="button" id="content-lc" class="wp-switch-editor switch-lc">'+tabData.tabTitle+"</button>")}if(jQuery('#postcustom input[value="dslc_code"]').val()=="dslc_code"&&jQuery(".wp-editor-area").text().length==0){jQuery("#wp-content-wrap").removeClass("html-active tmce-active");jQuery("#postdivrich").addClass("lc-active")}jQuery(document).on("click","#content-lc",function(a){a.preventDefault();jQuery(".wp-editor-expand").addClass("lc-active")});jQuery(document).on("click","#content-tmce, #content-html",function(a){a.preventDefault();jQuery(".wp-editor-expand").removeClass("lc-active")});jQuery(document).on("click",'#dslca_single_post_templates input[type="checkbox"], #dslca_archive_index_templates input[type="checkbox"], #dslca_special_page_templates input[type="checkbox"]',function(a){var b,c,d;b=jQuery('#dslca_single_post_templates input[type="checkbox"]:checked').length;c=jQuery('#dslca_archive_index_templates input[type="checkbox"]:checked').length;d=jQuery('#dslca_special_page_templates input[type="checkbox"]:checked').length;if(b&&c==0&&d==0){jQuery("#post-option-dslc_template_base").show()}else{jQuery("#post-option-dslc_template_base").hide()}});if(jQuery('#dslca_single_post_templates input[type="checkbox"]').is(":checked")){jQuery("#post-option-dslc_template_base").show()}else{jQuery("#post-option-dslc_template_base").hide()}var e=jQuery("select#dslc_hf_for").val();if(e=="footer"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("")}jQuery(document).on("change","select#dslc_hf_for",function(a){var b=jQuery(this).val();if(b=="footer"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("")}else{jQuery('#post-option-dslc_hf_position input[type="radio"]#dslc_hf_position0').prop("checked",true);jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("");jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').prop("checked",false)}e=jQuery("select#dslc_hf_for").val()});jQuery(document).on("change",'#post-option-dslc_hf_position input[type="radio"]',function(a){if(e=="header"){var b=jQuery(this).val();if(b=="relative"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("");jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').prop("checked",false)}else{jQuery("#post-option-dslc_extra_padding").show()}}});if(jQuery('#post-option-dslc_hf_position input[type="radio"]#dslc_hf_position0').is(":checked")){jQuery("#post-option-dslc_extra_padding").hide()}});
|
1 |
+
jQuery(document).ready(function(){jQuery(".dslca-post-options-field-datepicker").datepicker();function a(a){var b,c="",d=jQuery(".dslca-post-option-image",a);d.each(function(){b=jQuery(this);imageID=b.data("id");c+=imageID+" "});jQuery(".dslca-post-options-field-file",a).val(c)}function b(b){var c=b.closest(".dslca-post-option");b.remove();a(c)}jQuery(document).on("click",".dslca-post-option-image-remove",function(){b(jQuery(this).closest(".dslca-post-option-image"))});if(jQuery(".dslca-post-option-field-files .dslca-post-options-images").length){jQuery(".dslca-post-option-field-files .dslca-post-options-images").sortable({update:function(b,c){a(jQuery(this).closest(".dslca-post-option"))}});jQuery(".dslca-post-options-images").disableSelection()}var c;jQuery(".dslca-post-option-add-file-hook").click(function(){var a=jQuery(this);var b=jQuery(this).closest(".dslca-post-option");var d=jQuery(".dslca-post-options-field-file",b);var e=jQuery(".dslca-post-option-image",b);var f=false;if(a.data("multiple")){f=true}c=wp.media.frames.file_frame=wp.media({title:"Choose File",button:{text:"Send to option"},multiple:f});c.on("select",function(){if(f){attachments=c.state().get("selection").toJSON();attachmentVal="";for(var a=0;a<attachments.length;a++){attachment=attachments[a];attachmentVal+=attachment.id+" ";b.find(".dslca-post-options-images").append('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><img src="'+attachment.url+'" /><span class="dslca-post-option-image-remove">x</span></div></div>')}d.val(d.val()+attachmentVal)}else{attachment=c.state().get("selection").first().toJSON();if(attachment.type=="image"){if(e.length){e.find("img").attr("src",attachment.url)}else{b.find(".dslca-post-options-images").html('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><img src="'+attachment.url+'" /></div><span class="dslca-post-option-image-remove">x</span></div>')}}else{if(e.length){e.find("strong").text(attachment.filename)}else{b.find(".dslca-post-options-images").html('<div class="dslca-post-option-image" data-id="'+attachment.id+'"><div class="dslca-post-option-image-inner"><strong>'+attachment.filename+"</strong></div></div>")}}d.val(attachment.id)}});c.open()});if(typeof tabData!=="undefined"){var d=jQuery("<div></div>");d.addClass("quicktags-toolbar-lc");$wrap=jQuery("#lc_content_wrap");$wrap.prepend(d);jQuery("#wp-content-editor-tools #content-html").after('<button type="button" id="content-lc" class="wp-switch-editor switch-lc">'+tabData.tabTitle+"</button>")}if(jQuery('#postcustom input[value="dslc_code"]').val()=="dslc_code"&&jQuery(".wp-editor-area").text().length==0){jQuery("#wp-content-wrap").removeClass("html-active tmce-active");jQuery("#postdivrich").addClass("lc-active")}jQuery(document).on("click","#content-lc",function(a){a.preventDefault();jQuery(".wp-editor-expand").addClass("lc-active")});jQuery(document).on("click","#content-tmce, #content-html",function(a){a.preventDefault();jQuery(".wp-editor-expand").removeClass("lc-active")});jQuery(document).on("click",'#dslca_single_post_templates input[type="checkbox"], #dslca_archive_index_templates input[type="checkbox"], #dslca_special_page_templates input[type="checkbox"]',function(a){var b,c,d;b=jQuery('#dslca_single_post_templates input[type="checkbox"]:checked').length;c=jQuery('#dslca_archive_index_templates input[type="checkbox"]:checked').length;d=jQuery('#dslca_special_page_templates input[type="checkbox"]:checked').length;if(b&&c==0&&d==0){jQuery("#post-option-dslc_template_base").show()}else{jQuery("#post-option-dslc_template_base").hide()}});if(jQuery('#dslca_single_post_templates input[type="checkbox"]').is(":checked")){jQuery("#post-option-dslc_template_base").show()}else{jQuery("#post-option-dslc_template_base").hide()}var e=jQuery("select#dslc_hf_for").val();if(e=="footer"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("")}jQuery(document).on("change","select#dslc_hf_for",function(a){var b=jQuery(this).val();if(b=="footer"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("")}else{jQuery('#post-option-dslc_hf_position input[type="radio"]#dslc_hf_position0').prop("checked",true);jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("");jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').prop("checked",false)}e=jQuery("select#dslc_hf_for").val()});jQuery(document).on("change",'#post-option-dslc_hf_position input[type="radio"]',function(a){if(e=="header"){var b=jQuery(this).val();if(b=="relative"){jQuery("#post-option-dslc_extra_padding").hide();jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').val("");jQuery('#post-option-dslc_extra_padding input[type="checkbox"]').prop("checked",false)}else{jQuery("#post-option-dslc_extra_padding").show()}}});if(jQuery('#post-option-dslc_hf_position input[type="radio"]#dslc_hf_position0').is(":checked")){jQuery("#post-option-dslc_extra_padding").hide()}function f(){var a={};var b=window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(b,c,d){a[c]=d});return a}if(f()["for"]!==undefined){var g=f()["for"];jQuery("input[value='"+g+"']").prop("checked",true)}});
|
includes/shortcodes.php
CHANGED
@@ -188,3 +188,59 @@ function dslc_sc_category_description( $atts, $content ) {
|
|
188 |
return $category_description;
|
189 |
|
190 |
} add_shortcode( 'dslc_category_description', 'dslc_sc_category_description' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
return $category_description;
|
189 |
|
190 |
} add_shortcode( 'dslc_category_description', 'dslc_sc_category_description' );
|
191 |
+
|
192 |
+
/**
|
193 |
+
* Add Shortcode:
|
194 |
+
* [dslc_page_title]
|
195 |
+
*
|
196 |
+
* Outputs the curent page title
|
197 |
+
* http://codex.wordpress.org/Function_Reference/the_title
|
198 |
+
*/
|
199 |
+
function dslc_sc_page_title() {
|
200 |
+
$output = the_title( '', '', false );
|
201 |
+
return $output;
|
202 |
+
}
|
203 |
+
add_shortcode( 'dslc_page_title', 'dslc_sc_page_title' );
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Add Shortcode:
|
207 |
+
* [dslc_authorbio]
|
208 |
+
*
|
209 |
+
* Outputs the curent author bio info
|
210 |
+
* http://codex.wordpress.org/Function_Reference/get_the_author_meta
|
211 |
+
*/
|
212 |
+
function dslc_sc_authorbio() {
|
213 |
+
$output = get_the_author_meta( 'description' );
|
214 |
+
|
215 |
+
if ( ! $output ) {
|
216 |
+
$output = ' ';
|
217 |
+
// to prevent "Looks like there is no content" message
|
218 |
+
// in the Live Composer
|
219 |
+
}
|
220 |
+
|
221 |
+
return $output;
|
222 |
+
}
|
223 |
+
add_shortcode( 'dslc_authorbio', 'dslc_sc_authorbio' );
|
224 |
+
|
225 |
+
/**
|
226 |
+
* Add Shortcode:
|
227 |
+
* [dslc_commentscount]
|
228 |
+
*
|
229 |
+
* Outputs comments count
|
230 |
+
*/
|
231 |
+
add_shortcode( 'dslc_commentscount', 'dslc_sc_commentscount' );
|
232 |
+
function dslc_sc_commentscount() {
|
233 |
+
$num_comments = get_comments_number(); // get_comments_number returns only a numeric value
|
234 |
+
|
235 |
+
if ( $num_comments == 0 ) {
|
236 |
+
$comments = __( 'No Comments', 'live-composer-page-builder' );
|
237 |
+
} elseif ( $num_comments > 1 ) {
|
238 |
+
$comments = $num_comments . __( ' Comments', 'live-composer-page-builder' );
|
239 |
+
} else {
|
240 |
+
$comments = __( '1 Comment', 'live-composer-page-builder' );
|
241 |
+
}
|
242 |
+
|
243 |
+
$output = $comments;
|
244 |
+
|
245 |
+
return $output;
|
246 |
+
}
|
includes/single-templates-framework/inc/filters.php
CHANGED
@@ -330,12 +330,12 @@ function dslc_tp_update_archive_templates_option( $post_id ) {
|
|
330 |
*/
|
331 |
// Function array_diff depends on the order of arguments,
|
332 |
// so we compare twice and then merge result to get what wee need.
|
333 |
-
$options_to_delete_a = array_diff( $this_template_in_options, $dslc_template_for );
|
334 |
$options_to_delete_b = array_diff( $dslc_template_for, $this_template_in_options );
|
335 |
$options_to_delete = array_merge( $options_to_delete_a, $options_to_delete_b );
|
336 |
foreach ( $options_to_delete as $option ) {
|
337 |
unset( $plugin_options[ $option ] );
|
338 |
-
}
|
339 |
|
340 |
// Sanitize and process.
|
341 |
foreach ( $dslc_template_for as $key => $value ) {
|
@@ -348,12 +348,12 @@ function dslc_tp_update_archive_templates_option( $post_id ) {
|
|
348 |
// put the setting in plugin options table
|
349 |
// and make sure we have only one LC template
|
350 |
// for this option selected LC templates section.
|
351 |
-
if ( stristr( $value, '_archive' ) || in_array( $value, $option_require_single_template ) ) {
|
352 |
// Put template post ID into plugin options.
|
353 |
$plugin_options[ $value ] = $post_id;
|
354 |
// Make sure we have only one LC template for this option.
|
355 |
dslc_tp_remove_template_from_meta( $value, $post_id );
|
356 |
-
}
|
357 |
}
|
358 |
|
359 |
update_option( 'dslc_plugin_options', $plugin_options );
|
330 |
*/
|
331 |
// Function array_diff depends on the order of arguments,
|
332 |
// so we compare twice and then merge result to get what wee need.
|
333 |
+
/* $options_to_delete_a = array_diff( $this_template_in_options, $dslc_template_for );
|
334 |
$options_to_delete_b = array_diff( $dslc_template_for, $this_template_in_options );
|
335 |
$options_to_delete = array_merge( $options_to_delete_a, $options_to_delete_b );
|
336 |
foreach ( $options_to_delete as $option ) {
|
337 |
unset( $plugin_options[ $option ] );
|
338 |
+
} */
|
339 |
|
340 |
// Sanitize and process.
|
341 |
foreach ( $dslc_template_for as $key => $value ) {
|
348 |
// put the setting in plugin options table
|
349 |
// and make sure we have only one LC template
|
350 |
// for this option selected LC templates section.
|
351 |
+
/* if ( stristr( $value, '_archive' ) || in_array( $value, $option_require_single_template ) ) {
|
352 |
// Put template post ID into plugin options.
|
353 |
$plugin_options[ $value ] = $post_id;
|
354 |
// Make sure we have only one LC template for this option.
|
355 |
dslc_tp_remove_template_from_meta( $value, $post_id );
|
356 |
+
} */
|
357 |
}
|
358 |
|
359 |
update_option( 'dslc_plugin_options', $plugin_options );
|
includes/single-templates-framework/inc/functions.php
CHANGED
@@ -110,6 +110,11 @@ function dslc_st_init() {
|
|
110 |
'value' => 'author',
|
111 |
);
|
112 |
|
|
|
|
|
|
|
|
|
|
|
113 |
$dslc_var_post_options['dslc-templates-opts'] = array(
|
114 |
'title' => 'Template Options',
|
115 |
'show_on' => 'dslc_templates',
|
@@ -245,6 +250,32 @@ function dslc_get_archive_template_by_pt( $post_type_slug ) {
|
|
245 |
}
|
246 |
}
|
247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
// All the archive templates saved in DB with '_archive' suffix.
|
249 |
if ( ! stristr( $post_type_slug , '_archive' ) ) {
|
250 |
$post_type_slug = $post_type_slug . '_archive';
|
110 |
'value' => 'author',
|
111 |
);
|
112 |
|
113 |
+
$template_for[] = array(
|
114 |
+
'label' => __( 'Page Not Found', 'live-composer-page-builder' ),
|
115 |
+
'value' => 'page_not_found',
|
116 |
+
);
|
117 |
+
|
118 |
$dslc_var_post_options['dslc-templates-opts'] = array(
|
119 |
'title' => 'Template Options',
|
120 |
'show_on' => 'dslc_templates',
|
250 |
}
|
251 |
}
|
252 |
|
253 |
+
// Taxonomy slug
|
254 |
+
if ( ! stristr( $post_type_slug, '_cats' ) ) {
|
255 |
+
if ( 'post' == $post_type_slug ) {
|
256 |
+
$taxonomy_slug = 'category';
|
257 |
+
} else {
|
258 |
+
$taxonomy_slug = $post_type_slug . '_cats';
|
259 |
+
}
|
260 |
+
}
|
261 |
+
|
262 |
+
$templates_taxonomies = get_option( "lc_templates_taxonomies" );
|
263 |
+
|
264 |
+
if ( ! empty( $templates_taxonomies ) && array_key_exists( $taxonomy_slug, $templates_taxonomies ) ) {
|
265 |
+
|
266 |
+
global $wp_the_query;
|
267 |
+
$curr_id = $wp_the_query->queried_object_id;
|
268 |
+
|
269 |
+
if ( array_key_exists( $curr_id, $templates_taxonomies[$taxonomy_slug] ) ) {
|
270 |
+
$template_id = $templates_taxonomies[$taxonomy_slug][$curr_id];
|
271 |
+
|
272 |
+
if ( 'none' !== $template_id ) {
|
273 |
+
return $template_id;
|
274 |
+
}
|
275 |
+
}
|
276 |
+
}
|
277 |
+
|
278 |
+
|
279 |
// All the archive templates saved in DB with '_archive' suffix.
|
280 |
if ( ! stristr( $post_type_slug , '_archive' ) ) {
|
281 |
$post_type_slug = $post_type_slug . '_archive';
|
js/builder.all.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
"use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){}});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=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:c,dslc_code:a,dslc_content_for_search:b},timeout:3e4}).done(function(a){if(a.status=="success"){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-'+c+'" src="'+DSLCSiteData.siteurl+"/?p="+c+'" ></iframe>');jQuery(".lbmn-cache-iframe").each(function(a,b){jQuery(b).load(function(){jQuery(b).remove()})})}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 30 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=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:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="",o;jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(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()}else{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(){m=jQuery(this);o=dslc_generate_section_code(m);m.find(".dslca-section-code").val(o);d=d+o+","});d=d.slice(0,-1);d="["+d+"]";jQuery("#dslca-code").val(d);jQuery("#dslca-export-code").val(d)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b="",c,d="",e="",f=12,g=12,h=0,i=0,j,k,l,m,n,o="",p="",q;n=a;if(jQuery(".dslc-modules-area",n).length){n.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{n.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");i=0;p=n.find(".dslca-section-code").val();q=JSON.parse(p);o="";jQuery(".dslca-modules-section-settings input",n).each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();o=o+b+'="'+c+'" ';q[b]=c});if(undefined!==q["give_new_id"]){delete q["give_new_id"]}q["content"]=[];jQuery(".dslc-modules-area",n).each(function(){h=0;k=jQuery(this);j=parseInt(k.data("size"));l="no";m="no";i+=j;jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");if(i==g){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");i=0;l="yes"}else if(i>g){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");i=j;m="yes"}if(i==j){m="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}var a='{"element_type":"module_area","last":"'+l+'","first":"'+m+'","size":"'+j+'"}';a=JSON.parse(a);if(undefined!==a["give_new_id"]){delete a["give_new_id"]}a.content=[];jQuery(".dslc-module-front",k).each(function(){var d=jQuery(this);c=parseInt(d[0].getAttribute("data-dslc-module-size"));var e="no";var g="no";jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");h+=c;if(h==f){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");h=0;e="yes";g="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=c;g="yes"}if(h==c){g="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}try{b=d[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+d[0].getAttribute("id"))}if(""!==b){var j=JSON.parse(b);j.last=e;jQuery.each(j,function(a,b){if(false===b||""===b){delete j[a]}if("content"===a){j[a]=b.replace(/\\'/g,"'")}if("give_new_id"===a){delete j[a]}});d[0].querySelector(".dslca-module-code").value=JSON.stringify(j);a["content"].push(j)}b=""});q["content"].push(a)});var r=JSON.stringify(q);return r}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}var massagesTicker=jQuery("#editor-messages").newsTicker({row_height:40,max_rows:2,speed:900,direction:"up",duration:12e3,autostart:1,pauseOnHover:1,start:function(){jQuery("#editor-messages").css("opacity","1")}});jQuery(document).ready(function(a){a(document).on("click",".dslc-editor-messages-hide",function(b){var c=a(".dslc-editor-messages-hide").data("can-hide");if(c=="1"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-hidden-panel"});a(".dslc-editor-messages-section-122017").css("display","none");a(".dslca-container").removeClass("active-message-panel")}else{a("#editor-messages").html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/hide-messages/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=hide-messages" target="_blank">Only users who support our plugin development can hide this panel. <b>Click to learn more.</b></a></div>')}});if(a("div.dslc-editor-messages-section-122017").length){a(".dslc-editor-messages-section-122017").css("display","block");a(".dslca-container").addClass("active-message-panel")}});"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});d=null;b=null;return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<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">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_show_modal");if(jQuery(".dslca-modal:visible").length){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f});jQuery(".dslca-prompt-modal-custom").insertAfter(b);if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeIn()}b.addClass("dslca-modal-open").show()}function dslc_hide_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_hide_modal");console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeOut()}b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(typeof dslcDebug!=="undefined"&&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)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});jQuery.fn.outerHide=function(a){var b=jQuery;a=a?a:{};var c=this;if("destroy"==a){b(document).unbind("click.outer_hide");return false}b(document).bind("click.outer_hide",function(d){if(b(d.target).closest(c).length==0&&d.target!=c&&b.inArray(b(d.target)[0],b(a.clickObj))==-1&&b(c).css("display")!="none"){if(a.clbk){a.clbk()}else{b(c).hide()}}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998")},mouseleave:function(){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage");LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-module-front");var b=a.data("dslc-module-size");var c=jQuery(this).data("size");if(Number(b)!==Number(c)){dslc_module_width_set(a,c)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(f.includes("%")){f=f.replace(/%\(\(%/g,"[");f=f.replace(/%\)\)%/g,"]");f=f.replace(/%\(%/g,"[");f=f.replace(/%\)%/g,"]");f=f.replace(/%\{%/g,"[");f=f.replace(/%\}%/g,"]")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content:not(.inline-editor)",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(a)},100)}}).on("focus",".dslca-editable-content",function(){if(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(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.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}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.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(c).data("dslc-module-size",b);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();if(c.includes("%")){c=c.replace(/%\(\(%/g,"[");c=c.replace(/%\)\)%/g,"]");c=c.replace(/%\(%/g,"[");c=c.replace(/%\)%/g,"]");c=c.replace(/%\{%/g,"[");c=c.replace(/%\}%/g,"]")}f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);var b=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each(function(){var a=jQuery(this).data("section");if(b.indexOf(a)==-1){b.push(a)}});var c=b.length;for(var f=0;f<c;f++){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+b[f]+'"]').show()}if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{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()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:true},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");c=null;d=null;LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var e=new Event("dslc_module_output_altered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(e);if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();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();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML);
|
2 |
-
},onStart:function(a){a.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(a){a.oldIndex;a.newIndex;a.preventDefault();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(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(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(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",false)})};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add(a())}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-modules-area");var c=a.data("size");var d=jQuery(this).data("size");if(Number(c)!==Number(d)){dslc_modules_area_width_set(a,d)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <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>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.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();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.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(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.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 a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.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(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if("none"!==b&&""!==b){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){if(b.preset_setting=="enabled"){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})}})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("");jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")});a(document).on("click",".dslc-delete-preset",function(a){var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),d=b.data("dslc-module-id");if("none"!==c&&""!==c){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:c,dslc_module_id:d},function(a){dslc_module_options_show(d)})}})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}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(a,b){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(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){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()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+"["+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"]"+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.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(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();var c=sessionStorage;var d=jQuery();var e=c.getItem("cache-dslc-ajax-add-modules-section");if(null!==e){var f,g;f=DSLCMainOptions.section_padding_vertical;g=jQuery(e).find('input[data-id="padding"]').val();if(f!==g){c.removeItem("cache-dslc-ajax-add-modules-section");e=null}}if(null===e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(e){c.setItem("cache-dslc-ajax-add-modules-section",e.output);d=dslc_row_after_add(e.output);if(a){a()}return b})}else{d=dslc_row_after_add(e);if(a){a()}return b}}function dslc_row_after_add(a){var b=jQuery(a);b.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(b);new LiveComposer.Builder.Elements.CModuleArea(b.find(".dslc-modules-area").eq(0)[0]);b.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.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();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;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");a.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")){if(""===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()}}if(jQuery(this).data("id")=="border-top"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-right"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-bottom"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-left"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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")){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val());if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;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=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".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");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".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");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.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 a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()});dslc_section_new_id(c[0])}function dslc_section_new_id(a){if(dslcDebug)console.log("dslc_section_new_id");var b=LiveComposer.Utils.get_unique_id();a.setAttribute("data-section-id",b);LiveComposer.Utils.update_section_property_raw(a,"section_instance_id",b)}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false};jQuery("#scroller-stopper").on("dragover",function(){LiveComposer.Builder.UI.stopScroller()})});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();dslc_module_options_icon();
|
3 |
-
dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);var a=jQuery(this).closest(".dslca-color-option");var b=jQuery(".dslca-module-edit-options-inner");var c=a.find(".wp-picker-holder");var d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px");jQuery(b).on("scroll",function(b){d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px")})});jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",function(){if(!jQuery(this).hasClass("dslca-module-edit-option-select")){dslc_module_options_numeric(this)}});jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",function(){dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.clearUtils=function(){if(dslcDebug)console.log("LiveComposer.Builder.UI.clearUtils");LiveComposer.Builder.UI.clearColorPickers();if(undefined!==LiveComposer.Builder.moduleBackup){LiveComposer.Builder.moduleBackup.remove()}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".mce-tinymce",LiveComposer.Builder.PreviewAreaDocument).hide()};LiveComposer.Builder.UI.clearColorPickers=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){if(!jQuery(a).hasClass("dslca-modules-section-edit-field")){jQuery(a).remove()}});b.Helpers.colorpickers=[]}jQuery("body").off("click.wpcolorpicker")};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var b=this;var c=true;try{var d=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(e){c=false}if(c){var f=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&d[b.value]==undefined){return false}if(b.type=="checkbox"&&d[b.value]!=undefined){c[b.value]=d[b.value]}else{c=d}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}var g=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");if(b.value==d&&f){if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-hide")){e.removeClass("dep-hide");e.addClass("dep-show")}else{e.addClass("dep-show")}if(g==e.data("tab")){e.show()}}else{if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-show")){e.removeClass("dep-show");e.addClass("dep-hide")}else{e.addClass("dep-hide")}e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',f);LiveComposer.Builder.Helpers.depsHandlers.push(f)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){LiveComposer.Builder.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});LiveComposer.Builder.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};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)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.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="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==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")}if(c==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")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true,B=true,C=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")){B=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")){C=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)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();else 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();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide();if(B)jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide();if(C)jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Text_Simple"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_TP_Content"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Html"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Shortcode"){var D=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),E=D.find("select").val();if(E=="enabled"){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()}else{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();D.css({visibility:"visible"})}}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){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")}else{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")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){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")}else{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");if(jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var F=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-show")){jQuery(".dslca-module-edit-option.dep-show").show()}if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-hide")){jQuery(".dslca-module-edit-option.dep-hide").hide()}}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var G=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");if(jQuery('.dslca-module-edit-option[data-tab="'+G+'"]').hasClass("dependent")){jQuery(".dslca-module-edit-option.dependent").hide();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-show').show();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-hide').hide()}else{jQuery(".dslca-module-edit-option.dependent").hide()}}}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",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("");LiveComposer.Builder.UI.clearUtils();if(a){a()}})}dslc_show_section(".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();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}});dslc_show_section(".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();dslc_show_publish_button();LiveComposer.Builder.UI.clearUtils()}function dslc_module_options_tooltip(){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 a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d,e;e=c.parent();if(e.parent().hasClass("dslca-modules-section-edit-option")){d=c.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html()}else{d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html()}if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var f=c.offset();var g=a.outerHeight();var h=a.outerWidth();var i=f.left-h/2+6;var j="50%";if(i<0){j=h/2+i+"px";i=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:f.top-g-20,left:i});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+j+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).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).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).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).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(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 a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(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 a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;var l="dslcColors-"+document.domain;if(undefined!==localStorage[l]){j=JSON.parse(localStorage[l]);i=j}if(1>i.length){i.push("#78b")}if(2>i.length){i.push("#ab0")}if(3>i.length){i.push("#de3")}i.push("#fff");i.push("#000");i.push("rgba(0,0,0,0)");var m=a;jQuery(m).each(function(){var a=jQuery(this).closest(".dslca-color-option");var j=jQuery(this);h=jQuery(this).val();j.wpColorPicker({mode:"hsl",palettes:i,change:function(a,h){b=j;var i=j.wpColorPicker("color");if(i==null){e=""}else{e=i}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")}});var k=a.find(".wp-picker-holder .iris-picker");k.append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var m=a.find(".dslca-colorpicker-apply");j.wpColorPicker("open");jQuery(m).on("click",function(){if("#fff"!==e&&"#ffffff"!==e&&"#000"!==e&&"#000000"!==e&&"rgba(0,0,0,0)"!==e){if(undefined===localStorage[l]){var a=[e];localStorage[l]=JSON.stringify(a)}else{var a=JSON.parse(localStorage[l]);if(a.indexOf(e)==-1){a.unshift(e);if(3<a.length){a.pop()}}localStorage[l]=JSON.stringify(a)}}j.wpColorPicker("close")});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))})}function dslc_module_options_numeric(a){if(dslcDebug)console.log("dslc_module_options_numeric");var b=a;jQuery(b).each(function(){var a=jQuery(this);if(0===jQuery(".dslca-module-edit-field-slider",a).length){a.append('<div class="dslca-module-edit-field-slider"></div>')}var b=true;if(a.hasClass("dslca-modules-section-edit-option")){
|
4 |
-
b=false}else{b=true}if(b){var c=a.find(".dslca-module-edit-field")}else{var c=a.find(".dslca-modules-section-edit-field")}if(a.hasClass("dslca-modules-section-edit-option")){var c=a.find(".dslca-modules-section-edit-field")}else{var c=a.find(".dslca-module-edit-field")}var d="",e=a.find(".dslca-module-edit-field-slider"),f=parseFloat(c.val()),g=parseFloat(c.data("max")),h=parseFloat(c.data("min")),i=parseFloat(c.data("increment")),j=g,k=h;var l=false;if(undefined!==c.data("onlypositive")&&1===c.data("onlypositive")){l=true}if(f>=g){g=f*2}if(!l&&f<=h){h=f*2}e.slider({min:h,max:g,step:i,value:c.val(),slide:function(a,b){c.val(b.value+d);c.trigger("change")},change:function(b,c){if(c.value>=g||c.value<=h){e.slider("destroy");dslc_module_options_numeric(a)}}});e.show();jQuery(a).on("mouseleave",function(){if(undefined!==e.slider("instance")){jQuery(e).slider("destroy")}e.remove()});if(c[0].classList.contains("slider-initiated"))return;c[0].classList.add("slider-initiated");c.on("keyup",function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;c.trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;c.trigger("change")}}if(a.keyCode==8||a.keyCode==45){c.trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){c.trigger("change")}var b=a.which?a.which:a.keyCode;if((b>=48&&b<=57||b>=96&&b<=105)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});c.on("change",function(a){if(l&&this.value<0){this.value=0}var c;if(b){c=jQuery(a.target.closest(".dslca-module-edit-option-slider"))}else{c=jQuery(a.target.closest(".dslca-modules-section-edit-option-slider"))}var d=c.find(".dslca-module-edit-field-slider");if(undefined!==d.slider("instance")){d.slider("value",this.value)}if(b){var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);e.addClass("dslca-module-change-made")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;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(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(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(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();dslc_template_import()});a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});window.previewAreaTinyMCELoaded=function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this;LiveComposer.Builder.PreviewAreaDocument=jQuery(this.document);jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()};jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(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(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}else{window.location=b}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(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");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(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");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(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")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0});jQuery(a).find("input.dslca-module-edit-field-colorpicker").each(function(a){jQuery(this).css("background",jQuery(this).val())})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).attr("data-display-module","false");jQuery('.dslca-origin[data-origin="'+a+'"]',b).attr("data-display-module","true");if(a==""){jQuery(".dslca-origin",b).attr("data-display-module","true");jQuery(".dslca-origin.dslca-exclude",b).attr("data-display-module","false")}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.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(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-modules-area-manage",b).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(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(a){a.preventDefault();var b=jQuery(a.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(b)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(jQuery(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a);dslc_save_page(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslc_save_page(a){if(a.which==83&&(a.metaKey||a.ctrlKey)){if(jQuery(".dslca-save-composer-hook").css("display")=="block"){dslc_save_composer();a.preventDefault();return false}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=a("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument);var c="";b.each(function(b,d){var e=a(d).data("editing-link");var f=a(d).data("editing-type");var g=a(d).data("editing-label");var h=a(d).data("editing-sublabel");c+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+e+'" class="dslc-hf-block-overlay-button dslca-link">'+g+"</a>";if(h!==undefined){c+=' <span class="dslc-hf-block-overlay-text">'+h+"</span>"}c+="</div>";var i=document.createElement("div");i.innerHTML=c;d.append(i)})});"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},update_section_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-section-code")[0];var e=a.querySelector('.dslca-modules-section-settings input[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.setAttribute("value",c);e.setAttribute("data-def",c)},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery(document).trigger({type:a,message:{details:b}});LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(a,b)}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}function dslc_filter_textarea(a){if(dslcDebug)console.log("dslc_filter_textarea");if(undefined===a){return false}var b;b=a.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");return b}window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}b=dslc_filter_textarea(b);jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added");LiveComposer.Utils.publish("LC.moduleChange",{moduleId:h,optionID:e,optionVal:d.val()})})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(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")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(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")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(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");
|
5 |
-
}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("LC.moduleChange",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);var f=a.parent().attr("data-id");if(e.alt!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(e.alt)}if(e.title!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(e.title)}jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");var d=a.parent().attr("data-id");if(d=="image"){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")}a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(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.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
|
1 |
"use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){}});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=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:c,dslc_code:a,dslc_content_for_search:b},timeout:3e4}).done(function(a){if(a.status=="success"){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-'+c+'" src="'+DSLCSiteData.siteurl+"/?p="+c+'" ></iframe>');jQuery(".lbmn-cache-iframe").each(function(a,b){jQuery(b).load(function(){jQuery(b).remove()})})}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 30 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=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:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="",o;jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(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()}else{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(){m=jQuery(this);o=dslc_generate_section_code(m);m.find(".dslca-section-code").val(o);d=d+o+","});d=d.slice(0,-1);d="["+d+"]";jQuery("#dslca-code").val(d);jQuery("#dslca-export-code").val(d)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b="",c,d="",e="",f=12,g=12,h=0,i=0,j,k,l,m,n,o="",p="",q;n=a;if(jQuery(".dslc-modules-area",n).length){n.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{n.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");i=0;p=n.find(".dslca-section-code").val();q=JSON.parse(p);o="";jQuery(".dslca-modules-section-settings input",n).each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();o=o+b+'="'+c+'" ';q[b]=c});if(undefined!==q["give_new_id"]){delete q["give_new_id"]}q["content"]=[];jQuery(".dslc-modules-area",n).each(function(){h=0;k=jQuery(this);j=parseInt(k.data("size"));l="no";m="no";i+=j;jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");if(i==g){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");i=0;l="yes"}else if(i>g){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");i=j;m="yes"}if(i==j){m="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}var a='{"element_type":"module_area","last":"'+l+'","first":"'+m+'","size":"'+j+'"}';a=JSON.parse(a);if(undefined!==a["give_new_id"]){delete a["give_new_id"]}a.content=[];jQuery(".dslc-module-front",k).each(function(){var d=jQuery(this);c=parseInt(d[0].getAttribute("data-dslc-module-size"));var e="no";var g="no";jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");h+=c;if(h==f){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");h=0;e="yes";g="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=c;g="yes"}if(h==c){g="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}try{b=d[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+d[0].getAttribute("id"))}if(""!==b){var j=JSON.parse(b);j.last=e;jQuery.each(j,function(a,b){if(false===b||""===b){delete j[a]}if("content"===a){j[a]=b.replace(/\\'/g,"'")}if("give_new_id"===a){delete j[a]}});d[0].querySelector(".dslca-module-code").value=JSON.stringify(j);a["content"].push(j)}b=""});q["content"].push(a)});var r=JSON.stringify(q);return r}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}var massagesTicker=jQuery("#editor-messages").newsTicker({row_height:40,max_rows:2,speed:900,direction:"up",duration:12e3,autostart:1,pauseOnHover:1,start:function(){jQuery("#editor-messages").css("opacity","1")}});jQuery(document).ready(function(a){a(document).on("click",".dslc-editor-messages-hide",function(b){var c=a(".dslc-editor-messages-hide").data("can-hide");if(c=="1"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-hidden-panel"});a(".dslc-editor-messages-section-122017").css("display","none");a(".dslca-container").removeClass("active-message-panel")}else{a("#editor-messages").html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/hide-messages/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=hide-messages" target="_blank">Only users who support our plugin development can hide this panel. <b>Click to learn more.</b></a></div>')}});if(a("div.dslc-editor-messages-section-122017").length){a(".dslc-editor-messages-section-122017").css("display","block");a(".dslca-container").addClass("active-message-panel")}});"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});d=null;b=null;return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<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">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_show_modal");if(jQuery(".dslca-modal:visible").length){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f});jQuery(".dslca-prompt-modal-custom").insertAfter(b);if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeIn()}b.addClass("dslca-modal-open").show()}function dslc_hide_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_hide_modal");console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeOut()}b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(typeof dslcDebug!=="undefined"&&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)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});jQuery.fn.outerHide=function(a){var b=jQuery;a=a?a:{};var c=this;if("destroy"==a){b(document).unbind("click.outer_hide");return false}b(document).bind("click.outer_hide",function(d){if(b(d.target).closest(c).length==0&&d.target!=c&&b.inArray(b(d.target)[0],b(a.clickObj))==-1&&b(c).css("display")!="none"){if(a.clbk){a.clbk()}else{b(c).hide()}}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998")},mouseleave:function(){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage");LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-module-front");var b=a.data("dslc-module-size");var c=jQuery(this).data("size");if(Number(b)!==Number(c)){dslc_module_width_set(a,c)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(f.includes("%")){f=f.replace(/%\(\(%/g,"[");f=f.replace(/%\)\)%/g,"]");f=f.replace(/%\(%/g,"[");f=f.replace(/%\)%/g,"]");f=f.replace(/%\{%/g,"[");f=f.replace(/%\}%/g,"]")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content:not(.inline-editor)",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(a)},100)}}).on("focus",".dslca-editable-content",function(){if(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(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.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}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.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(c).data("dslc-module-size",b);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();if(c.includes("%")){c=c.replace(/%\(\(%/g,"[");c=c.replace(/%\)\)%/g,"]");c=c.replace(/%\(%/g,"[");c=c.replace(/%\)%/g,"]");c=c.replace(/%\{%/g,"[");c=c.replace(/%\}%/g,"]")}f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);var b=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each(function(){var a=jQuery(this).data("section");if(b.indexOf(a)==-1){b.push(a)}});var c=b.length;for(var f=0;f<c;f++){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+b[f]+'"]').show()}if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{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()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:true},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");c=null;d=null;LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var e=new Event("dslc_module_output_altered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(e);if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();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();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML);
|
2 |
+
},onStart:function(a){a.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(a){a.oldIndex;a.newIndex;a.preventDefault();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(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(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(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",false)})};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add(a())}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-modules-area");var c=a.data("size");var d=jQuery(this).data("size");if(Number(c)!==Number(d)){dslc_modules_area_width_set(a,d)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <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>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.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();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.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(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.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 a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.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(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if("none"!==b&&""!==b){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){if(b.preset_setting=="enabled"){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})}})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("");jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")});a(document).on("click",".dslc-delete-preset",function(a){var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),d=b.data("dslc-module-id");if("none"!==c&&""!==c){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:c,dslc_module_id:d},function(a){dslc_module_options_show(d)})}})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}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(a,b){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(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){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()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+"["+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"]"+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.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(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();var c=sessionStorage;var d=jQuery();var e=c.getItem("cache-dslc-ajax-add-modules-section");if(null!==e){var f,g;f=DSLCMainOptions.section_padding_vertical;g=jQuery(e).find('input[data-id="padding"]').val();if(f!==g){c.removeItem("cache-dslc-ajax-add-modules-section");e=null}}if(null===e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(e){c.setItem("cache-dslc-ajax-add-modules-section",e.output);d=dslc_row_after_add(e.output);if(a){a()}return b})}else{d=dslc_row_after_add(e);if(a){a()}return b}}function dslc_row_after_add(a){var b=jQuery(a);b.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(b);new LiveComposer.Builder.Elements.CModuleArea(b.find(".dslc-modules-area").eq(0)[0]);b.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.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();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;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");a.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")){if(""===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()}}if(jQuery(this).data("id")=="border-top"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-right"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-bottom"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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).data("id")=="border-left"){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);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")){if(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",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{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("%)%","]"));if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;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=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".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");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".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");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.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 a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()});dslc_section_new_id(c[0])}function dslc_section_new_id(a){if(dslcDebug)console.log("dslc_section_new_id");var b=LiveComposer.Utils.get_unique_id();a.setAttribute("data-section-id",b);LiveComposer.Utils.update_section_property_raw(a,"section_instance_id",b)}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false};jQuery("#scroller-stopper").on("dragover",function(){LiveComposer.Builder.UI.stopScroller()})});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();
|
3 |
+
dslc_module_options_icon();dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);var a=jQuery(this).closest(".dslca-color-option");var b=jQuery(".dslca-module-edit-options-inner");var c=a.find(".wp-picker-holder");var d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px");jQuery(b).on("scroll",function(b){d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px")})});jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",function(){if(!jQuery(this).hasClass("dslca-module-edit-option-select")){dslc_module_options_numeric(this)}});jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",function(){dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.clearUtils=function(){if(dslcDebug)console.log("LiveComposer.Builder.UI.clearUtils");LiveComposer.Builder.UI.clearColorPickers();if(undefined!==LiveComposer.Builder.moduleBackup){LiveComposer.Builder.moduleBackup.remove()}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".mce-tinymce",LiveComposer.Builder.PreviewAreaDocument).hide()};LiveComposer.Builder.UI.clearColorPickers=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){if(!jQuery(a).hasClass("dslca-modules-section-edit-field")){jQuery(a).remove()}});b.Helpers.colorpickers=[]}jQuery("body").off("click.wpcolorpicker")};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var b=this;var c=true;try{var d=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(e){c=false}if(c){var f=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&d[b.value]==undefined){return false}if(b.type=="checkbox"&&d[b.value]!=undefined){c[b.value]=d[b.value]}else{c=d}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}var g=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");if(b.value==d&&f){if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-hide")){e.removeClass("dep-hide");e.addClass("dep-show")}else{e.addClass("dep-show")}if(g==e.data("tab")){e.show()}}else{if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-show")){e.removeClass("dep-show");e.addClass("dep-hide")}else{e.addClass("dep-hide")}e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',f);LiveComposer.Builder.Helpers.depsHandlers.push(f)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){LiveComposer.Builder.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});LiveComposer.Builder.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};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)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.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="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==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")}if(c==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")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}if(jQuery("body").hasClass("rtl")){var d=0;var e=0;var f=0;jQuery(".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible").each(function(a){if(!jQuery(this).hasClass("dslca-module-edit-option-hidden")&&!jQuery(this).hasClass("dslca-module-control-group")){d+=parseInt(jQuery(this).outerWidth(),10)}});jQuery(".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible").each(function(a){e+=parseInt(jQuery(this).outerWidth(),10)});f=parseInt(d)+parseInt(e)+10;jQuery(".dslca-module-edit-options-wrapper").css({width:f+"px"})}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true,B=true,C=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")){B=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")){C=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)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();else 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();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide();if(B)jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide();if(C)jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show();else 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 D=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),E=D.find("select").val();if(E=="enabled"){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()}else{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();D.css({visibility:"visible"})}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){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")}else{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")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){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")}else{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");if(jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var F=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-show")){jQuery(".dslca-module-edit-option.dep-show").show()}if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-hide")){jQuery(".dslca-module-edit-option.dep-hide").hide()}}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var G=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");if(jQuery('.dslca-module-edit-option[data-tab="'+G+'"]').hasClass("dependent")){jQuery(".dslca-module-edit-option.dependent").hide();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-show').show();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-hide').hide()}else{jQuery(".dslca-module-edit-option.dependent").hide()}}}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",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("");LiveComposer.Builder.UI.clearUtils();if(a){a()}})}dslc_show_section(".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();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}});dslc_show_section(".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();dslc_show_publish_button();LiveComposer.Builder.UI.clearUtils()}function dslc_module_options_tooltip(){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 a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d,e;e=c.parent();if(e.parent().hasClass("dslca-modules-section-edit-option")){d=c.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html()}else{d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html()}if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var f=c.offset();var g=a.outerHeight();var h=a.outerWidth();var i=f.left-h/2+6;var j="50%";if(i<0){j=h/2+i+"px";i=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:f.top-g-20,left:i});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+j+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).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).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).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).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(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 a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(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 a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;var l="dslcColors-"+document.domain;if(undefined!==localStorage[l]){j=JSON.parse(localStorage[l]);i=j}if(1>i.length){i.push("#78b")}if(2>i.length){i.push("#ab0")}if(3>i.length){i.push("#de3")}i.push("#fff");i.push("#000");i.push("rgba(0,0,0,0)");var m=a;jQuery(m).each(function(){var a=jQuery(this).closest(".dslca-color-option");var j=jQuery(this);h=jQuery(this).val();j.wpColorPicker({mode:"hsl",palettes:i,change:function(a,h){b=j;var i=j.wpColorPicker("color");if(i==null){e=""}else{e=i}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")}});var k=a.find(".wp-picker-holder .iris-picker");k.append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var m=a.find(".dslca-colorpicker-apply");j.wpColorPicker("open");jQuery(m).on("click",function(){if("#fff"!==e&&"#ffffff"!==e&&"#000"!==e&&"#000000"!==e&&"rgba(0,0,0,0)"!==e){if(undefined===localStorage[l]){var a=[e];localStorage[l]=JSON.stringify(a)}else{var a=JSON.parse(localStorage[l]);if(a.indexOf(e)==-1){a.unshift(e);if(3<a.length){a.pop()}}localStorage[l]=JSON.stringify(a)}}j.wpColorPicker("close")});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))})}function dslc_module_options_numeric(a){if(dslcDebug)console.log("dslc_module_options_numeric");var b=a;jQuery(b).each(function(){var a=jQuery(this);if(0===jQuery(".dslca-module-edit-field-slider",a).length){a.append('<div class="dslca-module-edit-field-slider"></div>');
|
4 |
+
}var b=true;if(a.hasClass("dslca-modules-section-edit-option")){b=false}else{b=true}if(b){var c=a.find(".dslca-module-edit-field")}else{var c=a.find(".dslca-modules-section-edit-field")}if(a.hasClass("dslca-modules-section-edit-option")){var c=a.find(".dslca-modules-section-edit-field")}else{var c=a.find(".dslca-module-edit-field")}var d="",e=a.find(".dslca-module-edit-field-slider"),f=parseFloat(c.val()),g=parseFloat(c.data("max")),h=parseFloat(c.data("min")),i=parseFloat(c.data("increment")),j=g,k=h;var l=false;if(undefined!==c.data("onlypositive")&&1===c.data("onlypositive")){l=true}if(f>=g){g=f*2}if(!l&&f<=h){h=f*2}e.slider({min:h,max:g,step:i,value:c.val(),slide:function(a,b){c.val(b.value+d);c.trigger("change")},change:function(b,c){if(c.value>=g||c.value<=h){e.slider("destroy");dslc_module_options_numeric(a)}}});e.show();jQuery(a).on("mouseleave",function(){if(undefined!==e.slider("instance")){jQuery(e).slider("destroy")}e.remove()});if(c[0].classList.contains("slider-initiated"))return;c[0].classList.add("slider-initiated");c.on("keyup",function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;c.trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;c.trigger("change")}}if(a.keyCode==8||a.keyCode==45){c.trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){c.trigger("change")}var b=a.which?a.which:a.keyCode;if((b>=48&&b<=57||b>=96&&b<=105)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});c.on("change",function(a){if(l&&this.value<0){this.value=0}var c;if(b){c=jQuery(a.target.closest(".dslca-module-edit-option-slider"))}else{c=jQuery(a.target.closest(".dslca-modules-section-edit-option-slider"))}var d=c.find(".dslca-module-edit-field-slider");if(undefined!==d.slider("instance")){d.slider("value",this.value)}if(b){var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);e.addClass("dslca-module-change-made")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery("#wpcontent").prepend('<div class="lc-template-loader"></div>');var d='<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(".lc-template-loader").prepend(d);jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".lc-template-loader").remove();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;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(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(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(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();dslc_template_import()});a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});window.previewAreaTinyMCELoaded=function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this;LiveComposer.Builder.PreviewAreaDocument=jQuery(this.document);jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()};jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(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(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}else{window.location=b}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(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");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(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");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(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")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0});jQuery(a).find("input.dslca-module-edit-field-colorpicker").each(function(a){jQuery(this).css("background",jQuery(this).val())})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).attr("data-display-module","false");jQuery('.dslca-origin[data-origin="'+a+'"]',b).attr("data-display-module","true");if(a==""){jQuery(".dslca-origin",b).attr("data-display-module","true");jQuery(".dslca-origin.dslca-exclude",b).attr("data-display-module","false")}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.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(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-modules-area-manage",b).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(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(a){a.preventDefault();var b=jQuery(a.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(b)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(jQuery(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a);dslc_save_page(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslc_save_page(a){if(a.which==83&&(a.metaKey||a.ctrlKey)){if(jQuery(".dslca-save-composer-hook").css("display")=="block"){dslc_save_composer();a.preventDefault();return false}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=a("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument);var c="";b.each(function(b,d){var e=a(d).data("editing-link");var f=a(d).data("editing-type");var g=a(d).data("editing-label");var h=a(d).data("editing-sublabel");c+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+e+'" class="dslc-hf-block-overlay-button dslca-link">'+g+"</a>";if(h!==undefined){c+=' <span class="dslc-hf-block-overlay-text">'+h+"</span>"}c+="</div>";var i=document.createElement("div");i.innerHTML=c;d.append(i)})});"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},update_section_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-section-code")[0];var e=a.querySelector('.dslca-modules-section-settings input[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.setAttribute("value",c);e.setAttribute("data-def",c)},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery(document).trigger({type:a,message:{details:b}});LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(a,b)}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}function dslc_filter_textarea(a){if(dslcDebug)console.log("dslc_filter_textarea");if(undefined===a){return false}var b;b=a.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");return b}window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}b=dslc_filter_textarea(b);jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added");LiveComposer.Utils.publish("LC.moduleChange",{moduleId:h,optionID:e,optionVal:d.val()})})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(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")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){
|
5 |
+
jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(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")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("LC.moduleChange",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);var f=a.parent().attr("data-id");if(e.alt!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(e.alt)}if(e.title!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(e.title)}jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");var d=a.parent().attr("data-id");if(d=="image"){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")}a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(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.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
|
js/builder/builder.row.functions.js
CHANGED
@@ -404,7 +404,7 @@ function dslc_row_edit( row ) {
|
|
404 |
}
|
405 |
} else {
|
406 |
|
407 |
-
jQuery(this).val( jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="' + jQuery(this).data('id') + '"]', LiveComposer.Builder.PreviewAreaDocument ).val() );
|
408 |
|
409 |
if ( jQuery( this ).hasClass( 'dslca-modules-section-edit-field-colorpicker' ) ) {
|
410 |
|
404 |
}
|
405 |
} else {
|
406 |
|
407 |
+
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('%)%', ']') );
|
408 |
|
409 |
if ( jQuery( this ).hasClass( 'dslca-modules-section-edit-field-colorpicker' ) ) {
|
410 |
|
js/builder/builder.settings.panel.functions.js
CHANGED
@@ -536,11 +536,31 @@ function dslc_module_options_tab_filter( dslcTab ) {
|
|
536 |
// Hide the loader
|
537 |
jQuery('.dslca-container-loader').hide();
|
538 |
});
|
539 |
-
}
|
540 |
}
|
541 |
|
542 |
// Scroll horizontally options panel to the left (not ready)
|
543 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
}
|
545 |
|
546 |
/**
|
@@ -889,25 +909,19 @@ function dslc_module_options_hideshow_tabs() {
|
|
889 |
|
890 |
if ( jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass('dslca-active') ) {
|
891 |
|
892 |
-
|
893 |
-
|
894 |
-
jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument).data('dslc-module-id') == 'DSLC_Html' || jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument).data('dslc-module-id') == 'DSLC_Shortcode' ) {
|
895 |
-
|
896 |
-
var dslcCustomCSS = jQuery('.dslca-module-edit-option[data-id="css_custom"]'),
|
897 |
-
dslcCustomCSSVal = dslcCustomCSS.find('select').val();
|
898 |
|
899 |
-
|
900 |
-
|
901 |
-
jQuery('.dslca-module-edit-option[data-section="styling"]').css({ visibility : 'visible' });
|
902 |
-
jQuery('.dslca-module-edit-option[data-tab]').css( 'visibility', 'visible' );
|
903 |
-
jQuery('.dslca-module-edit-options-tabs').show();
|
904 |
-
} else {
|
905 |
-
jQuery('.dslca-module-edit-option[data-section="styling"]').css({ visibility : 'hidden' });
|
906 |
-
jQuery('.dslca-module-control-group.dslca-module-edit-option').css( 'visibility', 'hidden' );
|
907 |
-
jQuery('.dslca-module-edit-options-tabs').hide();
|
908 |
-
dslcCustomCSS.css({ visibility : 'visible' });
|
909 |
-
}
|
910 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
911 |
}
|
912 |
|
913 |
} else {
|
536 |
// Hide the loader
|
537 |
jQuery('.dslca-container-loader').hide();
|
538 |
});
|
539 |
+
}
|
540 |
}
|
541 |
|
542 |
// Scroll horizontally options panel to the left (not ready)
|
543 |
+
if ( jQuery('body').hasClass('rtl') ) {
|
544 |
+
var totalWidthOption = 0;
|
545 |
+
var totalWidthGroup = 0;
|
546 |
+
var totalWidth = 0;
|
547 |
+
|
548 |
+
jQuery('.dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible').each(function(index) {
|
549 |
+
if ( ! jQuery(this).hasClass('dslca-module-edit-option-hidden') && ! jQuery(this).hasClass('dslca-module-control-group') ) {
|
550 |
+
totalWidthOption += parseInt(jQuery(this).outerWidth(), 10);
|
551 |
+
}
|
552 |
+
});
|
553 |
+
|
554 |
+
jQuery('.dslca-module-edit-options-wrapper > .dslca-module-control-group:visible').each(function(index) {
|
555 |
+
totalWidthGroup += parseInt(jQuery(this).outerWidth(), 10);
|
556 |
+
});
|
557 |
+
|
558 |
+
totalWidth = parseInt(totalWidthOption) + parseInt(totalWidthGroup) + 10;
|
559 |
+
|
560 |
+
jQuery('.dslca-module-edit-options-wrapper').css({
|
561 |
+
'width': totalWidth + 'px',
|
562 |
+
});
|
563 |
+
}
|
564 |
}
|
565 |
|
566 |
/**
|
909 |
|
910 |
if ( jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass('dslca-active') ) {
|
911 |
|
912 |
+
var dslcCustomCSS = jQuery('.dslca-module-edit-option[data-id="css_custom"]'),
|
913 |
+
dslcCustomCSSVal = dslcCustomCSS.find('select').val();
|
|
|
|
|
|
|
|
|
914 |
|
915 |
+
if ( dslcCustomCSSVal == 'enabled' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
916 |
|
917 |
+
jQuery('.dslca-module-edit-option[data-section="styling"]').css({ visibility : 'visible' });
|
918 |
+
jQuery('.dslca-module-edit-option[data-tab]').css( 'visibility', 'visible' );
|
919 |
+
jQuery('.dslca-module-edit-options-tabs').show();
|
920 |
+
} else {
|
921 |
+
jQuery('.dslca-module-edit-option[data-section="styling"]').css({ visibility : 'hidden' });
|
922 |
+
jQuery('.dslca-module-control-group.dslca-module-edit-option').css( 'visibility', 'hidden' );
|
923 |
+
jQuery('.dslca-module-edit-options-tabs').hide();
|
924 |
+
dslcCustomCSS.css({ visibility : 'visible' });
|
925 |
}
|
926 |
|
927 |
} else {
|
js/builder/builder.templates.functions.js
CHANGED
@@ -21,6 +21,14 @@ function dslc_template_load( template ) {
|
|
21 |
// Vars
|
22 |
var dslcModule, dslcModuleID;
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
// Ajax call to get template's HTML
|
25 |
jQuery.post(
|
26 |
|
@@ -35,8 +43,15 @@ function dslc_template_load( template ) {
|
|
35 |
// Apply the template's HTML
|
36 |
jQuery('#dslc-main', LiveComposer.Builder.PreviewAreaDocument).html( response.output );
|
37 |
|
|
|
|
|
38 |
// Call other functions
|
39 |
LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
|
|
|
|
|
|
|
|
|
|
|
40 |
dslc_drag_and_drop();
|
41 |
dslc_show_publish_button();
|
42 |
dslc_generate_code();
|
21 |
// Vars
|
22 |
var dslcModule, dslcModuleID;
|
23 |
|
24 |
+
// Template preloader
|
25 |
+
jQuery('#wpcontent').prepend('<div class="lc-template-loader"></div>');
|
26 |
+
|
27 |
+
var block = '<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>';
|
28 |
+
|
29 |
+
jQuery('.lc-template-loader').prepend(block);
|
30 |
+
|
31 |
+
|
32 |
// Ajax call to get template's HTML
|
33 |
jQuery.post(
|
34 |
|
43 |
// Apply the template's HTML
|
44 |
jQuery('#dslc-main', LiveComposer.Builder.PreviewAreaDocument).html( response.output );
|
45 |
|
46 |
+
jQuery('.lc-template-loader').remove();
|
47 |
+
|
48 |
// Call other functions
|
49 |
LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
|
50 |
+
|
51 |
+
// Check init for rows and module areas
|
52 |
+
LiveComposer.Builder.rows_init();
|
53 |
+
LiveComposer.Builder.moduleareas_init();
|
54 |
+
|
55 |
dslc_drag_and_drop();
|
56 |
dslc_show_publish_button();
|
57 |
dslc_generate_code();
|
js/frontend.all.min.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide()}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide()}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslc-module-front");c.imagesLoaded(function(){if(c.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var a=0}else{var a=c.width()/100*2.12766/2}if(b.hasClass("dslc-carousel")){b.find(".dslc-col").css({"margin-left":a,"margin-right":a});b.css({"margin-left":a*-1,width:b.width()+a*2})}d={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};e={items:b.data("columns"),pagination:b.data("pagination"),itemsScaleUp:b.data("scale-up"),slideSpeed:b.data("slide-speed"),paginationSpeed:b.data("pagination-speed"),rewindSpeed:b.data("rewind-speed"),autoPlay:b.data("autoplay"),stopOnHover:b.data("stop-on-hover"),lazyLoad:b.data("lazy-load"),lazyFollow:b.data("lazy-follow"),autoHeight:b.data("flexible-height"),mouseDrag:b.data("mouse-drag"),touchDrag:b.data("touch-drag"),addClassActive:b.data("active-class"),transitionStyle:b.data("animation"),scrollPerPage:b.data("scroll-per-page")};f=jQuery.extend({},d,e);if(b.hasClass("dslc-slider")||f.items==1){f.singleItem=true}if(f.autoPlay==0){f.autoPlay=false}b.owlCarousel({items:f.items,pagination:f.pagination,singleItem:f.singleItem,itemsScaleUp:f.itemsScaleUp,slideSpeed:f.slideSpeed,paginationSpeed:f.paginationSpeed,rewindSpeed:f.rewindSpeed,autoPlay:f.autoPlay,stopOnHover:f.stopOnHover,lazyLoad:f.lazyLoad,lazyFollow:f.lazyFollow,mouseDrag:f.mouseDrag,touchDrag:f.touchDrag,scrollPerPage:f.scrollPerPage,transitionStyle:f.transitionStyle,autoHeight:f.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){b.prev(".dslc-loader").remove();b.css({opacity:1,maxHeight:"none"})},afterAction:function(){var a=this.owl.visibleItems;b.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");b.find(".owl-item").filter(function(b){return a.indexOf(b)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",c).click(function(a){a.preventDefault();b.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",c).click(function(a){a.preventDefault();b.data("owlCarousel").prev()})})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=jQuery(this);a.imagesLoaded({background:true},function(){var b=4,c=a.css("background-position").split(" "),d=c[0],e=d+" "+-1*(window.pageYOffset-a.offset().top)/b+"px";a.css({backgroundPosition:e})})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}function dslc_sticky_row(){var a=jQuery("body .dslc-modules-section");if(a.hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var b=jQuery("body .dslc-modules-section.dslc-sticky-row");var c=jQuery(".dslc-sticky-row");c.each(function(a,b){var d=jQuery(c).eq(a);var e=d.outerHeight();jQuery(b).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(b).outerHeight())});var b=jQuery("body .dslc-modules-section.dslc-sticky-row");var d=b.offset().top;if(jQuery("#wpadminbar").length){d-=jQuery("#wpadminbar").height()}jQuery(window).scroll(function(){var a=jQuery(".dslc-sticky-row");var c=jQuery(this).scrollTop();if(c>=0){a.each(function(b,d){var e=jQuery(a).eq(b);var f=e.offset().top;var g=e.outerHeight();if(jQuery("#wpadminbar").length){f-=jQuery("#wpadminbar").height()}var h=d.isFixed&&c<=d.exTop;var i=f<=c;var j="";var k=0;if(h){positon="relative";k=0;d.isFixed=false;d.classList.remove("dslc-sticky-section-fixed");jQuery(d).closest(".dslc-modules-section-placeholder").height(jQuery(d).outerHeight())}else if(i){j="fixed";if(0<b){for(var l=0;l<b;l++){k+=jQuery(a).eq(l).outerHeight()}}c+=g;if(!d.isFixed){d.isFixed=true;d.exTop=f}if(jQuery("#wpadminbar").length){k+=32}d.classList.add("dslc-sticky-section-fixed");jQuery(d).closest(".dslc-modules-section-placeholder").height(jQuery(d).outerHeight())}jQuery(d).css({position:j,top:k+"px"})})}else{b.removeClass("dslc-sticky-section-fixed");a.css({position:"relative",top:"0px"})}})}}jQuery(document).ready(function(a){dslc_el_anim_hover();dslc_bg_video();dslc_tabs();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.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>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!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-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(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)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this);var c=b.closest(".dslc-module-front").find(".dslc-posts");var d=b.closest(".dslc-module-front");var e=b.data("filter-id");var f=a();var g=a();if(e==="show-all"){f=c.closest(".dslc-module-front").find(".dslc-post");g=a()}else{f=c.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+e+'"]');g=c.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+e+'"])')}b.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(c.hasClass("dslc-init-grid")){f.stop().animate({opacity:1},300);g.stop().animate({opacity:.3},300)}else{g.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});f.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(d,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active")}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">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">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!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(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.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(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(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 b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});if(jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var b=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:b})}dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()})});jQuery(document).ready(function(a){dslc_responsive_classes();dslc_carousel();dslc_masonry();dslc_parallax();dslc_init_lightbox();dslc_sticky_row()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),
|
2 |
-
void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a))},addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){
|
3 |
-
d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
|
1 |
+
function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide();if(!$("body").hasClass("dslca-enabled")){d.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")}}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide();if(!$("body").hasClass("dslca-enabled")){e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")}}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true},image:{titleSrc:function(a){var b="";if(typeof a.el.attr("data-caption")!=="undefined"){b="<small>"+a.el.attr("data-caption")+"</small>"}return a.el.attr("title")+b}}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslc-module-front");c.imagesLoaded(function(){if(c.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var a=0}else{var a=c.width()/100*2.12766/2}if(b.hasClass("dslc-carousel")){b.find(".dslc-col").css({"margin-left":a,"margin-right":a});b.css({"margin-left":a*-1,width:b.width()+a*2})}d={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};e={items:b.data("columns"),pagination:b.data("pagination"),itemsScaleUp:b.data("scale-up"),slideSpeed:b.data("slide-speed"),paginationSpeed:b.data("pagination-speed"),rewindSpeed:b.data("rewind-speed"),autoPlay:b.data("autoplay"),stopOnHover:b.data("stop-on-hover"),lazyLoad:b.data("lazy-load"),lazyFollow:b.data("lazy-follow"),autoHeight:b.data("flexible-height"),mouseDrag:b.data("mouse-drag"),touchDrag:b.data("touch-drag"),addClassActive:b.data("active-class"),transitionStyle:b.data("animation"),scrollPerPage:b.data("scroll-per-page")};f=jQuery.extend({},d,e);if(b.hasClass("dslc-slider")||f.items==1){f.singleItem=true}if(f.autoPlay==0){f.autoPlay=false}b.owlCarousel({items:f.items,pagination:f.pagination,singleItem:f.singleItem,itemsScaleUp:f.itemsScaleUp,slideSpeed:f.slideSpeed,paginationSpeed:f.paginationSpeed,rewindSpeed:f.rewindSpeed,autoPlay:f.autoPlay,stopOnHover:f.stopOnHover,lazyLoad:f.lazyLoad,lazyFollow:f.lazyFollow,mouseDrag:f.mouseDrag,touchDrag:f.touchDrag,scrollPerPage:f.scrollPerPage,transitionStyle:f.transitionStyle,autoHeight:f.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){b.prev(".dslc-loader").remove();b.css({opacity:1,maxHeight:"none"})},afterAction:function(){var a=this.owl.visibleItems;b.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");b.find(".owl-item").filter(function(b){return a.indexOf(b)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",c).click(function(a){a.preventDefault();b.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",c).click(function(a){a.preventDefault();b.data("owlCarousel").prev()})})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=jQuery(this);a.imagesLoaded({background:true},function(){var b=4,c=a.css("background-position").split(" "),d=c[0],e=d+" "+-1*(window.pageYOffset-a.offset().top)/b+"px";a.css({backgroundPosition:e})})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}function dslc_sticky_row(){var a=jQuery("body .dslc-modules-section");if(a.hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var b=jQuery("body .dslc-modules-section.dslc-sticky-row");var c=jQuery(".dslc-sticky-row");c.each(function(a,b){var d=jQuery(c).eq(a);var e=d.outerHeight();jQuery(b).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(b).outerHeight())});var b=jQuery("body .dslc-modules-section.dslc-sticky-row");var d=b.offset().top;if(jQuery("#wpadminbar").length){d-=jQuery("#wpadminbar").height()}jQuery(window).scroll(function(){var a=jQuery(".dslc-sticky-row");var c=jQuery(this).scrollTop();if(c>=0){a.each(function(b,d){var e=jQuery(a).eq(b);var f=e.offset().top;var g=e.outerHeight();if(jQuery("#wpadminbar").length){f-=jQuery("#wpadminbar").height()}var h=d.isFixed&&c<=d.exTop;var i=f<=c;var j="";var k=0;if(h){positon="relative";k=0;d.isFixed=false;d.classList.remove("dslc-sticky-section-fixed");jQuery(d).closest(".dslc-modules-section-placeholder").height(jQuery(d).outerHeight())}else if(i){j="fixed";if(0<b){for(var l=0;l<b;l++){k+=jQuery(a).eq(l).outerHeight()}}c+=g;if(!d.isFixed){d.isFixed=true;d.exTop=f}if(jQuery("#wpadminbar").length){k+=32}d.classList.add("dslc-sticky-section-fixed");jQuery(d).closest(".dslc-modules-section-placeholder").height(jQuery(d).outerHeight())}jQuery(d).css({position:j,top:k+"px"})})}else{b.removeClass("dslc-sticky-section-fixed");a.css({position:"relative",top:"0px"})}})}}jQuery(document).ready(function(a){var b=document.querySelector("meta[name=viewport]");b.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();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.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>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!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-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(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)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this);var c=b.closest(".dslc-module-front").find(".dslc-posts");var d=b.closest(".dslc-module-front");var e=b.data("filter-id");var f=a();var g=a();if(e==="show-all"){f=c.closest(".dslc-module-front").find(".dslc-post");g=a()}else{f=c.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+e+'"]');g=c.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+e+'"])')}b.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(c.hasClass("dslc-init-grid")){f.stop().animate({opacity:1},300);g.stop().animate({opacity:.3},300)}else{g.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});f.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(d,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){if(!a("body").hasClass("dslca-enabled")){if(b.find(".dslca-icon").hasClass("dslc-icon-minus")){b.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")}else{b.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus")}}c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active");if(!a("body").hasClass("dslca-enabled")){if(b.find(".dslca-icon").hasClass("dslc-icon-minus")){b.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")}else{b.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus");c.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")}}}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">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">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!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(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.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(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(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 b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});if(jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var c=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:c})}dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()});if(jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative")){var d,e,f,g,h;d=jQuery("body").height();e=jQuery("#dslc-footer");f=jQuery(e).height();g=jQuery("#dslc-content");h="100vh";if(jQuery("#wpadminbar").length){h="96.7vh"}if(d<jQuery(window).height()){jQuery(e).css({position:"absolute",bottom:"0",width:"100%"});jQuery(g).css({"min-height":h,"padding-bottom":f+"px"})}}});jQuery(document).ready(function(a){dslc_responsive_classes();dslc_carousel();dslc_masonry();dslc_parallax();dslc_init_lightbox();dslc_sticky_row()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){
|
2 |
+
if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a))},addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){
|
3 |
+
37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
|
js/frontend/main.js
CHANGED
@@ -69,10 +69,18 @@ function dslc_init_accordion() {
|
|
69 |
dslcActive.addClass('dslc-active');
|
70 |
dslcInactive.addClass('dslc-inactive');
|
71 |
jQuery('.dslc-accordion-content', dslcInactive).hide();
|
|
|
|
|
|
|
|
|
72 |
} else {
|
73 |
|
74 |
dslcAll.addClass('dslc-inactive');
|
75 |
jQuery('.dslc-accordion-content', dslcAll).hide();
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
});
|
78 |
}
|
@@ -99,7 +107,24 @@ function dslc_init_lightbox() {
|
|
99 |
});
|
100 |
|
101 |
jQuery( '.dslc-lightbox-gallery' ).each(function(){
|
102 |
-
jQuery(this).magnificPopup({
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
});
|
104 |
}
|
105 |
|
@@ -773,6 +798,10 @@ function dslc_sticky_row() {
|
|
773 |
|
774 |
jQuery(document).ready(function($){
|
775 |
|
|
|
|
|
|
|
|
|
776 |
dslc_el_anim_hover();
|
777 |
dslc_bg_video();
|
778 |
dslc_tabs();
|
@@ -1052,10 +1081,27 @@ jQuery(document).ready(function($){
|
|
1052 |
|
1053 |
if ( dslcActive.hasClass('dslc-active') ) {
|
1054 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1055 |
dslcInactive = dslcActive;
|
1056 |
} else {
|
1057 |
|
1058 |
dslcActive.removeClass('dslc-inactive').addClass('dslc-active');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1059 |
}
|
1060 |
|
1061 |
dslcInactive.removeClass('dslc-active').addClass('dslc-inactive');
|
@@ -1222,6 +1268,38 @@ jQuery(document).ready(function($){
|
|
1222 |
dslc_check_viewport();
|
1223 |
dslc_check_progress_bar_viewport();
|
1224 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1225 |
});
|
1226 |
|
1227 |
jQuery(document).ready(function($){
|
69 |
dslcActive.addClass('dslc-active');
|
70 |
dslcInactive.addClass('dslc-inactive');
|
71 |
jQuery('.dslc-accordion-content', dslcInactive).hide();
|
72 |
+
|
73 |
+
if ( ! $("body").hasClass('dslca-enabled') ) {
|
74 |
+
dslcInactive.find('.dslca-icon').removeClass('dslc-icon-minus').addClass('dslc-icon-plus');
|
75 |
+
}
|
76 |
} else {
|
77 |
|
78 |
dslcAll.addClass('dslc-inactive');
|
79 |
jQuery('.dslc-accordion-content', dslcAll).hide();
|
80 |
+
|
81 |
+
if ( ! $("body").hasClass('dslca-enabled') ) {
|
82 |
+
dslcAll.find('.dslca-icon').removeClass('dslc-icon-minus').addClass('dslc-icon-plus');
|
83 |
+
}
|
84 |
}
|
85 |
});
|
86 |
}
|
107 |
});
|
108 |
|
109 |
jQuery( '.dslc-lightbox-gallery' ).each(function(){
|
110 |
+
jQuery(this).magnificPopup({
|
111 |
+
delegate : 'a',
|
112 |
+
type:'image',
|
113 |
+
gallery:{
|
114 |
+
enabled: true
|
115 |
+
},
|
116 |
+
image: {
|
117 |
+
titleSrc: function(item) {
|
118 |
+
var caption = '';
|
119 |
+
|
120 |
+
if ( typeof item.el.attr('data-caption') !== "undefined" ) {
|
121 |
+
caption = '<small>' + item.el.attr('data-caption') +'</small>';
|
122 |
+
}
|
123 |
+
|
124 |
+
return item.el.attr('title') + caption;
|
125 |
+
}
|
126 |
+
}
|
127 |
+
});
|
128 |
});
|
129 |
}
|
130 |
|
798 |
|
799 |
jQuery(document).ready(function($){
|
800 |
|
801 |
+
// Fix issue - https://github.com/live-composer/live-composer-page-builder/issues/592
|
802 |
+
var viewport = document.querySelector("meta[name=viewport]");
|
803 |
+
viewport.setAttribute('content', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0');
|
804 |
+
|
805 |
dslc_el_anim_hover();
|
806 |
dslc_bg_video();
|
807 |
dslc_tabs();
|
1081 |
|
1082 |
if ( dslcActive.hasClass('dslc-active') ) {
|
1083 |
|
1084 |
+
if ( ! $("body").hasClass('dslca-enabled') ) {
|
1085 |
+
if ( dslcActive.find('.dslca-icon').hasClass('dslc-icon-minus') ) {
|
1086 |
+
dslcActive.find('.dslca-icon').removeClass('dslc-icon-minus').addClass('dslc-icon-plus');
|
1087 |
+
} else {
|
1088 |
+
dslcActive.find('.dslca-icon').removeClass('dslc-icon-plus').addClass('dslc-icon-minus');
|
1089 |
+
}
|
1090 |
+
}
|
1091 |
+
|
1092 |
dslcInactive = dslcActive;
|
1093 |
} else {
|
1094 |
|
1095 |
dslcActive.removeClass('dslc-inactive').addClass('dslc-active');
|
1096 |
+
|
1097 |
+
if ( ! $("body").hasClass('dslca-enabled') ) {
|
1098 |
+
if ( dslcActive.find('.dslca-icon').hasClass('dslc-icon-minus') ) {
|
1099 |
+
dslcActive.find('.dslca-icon').removeClass('dslc-icon-minus').addClass('dslc-icon-plus');
|
1100 |
+
} else {
|
1101 |
+
dslcActive.find('.dslca-icon').removeClass('dslc-icon-plus').addClass('dslc-icon-minus');
|
1102 |
+
dslcInactive.find('.dslca-icon').removeClass('dslc-icon-minus').addClass('dslc-icon-plus');
|
1103 |
+
}
|
1104 |
+
}
|
1105 |
}
|
1106 |
|
1107 |
dslcInactive.removeClass('dslc-active').addClass('dslc-inactive');
|
1268 |
dslc_check_viewport();
|
1269 |
dslc_check_progress_bar_viewport();
|
1270 |
});
|
1271 |
+
|
1272 |
+
/*
|
1273 |
+
* Keep the footer at the bottom of the page.
|
1274 |
+
*/
|
1275 |
+
|
1276 |
+
if ( jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative") ) {
|
1277 |
+
var pageHeight, footer, footerHeight, content, contentMinHeight;
|
1278 |
+
|
1279 |
+
pageHeight = jQuery('body').height();
|
1280 |
+
footer = jQuery('#dslc-footer');
|
1281 |
+
footerHeight = jQuery(footer).height();
|
1282 |
+
content = jQuery('#dslc-content');
|
1283 |
+
contentMinHeight = '100vh';
|
1284 |
+
|
1285 |
+
// Account for Admin bar.
|
1286 |
+
if ( jQuery( '#wpadminbar' ).length ) {
|
1287 |
+
contentMinHeight = '96.7vh';
|
1288 |
+
}
|
1289 |
+
|
1290 |
+
if (pageHeight < jQuery(window).height()) {
|
1291 |
+
|
1292 |
+
jQuery(footer).css({
|
1293 |
+
'position': 'absolute',
|
1294 |
+
'bottom': '0',
|
1295 |
+
'width': '100%'
|
1296 |
+
});
|
1297 |
+
jQuery(content).css({
|
1298 |
+
'min-height': contentMinHeight,
|
1299 |
+
'padding-bottom': footerHeight + 'px'
|
1300 |
+
});
|
1301 |
+
}
|
1302 |
+
}
|
1303 |
});
|
1304 |
|
1305 |
jQuery(document).ready(function($){
|
modules/accordion/module.php
CHANGED
@@ -354,6 +354,17 @@ class DSLC_Accordion extends DSLC_Module {
|
|
354 |
'ext' => 'px',
|
355 |
'tab' => __( 'Header', 'live-composer-page-builder' ),
|
356 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
|
358 |
/**
|
359 |
* Title
|
@@ -1236,9 +1247,9 @@ class DSLC_Accordion extends DSLC_Module {
|
|
1236 |
|
1237 |
<?php if ( is_array( $accordion_contents ) && count( $accordion_contents ) > 0 ) : ?>
|
1238 |
|
1239 |
-
<?php foreach ( $accordion_contents as $accordion_content ) : ?>
|
1240 |
|
1241 |
-
<div class="dslc-accordion-item">
|
1242 |
|
1243 |
<div class="dslc-accordion-header dslc-accordion-hook">
|
1244 |
<span class="dslc-accordion-title" <?php if ( $dslc_is_admin ) { echo 'contenteditable data-exportable-content="h3"';} ?>><?php echo stripslashes( $accordion_nav[ $count ] ); ?></span>
|
@@ -1249,6 +1260,11 @@ class DSLC_Accordion extends DSLC_Module {
|
|
1249 |
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1250 |
</div>
|
1251 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
1252 |
</div>
|
1253 |
|
1254 |
<div class="dslc-accordion-content">
|
@@ -1287,6 +1303,10 @@ endforeach; ?>
|
|
1287 |
<span class="dslca-move-down-accordion-hook"><span class="dslca-icon dslc-icon-arrow-down"></span></span>
|
1288 |
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1289 |
</div>
|
|
|
|
|
|
|
|
|
1290 |
<?php endif; ?>
|
1291 |
</div>
|
1292 |
|
354 |
'ext' => 'px',
|
355 |
'tab' => __( 'Header', 'live-composer-page-builder' ),
|
356 |
),
|
357 |
+
array(
|
358 |
+
'label' => __( 'Toggle Icon Color', 'live-composer-page-builder' ),
|
359 |
+
'id' => 'css_header_toggle_icon_color',
|
360 |
+
'std' => '#e55f5f',
|
361 |
+
'type' => 'color',
|
362 |
+
'refresh_on_change' => false,
|
363 |
+
'affect_on_change_el' => '.dslc-accordion-header .dslca-toggle-accordion-hook',
|
364 |
+
'affect_on_change_rule' => 'color',
|
365 |
+
'section' => 'styling',
|
366 |
+
'tab' => __( 'Header', 'live-composer-page-builder' ),
|
367 |
+
),
|
368 |
|
369 |
/**
|
370 |
* Title
|
1247 |
|
1248 |
<?php if ( is_array( $accordion_contents ) && count( $accordion_contents ) > 0 ) : ?>
|
1249 |
|
1250 |
+
<?php foreach ( $accordion_contents as $accordion_key => $accordion_content ) : ?>
|
1251 |
|
1252 |
+
<div class="dslc-accordion-item" id="accordion-<?php echo $accordion_key; ?>">
|
1253 |
|
1254 |
<div class="dslc-accordion-header dslc-accordion-hook">
|
1255 |
<span class="dslc-accordion-title" <?php if ( $dslc_is_admin ) { echo 'contenteditable data-exportable-content="h3"';} ?>><?php echo stripslashes( $accordion_nav[ $count ] ); ?></span>
|
1260 |
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1261 |
</div>
|
1262 |
<?php endif; ?>
|
1263 |
+
<?php if ( ! $dslc_is_admin ) : ?>
|
1264 |
+
<div class="dslca-accordion-action-hooks">
|
1265 |
+
<span class="dslca-toggle-accordion-hook"><span class="dslca-icon dslc-icon-minus"></span></span>
|
1266 |
+
</div>
|
1267 |
+
<?php endif; ?>
|
1268 |
</div>
|
1269 |
|
1270 |
<div class="dslc-accordion-content">
|
1303 |
<span class="dslca-move-down-accordion-hook"><span class="dslca-icon dslc-icon-arrow-down"></span></span>
|
1304 |
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
1305 |
</div>
|
1306 |
+
<?php else : ?>
|
1307 |
+
<div class="dslca-accordion-action-hooks">
|
1308 |
+
<span class="dslca-toggle-accordion-hook"><span class="dslca-icon dslc-icon-minus"></span></span>
|
1309 |
+
</div>
|
1310 |
<?php endif; ?>
|
1311 |
</div>
|
1312 |
|
modules/blog/module.php
CHANGED
@@ -58,6 +58,18 @@ class DSLC_Blog extends DSLC_Module {
|
|
58 |
);
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
/**
|
62 |
* Options
|
63 |
*/
|
@@ -157,6 +169,33 @@ class DSLC_Blog extends DSLC_Module {
|
|
157 |
'type' => 'select',
|
158 |
'choices' => $this->shared_options( 'posts_per_row_choices' ),
|
159 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
array(
|
161 |
'label' => __( 'Categories', 'live-composer-page-builder' ),
|
162 |
'id' => 'categories',
|
@@ -211,6 +250,46 @@ class DSLC_Blog extends DSLC_Module {
|
|
211 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
212 |
'value' => 'comment_count',
|
213 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
),
|
215 |
),
|
216 |
array(
|
@@ -821,6 +900,10 @@ class DSLC_Blog extends DSLC_Module {
|
|
821 |
'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
|
822 |
'value' => 'bellow',
|
823 |
),
|
|
|
|
|
|
|
|
|
824 |
array(
|
825 |
'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
|
826 |
'value' => 'inside',
|
@@ -1234,6 +1317,14 @@ class DSLC_Blog extends DSLC_Module {
|
|
1234 |
'label' => __( 'Comment count', 'live-composer-page-builder' ),
|
1235 |
'value' => 'comment_count',
|
1236 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1237 |
),
|
1238 |
'section' => 'styling',
|
1239 |
'tab' => __( 'Meta', 'live-composer-page-builder' ),
|
@@ -3150,15 +3241,26 @@ class DSLC_Blog extends DSLC_Module {
|
|
3150 |
* @return void
|
3151 |
*/
|
3152 |
function output( $options ) {
|
|
|
3153 |
?>
|
3154 |
-
[dslc_module_blog_output]<?php echo serialize( $
|
3155 |
<?php
|
3156 |
}
|
3157 |
}
|
3158 |
|
3159 |
function dslc_module_blog_output( $atts, $content = null ) {
|
|
|
3160 |
// Uncode module options passed as serialized content.
|
3161 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3162 |
|
3163 |
ob_start();
|
3164 |
|
@@ -3201,13 +3303,19 @@ function dslc_module_blog_output( $atts, $content = null ) {
|
|
3201 |
if ( $query_offset > 0 && $paged > 1 ) { $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
|
3202 |
}
|
3203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3204 |
// General args
|
3205 |
$args = array(
|
3206 |
'paged' => $paged,
|
3207 |
'post_type' => 'post',
|
3208 |
'posts_per_page' => $options['amount'],
|
3209 |
'order' => $options['order'],
|
3210 |
-
'orderby' => $
|
3211 |
);
|
3212 |
|
3213 |
// Add offset
|
@@ -3219,25 +3327,44 @@ function dslc_module_blog_output( $atts, $content = null ) {
|
|
3219 |
$args['post_status'] = array( 'publish', 'private' );
|
3220 |
}
|
3221 |
|
|
|
|
|
3222 |
// Category args
|
3223 |
-
|
3224 |
|
3225 |
-
|
3226 |
|
3227 |
-
|
3228 |
-
|
3229 |
-
|
3230 |
-
|
3231 |
-
|
3232 |
-
|
3233 |
-
|
3234 |
-
|
3235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3236 |
}
|
3237 |
|
3238 |
-
|
3239 |
-
|
3240 |
-
|
3241 |
|
3242 |
// Exclude current post
|
3243 |
if ( is_singular( get_post_type() ) ) {
|
@@ -3500,9 +3627,37 @@ if ( $options['type'] == 'carousel' ) :
|
|
3500 |
|
3501 |
?><div class="dslc-loader"></div><div class="dslc-carousel" data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>" data-autoplay="<?php echo $options['carousel_autoplay']; ?>" data-columns="<?php echo $carousel_items; ?>" data-pagination="<?php if ( in_array( 'circles', $carousel_elements ) ) { echo 'true';
|
3502 |
} else { echo 'false';
|
3503 |
-
} ?>" data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>" data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php
|
3504 |
|
3505 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3506 |
|
3507 |
while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
3508 |
$count += $increment;
|
@@ -3538,66 +3693,68 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3538 |
}
|
3539 |
}
|
3540 |
|
3541 |
-
|
3542 |
-
|
3543 |
-
|
3544 |
|
3545 |
-
|
|
|
3546 |
|
3547 |
-
|
|
|
|
|
3548 |
|
3549 |
-
|
3550 |
-
|
3551 |
-
*/
|
3552 |
|
3553 |
-
|
3554 |
-
|
3555 |
|
3556 |
-
|
3557 |
-
|
3558 |
-
$thumb_url = $thumb_url[0];
|
3559 |
|
3560 |
-
|
3561 |
-
|
3562 |
-
|
3563 |
|
3564 |
-
|
3565 |
-
|
|
|
|
|
3566 |
|
3567 |
-
|
3568 |
-
$resize_width = $options['thumb_resize_width_manual'];
|
3569 |
-
}
|
3570 |
|
3571 |
-
|
3572 |
-
$resize_height = $options['thumb_resize_height'];
|
3573 |
-
}
|
3574 |
-
}
|
3575 |
|
3576 |
-
|
3577 |
|
3578 |
<?php if ( has_post_thumbnail() ) : ?>
|
3579 |
|
3580 |
<div class="dslc-blog-post-thumb dslc-post-thumb dslc-on-hover-anim">
|
3581 |
|
3582 |
-
|
3583 |
-
<?php
|
3584 |
-
$anchor_class = '';
|
3585 |
-
$anchor_href = get_permalink();
|
3586 |
|
3587 |
-
|
3588 |
-
|
3589 |
-
$
|
3590 |
-
$anchor_href =
|
3591 |
-
}
|
3592 |
-
?>
|
3593 |
|
3594 |
-
|
3595 |
-
|
3596 |
-
|
3597 |
-
|
3598 |
-
|
3599 |
-
|
3600 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3601 |
|
3602 |
<?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
|
3603 |
|
@@ -3698,7 +3855,7 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3698 |
|
3699 |
<?php endif; ?>
|
3700 |
|
3701 |
-
<?php if ( $options['main_location'] == 'bellow' && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
|
3702 |
|
3703 |
<div class="dslc-post-main dslc-blog-post-main">
|
3704 |
|
@@ -3744,8 +3901,49 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3744 |
</div><!-- .dslc-blog-post-meta-comment-count -->
|
3745 |
<?php endif; ?>
|
3746 |
|
3747 |
-
|
3748 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3749 |
<?php endif; ?>
|
3750 |
|
3751 |
<?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
|
@@ -3827,6 +4025,32 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3827 |
|
3828 |
<?php endif; ?>
|
3829 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3830 |
<?php endif; ?>
|
3831 |
|
3832 |
</div><!-- .dslc-blog-post -->
|
@@ -3876,6 +4100,7 @@ if ( $options['type'] == 'carousel' ) :
|
|
3876 |
dslc_post_pagination( array(
|
3877 |
'pages' => $num_pages,
|
3878 |
'type' => $options['pagination_type'],
|
|
|
3879 |
) );
|
3880 |
}
|
3881 |
|
58 |
);
|
59 |
}
|
60 |
|
61 |
+
// Get tags.
|
62 |
+
$tags = get_tags();
|
63 |
+
$tags_choices = array();
|
64 |
+
|
65 |
+
// Generate usable array of tags.
|
66 |
+
foreach ( $tags as $tag ) {
|
67 |
+
$tags_choices[] = array(
|
68 |
+
'label' => $tag->name,
|
69 |
+
'value' => $tag->term_id,
|
70 |
+
);
|
71 |
+
}
|
72 |
+
|
73 |
/**
|
74 |
* Options
|
75 |
*/
|
169 |
'type' => 'select',
|
170 |
'choices' => $this->shared_options( 'posts_per_row_choices' ),
|
171 |
),
|
172 |
+
array(
|
173 |
+
'label' => __( 'Filter Posts By', 'live-composer-page-builder' ),
|
174 |
+
'id' => 'filter_posts_by',
|
175 |
+
'std' => 'categories',
|
176 |
+
'type' => 'select',
|
177 |
+
'choices' => array(
|
178 |
+
array(
|
179 |
+
'label' => __( 'Categories', 'live-composer-page-builder' ),
|
180 |
+
'value' => 'categories',
|
181 |
+
),
|
182 |
+
array(
|
183 |
+
'label' => __( 'Tags', 'live-composer-page-builder' ),
|
184 |
+
'value' => 'tags',
|
185 |
+
),
|
186 |
+
),
|
187 |
+
'dependent_controls' => array(
|
188 |
+
'categories' => 'categories, categories_operator',
|
189 |
+
'tags' => 'tags',
|
190 |
+
),
|
191 |
+
),
|
192 |
+
array(
|
193 |
+
'label' => __( 'Tags', 'live-composer-page-builder' ),
|
194 |
+
'id' => 'tags',
|
195 |
+
'std' => '',
|
196 |
+
'type' => 'checkbox',
|
197 |
+
'choices' => $tags_choices,
|
198 |
+
),
|
199 |
array(
|
200 |
'label' => __( 'Categories', 'live-composer-page-builder' ),
|
201 |
'id' => 'categories',
|
250 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
251 |
'value' => 'comment_count',
|
252 |
),
|
253 |
+
array(
|
254 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
255 |
+
'value' => 'author',
|
256 |
+
),
|
257 |
+
),
|
258 |
+
),
|
259 |
+
array(
|
260 |
+
'label' => __( 'Second Order By', 'live-composer-page-builder' ),
|
261 |
+
'id' => 'second_orderby',
|
262 |
+
'std' => 'none',
|
263 |
+
'type' => 'select',
|
264 |
+
'choices' => array(
|
265 |
+
array(
|
266 |
+
'label' => __( 'None', 'live-composer-page-builder' ),
|
267 |
+
'value' => 'none',
|
268 |
+
),
|
269 |
+
array(
|
270 |
+
'label' => __( 'Publish Date', 'live-composer-page-builder' ),
|
271 |
+
'value' => 'date',
|
272 |
+
),
|
273 |
+
array(
|
274 |
+
'label' => __( 'Modified Date', 'live-composer-page-builder' ),
|
275 |
+
'value' => 'modified',
|
276 |
+
),
|
277 |
+
array(
|
278 |
+
'label' => __( 'Random', 'live-composer-page-builder' ),
|
279 |
+
'value' => 'rand',
|
280 |
+
),
|
281 |
+
array(
|
282 |
+
'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
|
283 |
+
'value' => 'title',
|
284 |
+
),
|
285 |
+
array(
|
286 |
+
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
287 |
+
'value' => 'comment_count',
|
288 |
+
),
|
289 |
+
array(
|
290 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
291 |
+
'value' => 'author',
|
292 |
+
),
|
293 |
),
|
294 |
),
|
295 |
array(
|
900 |
'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
|
901 |
'value' => 'bellow',
|
902 |
),
|
903 |
+
array(
|
904 |
+
'label' => __( 'Under Thumbnail', 'live-composer-page-builder' ),
|
905 |
+
'value' => 'under',
|
906 |
+
),
|
907 |
array(
|
908 |
'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
|
909 |
'value' => 'inside',
|
1317 |
'label' => __( 'Comment count', 'live-composer-page-builder' ),
|
1318 |
'value' => 'comment_count',
|
1319 |
),
|
1320 |
+
array(
|
1321 |
+
'label' => __( 'Category', 'live-composer-page-builder' ),
|
1322 |
+
'value' => 'category',
|
1323 |
+
),
|
1324 |
+
array(
|
1325 |
+
'label' => __( 'Tag', 'live-composer-page-builder' ),
|
1326 |
+
'value' => 'tag',
|
1327 |
+
),
|
1328 |
),
|
1329 |
'section' => 'styling',
|
1330 |
'tab' => __( 'Meta', 'live-composer-page-builder' ),
|
3241 |
* @return void
|
3242 |
*/
|
3243 |
function output( $options ) {
|
3244 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
3245 |
?>
|
3246 |
+
[dslc_module_blog_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_blog_output]
|
3247 |
<?php
|
3248 |
}
|
3249 |
}
|
3250 |
|
3251 |
function dslc_module_blog_output( $atts, $content = null ) {
|
3252 |
+
|
3253 |
// Uncode module options passed as serialized content.
|
3254 |
+
$data = @unserialize( $content );
|
3255 |
+
|
3256 |
+
if ( $data !== false ) {
|
3257 |
+
$options = unserialize( $content );
|
3258 |
+
} else {
|
3259 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
3260 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
3261 |
+
}, $content );
|
3262 |
+
$options = unserialize( $fixed_data );
|
3263 |
+
}
|
3264 |
|
3265 |
ob_start();
|
3266 |
|
3303 |
if ( $query_offset > 0 && $paged > 1 ) { $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
|
3304 |
}
|
3305 |
|
3306 |
+
$orderby = '';
|
3307 |
+
|
3308 |
+
if ( ! empty( $options['second_orderby'] ) && ( 'none' !== $options['second_orderby'] ) ) {
|
3309 |
+
$orderby = $options['orderby'] . ' ' . $options['second_orderby'];
|
3310 |
+
}
|
3311 |
+
|
3312 |
// General args
|
3313 |
$args = array(
|
3314 |
'paged' => $paged,
|
3315 |
'post_type' => 'post',
|
3316 |
'posts_per_page' => $options['amount'],
|
3317 |
'order' => $options['order'],
|
3318 |
+
'orderby' => $orderby,
|
3319 |
);
|
3320 |
|
3321 |
// Add offset
|
3327 |
$args['post_status'] = array( 'publish', 'private' );
|
3328 |
}
|
3329 |
|
3330 |
+
if ( 'categories' == $options['filter_posts_by'] ) {
|
3331 |
+
|
3332 |
// Category args
|
3333 |
+
if ( isset( $options['categories'] ) && $options['categories'] != '' ) {
|
3334 |
|
3335 |
+
$cats_array = explode( ' ', trim( $options['categories'] ) );
|
3336 |
|
3337 |
+
$args['tax_query'] = array(
|
3338 |
+
array(
|
3339 |
+
'taxonomy' => 'category',
|
3340 |
+
'field' => 'term_id',
|
3341 |
+
'terms' => $cats_array,
|
3342 |
+
'operator' => $options['categories_operator'],
|
3343 |
+
),
|
3344 |
+
);
|
3345 |
|
3346 |
+
}
|
3347 |
+
|
3348 |
+
} else {
|
3349 |
+
|
3350 |
+
// Tags args.
|
3351 |
+
if ( isset( $options['tags'] ) && $options['tags'] != '' ) {
|
3352 |
+
|
3353 |
+
$tags_array = explode( ' ', trim( $options['tags'] ) );
|
3354 |
+
|
3355 |
+
$args['tax_query'] = array(
|
3356 |
+
array(
|
3357 |
+
'taxonomy' => 'post_tag',
|
3358 |
+
'field' => 'term_id',
|
3359 |
+
'terms' => $tags_array,
|
3360 |
+
),
|
3361 |
+
);
|
3362 |
+
}
|
3363 |
}
|
3364 |
|
3365 |
+
// Exlcude and Include arrays
|
3366 |
+
$exclude = array();
|
3367 |
+
$include = array();
|
3368 |
|
3369 |
// Exclude current post
|
3370 |
if ( is_singular( get_post_type() ) ) {
|
3627 |
|
3628 |
?><div class="dslc-loader"></div><div class="dslc-carousel" data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>" data-autoplay="<?php echo $options['carousel_autoplay']; ?>" data-columns="<?php echo $carousel_items; ?>" data-pagination="<?php if ( in_array( 'circles', $carousel_elements ) ) { echo 'true';
|
3629 |
} else { echo 'false';
|
3630 |
+
} ?>" data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>" data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php endif;
|
3631 |
|
3632 |
+
$page_number = $dslc_query->query['paged'];
|
3633 |
+
|
3634 |
+
if ( $options['sticky_posts'] == 'enabled' && ( isset( $options['categories'] ) && $options['categories'] != '' ) && ( 1 == $page_number ) ) {
|
3635 |
+
$sticky_posts = get_option( 'sticky_posts' );
|
3636 |
+
|
3637 |
+
$args = array(
|
3638 |
+
'post_type' => 'post',
|
3639 |
+
'post__in' => $sticky_posts,
|
3640 |
+
'posts_per_page' => 2,
|
3641 |
+
'ignore_sticky_posts' => 1
|
3642 |
+
);
|
3643 |
+
|
3644 |
+
$sticky_query = new WP_Query($args);
|
3645 |
+
|
3646 |
+
if ( ! empty( $sticky_posts ) ) {
|
3647 |
+
|
3648 |
+
foreach( $dslc_query->posts as $key_post => $post ) {
|
3649 |
+
foreach( $sticky_query->posts as $key_sticky => $sticky_post ) {
|
3650 |
+
|
3651 |
+
if ( $sticky_post->ID == $post->ID ) {
|
3652 |
+
$sticky_post = $post;
|
3653 |
+
|
3654 |
+
unset( $dslc_query->posts[$key_post] );
|
3655 |
+
array_unshift( $dslc_query->posts, $sticky_post);
|
3656 |
+
}
|
3657 |
+
}
|
3658 |
+
}
|
3659 |
+
}
|
3660 |
+
}
|
3661 |
|
3662 |
while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
3663 |
$count += $increment;
|
3693 |
}
|
3694 |
}
|
3695 |
|
3696 |
+
/**
|
3697 |
+
* Manual Resize
|
3698 |
+
*/
|
3699 |
|
3700 |
+
$manual_resize = false;
|
3701 |
+
if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) || isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
|
3702 |
|
3703 |
+
$manual_resize = true;
|
3704 |
+
$thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
|
3705 |
+
$thumb_url = $thumb_url[0];
|
3706 |
|
3707 |
+
$thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
|
3708 |
+
if ( ! $thumb_alt ) { $thumb_alt = ''; }
|
|
|
3709 |
|
3710 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
3711 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
3712 |
|
3713 |
+
$resize_width = false;
|
3714 |
+
$resize_height = false;
|
|
|
3715 |
|
3716 |
+
if ( isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
|
3717 |
+
$resize_width = $options['thumb_resize_width_manual'];
|
3718 |
+
}
|
3719 |
|
3720 |
+
if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) ) {
|
3721 |
+
$resize_height = $options['thumb_resize_height'];
|
3722 |
+
}
|
3723 |
+
}
|
3724 |
|
3725 |
+
?>
|
|
|
|
|
3726 |
|
3727 |
+
<div class="<?php echo $element_class . $columns_class . $extra_class; ?>" data-cats="<?php echo $post_cats_data; ?>">
|
|
|
|
|
|
|
3728 |
|
3729 |
+
<?php if ( $post_elements == 'all' || in_array( 'thumbnail', $post_elements ) ) : ?>
|
3730 |
|
3731 |
<?php if ( has_post_thumbnail() ) : ?>
|
3732 |
|
3733 |
<div class="dslc-blog-post-thumb dslc-post-thumb dslc-on-hover-anim">
|
3734 |
|
3735 |
+
<?php if ( $options['main_location'] !== 'under' ) : ?>
|
|
|
|
|
|
|
3736 |
|
3737 |
+
<div class="dslc-blog-post-thumb-inner dslca-post-thumb">
|
3738 |
+
<?php
|
3739 |
+
$anchor_class = '';
|
3740 |
+
$anchor_href = get_permalink();
|
|
|
|
|
3741 |
|
3742 |
+
if ( 'lightbox' === $options['link_type'] ) {
|
3743 |
+
$anchor_class = 'dslc-lightbox-image';
|
3744 |
+
$anchor_href = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
|
3745 |
+
$anchor_href = $anchor_href[0];
|
3746 |
+
}
|
3747 |
+
?>
|
3748 |
+
|
3749 |
+
<?php if ( $manual_resize ) : ?>
|
3750 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3751 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
3752 |
+
<?php else : ?>
|
3753 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
3754 |
+
<?php endif; ?>
|
3755 |
+
</div><!-- .dslc-blog-post-thumb-inner -->
|
3756 |
+
|
3757 |
+
<?php endif; ?>
|
3758 |
|
3759 |
<?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
|
3760 |
|
3855 |
|
3856 |
<?php endif; ?>
|
3857 |
|
3858 |
+
<?php if ( ( $options['main_location'] == 'bellow' || $options['main_location'] == 'under' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
|
3859 |
|
3860 |
<div class="dslc-post-main dslc-blog-post-main">
|
3861 |
|
3901 |
</div><!-- .dslc-blog-post-meta-comment-count -->
|
3902 |
<?php endif; ?>
|
3903 |
|
3904 |
+
<div class="clearfix"></div>
|
3905 |
|
3906 |
+
<div class="meta-category">
|
3907 |
+
<?php if ( in_array( 'category', $meta_elements ) ) : ?>
|
3908 |
+
<div class="dslc-blog-post-meta-category">
|
3909 |
+
<?php
|
3910 |
+
|
3911 |
+
$post_cats_count = 0;
|
3912 |
+
|
3913 |
+
$post_cats = get_the_category( get_the_ID() );
|
3914 |
+
if ( ! empty( $post_cats ) ) {
|
3915 |
+
foreach ( $post_cats as $post_cat ) {
|
3916 |
+
$post_cats_count++;
|
3917 |
+
if ( $post_cats_count > 1 ) { echo ', '; }
|
3918 |
+
echo $post_cat->name;
|
3919 |
+
}
|
3920 |
+
}
|
3921 |
+
|
3922 |
+
?>
|
3923 |
+
</div><!-- .dslc-blog-post-meta-category -->
|
3924 |
+
<?php endif; ?>
|
3925 |
+
<?php if ( in_array( 'tag', $meta_elements ) ) : ?>
|
3926 |
+
<div class="dslc-blog-post-meta-tag">
|
3927 |
+
<?php
|
3928 |
+
|
3929 |
+
$post_tags_count = 0;
|
3930 |
+
|
3931 |
+
$post_tags = get_the_tags( get_the_ID() );
|
3932 |
+
if ( ! empty( $post_tags ) ) {
|
3933 |
+
foreach ( $post_tags as $post_cat ) {
|
3934 |
+
$post_tags_count++;
|
3935 |
+
if ( $post_tags_count > 1 ) { echo ', '; }
|
3936 |
+
echo $post_cat->name;
|
3937 |
+
}
|
3938 |
+
}
|
3939 |
+
|
3940 |
+
?>
|
3941 |
+
</div><!-- .dslc-blog-post-meta-tag -->
|
3942 |
+
<?php endif; ?>
|
3943 |
+
</div>
|
3944 |
+
|
3945 |
+
</div><!-- .dslc-blog-post-meta -->
|
3946 |
+
|
3947 |
<?php endif; ?>
|
3948 |
|
3949 |
<?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
|
4025 |
|
4026 |
<?php endif; ?>
|
4027 |
|
4028 |
+
<?php if ( $options['main_location'] == 'under' && in_array( 'thumbnail', $post_elements ) ) : ?>
|
4029 |
+
|
4030 |
+
<div class="dslc-blog-post-thumb dslc-post-thumb">
|
4031 |
+
<div class="dslc-blog-post-thumb-inner dslca-post-thumb">
|
4032 |
+
<?php
|
4033 |
+
$anchor_class = '';
|
4034 |
+
$anchor_href = get_permalink();
|
4035 |
+
|
4036 |
+
if ( 'lightbox' === $options['link_type'] ) {
|
4037 |
+
$anchor_class = 'dslc-lightbox-image';
|
4038 |
+
$anchor_href = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
|
4039 |
+
$anchor_href = $anchor_href[0];
|
4040 |
+
}
|
4041 |
+
?>
|
4042 |
+
|
4043 |
+
<?php if ( $manual_resize ) : ?>
|
4044 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
4045 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
4046 |
+
<?php else : ?>
|
4047 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
4048 |
+
<?php endif; ?>
|
4049 |
+
</div><!-- .dslc-blog-post-thumb-inner -->
|
4050 |
+
</div>
|
4051 |
+
|
4052 |
+
<?php endif; ?>
|
4053 |
+
|
4054 |
<?php endif; ?>
|
4055 |
|
4056 |
</div><!-- .dslc-blog-post -->
|
4100 |
dslc_post_pagination( array(
|
4101 |
'pages' => $num_pages,
|
4102 |
'type' => $options['pagination_type'],
|
4103 |
+
'pagination_text' => $options['pagination_text'],
|
4104 |
) );
|
4105 |
}
|
4106 |
|
modules/downloads/module.php
CHANGED
@@ -225,6 +225,10 @@ class DSLC_Downloads extends DSLC_Module {
|
|
225 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
226 |
'value' => 'comment_count',
|
227 |
),
|
|
|
|
|
|
|
|
|
228 |
),
|
229 |
),
|
230 |
array(
|
@@ -2481,16 +2485,27 @@ class DSLC_Downloads extends DSLC_Module {
|
|
2481 |
* @return void
|
2482 |
*/
|
2483 |
function output( $options ) {
|
|
|
2484 |
?>
|
2485 |
-
[dslc_module_downloads_output]<?php echo serialize( $
|
2486 |
<?php
|
2487 |
|
2488 |
}
|
2489 |
}
|
2490 |
|
2491 |
function dslc_module_downloads_output( $atts, $content = null ) {
|
|
|
2492 |
// Uncode module options passed as serialized content.
|
2493 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2494 |
|
2495 |
ob_start();
|
2496 |
|
@@ -2890,6 +2905,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
2890 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
2891 |
}
|
2892 |
|
|
|
|
|
|
|
2893 |
$resize_width = false;
|
2894 |
$resize_height = false;
|
2895 |
|
@@ -2922,16 +2940,16 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
2922 |
<?php if ( $manual_resize ) : ?>
|
2923 |
<?php if ( $link_to_single ) : ?>
|
2924 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2925 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
2926 |
<?php else : ?>
|
2927 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2928 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" />
|
2929 |
<?php endif; ?>
|
2930 |
<?php else : ?>
|
2931 |
<?php if ( $link_to_single ) : ?>
|
2932 |
-
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
2933 |
<?php else : ?>
|
2934 |
-
<?php the_post_thumbnail( 'full' ); ?>
|
2935 |
<?php endif; ?>
|
2936 |
<?php endif; ?>
|
2937 |
</div><!-- .dslc-download-thumb-inner -->
|
@@ -3173,6 +3191,7 @@ if ( $options['type'] == 'carousel' ) :
|
|
3173 |
dslc_post_pagination( array(
|
3174 |
'pages' => $num_pages,
|
3175 |
'type' => $options['pagination_type'],
|
|
|
3176 |
) );
|
3177 |
}
|
3178 |
|
225 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
226 |
'value' => 'comment_count',
|
227 |
),
|
228 |
+
array(
|
229 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
230 |
+
'value' => 'author',
|
231 |
+
),
|
232 |
),
|
233 |
),
|
234 |
array(
|
2485 |
* @return void
|
2486 |
*/
|
2487 |
function output( $options ) {
|
2488 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2489 |
?>
|
2490 |
+
[dslc_module_downloads_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_downloads_output]
|
2491 |
<?php
|
2492 |
|
2493 |
}
|
2494 |
}
|
2495 |
|
2496 |
function dslc_module_downloads_output( $atts, $content = null ) {
|
2497 |
+
|
2498 |
// Uncode module options passed as serialized content.
|
2499 |
+
$data = @unserialize( $content );
|
2500 |
+
|
2501 |
+
if ( $data !== false ) {
|
2502 |
+
$options = unserialize( $content );
|
2503 |
+
} else {
|
2504 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2505 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2506 |
+
}, $content );
|
2507 |
+
$options = unserialize( $fixed_data );
|
2508 |
+
}
|
2509 |
|
2510 |
ob_start();
|
2511 |
|
2905 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
2906 |
}
|
2907 |
|
2908 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
2909 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
2910 |
+
|
2911 |
$resize_width = false;
|
2912 |
$resize_height = false;
|
2913 |
|
2940 |
<?php if ( $manual_resize ) : ?>
|
2941 |
<?php if ( $link_to_single ) : ?>
|
2942 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2943 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
2944 |
<?php else : ?>
|
2945 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2946 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" />
|
2947 |
<?php endif; ?>
|
2948 |
<?php else : ?>
|
2949 |
<?php if ( $link_to_single ) : ?>
|
2950 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
2951 |
<?php else : ?>
|
2952 |
+
<?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
2953 |
<?php endif; ?>
|
2954 |
<?php endif; ?>
|
2955 |
</div><!-- .dslc-download-thumb-inner -->
|
3191 |
dslc_post_pagination( array(
|
3192 |
'pages' => $num_pages,
|
3193 |
'type' => $options['pagination_type'],
|
3194 |
+
'pagination_text' => $options['pagination_text'],
|
3195 |
) );
|
3196 |
}
|
3197 |
|
modules/galleries/module.php
CHANGED
@@ -209,6 +209,10 @@ class DSLC_Galleries extends DSLC_Module {
|
|
209 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
210 |
'value' => 'comment_count',
|
211 |
),
|
|
|
|
|
|
|
|
|
212 |
),
|
213 |
),
|
214 |
array(
|
@@ -1586,6 +1590,24 @@ class DSLC_Galleries extends DSLC_Module {
|
|
1586 |
* Button
|
1587 |
*/
|
1588 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1589 |
array(
|
1590 |
'label' => __( 'Align', 'live-composer-page-builder' ),
|
1591 |
'id' => 'css_button_align',
|
@@ -1855,6 +1877,24 @@ class DSLC_Galleries extends DSLC_Module {
|
|
1855 |
'ext' => 'px',
|
1856 |
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1857 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1858 |
array(
|
1859 |
'label' => __( 'Show Icon', 'live-composer-page-builder' ),
|
1860 |
'id' => 'show_icon',
|
@@ -1942,6 +1982,18 @@ class DSLC_Galleries extends DSLC_Module {
|
|
1942 |
'ext' => 'px',
|
1943 |
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1944 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1945 |
|
1946 |
/**
|
1947 |
* Responsive Tablet
|
@@ -2686,16 +2738,27 @@ class DSLC_Galleries extends DSLC_Module {
|
|
2686 |
* @return void
|
2687 |
*/
|
2688 |
function output( $options ) {
|
|
|
2689 |
?>
|
2690 |
-
[dslc_module_galleries_output]<?php echo serialize( $
|
2691 |
<?php
|
2692 |
|
2693 |
}
|
2694 |
}
|
2695 |
|
2696 |
function dslc_module_galleries_output( $atts, $content = null ) {
|
|
|
2697 |
// Uncode module options passed as serialized content.
|
2698 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2699 |
|
2700 |
ob_start();
|
2701 |
|
@@ -3113,6 +3176,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3113 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
3114 |
}
|
3115 |
|
|
|
|
|
|
|
3116 |
$resize_width = false;
|
3117 |
$resize_height = false;
|
3118 |
|
@@ -3128,9 +3194,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3128 |
|
3129 |
<?php if ( $manual_resize ) : ?>
|
3130 |
<a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3131 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
3132 |
<?php else : ?>
|
3133 |
-
<a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
3134 |
<?php endif; ?>
|
3135 |
|
3136 |
<?php if ( $post_elements == 'all' || in_array( 'count', $post_elements ) ) : ?>
|
@@ -3195,13 +3261,22 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3195 |
<?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
|
3196 |
|
3197 |
<div class="dslc-gallery-read-more">
|
3198 |
-
<a href="<?php the_permalink(); ?>">
|
|
|
3199 |
<?php if ( 'svg' == $options['show_icon'] ) : ?>
|
3200 |
<?php echo stripslashes( $options['button_inline_svg'] ); ?>
|
3201 |
<?php else : ?>
|
3202 |
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
3203 |
<?php endif; ?>
|
|
|
3204 |
<?php echo $options['button_text']; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3205 |
</a>
|
3206 |
</div><!-- .dslc-gallery-read-more -->
|
3207 |
|
@@ -3270,13 +3345,22 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3270 |
<?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
|
3271 |
|
3272 |
<div class="dslc-gallery-read-more">
|
3273 |
-
<a href="<?php the_permalink(); ?>">
|
3274 |
-
<?php if ( '
|
3275 |
-
<?php
|
3276 |
-
|
3277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3278 |
<?php endif; ?>
|
3279 |
-
<?php echo $options['button_text']; ?>
|
3280 |
</a>
|
3281 |
</div><!-- .dslc-gallery-read-more -->
|
3282 |
|
@@ -3354,6 +3438,7 @@ if ( $options['type'] == 'carousel' ) :
|
|
3354 |
dslc_post_pagination( array(
|
3355 |
'pages' => $num_pages,
|
3356 |
'type' => $options['pagination_type'],
|
|
|
3357 |
) );
|
3358 |
}
|
3359 |
|
209 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
210 |
'value' => 'comment_count',
|
211 |
),
|
212 |
+
array(
|
213 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
214 |
+
'value' => 'author',
|
215 |
+
),
|
216 |
),
|
217 |
),
|
218 |
array(
|
1590 |
* Button
|
1591 |
*/
|
1592 |
|
1593 |
+
array(
|
1594 |
+
'label' => __( 'Open in', 'live-composer-page-builder' ),
|
1595 |
+
'id' => 'button_target',
|
1596 |
+
'std' => '_self',
|
1597 |
+
'type' => 'select',
|
1598 |
+
'choices' => array(
|
1599 |
+
array(
|
1600 |
+
'label' => __( 'Same Tab', 'live-composer-page-builder' ),
|
1601 |
+
'value' => '_self',
|
1602 |
+
),
|
1603 |
+
array(
|
1604 |
+
'label' => __( 'New Tab', 'live-composer-page-builder' ),
|
1605 |
+
'value' => '_blank',
|
1606 |
+
),
|
1607 |
+
),
|
1608 |
+
'section' => 'styling',
|
1609 |
+
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1610 |
+
),
|
1611 |
array(
|
1612 |
'label' => __( 'Align', 'live-composer-page-builder' ),
|
1613 |
'id' => 'css_button_align',
|
1877 |
'ext' => 'px',
|
1878 |
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1879 |
),
|
1880 |
+
array(
|
1881 |
+
'label' => __( 'Position', 'live-composer-page-builder' ),
|
1882 |
+
'id' => 'icon_pos',
|
1883 |
+
'std' => 'left',
|
1884 |
+
'type' => 'select',
|
1885 |
+
'choices' => array(
|
1886 |
+
array(
|
1887 |
+
'label' => __( 'Left', 'live-composer-page-builder' ),
|
1888 |
+
'value' => 'left',
|
1889 |
+
),
|
1890 |
+
array(
|
1891 |
+
'label' => __( 'Right', 'live-composer-page-builder' ),
|
1892 |
+
'value' => 'right',
|
1893 |
+
),
|
1894 |
+
),
|
1895 |
+
'section' => 'styling',
|
1896 |
+
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1897 |
+
),
|
1898 |
array(
|
1899 |
'label' => __( 'Show Icon', 'live-composer-page-builder' ),
|
1900 |
'id' => 'show_icon',
|
1982 |
'ext' => 'px',
|
1983 |
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1984 |
),
|
1985 |
+
array(
|
1986 |
+
'label' => __( 'Icon - Margin Left', 'live-composer-page-builder' ),
|
1987 |
+
'id' => 'css_button_icon_margin_left',
|
1988 |
+
'std' => '5',
|
1989 |
+
'type' => 'slider',
|
1990 |
+
'refresh_on_change' => false,
|
1991 |
+
'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon, .dslc-gallery-read-more a svg',
|
1992 |
+
'affect_on_change_rule' => 'margin-left',
|
1993 |
+
'section' => 'styling',
|
1994 |
+
'ext' => 'px',
|
1995 |
+
'tab' => __( 'Button', 'live-composer-page-builder' ),
|
1996 |
+
),
|
1997 |
|
1998 |
/**
|
1999 |
* Responsive Tablet
|
2738 |
* @return void
|
2739 |
*/
|
2740 |
function output( $options ) {
|
2741 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2742 |
?>
|
2743 |
+
[dslc_module_galleries_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_galleries_output]
|
2744 |
<?php
|
2745 |
|
2746 |
}
|
2747 |
}
|
2748 |
|
2749 |
function dslc_module_galleries_output( $atts, $content = null ) {
|
2750 |
+
|
2751 |
// Uncode module options passed as serialized content.
|
2752 |
+
$data = @unserialize( $content );
|
2753 |
+
|
2754 |
+
if ( $data !== false ) {
|
2755 |
+
$options = unserialize( $content );
|
2756 |
+
} else {
|
2757 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2758 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2759 |
+
}, $content );
|
2760 |
+
$options = unserialize( $fixed_data );
|
2761 |
+
}
|
2762 |
|
2763 |
ob_start();
|
2764 |
|
3176 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
3177 |
}
|
3178 |
|
3179 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
3180 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
3181 |
+
|
3182 |
$resize_width = false;
|
3183 |
$resize_height = false;
|
3184 |
|
3194 |
|
3195 |
<?php if ( $manual_resize ) : ?>
|
3196 |
<a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3197 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
3198 |
<?php else : ?>
|
3199 |
+
<a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
3200 |
<?php endif; ?>
|
3201 |
|
3202 |
<?php if ( $post_elements == 'all' || in_array( 'count', $post_elements ) ) : ?>
|
3261 |
<?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
|
3262 |
|
3263 |
<div class="dslc-gallery-read-more">
|
3264 |
+
<a href="<?php the_permalink(); ?>" target="<?php echo $options['button_target']; ?>">
|
3265 |
+
<?php if ( $options['icon_pos'] == 'left' ) : ?>
|
3266 |
<?php if ( 'svg' == $options['show_icon'] ) : ?>
|
3267 |
<?php echo stripslashes( $options['button_inline_svg'] ); ?>
|
3268 |
<?php else : ?>
|
3269 |
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
3270 |
<?php endif; ?>
|
3271 |
+
<?php endif; ?>
|
3272 |
<?php echo $options['button_text']; ?>
|
3273 |
+
<?php if ( $options['icon_pos'] == 'right' ) : ?>
|
3274 |
+
<?php if ( 'svg' == $options['show_icon'] ) : ?>
|
3275 |
+
<?php echo stripslashes( $options['button_inline_svg'] ); ?>
|
3276 |
+
<?php else : ?>
|
3277 |
+
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
3278 |
+
<?php endif; ?>
|
3279 |
+
<?php endif; ?>
|
3280 |
</a>
|
3281 |
</div><!-- .dslc-gallery-read-more -->
|
3282 |
|
3345 |
<?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
|
3346 |
|
3347 |
<div class="dslc-gallery-read-more">
|
3348 |
+
<a href="<?php the_permalink(); ?>" target="<?php echo $options['button_target']; ?>">
|
3349 |
+
<?php if ( $options['icon_pos'] == 'left' ) : ?>
|
3350 |
+
<?php if ( 'svg' == $options['show_icon'] ) : ?>
|
3351 |
+
<?php echo stripslashes( $options['button_inline_svg'] ); ?>
|
3352 |
+
<?php else : ?>
|
3353 |
+
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
3354 |
+
<?php endif; ?>
|
3355 |
+
<?php endif; ?>
|
3356 |
+
<?php echo $options['button_text']; ?>
|
3357 |
+
<?php if ( $options['icon_pos'] == 'right' ) : ?>
|
3358 |
+
<?php if ( 'svg' == $options['show_icon'] ) : ?>
|
3359 |
+
<?php echo stripslashes( $options['button_inline_svg'] ); ?>
|
3360 |
+
<?php else : ?>
|
3361 |
+
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
3362 |
+
<?php endif; ?>
|
3363 |
<?php endif; ?>
|
|
|
3364 |
</a>
|
3365 |
</div><!-- .dslc-gallery-read-more -->
|
3366 |
|
3438 |
dslc_post_pagination( array(
|
3439 |
'pages' => $num_pages,
|
3440 |
'type' => $options['pagination_type'],
|
3441 |
+
'pagination_text' => $options['pagination_text'],
|
3442 |
) );
|
3443 |
}
|
3444 |
|
modules/html/module.php
CHANGED
@@ -95,23 +95,6 @@ class DSLC_Html extends DSLC_Module {
|
|
95 |
* Styling Options
|
96 |
*/
|
97 |
|
98 |
-
array(
|
99 |
-
'label' => __( 'Enable/Disable Custom CSS', 'live-composer-page-builder' ),
|
100 |
-
'id' => 'css_custom',
|
101 |
-
'std' => 'disabled',
|
102 |
-
'type' => 'select',
|
103 |
-
'choices' => array(
|
104 |
-
array(
|
105 |
-
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
106 |
-
'value' => 'enabled',
|
107 |
-
),
|
108 |
-
array(
|
109 |
-
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
110 |
-
'value' => 'disabled',
|
111 |
-
),
|
112 |
-
),
|
113 |
-
'section' => 'styling',
|
114 |
-
),
|
115 |
array(
|
116 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
117 |
'id' => 'css_main_bg_color',
|
95 |
* Styling Options
|
96 |
*/
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
array(
|
99 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
100 |
'id' => 'css_main_bg_color',
|
modules/infobox/module.php
CHANGED
@@ -1588,6 +1588,452 @@ class DSLC_Info_Box extends DSLC_Module {
|
|
1588 |
'ext' => 'px',
|
1589 |
),
|
1590 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1591 |
/**
|
1592 |
* Button
|
1593 |
*/
|
@@ -2724,6 +3170,95 @@ class DSLC_Info_Box extends DSLC_Module {
|
|
2724 |
'section' => 'responsive',
|
2725 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
2726 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2727 |
array(
|
2728 |
'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
|
2729 |
'id' => 'css_res_t_button_font_size',
|
@@ -3111,6 +3646,95 @@ class DSLC_Info_Box extends DSLC_Module {
|
|
3111 |
'section' => 'responsive',
|
3112 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3113 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3114 |
array(
|
3115 |
'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
|
3116 |
'id' => 'css_res_p_button_font_size',
|
1588 |
'ext' => 'px',
|
1589 |
),
|
1590 |
|
1591 |
+
/**
|
1592 |
+
* Lists
|
1593 |
+
*/
|
1594 |
+
|
1595 |
+
array(
|
1596 |
+
'label' => __( 'Color', 'live-composer-page-builder' ),
|
1597 |
+
'id' => 'css_li_color',
|
1598 |
+
'std' => '',
|
1599 |
+
'type' => 'color',
|
1600 |
+
'refresh_on_change' => false,
|
1601 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1602 |
+
'affect_on_change_rule' => 'color',
|
1603 |
+
'section' => 'styling',
|
1604 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1605 |
+
),
|
1606 |
+
array(
|
1607 |
+
'label' => __( 'Font Size', 'live-composer-page-builder' ),
|
1608 |
+
'id' => 'css_li_font_size',
|
1609 |
+
'onlypositive' => true, // Value can't be negative.
|
1610 |
+
'std' => '13',
|
1611 |
+
'type' => 'slider',
|
1612 |
+
'refresh_on_change' => false,
|
1613 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1614 |
+
'affect_on_change_rule' => 'font-size',
|
1615 |
+
'section' => 'styling',
|
1616 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1617 |
+
'ext' => 'px',
|
1618 |
+
),
|
1619 |
+
array(
|
1620 |
+
'label' => __( 'Font Weight', 'live-composer-page-builder' ),
|
1621 |
+
'id' => 'css_li_font_weight',
|
1622 |
+
'std' => '400',
|
1623 |
+
'type' => 'select',
|
1624 |
+
'choices' => array(
|
1625 |
+
array(
|
1626 |
+
'label' => '100 - Thin',
|
1627 |
+
'value' => '100',
|
1628 |
+
),
|
1629 |
+
array(
|
1630 |
+
'label' => '200 - Extra Light',
|
1631 |
+
'value' => '200',
|
1632 |
+
),
|
1633 |
+
array(
|
1634 |
+
'label' => '300 - Light',
|
1635 |
+
'value' => '300',
|
1636 |
+
),
|
1637 |
+
array(
|
1638 |
+
'label' => '400 - Normal',
|
1639 |
+
'value' => '400',
|
1640 |
+
),
|
1641 |
+
array(
|
1642 |
+
'label' => '500 - Medium',
|
1643 |
+
'value' => '500',
|
1644 |
+
),
|
1645 |
+
array(
|
1646 |
+
'label' => '600 - Semi Bold',
|
1647 |
+
'value' => '600',
|
1648 |
+
),
|
1649 |
+
array(
|
1650 |
+
'label' => '700 - Bold',
|
1651 |
+
'value' => '700',
|
1652 |
+
),
|
1653 |
+
array(
|
1654 |
+
'label' => '800 - Extra Bold',
|
1655 |
+
'value' => '800',
|
1656 |
+
),
|
1657 |
+
array(
|
1658 |
+
'label' => '900 - Black',
|
1659 |
+
'value' => '900',
|
1660 |
+
),
|
1661 |
+
),
|
1662 |
+
'refresh_on_change' => false,
|
1663 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1664 |
+
'affect_on_change_rule' => 'font-weight',
|
1665 |
+
'section' => 'styling',
|
1666 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1667 |
+
'ext' => '',
|
1668 |
+
),
|
1669 |
+
array(
|
1670 |
+
'label' => __( 'Font Family', 'live-composer-page-builder' ),
|
1671 |
+
'id' => 'css_li_font_family',
|
1672 |
+
'std' => 'Open Sans',
|
1673 |
+
'type' => 'font',
|
1674 |
+
'refresh_on_change' => false,
|
1675 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1676 |
+
'affect_on_change_rule' => 'font-family',
|
1677 |
+
'section' => 'styling',
|
1678 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1679 |
+
),
|
1680 |
+
array(
|
1681 |
+
'label' => __( 'Line Height', 'live-composer-page-builder' ),
|
1682 |
+
'id' => 'css_li_line_height',
|
1683 |
+
'onlypositive' => true, // Value can't be negative.
|
1684 |
+
'std' => '22',
|
1685 |
+
'type' => 'slider',
|
1686 |
+
'refresh_on_change' => false,
|
1687 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1688 |
+
'affect_on_change_rule' => 'line-height',
|
1689 |
+
'section' => 'styling',
|
1690 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1691 |
+
'ext' => 'px',
|
1692 |
+
),
|
1693 |
+
array(
|
1694 |
+
'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
|
1695 |
+
'id' => 'css_ul_margin_bottom',
|
1696 |
+
'std' => '25',
|
1697 |
+
'type' => 'slider',
|
1698 |
+
'refresh_on_change' => false,
|
1699 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
1700 |
+
'affect_on_change_rule' => 'margin-bottom',
|
1701 |
+
'section' => 'styling',
|
1702 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1703 |
+
'ext' => 'px',
|
1704 |
+
),
|
1705 |
+
array(
|
1706 |
+
'label' => __( 'Margin Left', 'live-composer-page-builder' ),
|
1707 |
+
'id' => 'css_ul_margin_left',
|
1708 |
+
'std' => '25',
|
1709 |
+
'type' => 'slider',
|
1710 |
+
'refresh_on_change' => false,
|
1711 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
1712 |
+
'affect_on_change_rule' => 'margin-left',
|
1713 |
+
'section' => 'styling',
|
1714 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1715 |
+
'ext' => 'px',
|
1716 |
+
),
|
1717 |
+
array(
|
1718 |
+
'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
|
1719 |
+
'id' => 'css_ul_style',
|
1720 |
+
'std' => 'disc',
|
1721 |
+
'type' => 'select',
|
1722 |
+
'choices' => array(
|
1723 |
+
array(
|
1724 |
+
'label' => __( 'Armenian', 'live-composer-page-builder' ),
|
1725 |
+
'value' => 'armenian',
|
1726 |
+
),
|
1727 |
+
array(
|
1728 |
+
'label' => __( 'Circle', 'live-composer-page-builder' ),
|
1729 |
+
'value' => 'circle',
|
1730 |
+
),
|
1731 |
+
array(
|
1732 |
+
'label' => __( 'Cjk-ideographic', 'live-composer-page-builder' ),
|
1733 |
+
'value' => 'cjk-ideographic',
|
1734 |
+
),
|
1735 |
+
array(
|
1736 |
+
'label' => __( 'Decimal', 'live-composer-page-builder' ),
|
1737 |
+
'value' => 'decimal',
|
1738 |
+
),
|
1739 |
+
array(
|
1740 |
+
'label' => __( 'Decimal Leading Zero', 'live-composer-page-builder' ),
|
1741 |
+
'value' => 'decimal-leading-zero',
|
1742 |
+
),
|
1743 |
+
array(
|
1744 |
+
'label' => __( 'Hebrew', 'live-composer-page-builder' ),
|
1745 |
+
'value' => 'hebrew',
|
1746 |
+
),
|
1747 |
+
array(
|
1748 |
+
'label' => __( 'Hiragana', 'live-composer-page-builder' ),
|
1749 |
+
'value' => 'hiragana',
|
1750 |
+
),
|
1751 |
+
array(
|
1752 |
+
'label' => __( 'Hiragana Iroha', 'live-composer-page-builder' ),
|
1753 |
+
'value' => 'hiragana-iroha',
|
1754 |
+
),
|
1755 |
+
array(
|
1756 |
+
'label' => __( 'Katakana', 'live-composer-page-builder' ),
|
1757 |
+
'value' => 'katakana',
|
1758 |
+
),
|
1759 |
+
array(
|
1760 |
+
'label' => __( 'Katakana Iroha', 'live-composer-page-builder' ),
|
1761 |
+
'value' => 'katakana-iroha',
|
1762 |
+
),
|
1763 |
+
array(
|
1764 |
+
'label' => __( 'Lower Alpha', 'live-composer-page-builder' ),
|
1765 |
+
'value' => 'lower-alpha',
|
1766 |
+
),
|
1767 |
+
array(
|
1768 |
+
'label' => __( 'Lower Greek', 'live-composer-page-builder' ),
|
1769 |
+
'value' => 'lower-greek',
|
1770 |
+
),
|
1771 |
+
array(
|
1772 |
+
'label' => __( 'Lower Latin', 'live-composer-page-builder' ),
|
1773 |
+
'value' => 'lower-latin',
|
1774 |
+
),
|
1775 |
+
array(
|
1776 |
+
'label' => __( 'Lower Roman', 'live-composer-page-builder' ),
|
1777 |
+
'value' => 'lower-roman',
|
1778 |
+
),
|
1779 |
+
array(
|
1780 |
+
'label' => __( 'None', 'live-composer-page-builder' ),
|
1781 |
+
'value' => 'none',
|
1782 |
+
),
|
1783 |
+
array(
|
1784 |
+
'label' => __( 'Upper Alpha', 'live-composer-page-builder' ),
|
1785 |
+
'value' => 'upper-alpha',
|
1786 |
+
),
|
1787 |
+
array(
|
1788 |
+
'label' => __( 'Upper Latin', 'live-composer-page-builder' ),
|
1789 |
+
'value' => 'upper-latin',
|
1790 |
+
),
|
1791 |
+
array(
|
1792 |
+
'label' => __( 'Upper Roman', 'live-composer-page-builder' ),
|
1793 |
+
'value' => 'upper-roman',
|
1794 |
+
),
|
1795 |
+
array(
|
1796 |
+
'label' => __( 'Inherit', 'live-composer-page-builder' ),
|
1797 |
+
'value' => 'inherit',
|
1798 |
+
),
|
1799 |
+
),
|
1800 |
+
'section' => 'styling',
|
1801 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1802 |
+
'refresh_on_change' => false,
|
1803 |
+
'affect_on_change_el' => '.dslc-info-box-content ul',
|
1804 |
+
'affect_on_change_rule' => 'list-style-type',
|
1805 |
+
),
|
1806 |
+
array(
|
1807 |
+
'label' => __( 'Ordered Style', 'live-composer-page-builder' ),
|
1808 |
+
'id' => 'css_ol_style',
|
1809 |
+
'std' => 'decimal',
|
1810 |
+
'type' => 'select',
|
1811 |
+
'choices' => array(
|
1812 |
+
array(
|
1813 |
+
'label' => __( 'Armenian', 'live-composer-page-builder' ),
|
1814 |
+
'value' => 'armenian',
|
1815 |
+
),
|
1816 |
+
array(
|
1817 |
+
'label' => __( 'Circle', 'live-composer-page-builder' ),
|
1818 |
+
'value' => 'circle',
|
1819 |
+
),
|
1820 |
+
array(
|
1821 |
+
'label' => __( 'Cjk-ideographic', 'live-composer-page-builder' ),
|
1822 |
+
'value' => 'cjk-ideographic',
|
1823 |
+
),
|
1824 |
+
array(
|
1825 |
+
'label' => __( 'Decimal', 'live-composer-page-builder' ),
|
1826 |
+
'value' => 'decimal',
|
1827 |
+
),
|
1828 |
+
array(
|
1829 |
+
'label' => __( 'Decimal Leading Zero', 'live-composer-page-builder' ),
|
1830 |
+
'value' => 'decimal-leading-zero',
|
1831 |
+
),
|
1832 |
+
array(
|
1833 |
+
'label' => __( 'Hebrew', 'live-composer-page-builder' ),
|
1834 |
+
'value' => 'hebrew',
|
1835 |
+
),
|
1836 |
+
array(
|
1837 |
+
'label' => __( 'Hiragana', 'live-composer-page-builder' ),
|
1838 |
+
'value' => 'hiragana',
|
1839 |
+
),
|
1840 |
+
array(
|
1841 |
+
'label' => __( 'Hiragana Iroha', 'live-composer-page-builder' ),
|
1842 |
+
'value' => 'hiragana-iroha',
|
1843 |
+
),
|
1844 |
+
array(
|
1845 |
+
'label' => __( 'Katakana', 'live-composer-page-builder' ),
|
1846 |
+
'value' => 'katakana',
|
1847 |
+
),
|
1848 |
+
array(
|
1849 |
+
'label' => __( 'Katakana Iroha', 'live-composer-page-builder' ),
|
1850 |
+
'value' => 'katakana-iroha',
|
1851 |
+
),
|
1852 |
+
array(
|
1853 |
+
'label' => __( 'Lower Alpha', 'live-composer-page-builder' ),
|
1854 |
+
'value' => 'lower-alpha',
|
1855 |
+
),
|
1856 |
+
array(
|
1857 |
+
'label' => __( 'Lower Greek', 'live-composer-page-builder' ),
|
1858 |
+
'value' => 'lower-greek',
|
1859 |
+
),
|
1860 |
+
array(
|
1861 |
+
'label' => __( 'Lower Latin', 'live-composer-page-builder' ),
|
1862 |
+
'value' => 'lower-latin',
|
1863 |
+
),
|
1864 |
+
array(
|
1865 |
+
'label' => __( 'Lower Roman', 'live-composer-page-builder' ),
|
1866 |
+
'value' => 'lower-roman',
|
1867 |
+
),
|
1868 |
+
array(
|
1869 |
+
'label' => __( 'None', 'live-composer-page-builder' ),
|
1870 |
+
'value' => 'none',
|
1871 |
+
),
|
1872 |
+
array(
|
1873 |
+
'label' => __( 'Upper Alpha', 'live-composer-page-builder' ),
|
1874 |
+
'value' => 'upper-alpha',
|
1875 |
+
),
|
1876 |
+
array(
|
1877 |
+
'label' => __( 'Upper Latin', 'live-composer-page-builder' ),
|
1878 |
+
'value' => 'upper-latin',
|
1879 |
+
),
|
1880 |
+
array(
|
1881 |
+
'label' => __( 'Upper Roman', 'live-composer-page-builder' ),
|
1882 |
+
'value' => 'upper-roman',
|
1883 |
+
),
|
1884 |
+
array(
|
1885 |
+
'label' => __( 'Inherit', 'live-composer-page-builder' ),
|
1886 |
+
'value' => 'inherit',
|
1887 |
+
),
|
1888 |
+
),
|
1889 |
+
'section' => 'styling',
|
1890 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1891 |
+
'refresh_on_change' => false,
|
1892 |
+
'affect_on_change_el' => '.dslc-info-box-content ol',
|
1893 |
+
'affect_on_change_rule' => 'list-style-type',
|
1894 |
+
),
|
1895 |
+
array(
|
1896 |
+
'label' => __( 'Spacing', 'live-composer-page-builder' ),
|
1897 |
+
'id' => 'css_ul_li_margin_bottom',
|
1898 |
+
'std' => '10',
|
1899 |
+
'type' => 'slider',
|
1900 |
+
'refresh_on_change' => false,
|
1901 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1902 |
+
'affect_on_change_rule' => 'margin-bottom',
|
1903 |
+
'section' => 'styling',
|
1904 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1905 |
+
'ext' => 'px',
|
1906 |
+
),
|
1907 |
+
array(
|
1908 |
+
'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
|
1909 |
+
'id' => 'css_li_bg_color',
|
1910 |
+
'std' => '',
|
1911 |
+
'type' => 'color',
|
1912 |
+
'refresh_on_change' => false,
|
1913 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1914 |
+
'affect_on_change_rule' => 'background-color',
|
1915 |
+
'section' => 'styling',
|
1916 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1917 |
+
),
|
1918 |
+
array(
|
1919 |
+
'label' => __( 'Item - Border Color', 'live-composer-page-builder' ),
|
1920 |
+
'id' => 'css_li_border_color',
|
1921 |
+
'std' => '',
|
1922 |
+
'type' => 'color',
|
1923 |
+
'refresh_on_change' => false,
|
1924 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1925 |
+
'affect_on_change_rule' => 'border-color',
|
1926 |
+
'section' => 'styling',
|
1927 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1928 |
+
),
|
1929 |
+
array(
|
1930 |
+
'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
|
1931 |
+
'id' => 'css_li_border_width',
|
1932 |
+
'onlypositive' => true, // Value can't be negative.
|
1933 |
+
'max' => 10,
|
1934 |
+
'std' => '0',
|
1935 |
+
'type' => 'slider',
|
1936 |
+
'refresh_on_change' => false,
|
1937 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1938 |
+
'affect_on_change_rule' => 'border-width',
|
1939 |
+
'section' => 'styling',
|
1940 |
+
'ext' => 'px',
|
1941 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1942 |
+
),
|
1943 |
+
array(
|
1944 |
+
'label' => __( 'Item - Borders', 'live-composer-page-builder' ),
|
1945 |
+
'id' => 'css_li_border_trbl',
|
1946 |
+
'std' => 'top right bottom left',
|
1947 |
+
'type' => 'checkbox',
|
1948 |
+
'choices' => array(
|
1949 |
+
array(
|
1950 |
+
'label' => __( 'Top', 'live-composer-page-builder' ),
|
1951 |
+
'value' => 'top',
|
1952 |
+
),
|
1953 |
+
array(
|
1954 |
+
'label' => __( 'Right', 'live-composer-page-builder' ),
|
1955 |
+
'value' => 'right',
|
1956 |
+
),
|
1957 |
+
array(
|
1958 |
+
'label' => __( 'Bottom', 'live-composer-page-builder' ),
|
1959 |
+
'value' => 'bottom',
|
1960 |
+
),
|
1961 |
+
array(
|
1962 |
+
'label' => __( 'Left', 'live-composer-page-builder' ),
|
1963 |
+
'value' => 'left',
|
1964 |
+
),
|
1965 |
+
),
|
1966 |
+
'refresh_on_change' => false,
|
1967 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1968 |
+
'affect_on_change_rule' => 'border-style',
|
1969 |
+
'section' => 'styling',
|
1970 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1971 |
+
),
|
1972 |
+
array(
|
1973 |
+
'label' => __( 'Item - Border Radius - Top', 'live-composer-page-builder' ),
|
1974 |
+
'id' => 'css_li_border_radius_top',
|
1975 |
+
'onlypositive' => true, // Value can't be negative.
|
1976 |
+
'std' => '0',
|
1977 |
+
'type' => 'slider',
|
1978 |
+
'refresh_on_change' => false,
|
1979 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1980 |
+
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
1981 |
+
'section' => 'styling',
|
1982 |
+
'ext' => 'px',
|
1983 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1984 |
+
),
|
1985 |
+
array(
|
1986 |
+
'label' => __( 'Item - Border Radius - Bottom', 'live-composer-page-builder' ),
|
1987 |
+
'id' => 'css_li_border_radius_bottom',
|
1988 |
+
'onlypositive' => true, // Value can't be negative.
|
1989 |
+
'std' => '0',
|
1990 |
+
'type' => 'slider',
|
1991 |
+
'refresh_on_change' => false,
|
1992 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
1993 |
+
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
1994 |
+
'section' => 'styling',
|
1995 |
+
'ext' => 'px',
|
1996 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
1997 |
+
),
|
1998 |
+
array(
|
1999 |
+
'label' => __( 'Item - Padding Vertical', 'live-composer-page-builder' ),
|
2000 |
+
'id' => 'css_li_padding_vertical',
|
2001 |
+
'onlypositive' => true, // Value can't be negative.
|
2002 |
+
'max' => 600,
|
2003 |
+
'std' => '0',
|
2004 |
+
'type' => 'slider',
|
2005 |
+
'refresh_on_change' => false,
|
2006 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
2007 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
2008 |
+
'section' => 'styling',
|
2009 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2010 |
+
'ext' => 'px',
|
2011 |
+
),
|
2012 |
+
array(
|
2013 |
+
'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
|
2014 |
+
'id' => 'css_li_padding_horizontal',
|
2015 |
+
'onlypositive' => true, // Value can't be negative.
|
2016 |
+
'std' => '0',
|
2017 |
+
'type' => 'slider',
|
2018 |
+
'refresh_on_change' => false,
|
2019 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
2020 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
2021 |
+
'section' => 'styling',
|
2022 |
+
'ext' => 'px',
|
2023 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2024 |
+
),
|
2025 |
+
array(
|
2026 |
+
'label' => __( 'Text Shadow', 'live-composer-page-builder' ),
|
2027 |
+
'id' => 'css_li_text_shadow',
|
2028 |
+
'std' => '',
|
2029 |
+
'type' => 'text_shadow',
|
2030 |
+
'refresh_on_change' => false,
|
2031 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
2032 |
+
'affect_on_change_rule' => 'text-shadow',
|
2033 |
+
'section' => 'styling',
|
2034 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2035 |
+
),
|
2036 |
+
|
2037 |
/**
|
2038 |
* Button
|
2039 |
*/
|
3170 |
'section' => 'responsive',
|
3171 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3172 |
),
|
3173 |
+
array(
|
3174 |
+
'label' => __( 'Lists - Font Size', 'live-composer-page-builder' ),
|
3175 |
+
'id' => 'css_res_t_li_font_size',
|
3176 |
+
'onlypositive' => true, // Value can't be negative.
|
3177 |
+
'std' => '13',
|
3178 |
+
'type' => 'slider',
|
3179 |
+
'refresh_on_change' => false,
|
3180 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3181 |
+
'affect_on_change_rule' => 'font-size',
|
3182 |
+
'section' => 'responsive',
|
3183 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3184 |
+
'ext' => 'px',
|
3185 |
+
),
|
3186 |
+
array(
|
3187 |
+
'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
|
3188 |
+
'id' => 'css_res_t_li_line_height',
|
3189 |
+
'onlypositive' => true, // Value can't be negative.
|
3190 |
+
'std' => '22',
|
3191 |
+
'type' => 'slider',
|
3192 |
+
'refresh_on_change' => false,
|
3193 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3194 |
+
'affect_on_change_rule' => 'line-height',
|
3195 |
+
'section' => 'responsive',
|
3196 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3197 |
+
'ext' => 'px',
|
3198 |
+
),
|
3199 |
+
array(
|
3200 |
+
'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
|
3201 |
+
'id' => 'css_res_t_ul_margin_bottom',
|
3202 |
+
'std' => '25',
|
3203 |
+
'type' => 'slider',
|
3204 |
+
'refresh_on_change' => false,
|
3205 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
3206 |
+
'affect_on_change_rule' => 'margin-bottom',
|
3207 |
+
'section' => 'responsive',
|
3208 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3209 |
+
'ext' => 'px',
|
3210 |
+
),
|
3211 |
+
array(
|
3212 |
+
'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
|
3213 |
+
'id' => 'css_res_t_ul_margin_left',
|
3214 |
+
'std' => '25',
|
3215 |
+
'type' => 'slider',
|
3216 |
+
'refresh_on_change' => false,
|
3217 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
3218 |
+
'affect_on_change_rule' => 'margin-left',
|
3219 |
+
'section' => 'responsive',
|
3220 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3221 |
+
'ext' => 'px',
|
3222 |
+
),
|
3223 |
+
array(
|
3224 |
+
'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
|
3225 |
+
'id' => 'css_res_t_ul_li_margin_bottom',
|
3226 |
+
'std' => '10',
|
3227 |
+
'type' => 'slider',
|
3228 |
+
'refresh_on_change' => false,
|
3229 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3230 |
+
'affect_on_change_rule' => 'margin-bottom',
|
3231 |
+
'section' => 'responsive',
|
3232 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3233 |
+
'ext' => 'px',
|
3234 |
+
),
|
3235 |
+
array(
|
3236 |
+
'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
|
3237 |
+
'id' => 'css_res_t_li_padding_vertical',
|
3238 |
+
'onlypositive' => true, // Value can't be negative.
|
3239 |
+
'max' => 600,
|
3240 |
+
'std' => '0',
|
3241 |
+
'type' => 'slider',
|
3242 |
+
'refresh_on_change' => false,
|
3243 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3244 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
3245 |
+
'section' => 'responsive',
|
3246 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3247 |
+
'ext' => 'px',
|
3248 |
+
),
|
3249 |
+
array(
|
3250 |
+
'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
|
3251 |
+
'id' => 'css_res_t_li_padding_horizontal',
|
3252 |
+
'onlypositive' => true, // Value can't be negative.
|
3253 |
+
'std' => '0',
|
3254 |
+
'type' => 'slider',
|
3255 |
+
'refresh_on_change' => false,
|
3256 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3257 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
3258 |
+
'section' => 'responsive',
|
3259 |
+
'ext' => 'px',
|
3260 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
3261 |
+
),
|
3262 |
array(
|
3263 |
'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
|
3264 |
'id' => 'css_res_t_button_font_size',
|
3646 |
'section' => 'responsive',
|
3647 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3648 |
),
|
3649 |
+
array(
|
3650 |
+
'label' => __( 'Lists - Font Size', 'live-composer-page-builder' ),
|
3651 |
+
'id' => 'css_res_p_li_font_size',
|
3652 |
+
'onlypositive' => true, // Value can't be negative.
|
3653 |
+
'std' => '13',
|
3654 |
+
'type' => 'slider',
|
3655 |
+
'refresh_on_change' => false,
|
3656 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3657 |
+
'affect_on_change_rule' => 'font-size',
|
3658 |
+
'section' => 'responsive',
|
3659 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3660 |
+
'ext' => 'px',
|
3661 |
+
),
|
3662 |
+
array(
|
3663 |
+
'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
|
3664 |
+
'id' => 'css_res_p_li_line_height',
|
3665 |
+
'onlypositive' => true, // Value can't be negative.
|
3666 |
+
'std' => '22',
|
3667 |
+
'type' => 'slider',
|
3668 |
+
'refresh_on_change' => false,
|
3669 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3670 |
+
'affect_on_change_rule' => 'line-height',
|
3671 |
+
'section' => 'responsive',
|
3672 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3673 |
+
'ext' => 'px',
|
3674 |
+
),
|
3675 |
+
array(
|
3676 |
+
'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
|
3677 |
+
'id' => 'css_res_p_ul_margin_bottom',
|
3678 |
+
'std' => '25',
|
3679 |
+
'type' => 'slider',
|
3680 |
+
'refresh_on_change' => false,
|
3681 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
3682 |
+
'affect_on_change_rule' => 'margin-bottom',
|
3683 |
+
'section' => 'responsive',
|
3684 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3685 |
+
'ext' => 'px',
|
3686 |
+
),
|
3687 |
+
array(
|
3688 |
+
'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
|
3689 |
+
'id' => 'css_res_p_ul_margin_left',
|
3690 |
+
'std' => '25',
|
3691 |
+
'type' => 'slider',
|
3692 |
+
'refresh_on_change' => false,
|
3693 |
+
'affect_on_change_el' => '.dslc-info-box-content ul,.dslc-info-box-content ol',
|
3694 |
+
'affect_on_change_rule' => 'margin-left',
|
3695 |
+
'section' => 'responsive',
|
3696 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3697 |
+
'ext' => 'px',
|
3698 |
+
),
|
3699 |
+
array(
|
3700 |
+
'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
|
3701 |
+
'id' => 'css_res_p_ul_li_margin_bottom',
|
3702 |
+
'std' => '10',
|
3703 |
+
'type' => 'slider',
|
3704 |
+
'refresh_on_change' => false,
|
3705 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3706 |
+
'affect_on_change_rule' => 'margin-bottom',
|
3707 |
+
'section' => 'responsive',
|
3708 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3709 |
+
'ext' => 'px',
|
3710 |
+
),
|
3711 |
+
array(
|
3712 |
+
'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
|
3713 |
+
'id' => 'css_res_p_li_padding_vertical',
|
3714 |
+
'onlypositive' => true, // Value can't be negative.
|
3715 |
+
'max' => 600,
|
3716 |
+
'std' => '0',
|
3717 |
+
'type' => 'slider',
|
3718 |
+
'refresh_on_change' => false,
|
3719 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3720 |
+
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
3721 |
+
'section' => 'responsive',
|
3722 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3723 |
+
'ext' => 'px',
|
3724 |
+
),
|
3725 |
+
array(
|
3726 |
+
'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
|
3727 |
+
'id' => 'css_res_p_li_padding_horizontal',
|
3728 |
+
'onlypositive' => true, // Value can't be negative.
|
3729 |
+
'std' => '0',
|
3730 |
+
'type' => 'slider',
|
3731 |
+
'refresh_on_change' => false,
|
3732 |
+
'affect_on_change_el' => '.dslc-info-box-content li',
|
3733 |
+
'affect_on_change_rule' => 'padding-left,padding-right',
|
3734 |
+
'section' => 'responsive',
|
3735 |
+
'ext' => 'px',
|
3736 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
3737 |
+
),
|
3738 |
array(
|
3739 |
'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
|
3740 |
'id' => 'css_res_p_button_font_size',
|
modules/navigation/module.php
CHANGED
@@ -6,9 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
6 |
exit;
|
7 |
}
|
8 |
|
9 |
-
|
10 |
-
include DS_LIVE_COMPOSER_ABS . '/modules/navigation/functions.php';
|
11 |
-
}
|
12 |
|
13 |
class DSLC_Navigation extends DSLC_Module {
|
14 |
|
6 |
exit;
|
7 |
}
|
8 |
|
9 |
+
include DS_LIVE_COMPOSER_ABS . '/modules/navigation/functions.php';
|
|
|
|
|
10 |
|
11 |
class DSLC_Navigation extends DSLC_Module {
|
12 |
|
modules/partners/module.php
CHANGED
@@ -246,6 +246,10 @@ class DSLC_Partners extends DSLC_Module {
|
|
246 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
247 |
'value' => 'comment_count',
|
248 |
),
|
|
|
|
|
|
|
|
|
249 |
),
|
250 |
),
|
251 |
array(
|
@@ -1579,16 +1583,28 @@ class DSLC_Partners extends DSLC_Module {
|
|
1579 |
* @return void
|
1580 |
*/
|
1581 |
function output( $options ) {
|
|
|
1582 |
?>
|
1583 |
-
[dslc_module_partners_output]<?php echo serialize( $
|
1584 |
<?php
|
1585 |
|
1586 |
}
|
1587 |
}
|
1588 |
|
1589 |
function dslc_module_partners_output( $atts, $content = null ) {
|
|
|
|
|
1590 |
// Uncode module options passed as serialized content.
|
1591 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1592 |
|
1593 |
ob_start();
|
1594 |
|
@@ -1977,6 +1993,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
1977 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
1978 |
}
|
1979 |
|
|
|
|
|
|
|
1980 |
$resize_width = false;
|
1981 |
$resize_height = false;
|
1982 |
|
@@ -2007,16 +2026,16 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
2007 |
<?php if ( $manual_resize ) : ?>
|
2008 |
<?php if ( $link_to_single ) : ?>
|
2009 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $anchor_target; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2010 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
2011 |
<?php else : ?>
|
2012 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2013 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" />
|
2014 |
<?php endif; ?>
|
2015 |
<?php else : ?>
|
2016 |
<?php if ( $link_to_single ) : ?>
|
2017 |
-
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $anchor_target; ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
2018 |
<?php else : ?>
|
2019 |
-
<?php the_post_thumbnail( 'full' ); ?>
|
2020 |
<?php endif; ?>
|
2021 |
<?php endif; ?>
|
2022 |
|
@@ -2183,6 +2202,7 @@ if ( isset( $options['pagination_type'] ) && $options['pagination_type'] != 'dis
|
|
2183 |
dslc_post_pagination( array(
|
2184 |
'pages' => $num_pages,
|
2185 |
'type' => $options['pagination_type'],
|
|
|
2186 |
) );
|
2187 |
}
|
2188 |
|
246 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
247 |
'value' => 'comment_count',
|
248 |
),
|
249 |
+
array(
|
250 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
251 |
+
'value' => 'author',
|
252 |
+
),
|
253 |
),
|
254 |
),
|
255 |
array(
|
1583 |
* @return void
|
1584 |
*/
|
1585 |
function output( $options ) {
|
1586 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
1587 |
?>
|
1588 |
+
[dslc_module_partners_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_partners_output]
|
1589 |
<?php
|
1590 |
|
1591 |
}
|
1592 |
}
|
1593 |
|
1594 |
function dslc_module_partners_output( $atts, $content = null ) {
|
1595 |
+
|
1596 |
+
|
1597 |
// Uncode module options passed as serialized content.
|
1598 |
+
$data = @unserialize( $content );
|
1599 |
+
|
1600 |
+
if ( $data !== false ) {
|
1601 |
+
$options = unserialize( $content );
|
1602 |
+
} else {
|
1603 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
1604 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
1605 |
+
}, $content );
|
1606 |
+
$options = unserialize( $fixed_data );
|
1607 |
+
}
|
1608 |
|
1609 |
ob_start();
|
1610 |
|
1993 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
1994 |
}
|
1995 |
|
1996 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
1997 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
1998 |
+
|
1999 |
$resize_width = false;
|
2000 |
$resize_height = false;
|
2001 |
|
2026 |
<?php if ( $manual_resize ) : ?>
|
2027 |
<?php if ( $link_to_single ) : ?>
|
2028 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $anchor_target; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2029 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
2030 |
<?php else : ?>
|
2031 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2032 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" />
|
2033 |
<?php endif; ?>
|
2034 |
<?php else : ?>
|
2035 |
<?php if ( $link_to_single ) : ?>
|
2036 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $anchor_target; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
2037 |
<?php else : ?>
|
2038 |
+
<?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
2039 |
<?php endif; ?>
|
2040 |
<?php endif; ?>
|
2041 |
|
2202 |
dslc_post_pagination( array(
|
2203 |
'pages' => $num_pages,
|
2204 |
'type' => $options['pagination_type'],
|
2205 |
+
'pagination_text' => $options['pagination_text'],
|
2206 |
) );
|
2207 |
}
|
2208 |
|
modules/posts/module.php
CHANGED
@@ -209,6 +209,10 @@ class DSLC_Posts extends DSLC_Module {
|
|
209 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
210 |
'value' => 'comment_count',
|
211 |
),
|
|
|
|
|
|
|
|
|
212 |
),
|
213 |
),
|
214 |
array(
|
@@ -2695,13 +2699,24 @@ class DSLC_Posts extends DSLC_Module {
|
|
2695 |
// if ( 'disabled' === $options['pagination_type'] )
|
2696 |
// # code...
|
2697 |
// }
|
2698 |
-
|
|
|
2699 |
}
|
2700 |
}
|
2701 |
|
2702 |
function dslc_module_posts_output( $atts, $content = null ) {
|
|
|
2703 |
// Uncode module options passed as serialized content.
|
2704 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2705 |
|
2706 |
ob_start();
|
2707 |
|
@@ -3154,6 +3169,9 @@ function dslc_module_posts_output( $atts, $content = null ) {
|
|
3154 |
$thumb_alt = '';
|
3155 |
}
|
3156 |
|
|
|
|
|
|
|
3157 |
$resize_width = false;
|
3158 |
$resize_height = false;
|
3159 |
|
@@ -3184,9 +3202,9 @@ function dslc_module_posts_output( $atts, $content = null ) {
|
|
3184 |
|
3185 |
<?php if ( $manual_resize ) : ?>
|
3186 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3187 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
3188 |
<?php else : ?>
|
3189 |
-
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
3190 |
<?php endif; ?>
|
3191 |
</div><!-- .dslc-cpt-post-thumb-inner -->
|
3192 |
|
@@ -3430,6 +3448,7 @@ function dslc_module_posts_output( $atts, $content = null ) {
|
|
3430 |
dslc_post_pagination( array(
|
3431 |
'pages' => $num_pages,
|
3432 |
'type' => $options['pagination_type'],
|
|
|
3433 |
) );
|
3434 |
}
|
3435 |
|
209 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
210 |
'value' => 'comment_count',
|
211 |
),
|
212 |
+
array(
|
213 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
214 |
+
'value' => 'author',
|
215 |
+
),
|
216 |
),
|
217 |
),
|
218 |
array(
|
2699 |
// if ( 'disabled' === $options['pagination_type'] )
|
2700 |
// # code...
|
2701 |
// }
|
2702 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2703 |
+
echo '[dslc_module_posts_output]' . serialize( $dslc_options ) . '[/dslc_module_posts_output]';
|
2704 |
}
|
2705 |
}
|
2706 |
|
2707 |
function dslc_module_posts_output( $atts, $content = null ) {
|
2708 |
+
|
2709 |
// Uncode module options passed as serialized content.
|
2710 |
+
$data = @unserialize( $content );
|
2711 |
+
|
2712 |
+
if ( $data !== false ) {
|
2713 |
+
$options = unserialize( $content );
|
2714 |
+
} else {
|
2715 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2716 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2717 |
+
}, $content );
|
2718 |
+
$options = unserialize( $fixed_data );
|
2719 |
+
}
|
2720 |
|
2721 |
ob_start();
|
2722 |
|
3169 |
$thumb_alt = '';
|
3170 |
}
|
3171 |
|
3172 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
3173 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
3174 |
+
|
3175 |
$resize_width = false;
|
3176 |
$resize_height = false;
|
3177 |
|
3202 |
|
3203 |
<?php if ( $manual_resize ) : ?>
|
3204 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3205 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
3206 |
<?php else : ?>
|
3207 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
3208 |
<?php endif; ?>
|
3209 |
</div><!-- .dslc-cpt-post-thumb-inner -->
|
3210 |
|
3448 |
dslc_post_pagination( array(
|
3449 |
'pages' => $num_pages,
|
3450 |
'type' => $options['pagination_type'],
|
3451 |
+
'pagination_text' => $options['pagination_text'],
|
3452 |
) );
|
3453 |
}
|
3454 |
|
modules/projects/module.php
CHANGED
@@ -242,6 +242,10 @@ class DSLC_Projects extends DSLC_Module {
|
|
242 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
243 |
'value' => 'comment_count',
|
244 |
),
|
|
|
|
|
|
|
|
|
245 |
),
|
246 |
),
|
247 |
array(
|
@@ -2876,16 +2880,27 @@ class DSLC_Projects extends DSLC_Module {
|
|
2876 |
*/
|
2877 |
function output( $options ) {
|
2878 |
$options['module_id'] = $this->module_id;
|
|
|
2879 |
?>
|
2880 |
-
[dslc_module_projects_output]<?php echo serialize( $
|
2881 |
<?php
|
2882 |
|
2883 |
}
|
2884 |
}
|
2885 |
|
2886 |
function dslc_module_projects_output( $atts, $content = null ) {
|
|
|
2887 |
// Uncode module options passed as serialized content.
|
2888 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2889 |
|
2890 |
ob_start();
|
2891 |
|
@@ -3279,6 +3294,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3279 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
3280 |
}
|
3281 |
|
|
|
|
|
|
|
3282 |
$resize_width = false;
|
3283 |
$resize_height = false;
|
3284 |
|
@@ -3309,9 +3327,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3309 |
|
3310 |
<?php if ( $manual_resize ) : ?>
|
3311 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $the_project_url_target; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3312 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
3313 |
<?php else : ?>
|
3314 |
-
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $the_project_url_target; ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
3315 |
<?php endif; ?>
|
3316 |
</div><!-- .dslc-project-thumb-inner -->
|
3317 |
|
@@ -3586,6 +3604,7 @@ if ( isset( $options['pagination_type'] ) && $options['pagination_type'] != 'dis
|
|
3586 |
dslc_post_pagination( array(
|
3587 |
'pages' => $num_pages,
|
3588 |
'type' => $options['pagination_type'],
|
|
|
3589 |
) );
|
3590 |
}
|
3591 |
|
242 |
'label' => __( 'Comment Count', 'live-composer-page-builder' ),
|
243 |
'value' => 'comment_count',
|
244 |
),
|
245 |
+
array(
|
246 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
247 |
+
'value' => 'author',
|
248 |
+
),
|
249 |
),
|
250 |
),
|
251 |
array(
|
2880 |
*/
|
2881 |
function output( $options ) {
|
2882 |
$options['module_id'] = $this->module_id;
|
2883 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2884 |
?>
|
2885 |
+
[dslc_module_projects_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_projects_output]
|
2886 |
<?php
|
2887 |
|
2888 |
}
|
2889 |
}
|
2890 |
|
2891 |
function dslc_module_projects_output( $atts, $content = null ) {
|
2892 |
+
|
2893 |
// Uncode module options passed as serialized content.
|
2894 |
+
$data = @unserialize( $content );
|
2895 |
+
|
2896 |
+
if ( $data !== false ) {
|
2897 |
+
$options = unserialize( $content );
|
2898 |
+
} else {
|
2899 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2900 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2901 |
+
}, $content );
|
2902 |
+
$options = unserialize( $fixed_data );
|
2903 |
+
}
|
2904 |
|
2905 |
ob_start();
|
2906 |
|
3294 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
3295 |
}
|
3296 |
|
3297 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
3298 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
3299 |
+
|
3300 |
$resize_width = false;
|
3301 |
$resize_height = false;
|
3302 |
|
3327 |
|
3328 |
<?php if ( $manual_resize ) : ?>
|
3329 |
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $the_project_url_target; ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
3330 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
3331 |
<?php else : ?>
|
3332 |
+
<a href="<?php echo $anchor_href; ?>" class="<?php echo $anchor_class; ?>" target="<?php echo $the_project_url_target; ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
3333 |
<?php endif; ?>
|
3334 |
</div><!-- .dslc-project-thumb-inner -->
|
3335 |
|
3604 |
dslc_post_pagination( array(
|
3605 |
'pages' => $num_pages,
|
3606 |
'type' => $options['pagination_type'],
|
3607 |
+
'pagination_text' => $options['pagination_text'],
|
3608 |
) );
|
3609 |
}
|
3610 |
|
modules/shortcode/module.php
CHANGED
@@ -131,23 +131,6 @@ class DSLC_Shortcode extends DSLC_Module {
|
|
131 |
* Styling Options
|
132 |
*/
|
133 |
|
134 |
-
array(
|
135 |
-
'label' => __( 'Enable/Disable Custom CSS', 'live-composer-page-builder' ),
|
136 |
-
'id' => 'css_custom',
|
137 |
-
'std' => 'disabled',
|
138 |
-
'type' => 'select',
|
139 |
-
'choices' => array(
|
140 |
-
array(
|
141 |
-
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
142 |
-
'value' => 'enabled',
|
143 |
-
),
|
144 |
-
array(
|
145 |
-
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
146 |
-
'value' => 'disabled',
|
147 |
-
),
|
148 |
-
),
|
149 |
-
'section' => 'styling',
|
150 |
-
),
|
151 |
array(
|
152 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
153 |
'id' => 'css_main_bg_color',
|
131 |
* Styling Options
|
132 |
*/
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
array(
|
135 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
136 |
'id' => 'css_main_bg_color',
|
modules/sliders/module.php
CHANGED
@@ -16,7 +16,7 @@ class DSLC_Sliders extends DSLC_Module {
|
|
16 |
function __construct() {
|
17 |
|
18 |
$this->module_id = 'DSLC_Sliders';
|
19 |
-
$this->module_title = __( 'Slider (
|
20 |
$this->module_icon = 'picture';
|
21 |
$this->module_category = 'General';
|
22 |
|
@@ -139,4 +139,4 @@ class DSLC_Sliders extends DSLC_Module {
|
|
139 |
|
140 |
}
|
141 |
|
142 |
-
}
|
16 |
function __construct() {
|
17 |
|
18 |
$this->module_id = 'DSLC_Sliders';
|
19 |
+
$this->module_title = __( 'Rev Slider (Deprecated)', 'live-composer-page-builder' );
|
20 |
$this->module_icon = 'picture';
|
21 |
$this->module_category = 'General';
|
22 |
|
139 |
|
140 |
}
|
141 |
|
142 |
+
}
|
modules/staff/module.php
CHANGED
@@ -205,6 +205,10 @@ class DSLC_Staff extends DSLC_Module {
|
|
205 |
'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
|
206 |
'value' => 'title',
|
207 |
),
|
|
|
|
|
|
|
|
|
208 |
),
|
209 |
),
|
210 |
array(
|
@@ -2093,16 +2097,27 @@ class DSLC_Staff extends DSLC_Module {
|
|
2093 |
* @return void
|
2094 |
*/
|
2095 |
function output( $options ) {
|
|
|
2096 |
?>
|
2097 |
-
[dslc_module_staff_output]<?php echo serialize( $
|
2098 |
<?php
|
2099 |
|
2100 |
}
|
2101 |
}
|
2102 |
|
2103 |
function dslc_module_staff_output( $atts, $content = null ) {
|
|
|
2104 |
// Uncode module options passed as serialized content.
|
2105 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2106 |
|
2107 |
ob_start();
|
2108 |
|
@@ -2482,6 +2497,9 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
2482 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
2483 |
}
|
2484 |
|
|
|
|
|
|
|
2485 |
$resize_width = false;
|
2486 |
$resize_height = false;
|
2487 |
|
@@ -2503,16 +2521,16 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
2503 |
<?php if ( $manual_resize ) : ?>
|
2504 |
<?php if ( $link_to_single ) : ?>
|
2505 |
<a href="<?php the_permalink(); ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2506 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
|
2507 |
<?php else : ?>
|
2508 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2509 |
-
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" />
|
2510 |
<?php endif; ?>
|
2511 |
<?php else : ?>
|
2512 |
<?php if ( $link_to_single ) : ?>
|
2513 |
-
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'full' ); ?></a>
|
2514 |
<?php else : ?>
|
2515 |
-
<?php the_post_thumbnail( 'full' ); ?>
|
2516 |
<?php endif; ?>
|
2517 |
<?php endif; ?>
|
2518 |
</div>
|
@@ -2730,6 +2748,7 @@ if ( 'carousel' === $options['type'] ) :
|
|
2730 |
dslc_post_pagination( array(
|
2731 |
'pages' => $num_pages,
|
2732 |
'type' => $options['pagination_type'],
|
|
|
2733 |
) );
|
2734 |
}
|
2735 |
|
205 |
'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
|
206 |
'value' => 'title',
|
207 |
),
|
208 |
+
array(
|
209 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
210 |
+
'value' => 'author',
|
211 |
+
),
|
212 |
),
|
213 |
),
|
214 |
array(
|
2097 |
* @return void
|
2098 |
*/
|
2099 |
function output( $options ) {
|
2100 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2101 |
?>
|
2102 |
+
[dslc_module_staff_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_staff_output]
|
2103 |
<?php
|
2104 |
|
2105 |
}
|
2106 |
}
|
2107 |
|
2108 |
function dslc_module_staff_output( $atts, $content = null ) {
|
2109 |
+
|
2110 |
// Uncode module options passed as serialized content.
|
2111 |
+
$data = @unserialize( $content );
|
2112 |
+
|
2113 |
+
if ( $data !== false ) {
|
2114 |
+
$options = unserialize( $content );
|
2115 |
+
} else {
|
2116 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2117 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2118 |
+
}, $content );
|
2119 |
+
$options = unserialize( $fixed_data );
|
2120 |
+
}
|
2121 |
|
2122 |
ob_start();
|
2123 |
|
2497 |
if ( ! $thumb_alt ) { $thumb_alt = '';
|
2498 |
}
|
2499 |
|
2500 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
2501 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
2502 |
+
|
2503 |
$resize_width = false;
|
2504 |
$resize_height = false;
|
2505 |
|
2521 |
<?php if ( $manual_resize ) : ?>
|
2522 |
<?php if ( $link_to_single ) : ?>
|
2523 |
<a href="<?php the_permalink(); ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2524 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" /></a>
|
2525 |
<?php else : ?>
|
2526 |
<img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
|
2527 |
+
echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" />
|
2528 |
<?php endif; ?>
|
2529 |
<?php else : ?>
|
2530 |
<?php if ( $link_to_single ) : ?>
|
2531 |
+
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?></a>
|
2532 |
<?php else : ?>
|
2533 |
+
<?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
2534 |
<?php endif; ?>
|
2535 |
<?php endif; ?>
|
2536 |
</div>
|
2748 |
dslc_post_pagination( array(
|
2749 |
'pages' => $num_pages,
|
2750 |
'type' => $options['pagination_type'],
|
2751 |
+
'pagination_text' => $options['pagination_text'],
|
2752 |
) );
|
2753 |
}
|
2754 |
|
modules/tabs/module.php
CHANGED
@@ -3547,8 +3547,8 @@ class DSLC_Tabs extends DSLC_Module {
|
|
3547 |
|
3548 |
<?php if ( is_array( $tabs_nav ) ) : ?>
|
3549 |
|
3550 |
-
<?php foreach ( $tabs_nav as $tab_nav ) : ?>
|
3551 |
-
<span class="dslc-tabs-nav-hook">
|
3552 |
<span class="dslc-tabs-nav-hook-title" <?php if ( $dslc_is_admin ) { echo 'contenteditable'; } ?>><?php echo stripslashes( $tab_nav ); ?></span>
|
3553 |
<?php if ( $dslc_is_admin ) : ?>
|
3554 |
<span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
3547 |
|
3548 |
<?php if ( is_array( $tabs_nav ) ) : ?>
|
3549 |
|
3550 |
+
<?php foreach ( $tabs_nav as $tab_key => $tab_nav ) : ?>
|
3551 |
+
<span class="dslc-tabs-nav-hook" id="<?php echo 'tab-' . $tab_key; ?>">
|
3552 |
<span class="dslc-tabs-nav-hook-title" <?php if ( $dslc_is_admin ) { echo 'contenteditable'; } ?>><?php echo stripslashes( $tab_nav ); ?></span>
|
3553 |
<?php if ( $dslc_is_admin ) : ?>
|
3554 |
<span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
modules/testimonials/module.php
CHANGED
@@ -189,6 +189,10 @@ class DSLC_Testimonials extends DSLC_Module {
|
|
189 |
'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
|
190 |
'value' => 'title',
|
191 |
),
|
|
|
|
|
|
|
|
|
192 |
),
|
193 |
),
|
194 |
array(
|
@@ -2898,16 +2902,27 @@ class DSLC_Testimonials extends DSLC_Module {
|
|
2898 |
* @return void
|
2899 |
*/
|
2900 |
function output( $options ) {
|
|
|
2901 |
?>
|
2902 |
-
[dslc_module_testimonials_output]<?php echo serialize( $
|
2903 |
<?php
|
2904 |
|
2905 |
}
|
2906 |
}
|
2907 |
|
2908 |
function dslc_module_testimonials_output( $atts, $content = null ) {
|
|
|
2909 |
// Uncode module options passed as serialized content.
|
2910 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2911 |
|
2912 |
ob_start();
|
2913 |
|
@@ -3242,6 +3257,12 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3242 |
}
|
3243 |
}
|
3244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3245 |
?>
|
3246 |
|
3247 |
<?php ob_start(); ?>
|
@@ -3250,11 +3271,11 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3250 |
|
3251 |
<?php if ( $post_elements == 'all' || in_array( 'avatar', $post_elements ) ) : ?>
|
3252 |
|
3253 |
-
|
3254 |
-
|
3255 |
-
|
3256 |
|
3257 |
-
|
3258 |
|
3259 |
<?php if ( 'above' === $options['avatar_position'] ) : ?>
|
3260 |
<div class="dslc-testimonial-clearfix"></div>
|
@@ -3264,19 +3285,19 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3264 |
|
3265 |
<?php if ( $post_elements == 'all' || in_array( 'name', $post_elements ) ) : ?>
|
3266 |
|
3267 |
-
|
3268 |
-
|
3269 |
-
|
3270 |
|
3271 |
-
|
3272 |
|
3273 |
<?php if ( $post_elements == 'all' || in_array( 'position', $post_elements ) ) : ?>
|
3274 |
|
3275 |
-
|
3276 |
-
|
3277 |
-
|
3278 |
|
3279 |
-
|
3280 |
|
3281 |
</div><!-- .dslc-testimonial-author-main -->
|
3282 |
|
@@ -3312,7 +3333,7 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
|
|
3312 |
$dslc_testimonial_image_src = wp_get_attachment_image_src( $dslc_testimonial_logo, 'full' );
|
3313 |
?>
|
3314 |
<div class="dslc-testimonial-logo">
|
3315 |
-
<img src="<?php echo $dslc_testimonial_image_src[0]; ?>">
|
3316 |
</div>
|
3317 |
<?php
|
3318 |
}
|
@@ -3383,6 +3404,7 @@ if ( isset( $options['pagination_type'] ) && $options['pagination_type'] != 'dis
|
|
3383 |
dslc_post_pagination( array(
|
3384 |
'pages' => $num_pages,
|
3385 |
'type' => $options['pagination_type'],
|
|
|
3386 |
) );
|
3387 |
}
|
3388 |
|
189 |
'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
|
190 |
'value' => 'title',
|
191 |
),
|
192 |
+
array(
|
193 |
+
'label' => __( 'Author', 'live-composer-page-builder' ),
|
194 |
+
'value' => 'author',
|
195 |
+
),
|
196 |
),
|
197 |
),
|
198 |
array(
|
2902 |
* @return void
|
2903 |
*/
|
2904 |
function output( $options ) {
|
2905 |
+
$dslc_options = apply_filters( 'dslc_module_options_before_output', $options );
|
2906 |
?>
|
2907 |
+
[dslc_module_testimonials_output]<?php echo serialize( $dslc_options ); ?>[/dslc_module_testimonials_output]
|
2908 |
<?php
|
2909 |
|
2910 |
}
|
2911 |
}
|
2912 |
|
2913 |
function dslc_module_testimonials_output( $atts, $content = null ) {
|
2914 |
+
|
2915 |
// Uncode module options passed as serialized content.
|
2916 |
+
$data = @unserialize( $content );
|
2917 |
+
|
2918 |
+
if ( $data !== false ) {
|
2919 |
+
$options = unserialize( $content );
|
2920 |
+
} else {
|
2921 |
+
$fixed_data = preg_replace_callback( '!s:(\d+):"(.*?)";!', function( $match ) {
|
2922 |
+
return ( $match[1] == strlen( $match[2] ) ) ? $match[0] : 's:' . strlen( $match[2] ) . ':"' . $match[2] . '";';
|
2923 |
+
}, $content );
|
2924 |
+
$options = unserialize( $fixed_data );
|
2925 |
+
}
|
2926 |
|
2927 |
ob_start();
|
2928 |
|
3257 |
}
|
3258 |
}
|
3259 |
|
3260 |
+
$thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
|
3261 |
+
if ( ! $thumb_alt ) { $thumb_alt = ''; }
|
3262 |
+
|
3263 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
3264 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
3265 |
+
|
3266 |
?>
|
3267 |
|
3268 |
<?php ob_start(); ?>
|
3271 |
|
3272 |
<?php if ( $post_elements == 'all' || in_array( 'avatar', $post_elements ) ) : ?>
|
3273 |
|
3274 |
+
<div class="dslc-testimonial-author-avatar">
|
3275 |
+
<?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
3276 |
+
</div><!-- .dslc-testimonial-author-avatar -->
|
3277 |
|
3278 |
+
<?php endif; ?>
|
3279 |
|
3280 |
<?php if ( 'above' === $options['avatar_position'] ) : ?>
|
3281 |
<div class="dslc-testimonial-clearfix"></div>
|
3285 |
|
3286 |
<?php if ( $post_elements == 'all' || in_array( 'name', $post_elements ) ) : ?>
|
3287 |
|
3288 |
+
<div class="dslc-testimonial-author-name">
|
3289 |
+
<?php the_title(); ?>
|
3290 |
+
</div><!-- .dslc-testimonial-author-name -->
|
3291 |
|
3292 |
+
<?php endif; ?>
|
3293 |
|
3294 |
<?php if ( $post_elements == 'all' || in_array( 'position', $post_elements ) ) : ?>
|
3295 |
|
3296 |
+
<div class="dslc-testimonial-author-position">
|
3297 |
+
<?php echo get_post_meta( get_the_ID(), 'dslc_testimonial_author_pos', true ); ?>
|
3298 |
+
</div><!-- .dslc-testimoniala-author-position -->
|
3299 |
|
3300 |
+
<?php endif; ?>
|
3301 |
|
3302 |
</div><!-- .dslc-testimonial-author-main -->
|
3303 |
|
3333 |
$dslc_testimonial_image_src = wp_get_attachment_image_src( $dslc_testimonial_logo, 'full' );
|
3334 |
?>
|
3335 |
<div class="dslc-testimonial-logo">
|
3336 |
+
<img src="<?php echo $dslc_testimonial_image_src[0]; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>">
|
3337 |
</div>
|
3338 |
<?php
|
3339 |
}
|
3404 |
dslc_post_pagination( array(
|
3405 |
'pages' => $num_pages,
|
3406 |
'type' => $options['pagination_type'],
|
3407 |
+
'pagination_text' => $options['pagination_text'],
|
3408 |
) );
|
3409 |
}
|
3410 |
|
modules/text-simple/module.php
CHANGED
@@ -81,24 +81,6 @@ class DSLC_Text_Simple extends DSLC_Module {
|
|
81 |
* Styling Options
|
82 |
*/
|
83 |
|
84 |
-
array(
|
85 |
-
'label' => __( 'Enable/Disable Custom CSS', 'live-composer-page-builder' ),
|
86 |
-
'id' => 'css_custom',
|
87 |
-
'std' => 'enabled',
|
88 |
-
'type' => 'select',
|
89 |
-
'choices' => array(
|
90 |
-
array(
|
91 |
-
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
92 |
-
'value' => 'enabled',
|
93 |
-
),
|
94 |
-
array(
|
95 |
-
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
96 |
-
'value' => 'disabled',
|
97 |
-
),
|
98 |
-
),
|
99 |
-
'section' => 'styling',
|
100 |
-
),
|
101 |
-
|
102 |
array(
|
103 |
'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
|
104 |
'id' => 'css_min_height',
|
@@ -2962,6 +2944,17 @@ class DSLC_Text_Simple extends DSLC_Module {
|
|
2962 |
'ext' => 'px',
|
2963 |
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2964 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2965 |
array(
|
2966 |
'label' => __( 'Text Shadow', 'live-composer-page-builder' ),
|
2967 |
'id' => 'css_li_text_shadow',
|
@@ -4431,6 +4424,17 @@ class DSLC_Text_Simple extends DSLC_Module {
|
|
4431 |
'ext' => 'px',
|
4432 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
4433 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4434 |
array(
|
4435 |
'label' => __( 'Blockquote - Font Size', 'live-composer-page-builder' ),
|
4436 |
'id' => 'css_res_t_blockquote_font_size',
|
@@ -5064,6 +5068,17 @@ class DSLC_Text_Simple extends DSLC_Module {
|
|
5064 |
'ext' => 'px',
|
5065 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
5066 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5067 |
array(
|
5068 |
'label' => __( 'Blockquote - Font Size', 'live-composer-page-builder' ),
|
5069 |
'id' => 'css_res_p_blockquote_font_size',
|
@@ -5182,22 +5197,26 @@ class DSLC_Text_Simple extends DSLC_Module {
|
|
5182 |
}
|
5183 |
|
5184 |
/* Module output starts here */
|
|
|
|
|
|
|
|
|
|
|
5185 |
|
5186 |
-
|
5187 |
-
|
5188 |
-
|
5189 |
-
|
5190 |
-
} ?>><?php
|
5191 |
-
}
|
5192 |
|
5193 |
-
|
5194 |
-
|
5195 |
-
|
5196 |
-
if ( $dslc_active ) {
|
5197 |
-
?></div><!-- .dslca-editable-content --><?php
|
5198 |
-
?><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div><?php
|
5199 |
-
}
|
5200 |
|
5201 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
5202 |
}
|
5203 |
}
|
81 |
* Styling Options
|
82 |
*/
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
array(
|
85 |
'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
|
86 |
'id' => 'css_min_height',
|
2944 |
'ext' => 'px',
|
2945 |
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2946 |
),
|
2947 |
+
array(
|
2948 |
+
'label' => __( 'Text Align', 'live-composer-page-builder' ),
|
2949 |
+
'id' => 'css_li_text_align',
|
2950 |
+
'std' => 'left',
|
2951 |
+
'type' => 'text_align',
|
2952 |
+
'refresh_on_change' => false,
|
2953 |
+
'affect_on_change_el' => '.dslc-text-module-content ul',
|
2954 |
+
'affect_on_change_rule' => 'text-align',
|
2955 |
+
'section' => 'styling',
|
2956 |
+
'tab' => __( 'Lists', 'live-composer-page-builder' ),
|
2957 |
+
),
|
2958 |
array(
|
2959 |
'label' => __( 'Text Shadow', 'live-composer-page-builder' ),
|
2960 |
'id' => 'css_li_text_shadow',
|
4424 |
'ext' => 'px',
|
4425 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
4426 |
),
|
4427 |
+
array(
|
4428 |
+
'label' => __( 'List Item - Text Align', 'live-composer-page-builder' ),
|
4429 |
+
'id' => 'css_res_t_li_text_align',
|
4430 |
+
'std' => 'left',
|
4431 |
+
'type' => 'text_align',
|
4432 |
+
'refresh_on_change' => false,
|
4433 |
+
'affect_on_change_el' => '.dslc-text-module-content ul',
|
4434 |
+
'affect_on_change_rule' => 'text-align',
|
4435 |
+
'section' => 'responsive',
|
4436 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
4437 |
+
),
|
4438 |
array(
|
4439 |
'label' => __( 'Blockquote - Font Size', 'live-composer-page-builder' ),
|
4440 |
'id' => 'css_res_t_blockquote_font_size',
|
5068 |
'ext' => 'px',
|
5069 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
5070 |
),
|
5071 |
+
array(
|
5072 |
+
'label' => __( 'List Item - Text Align', 'live-composer-page-builder' ),
|
5073 |
+
'id' => 'css_res_p_li_text_align',
|
5074 |
+
'std' => 'left',
|
5075 |
+
'type' => 'text_align',
|
5076 |
+
'refresh_on_change' => false,
|
5077 |
+
'affect_on_change_el' => '.dslc-text-module-content ul',
|
5078 |
+
'affect_on_change_rule' => 'text-align',
|
5079 |
+
'section' => 'responsive',
|
5080 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
5081 |
+
),
|
5082 |
array(
|
5083 |
'label' => __( 'Blockquote - Font Size', 'live-composer-page-builder' ),
|
5084 |
'id' => 'css_res_p_blockquote_font_size',
|
5197 |
}
|
5198 |
|
5199 |
/* Module output starts here */
|
5200 |
+
|
5201 |
+
?>
|
5202 |
+
|
5203 |
+
<div class="dslc-text-module-content">
|
5204 |
+
<?php
|
5205 |
|
5206 |
+
if ( $dslc_active ) {
|
5207 |
+
?><div class="dslca-editable-content" data-type="simple" data-id="content"<?php if ( $dslc_is_admin ) { echo ' data-exportable-content';
|
5208 |
+
} ?>><?php
|
5209 |
+
}
|
|
|
|
|
5210 |
|
5211 |
+
$output_content = stripslashes( $options['content'] );
|
5212 |
+
echo apply_filters( 'dslc_text_block_render', $output_content );
|
|
|
|
|
|
|
|
|
|
|
5213 |
|
5214 |
+
if ( $dslc_active ) {
|
5215 |
+
?></div><!-- .dslca-editable-content --><?php
|
5216 |
+
?><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div><?php
|
5217 |
+
} ?>
|
5218 |
+
</div>
|
5219 |
+
|
5220 |
+
<?php
|
5221 |
}
|
5222 |
}
|
modules/tp-comments-form/module.php
CHANGED
@@ -110,6 +110,12 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
|
|
110 |
'std' => '',
|
111 |
'type' => 'text',
|
112 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
/**
|
115 |
* General
|
@@ -594,6 +600,134 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
|
|
594 |
'tab' => __( 'Inputs', 'live-composer-page-builder' ),
|
595 |
),
|
596 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
597 |
/**
|
598 |
* Submit Button
|
599 |
*/
|
@@ -1026,6 +1160,44 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
|
|
1026 |
'ext' => 'px',
|
1027 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
1028 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1029 |
|
1030 |
/**
|
1031 |
* Responsive Phone
|
@@ -1231,6 +1403,44 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
|
|
1231 |
'ext' => 'px',
|
1232 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
1233 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1234 |
|
1235 |
);
|
1236 |
|
@@ -1285,6 +1495,7 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1285 |
$txt_name = __( 'Name', 'live-composer-page-builder' );
|
1286 |
$txt_email = __( 'Email', 'live-composer-page-builder' );
|
1287 |
$txt_url = __( 'Website', 'live-composer-page-builder' );
|
|
|
1288 |
|
1289 |
if ( isset( $options['txt_submit_comment'] ) && $options['txt_submit_comment'] != '' ) {
|
1290 |
$txt_submit_comment = $options['txt_submit_comment'];
|
@@ -1310,6 +1521,10 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1310 |
$txt_url = $options['txt_url'];
|
1311 |
}
|
1312 |
|
|
|
|
|
|
|
|
|
1313 |
if ( isset( $options['css_inputs_color'] ) && $options['css_inputs_color'] != '' ) {
|
1314 |
$css_inputs_color = $options['css_inputs_color'];
|
1315 |
} else {
|
@@ -1340,10 +1555,11 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1340 |
<div id="respond" class="comment-respond">
|
1341 |
<h3 id="reply-title" class="comment-reply-title"><?php echo $txt_leave_comment; ?></h3>
|
1342 |
<form action="#" method="post" id="commentform" class="comment-form" novalidate="">
|
1343 |
-
<div class="comment-form-comment"><textarea id="comment" name="comment" placeholder="<?php echo $txt_comment; ?>" aria-required="true"></textarea></div>
|
1344 |
<div class="comment-form-name"><input id="author" name="author" type="text" value="" size="30" placeholder="<?php echo $txt_name; ?> *" aria-required="true"></div>
|
1345 |
<div class="comment-form-email"><input id="email" name="email" type="text" value="" size="30" placeholder="<?php echo $txt_email; ?> *" aria-required="true"></div>
|
1346 |
<div class="comment-form-website"><input id="url" name="url" type="text" value="" size="30" placeholder="<?php echo $txt_url; ?>"></div>
|
|
|
|
|
1347 |
|
1348 |
<p class="form-submit">
|
1349 |
<input name="submit" type="submit" id="submit" class="submit" value="<?php echo $txt_submit_comment; ?>">
|
@@ -1361,6 +1577,9 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1361 |
<?php else :
|
1362 |
|
1363 |
global $commenter;
|
|
|
|
|
|
|
1364 |
comment_form( array(
|
1365 |
'label_submit' => $txt_submit_comment,
|
1366 |
'cancel_reply_link' => __( 'cancel', 'live-composer-page-builder' ),
|
@@ -1373,6 +1592,8 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1373 |
'author' => '<div class="comment-form-name"><input id="author" name="author" type=text value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" placeholder="' . $txt_name . ' *" aria-required="true" /></div>',
|
1374 |
'email' => '<div class="comment-form-email"><input id="email" name="email" type=text value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" placeholder="' . $txt_email . ' *" aria-required="true" /></div>',
|
1375 |
'url' => '<div class="comment-form-website"><input id="url" name="url" type=text value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" placeholder="' . $txt_url . '" /></div>',
|
|
|
|
|
1376 |
) ),
|
1377 |
), $post_id );
|
1378 |
|
@@ -1405,3 +1626,23 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
|
|
1405 |
return $shortcode_rendered;
|
1406 |
|
1407 |
} add_shortcode( 'dslc_module_comments_form_output', 'dslc_module_comments_form_output' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
'std' => '',
|
111 |
'type' => 'text',
|
112 |
),
|
113 |
+
array(
|
114 |
+
'label' => __( '"GDPR" Text', 'live-composer-page-builder' ),
|
115 |
+
'id' => 'txt_gdpr',
|
116 |
+
'std' => '',
|
117 |
+
'type' => 'text',
|
118 |
+
),
|
119 |
|
120 |
/**
|
121 |
* General
|
600 |
'tab' => __( 'Inputs', 'live-composer-page-builder' ),
|
601 |
),
|
602 |
|
603 |
+
/**
|
604 |
+
* Text
|
605 |
+
*/
|
606 |
+
|
607 |
+
array(
|
608 |
+
'label' => __( 'Color', 'live-composer-page-builder' ),
|
609 |
+
'id' => 'css_text_color',
|
610 |
+
'std' => '#4d4d4d',
|
611 |
+
'type' => 'color',
|
612 |
+
'refresh_on_change' => false,
|
613 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
614 |
+
'affect_on_change_rule' => 'color',
|
615 |
+
'section' => 'styling',
|
616 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
617 |
+
),
|
618 |
+
array(
|
619 |
+
'label' => __( 'Font Size', 'live-composer-page-builder' ),
|
620 |
+
'id' => 'css_text_font_size',
|
621 |
+
'onlypositive' => true, // Value can't be negative.
|
622 |
+
'std' => '14',
|
623 |
+
'type' => 'slider',
|
624 |
+
'refresh_on_change' => false,
|
625 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
626 |
+
'affect_on_change_rule' => 'font-size',
|
627 |
+
'section' => 'styling',
|
628 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
629 |
+
'ext' => 'px',
|
630 |
+
),
|
631 |
+
array(
|
632 |
+
'label' => __( 'Font Weight', 'live-composer-page-builder' ),
|
633 |
+
'id' => 'css_text_font_weight',
|
634 |
+
'std' => '400',
|
635 |
+
'type' => 'select',
|
636 |
+
'choices' => array(
|
637 |
+
array(
|
638 |
+
'label' => '100 - Thin',
|
639 |
+
'value' => '100',
|
640 |
+
),
|
641 |
+
array(
|
642 |
+
'label' => '200 - Extra Light',
|
643 |
+
'value' => '200',
|
644 |
+
),
|
645 |
+
array(
|
646 |
+
'label' => '300 - Light',
|
647 |
+
'value' => '300',
|
648 |
+
),
|
649 |
+
array(
|
650 |
+
'label' => '400 - Normal',
|
651 |
+
'value' => '400',
|
652 |
+
),
|
653 |
+
array(
|
654 |
+
'label' => '500 - Medium',
|
655 |
+
'value' => '500',
|
656 |
+
),
|
657 |
+
array(
|
658 |
+
'label' => '600 - Semi Bold',
|
659 |
+
'value' => '600',
|
660 |
+
),
|
661 |
+
array(
|
662 |
+
'label' => '700 - Bold',
|
663 |
+
'value' => '700',
|
664 |
+
),
|
665 |
+
array(
|
666 |
+
'label' => '800 - Extra Bold',
|
667 |
+
'value' => '800',
|
668 |
+
),
|
669 |
+
array(
|
670 |
+
'label' => '900 - Black',
|
671 |
+
'value' => '900',
|
672 |
+
),
|
673 |
+
),
|
674 |
+
'refresh_on_change' => false,
|
675 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
676 |
+
'affect_on_change_rule' => 'font-weight',
|
677 |
+
'section' => 'styling',
|
678 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
679 |
+
'ext' => '',
|
680 |
+
),
|
681 |
+
array(
|
682 |
+
'label' => __( 'Font Family', 'live-composer-page-builder' ),
|
683 |
+
'id' => 'css_text_font_family',
|
684 |
+
'std' => 'Open Sans',
|
685 |
+
'type' => 'font',
|
686 |
+
'refresh_on_change' => false,
|
687 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
688 |
+
'affect_on_change_rule' => 'font-family',
|
689 |
+
'section' => 'styling',
|
690 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
691 |
+
),
|
692 |
+
array(
|
693 |
+
'label' => __( 'Line Height', 'live-composer-page-builder' ),
|
694 |
+
'id' => 'css_text_line_height',
|
695 |
+
'onlypositive' => true, // Value can't be negative.
|
696 |
+
'std' => '14',
|
697 |
+
'type' => 'slider',
|
698 |
+
'refresh_on_change' => false,
|
699 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
700 |
+
'affect_on_change_rule' => 'line-height',
|
701 |
+
'section' => 'styling',
|
702 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
703 |
+
'ext' => 'px',
|
704 |
+
),
|
705 |
+
array(
|
706 |
+
'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
|
707 |
+
'id' => 'css_text_margin',
|
708 |
+
'std' => '20',
|
709 |
+
'type' => 'slider',
|
710 |
+
'refresh_on_change' => false,
|
711 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
712 |
+
'affect_on_change_rule' => 'margin-bottom',
|
713 |
+
'section' => 'styling',
|
714 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
715 |
+
'ext' => 'px',
|
716 |
+
),
|
717 |
+
array(
|
718 |
+
'label' => __( 'Checkbox - Margin Right', 'live-composer-page-builder' ),
|
719 |
+
'id' => 'css_text_checkbox_margin_right',
|
720 |
+
'std' => '7',
|
721 |
+
'type' => 'slider',
|
722 |
+
'refresh_on_change' => false,
|
723 |
+
'affect_on_change_el' => '#wp-comment-cookies-consent',
|
724 |
+
'affect_on_change_rule' => 'margin-right',
|
725 |
+
'section' => 'styling',
|
726 |
+
'tab' => __( 'Text', 'live-composer-page-builder' ),
|
727 |
+
'ext' => 'px',
|
728 |
+
),
|
729 |
+
|
730 |
+
|
731 |
/**
|
732 |
* Submit Button
|
733 |
*/
|
1160 |
'ext' => 'px',
|
1161 |
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
1162 |
),
|
1163 |
+
array(
|
1164 |
+
'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
|
1165 |
+
'id' => 'css_res_t_text_font_size',
|
1166 |
+
'onlypositive' => true, // Value can't be negative.
|
1167 |
+
'std' => '14',
|
1168 |
+
'type' => 'slider',
|
1169 |
+
'refresh_on_change' => false,
|
1170 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1171 |
+
'affect_on_change_rule' => 'font-size',
|
1172 |
+
'section' => 'responsive',
|
1173 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
1174 |
+
'ext' => 'px',
|
1175 |
+
),
|
1176 |
+
array(
|
1177 |
+
'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
|
1178 |
+
'id' => 'css_res_t_text_line_height',
|
1179 |
+
'onlypositive' => true, // Value can't be negative.
|
1180 |
+
'std' => '14',
|
1181 |
+
'type' => 'slider',
|
1182 |
+
'refresh_on_change' => false,
|
1183 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1184 |
+
'affect_on_change_rule' => 'line-height',
|
1185 |
+
'section' => 'responsive',
|
1186 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
1187 |
+
'ext' => 'px',
|
1188 |
+
),
|
1189 |
+
array(
|
1190 |
+
'label' => __( 'Text - Margin Bottom', 'live-composer-page-builder' ),
|
1191 |
+
'id' => 'css_res_t_text_margin',
|
1192 |
+
'std' => '20',
|
1193 |
+
'type' => 'slider',
|
1194 |
+
'refresh_on_change' => false,
|
1195 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1196 |
+
'affect_on_change_rule' => 'margin-bottom',
|
1197 |
+
'section' => 'responsive',
|
1198 |
+
'tab' => __( 'Tablet', 'live-composer-page-builder' ),
|
1199 |
+
'ext' => 'px',
|
1200 |
+
),
|
1201 |
|
1202 |
/**
|
1203 |
* Responsive Phone
|
1403 |
'ext' => 'px',
|
1404 |
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
1405 |
),
|
1406 |
+
array(
|
1407 |
+
'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
|
1408 |
+
'id' => 'css_res_p_text_font_size',
|
1409 |
+
'onlypositive' => true, // Value can't be negative.
|
1410 |
+
'std' => '14',
|
1411 |
+
'type' => 'slider',
|
1412 |
+
'refresh_on_change' => false,
|
1413 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1414 |
+
'affect_on_change_rule' => 'font-size',
|
1415 |
+
'section' => 'responsive',
|
1416 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
1417 |
+
'ext' => 'px',
|
1418 |
+
),
|
1419 |
+
array(
|
1420 |
+
'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
|
1421 |
+
'id' => 'css_res_p_text_line_height',
|
1422 |
+
'onlypositive' => true, // Value can't be negative.
|
1423 |
+
'std' => '14',
|
1424 |
+
'type' => 'slider',
|
1425 |
+
'refresh_on_change' => false,
|
1426 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1427 |
+
'affect_on_change_rule' => 'line-height',
|
1428 |
+
'section' => 'responsive',
|
1429 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
1430 |
+
'ext' => 'px',
|
1431 |
+
),
|
1432 |
+
array(
|
1433 |
+
'label' => __( 'Text - Margin Bottom', 'live-composer-page-builder' ),
|
1434 |
+
'id' => 'css_res_p_text_margin',
|
1435 |
+
'std' => '20',
|
1436 |
+
'type' => 'slider',
|
1437 |
+
'refresh_on_change' => false,
|
1438 |
+
'affect_on_change_el' => '.comment-form-cookies-consent',
|
1439 |
+
'affect_on_change_rule' => 'margin-bottom',
|
1440 |
+
'section' => 'responsive',
|
1441 |
+
'tab' => __( 'Phone', 'live-composer-page-builder' ),
|
1442 |
+
'ext' => 'px',
|
1443 |
+
),
|
1444 |
|
1445 |
);
|
1446 |
|
1495 |
$txt_name = __( 'Name', 'live-composer-page-builder' );
|
1496 |
$txt_email = __( 'Email', 'live-composer-page-builder' );
|
1497 |
$txt_url = __( 'Website', 'live-composer-page-builder' );
|
1498 |
+
$txt_gdpr = __( 'Save my name, email, and website in this browser for the next time I comment.', 'live-composer-page-builder' );
|
1499 |
|
1500 |
if ( isset( $options['txt_submit_comment'] ) && $options['txt_submit_comment'] != '' ) {
|
1501 |
$txt_submit_comment = $options['txt_submit_comment'];
|
1521 |
$txt_url = $options['txt_url'];
|
1522 |
}
|
1523 |
|
1524 |
+
if ( isset( $options['txt_gdpr'] ) && $options['txt_gdpr'] != '' ) {
|
1525 |
+
$txt_gdpr = $options['txt_gdpr'];
|
1526 |
+
}
|
1527 |
+
|
1528 |
if ( isset( $options['css_inputs_color'] ) && $options['css_inputs_color'] != '' ) {
|
1529 |
$css_inputs_color = $options['css_inputs_color'];
|
1530 |
} else {
|
1555 |
<div id="respond" class="comment-respond">
|
1556 |
<h3 id="reply-title" class="comment-reply-title"><?php echo $txt_leave_comment; ?></h3>
|
1557 |
<form action="#" method="post" id="commentform" class="comment-form" novalidate="">
|
|
|
1558 |
<div class="comment-form-name"><input id="author" name="author" type="text" value="" size="30" placeholder="<?php echo $txt_name; ?> *" aria-required="true"></div>
|
1559 |
<div class="comment-form-email"><input id="email" name="email" type="text" value="" size="30" placeholder="<?php echo $txt_email; ?> *" aria-required="true"></div>
|
1560 |
<div class="comment-form-website"><input id="url" name="url" type="text" value="" size="30" placeholder="<?php echo $txt_url; ?>"></div>
|
1561 |
+
<div class="comment-form-comment"><textarea id="comment" name="comment" placeholder="<?php echo $txt_comment; ?>" aria-required="true"></textarea></div>
|
1562 |
+
<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"><label for="wp-comment-cookies-consent"><?php echo $txt_gdpr; ?></label></p>
|
1563 |
|
1564 |
<p class="form-submit">
|
1565 |
<input name="submit" type="submit" id="submit" class="submit" value="<?php echo $txt_submit_comment; ?>">
|
1577 |
<?php else :
|
1578 |
|
1579 |
global $commenter;
|
1580 |
+
$commenter = wp_get_current_commenter();
|
1581 |
+
$consent = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';
|
1582 |
+
|
1583 |
comment_form( array(
|
1584 |
'label_submit' => $txt_submit_comment,
|
1585 |
'cancel_reply_link' => __( 'cancel', 'live-composer-page-builder' ),
|
1592 |
'author' => '<div class="comment-form-name"><input id="author" name="author" type=text value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" placeholder="' . $txt_name . ' *" aria-required="true" /></div>',
|
1593 |
'email' => '<div class="comment-form-email"><input id="email" name="email" type=text value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" placeholder="' . $txt_email . ' *" aria-required="true" /></div>',
|
1594 |
'url' => '<div class="comment-form-website"><input id="url" name="url" type=text value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" placeholder="' . $txt_url . '" /></div>',
|
1595 |
+
'cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' .
|
1596 |
+
'<label for="wp-comment-cookies-consent">' . $txt_gdpr . '</label></p>'
|
1597 |
) ),
|
1598 |
), $post_id );
|
1599 |
|
1626 |
return $shortcode_rendered;
|
1627 |
|
1628 |
} add_shortcode( 'dslc_module_comments_form_output', 'dslc_module_comments_form_output' );
|
1629 |
+
|
1630 |
+
/**
|
1631 |
+
* Change HTML comment form
|
1632 |
+
*
|
1633 |
+
* @param array $fields Fields.
|
1634 |
+
*/
|
1635 |
+
function dslc_change_html_comment_form( $fields ) {
|
1636 |
+
|
1637 |
+
$comment_field = $fields['comment'];
|
1638 |
+
$cookies_field = $fields['cookies'];
|
1639 |
+
|
1640 |
+
unset( $fields['comment'] );
|
1641 |
+
unset( $fields['cookies'] );
|
1642 |
+
|
1643 |
+
$fields['comment'] = $comment_field;
|
1644 |
+
$fields['cookies'] = $cookies_field;
|
1645 |
+
|
1646 |
+
return $fields;
|
1647 |
+
}
|
1648 |
+
add_filter( 'comment_form_fields', 'dslc_change_html_comment_form' );
|
modules/tp-content/module.php
CHANGED
@@ -73,23 +73,6 @@ class DSLC_TP_Content extends DSLC_Module {
|
|
73 |
* Styling Options
|
74 |
*/
|
75 |
|
76 |
-
array(
|
77 |
-
'label' => __( 'Enable/Disable Custom CSS', 'live-composer-page-builder' ),
|
78 |
-
'id' => 'css_custom',
|
79 |
-
'std' => 'disabled',
|
80 |
-
'type' => 'select',
|
81 |
-
'choices' => array(
|
82 |
-
array(
|
83 |
-
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
84 |
-
'value' => 'enabled',
|
85 |
-
),
|
86 |
-
array(
|
87 |
-
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
88 |
-
'value' => 'disabled',
|
89 |
-
),
|
90 |
-
),
|
91 |
-
'section' => 'styling',
|
92 |
-
),
|
93 |
array(
|
94 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
95 |
'id' => 'css_main_bg_color',
|
73 |
* Styling Options
|
74 |
*/
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
array(
|
77 |
'label' => __( 'BG Color', 'live-composer-page-builder' ),
|
78 |
'id' => 'css_main_bg_color',
|
modules/tp-gallery-slider/module.php
CHANGED
@@ -172,6 +172,22 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
|
|
172 |
),
|
173 |
),
|
174 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
/**
|
177 |
* General Styling
|
@@ -642,6 +658,161 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
|
|
642 |
'ext' => 'px',
|
643 |
),
|
644 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
645 |
/**
|
646 |
* Responsive Tablet
|
647 |
*/
|
@@ -1018,10 +1189,16 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
|
|
1018 |
|
1019 |
<?php
|
1020 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1021 |
if ( $show_placeholder ) {
|
1022 |
|
1023 |
for ( $i = 0; $i < 15; $i++ ) {
|
1024 |
-
?><div class="dslc-slider-item"
|
1025 |
}
|
1026 |
} else {
|
1027 |
|
@@ -1037,10 +1214,15 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
|
|
1037 |
$gallery_image_src = $gallery_image_src[0];
|
1038 |
|
1039 |
$thumb_alt = get_post_meta( $gallery_image, '_wp_attachment_image_alt', true );
|
1040 |
-
if ( ! $thumb_alt ) { $thumb_alt = '';
|
1041 |
-
|
|
|
|
|
|
|
|
|
|
|
1042 |
|
1043 |
-
?><div class="dslc-slider-item"><img class="<?php echo $img_class; ?>" src="<?php echo $gallery_image_src; ?>" alt="<?php echo $thumb_alt; ?>" <?php echo $srcset; ?> <?php echo $sizes; ?> /></div><?php
|
1044 |
|
1045 |
}
|
1046 |
}
|
172 |
),
|
173 |
),
|
174 |
),
|
175 |
+
array(
|
176 |
+
'label' => __( 'Caption', 'live-composer-page-builder' ),
|
177 |
+
'id' => 'caption_state',
|
178 |
+
'std' => 'disabled',
|
179 |
+
'type' => 'select',
|
180 |
+
'choices' => array(
|
181 |
+
array(
|
182 |
+
'label' => __( 'Enabled', 'live-composer-page-builder' ),
|
183 |
+
'value' => 'enabled',
|
184 |
+
),
|
185 |
+
array(
|
186 |
+
'label' => __( 'Disabled', 'live-composer-page-builder' ),
|
187 |
+
'value' => 'disabled',
|
188 |
+
),
|
189 |
+
),
|
190 |
+
),
|
191 |
|
192 |
/**
|
193 |
* General Styling
|
658 |
'ext' => 'px',
|
659 |
),
|
660 |
|
661 |
+
/**
|
662 |
+
* Caption
|
663 |
+
*/
|
664 |
+
|
665 |
+
array(
|
666 |
+
'label' => __( 'Color', 'live-composer-page-builder' ),
|
667 |
+
'id' => 'css_caption_color',
|
668 |
+
'std' => '',
|
669 |
+
'type' => 'color',
|
670 |
+
'refresh_on_change' => false,
|
671 |
+
'affect_on_change_el' => '.dslc-caption',
|
672 |
+
'affect_on_change_rule' => 'color',
|
673 |
+
'section' => 'styling',
|
674 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
675 |
+
),
|
676 |
+
array(
|
677 |
+
'label' => __( 'Font Size', 'live-composer-page-builder' ),
|
678 |
+
'id' => 'css_caption_font_size',
|
679 |
+
'onlypositive' => true, // Value can't be negative.
|
680 |
+
'std' => '25',
|
681 |
+
'type' => 'slider',
|
682 |
+
'refresh_on_change' => false,
|
683 |
+
'affect_on_change_el' => '.dslc-caption',
|
684 |
+
'affect_on_change_rule' => 'font-size',
|
685 |
+
'section' => 'styling',
|
686 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
687 |
+
'ext' => 'px',
|
688 |
+
),
|
689 |
+
array(
|
690 |
+
'label' => __( 'Font Weight', 'live-composer-page-builder' ),
|
691 |
+
'id' => 'css_caption_font_weight',
|
692 |
+
'std' => '400',
|
693 |
+
'type' => 'select',
|
694 |
+
'choices' => array(
|
695 |
+
array(
|
696 |
+
'label' => '100 - Thin',
|
697 |
+
'value' => '100',
|
698 |
+
),
|
699 |
+
array(
|
700 |
+
'label' => '200 - Extra Light',
|
701 |
+
'value' => '200',
|
702 |
+
),
|
703 |
+
array(
|
704 |
+
'label' => '300 - Light',
|
705 |
+
'value' => '300',
|
706 |
+
),
|
707 |
+
array(
|
708 |
+
'label' => '400 - Normal',
|
709 |
+
'value' => '400',
|
710 |
+
),
|
711 |
+
array(
|
712 |
+
'label' => '500 - Medium',
|
713 |
+
'value' => '500',
|
714 |
+
),
|
715 |
+
array(
|
716 |
+
'label' => '600 - Semi Bold',
|
717 |
+
'value' => '600',
|
718 |
+
),
|
719 |
+
array(
|
720 |
+
'label' => '700 - Bold',
|
721 |
+
'value' => '700',
|
722 |
+
),
|
723 |
+
array(
|
724 |
+
'label' => '800 - Extra Bold',
|
725 |
+
'value' => '800',
|
726 |
+
),
|
727 |
+
array(
|
728 |
+
'label' => '900 - Black',
|
729 |
+
'value' => '900',
|
730 |
+
),
|
731 |
+
),
|
732 |
+
'refresh_on_change' => false,
|
733 |
+
'affect_on_change_el' => '.dslc-caption',
|
734 |
+
'affect_on_change_rule' => 'font-weight',
|
735 |
+
'section' => 'styling',
|
736 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
737 |
+
'ext' => '',
|
738 |
+
),
|
739 |
+
array(
|
740 |
+
'label' => __( 'Font Family', 'live-composer-page-builder' ),
|
741 |
+
'id' => 'css_caption_font_family',
|
742 |
+
'std' => 'Open Sans',
|
743 |
+
'type' => 'font',
|
744 |
+
'refresh_on_change' => false,
|
745 |
+
'affect_on_change_el' => '.dslc-caption',
|
746 |
+
'affect_on_change_rule' => 'font-family',
|
747 |
+
'section' => 'styling',
|
748 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
749 |
+
),
|
750 |
+
array(
|
751 |
+
'label' => __( 'Line Height', 'live-composer-page-builder' ),
|
752 |
+
'id' => 'css_caption_line_height',
|
753 |
+
'onlypositive' => true, // Value can't be negative.
|
754 |
+
'std' => '40',
|
755 |
+
'type' => 'slider',
|
756 |
+
'refresh_on_change' => false,
|
757 |
+
'affect_on_change_el' => '.dslc-caption',
|
758 |
+
'affect_on_change_rule' => 'line-height',
|
759 |
+
'section' => 'styling',
|
760 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
761 |
+
'ext' => 'px',
|
762 |
+
),
|
763 |
+
array(
|
764 |
+
'label' => __( 'Text Align', 'live-composer-page-builder' ),
|
765 |
+
'id' => 'css_caption_text_align',
|
766 |
+
'std' => 'center',
|
767 |
+
'type' => 'text_align',
|
768 |
+
'refresh_on_change' => false,
|
769 |
+
'affect_on_change_el' => '.dslc-caption',
|
770 |
+
'affect_on_change_rule' => 'text-align',
|
771 |
+
'section' => 'styling',
|
772 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
773 |
+
),
|
774 |
+
array(
|
775 |
+
'label' => __( 'Text Transform', 'live-composer-page-builder' ),
|
776 |
+
'id' => 'css_caption_text_transform',
|
777 |
+
'std' => 'none',
|
778 |
+
'type' => 'select',
|
779 |
+
'choices' => array(
|
780 |
+
array(
|
781 |
+
'label' => __( 'None', 'live-composer-page-builder' ),
|
782 |
+
'value' => 'none',
|
783 |
+
),
|
784 |
+
array(
|
785 |
+
'label' => __( 'Capitalize', 'live-composer-page-builder' ),
|
786 |
+
'value' => 'capitalize',
|
787 |
+
),
|
788 |
+
array(
|
789 |
+
'label' => __( 'Uppercase', 'live-composer-page-builder' ),
|
790 |
+
'value' => 'uppercase',
|
791 |
+
),
|
792 |
+
array(
|
793 |
+
'label' => __( 'Lowercase', 'live-composer-page-builder' ),
|
794 |
+
'value' => 'lowercase',
|
795 |
+
),
|
796 |
+
),
|
797 |
+
'refresh_on_change' => false,
|
798 |
+
'affect_on_change_el' => '.dslc-caption',
|
799 |
+
'affect_on_change_rule' => 'text-transform',
|
800 |
+
'section' => 'styling',
|
801 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
802 |
+
),
|
803 |
+
array(
|
804 |
+
'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
|
805 |
+
'id' => 'css_caption_margin_bottom',
|
806 |
+
'std' => '15',
|
807 |
+
'type' => 'slider',
|
808 |
+
'refresh_on_change' => false,
|
809 |
+
'affect_on_change_el' => '.dslc-caption',
|
810 |
+
'affect_on_change_rule' => 'margin-bottom',
|
811 |
+
'section' => 'styling',
|
812 |
+
'ext' => 'px',
|
813 |
+
'tab' => __( 'Caption', 'live-composer-page-builder' ),
|
814 |
+
),
|
815 |
+
|
816 |
/**
|
817 |
* Responsive Tablet
|
818 |
*/
|
1189 |
|
1190 |
<?php
|
1191 |
|
1192 |
+
$caption_state = false;
|
1193 |
+
|
1194 |
+
if ( $options['caption_state'] == 'enabled' ) {
|
1195 |
+
$caption_state = true;
|
1196 |
+
}
|
1197 |
+
|
1198 |
if ( $show_placeholder ) {
|
1199 |
|
1200 |
for ( $i = 0; $i < 15; $i++ ) {
|
1201 |
+
?><div class="dslc-slider-item"><?php if ( $caption_state ) { echo '<span class="dslc-caption">caption</span>'; } ?><img src="<?php echo DS_LIVE_COMPOSER_URL; ?>/images/placeholders/big-placeholder.png" /></div><?php
|
1202 |
}
|
1203 |
} else {
|
1204 |
|
1214 |
$gallery_image_src = $gallery_image_src[0];
|
1215 |
|
1216 |
$thumb_alt = get_post_meta( $gallery_image, '_wp_attachment_image_alt', true );
|
1217 |
+
if ( ! $thumb_alt ) { $thumb_alt = ''; }
|
1218 |
+
|
1219 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
1220 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
1221 |
+
|
1222 |
+
$thumb_caption = wp_get_attachment_caption( get_post_thumbnail_id() );
|
1223 |
+
if ( ! $thumb_caption ) { $thumb_caption = ''; }
|
1224 |
|
1225 |
+
?><div class="dslc-slider-item"><span class="dslc-caption"><?php if ( $caption_state ) { echo $thumb_caption; } ?></span><img class="<?php echo $img_class; ?>" src="<?php echo $gallery_image_src; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" <?php echo $srcset; ?> <?php echo $sizes; ?> /></div><?php
|
1226 |
|
1227 |
}
|
1228 |
}
|
modules/tp-meta/module.php
CHANGED
@@ -650,7 +650,7 @@ class DSLC_TP_Meta extends DSLC_Module {
|
|
650 |
} else { $comments = __( '1 Comment' );
|
651 |
}
|
652 |
|
653 |
-
$comments_output = '<a href="#
|
654 |
|
655 |
}
|
656 |
|
650 |
} else { $comments = __( '1 Comment' );
|
651 |
}
|
652 |
|
653 |
+
$comments_output = '<a href="#comments">' . $comments . '</a>';
|
654 |
|
655 |
}
|
656 |
|
modules/tp-project-slider/module.php
CHANGED
@@ -996,10 +996,12 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
|
|
996 |
$project_image_src = $project_image_src[0];
|
997 |
|
998 |
$thumb_alt = get_post_meta( $project_image, '_wp_attachment_image_alt', true );
|
999 |
-
if ( ! $thumb_alt ) { $thumb_alt = '';
|
1000 |
-
}
|
1001 |
|
1002 |
-
|
|
|
|
|
|
|
1003 |
|
1004 |
}
|
1005 |
}
|
996 |
$project_image_src = $project_image_src[0];
|
997 |
|
998 |
$thumb_alt = get_post_meta( $project_image, '_wp_attachment_image_alt', true );
|
999 |
+
if ( ! $thumb_alt ) { $thumb_alt = ''; }
|
|
|
1000 |
|
1001 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
1002 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
1003 |
+
|
1004 |
+
?><div class="dslc-slider-item"><img class="<?php echo $img_class; ?>" src="<?php echo $project_image_src; ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" <?php echo $srcset; ?> <?php echo $sizes; ?> /></div><?php
|
1005 |
|
1006 |
}
|
1007 |
}
|
modules/tp-thumbnail/module.php
CHANGED
@@ -375,6 +375,11 @@ class DSLC_TP_Thumbnail extends DSLC_Module {
|
|
375 |
}
|
376 |
|
377 |
$thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), 'full' );
|
|
|
|
|
|
|
|
|
|
|
378 |
|
379 |
if ( ! $thumb_url && ! dslc_current_user_can( 'save' ) ) {
|
380 |
return; // Don't output module if no thumbnail set.
|
@@ -407,9 +412,9 @@ class DSLC_TP_Thumbnail extends DSLC_Module {
|
|
407 |
<?php
|
408 |
if ( $manual_resize ) : ?>
|
409 |
<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true ); ?>
|
410 |
-
<img src="<?php echo esc_attr( $res_img ); ?>" />
|
411 |
<?php else : ?>
|
412 |
-
<?php echo get_the_post_thumbnail( $post_id, 'full' ); ?>
|
413 |
<?php endif; ?>
|
414 |
</div>
|
415 |
<?php else : ?>
|
@@ -437,9 +442,9 @@ class DSLC_TP_Thumbnail extends DSLC_Module {
|
|
437 |
<?php endif; ?>
|
438 |
<?php if ( $manual_resize ) : ?>
|
439 |
<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );?>
|
440 |
-
<img src="<?php echo esc_attr( $res_img ); ?>" alt="<?php echo esc_attr( dslc_get_attachment_alt( get_post_thumbnail_id() ) ); ?>" />
|
441 |
<?php else : ?>
|
442 |
-
<?php the_post_thumbnail( 'full' ); ?>
|
443 |
<?php endif; ?>
|
444 |
<?php if ( isset( $options['lightbox_state'] ) && 'enabled' === $options['lightbox_state'] ) : ?>
|
445 |
</a>
|
375 |
}
|
376 |
|
377 |
$thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), 'full' );
|
378 |
+
$thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
|
379 |
+
if ( ! $thumb_alt ) { $thumb_alt = ''; }
|
380 |
+
|
381 |
+
$thumb_title = get_the_title( get_post_thumbnail_id() );
|
382 |
+
if ( ! $thumb_title ) { $thumb_title = ''; }
|
383 |
|
384 |
if ( ! $thumb_url && ! dslc_current_user_can( 'save' ) ) {
|
385 |
return; // Don't output module if no thumbnail set.
|
412 |
<?php
|
413 |
if ( $manual_resize ) : ?>
|
414 |
<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true ); ?>
|
415 |
+
<img src="<?php echo esc_attr( $res_img ); ?>" alt="<?php echo $thumb_alt; ?>" title="<?php echo $thumb_title; ?>" />
|
416 |
<?php else : ?>
|
417 |
+
<?php echo get_the_post_thumbnail( $post_id, 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
418 |
<?php endif; ?>
|
419 |
</div>
|
420 |
<?php else : ?>
|
442 |
<?php endif; ?>
|
443 |
<?php if ( $manual_resize ) : ?>
|
444 |
<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );?>
|
445 |
+
<img src="<?php echo esc_attr( $res_img ); ?>" alt="<?php echo esc_attr( dslc_get_attachment_alt( get_post_thumbnail_id() ) ); ?>" title="<?php echo $thumb_title; ?>" />
|
446 |
<?php else : ?>
|
447 |
+
<?php the_post_thumbnail( 'full', array( 'title' => get_the_title( get_post_thumbnail_id() ) ) ); ?>
|
448 |
<?php endif; ?>
|
449 |
<?php if ( isset( $options['lightbox_state'] ) && 'enabled' === $options['lightbox_state'] ) : ?>
|
450 |
</a>
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
=== Page Builder: Live Composer
|
2 |
Contributors: LiveComposer
|
3 |
Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
|
4 |
Requires at least: 4.7
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv3
|
8 |
|
9 |
Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
|
@@ -73,8 +73,6 @@ In most of the cases, this is because the homepage is not a real WordPress page,
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
-
⭐⭐⭐ NEW PLUGIN: STYLIST – ADDITIONAL STYLING FOR ANY SITE ELEMENT [ https://wordpress.org/plugins/stylist/ ]
|
77 |
-
|
78 |
= FOUND A BUG? =
|
79 |
* 🐛 [Please, report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
|
80 |
* ⌛ [You can download any previous version here](https://github.com/live-composer/live-composer-page-builder/releases)
|
@@ -83,6 +81,42 @@ In most of the cases, this is because the homepage is not a real WordPress page,
|
|
83 |
* 🦊 [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)
|
84 |
* 👀 [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.
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
= 1.3.18 - August 24th 2018 =
|
87 |
|
88 |
= Bug Fixes: =
|
1 |
+
=== Page Builder: Live Composer - drag and drop website builder (visual front end site editor) ===
|
2 |
Contributors: LiveComposer
|
3 |
Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
|
4 |
Requires at least: 4.7
|
5 |
+
Tested up to: 5.0
|
6 |
+
Stable tag: 1.4
|
7 |
License: GPLv3
|
8 |
|
9 |
Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
76 |
= FOUND A BUG? =
|
77 |
* 🐛 [Please, report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
|
78 |
* ⌛ [You can download any previous version here](https://github.com/live-composer/live-composer-page-builder/releases)
|
81 |
* 🦊 [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)
|
82 |
* 👀 [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.
|
83 |
|
84 |
+
= 1.4 - December 11th 2018 =
|
85 |
+
|
86 |
+
= Bug Fixes: =
|
87 |
+
* Issue [#956](https://github.com/live-composer/live-composer-page-builder/issues/956): Meta module comment URL doesn't link to the page comments
|
88 |
+
* Issue [#948](https://github.com/live-composer/live-composer-page-builder/issues/948): Multiple CSS issues on RTL
|
89 |
+
* Issue [#394](https://github.com/live-composer/live-composer-page-builder/issues/394): I can't drag and drop modules when I use a Load Page Design
|
90 |
+
* Issue [#445](https://github.com/live-composer/live-composer-page-builder/issues/445): RTL issue
|
91 |
+
* Issue [#248](https://github.com/live-composer/live-composer-page-builder/issues/248): LC editing mode is broken on archive pages without page id
|
92 |
+
|
93 |
+
= Improved: =
|
94 |
+
* Issue [#947](https://github.com/live-composer/live-composer-page-builder/issues/947): Improvement for the Navigation module disable option
|
95 |
+
* Issue [#805](https://github.com/live-composer/live-composer-page-builder/issues/805): Plus and minus expanding icons for accordion module
|
96 |
+
* Issue [#739](https://github.com/live-composer/live-composer-page-builder/issues/739): Posts ordering by author
|
97 |
+
* Issue [#730](https://github.com/live-composer/live-composer-page-builder/issues/730): Add the category to the blog module meta
|
98 |
+
* Issue [#356](https://github.com/live-composer/live-composer-page-builder/issues/356): Keep the footer at the bottom of the page when there is no content
|
99 |
+
* Issue [#333](https://github.com/live-composer/live-composer-page-builder/issues/333): Add 'Enable/Disable Custom CSS' for all modules
|
100 |
+
* Issue [#955](https://github.com/live-composer/live-composer-page-builder/issues/955): Add lists style on the Info Box content
|
101 |
+
* Issue [#954](https://github.com/live-composer/live-composer-page-builder/issues/954): Add tags on the blog meta
|
102 |
+
* Issue [#958](https://github.com/live-composer/live-composer-page-builder/issues/958): Make the coment form GDPR Compliance
|
103 |
+
* Issue [#698](https://github.com/live-composer/live-composer-page-builder/issues/698): Galleries grid button
|
104 |
+
* Issue [#590](https://github.com/live-composer/live-composer-page-builder/issues/590): Gallery elements button
|
105 |
+
* Issue [#505](https://github.com/live-composer/live-composer-page-builder/issues/505): Improve parallax
|
106 |
+
* Issue [#482](https://github.com/live-composer/live-composer-page-builder/issues/482): Change pagination text
|
107 |
+
* Issue [#348](https://github.com/live-composer/live-composer-page-builder/issues/348): Make sure all the modules with images has alt tags option
|
108 |
+
|
109 |
+
= New: =
|
110 |
+
* Issue [#405](https://github.com/live-composer/live-composer-page-builder/issues/405): Add template for "Not Found" on search results
|
111 |
+
* Issue [#373](https://github.com/live-composer/live-composer-page-builder/issues/373): Add possibility to create template for a particular taxonomy term
|
112 |
+
* Issue [#951](https://github.com/live-composer/live-composer-page-builder/issues/951): Add new filter for module image
|
113 |
+
* Issue [#920](https://github.com/live-composer/live-composer-page-builder/issues/920): Add filters to override default module outputs
|
114 |
+
* Issue [#599](https://github.com/live-composer/live-composer-page-builder/issues/599): Add opacity control for modle text
|
115 |
+
* Issue [#500](https://github.com/live-composer/live-composer-page-builder/issues/500): Add second orderby for module blog
|
116 |
+
* Issue [#407](https://github.com/live-composer/live-composer-page-builder/issues/407): Add possibility to filter posts by tag for module blog
|
117 |
+
* Issue [#387](https://github.com/live-composer/live-composer-page-builder/issues/387): Add caption for module gallery slider
|
118 |
+
* Issue [#384](https://github.com/live-composer/live-composer-page-builder/issues/384): Add preloader for template loading
|
119 |
+
|
120 |
= 1.3.18 - August 24th 2018 =
|
121 |
|
122 |
= Bug Fixes: =
|
templates/dslc-page-not-found.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Not Found custom page template for Live Composer.
|
4 |
+
*
|
5 |
+
* @package LiveComposer
|
6 |
+
*/
|
7 |
+
|
8 |
+
// Prevent direct access to the file.
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
header( 'HTTP/1.0 403 Forbidden' );
|
11 |
+
exit;
|
12 |
+
}
|
13 |
+
|
14 |
+
get_header();
|
15 |
+
?>
|
16 |
+
<?php
|
17 |
+
$args = array(
|
18 |
+
'page_id' => dslc_get_option( 'page_not_found', 'dslc_plugin_options_archives' ),
|
19 |
+
'post_type'=> 'dslc_templates', // @todo: Allow 3-rd party themes to set 404 page using custom content types.
|
20 |
+
'ignore_sticky_posts' => true
|
21 |
+
);
|
22 |
+
$adslc_query = new WP_Query( $args );
|
23 |
+
|
24 |
+
if ( $adslc_query->have_posts() ) : while ( $adslc_query->have_posts() ) : $adslc_query->the_post();
|
25 |
+
the_content();
|
26 |
+
endwhile; endif; wp_reset_query();
|
27 |
+
?>
|
28 |
+
<?php get_footer(); ?>
|