Version Description
- fixed : added compatibility patch for WordPress 5.0. Waiting for core decision on : https://core.trac.wordpress.org/ticket/45292
- fixed : parallax effect not being applied on preset section drop
- improved : image module margins are not inherited from the theme
=
Download this release
Release Info
Developer | nikeo |
Plugin | Nimble Page Builder |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.9 to 1.2.0
- assets/czr/sek/css/sek-control.css +83 -0
- assets/czr/sek/css/sek-control.min.css +1 -1
- assets/czr/sek/js/ccat-sek-control.js +327 -44
- assets/czr/sek/js/ccat-sek-control.min.js +1 -1
- assets/czr/sek/js/ccat-sek-preview.js +1 -2
- assets/front/css/sek-base-rtl.css +1051 -1051
- assets/front/css/sek-base.css +4 -0
- assets/front/css/sek-base.min.css +1 -1
- assets/front/js/ccat-nimble-front.js +7 -3
- assets/front/js/ccat-nimble-front.min.js +1 -1
- assets/preset_sections.json +1 -1
- inc/admin/nimble-admin.php +2 -7
- inc/sektions/ccat-czr-sektions.php +38 -2
- inc/sektions/ccat-sektions.php +306 -17
- nimble-builder.php +4 -4
- readme.txt +10 -9
assets/czr/sek/css/sek-control.css
CHANGED
@@ -65,6 +65,11 @@ li[id*="__nimble__"].customize-control span.customize-control-title:first-child
|
|
65 |
|
66 |
|
67 |
|
|
|
|
|
|
|
|
|
|
|
68 |
/* MODULE AND SECTION PICKER INPUT */
|
69 |
[data-sek-content-type] {
|
70 |
float: left;
|
@@ -118,6 +123,29 @@ li[id*="sek_draggable_modules"] [data-sek-content-type="preset_section"] {
|
|
118 |
box-shadow: 0 12px 20px rgba(0,0,0,.2);
|
119 |
}
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
.sek-dragging [data-sek-content-type] {
|
122 |
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
|
123 |
box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
|
@@ -352,6 +380,9 @@ li[id*="sek_draggable_modules"] [data-sek-content-type="preset_section"] {
|
|
352 |
|
353 |
|
354 |
|
|
|
|
|
|
|
355 |
/* BACKGROUND POSITION INPUT */
|
356 |
.sek-bg-pos-wrapper {
|
357 |
padding: 10px;
|
@@ -956,6 +987,58 @@ body.nimble-top-bar-visible #nimble-top-bar {
|
|
956 |
}
|
957 |
|
958 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
959 |
/*.czr-preview-notification a, .czr-preview-notification h2 {color: #fff; margin: 1em 0;}
|
960 |
|
961 |
.czr-preview-notification .czr-preview-note-close {
|
65 |
|
66 |
|
67 |
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
/* MODULE AND SECTION PICKER INPUT */
|
74 |
[data-sek-content-type] {
|
75 |
float: left;
|
123 |
box-shadow: 0 12px 20px rgba(0,0,0,.2);
|
124 |
}
|
125 |
|
126 |
+
/* USER SECTIONS */
|
127 |
+
.sek-user-section-wrapper {
|
128 |
+
margin-bottom: 15px;
|
129 |
+
float: left;
|
130 |
+
}
|
131 |
+
.sek-user-section-wrapper {
|
132 |
+
width: 100%
|
133 |
+
}
|
134 |
+
.sek-user-section-wrapper [data-sek-is-user-section="true"] {
|
135 |
+
height: auto;
|
136 |
+
padding: 2%;
|
137 |
+
width: 89%;
|
138 |
+
}
|
139 |
+
.sek-saved-section-date {
|
140 |
+
font-size: 11px;
|
141 |
+
text-align: left;
|
142 |
+
}
|
143 |
+
.sek-saved-section-description {
|
144 |
+
font-size: 13px;
|
145 |
+
font-style: italic;
|
146 |
+
text-align: left;
|
147 |
+
}
|
148 |
+
|
149 |
.sek-dragging [data-sek-content-type] {
|
150 |
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
|
151 |
box-shadow: 0 2px 5px rgba(0,0,0,.25)!important;
|
380 |
|
381 |
|
382 |
|
383 |
+
|
384 |
+
|
385 |
+
|
386 |
/* BACKGROUND POSITION INPUT */
|
387 |
.sek-bg-pos-wrapper {
|
388 |
padding: 10px;
|
987 |
}
|
988 |
|
989 |
|
990 |
+
|
991 |
+
/* TOP SAVE SECTION UI */
|
992 |
+
#nimble-top-save-ui {
|
993 |
+
height: 300px;
|
994 |
+
padding: 20px;
|
995 |
+
position: absolute;
|
996 |
+
top: -300px;
|
997 |
+
/*text-align: center;*/
|
998 |
+
right: 0;
|
999 |
+
left: 0;
|
1000 |
+
z-index: 20;
|
1001 |
+
color: #fff;
|
1002 |
+
display: block;
|
1003 |
+
-webkit-transition: all 0.3s ease-in-out;
|
1004 |
+
-moz-transition: all, 0.3s ease-in-out;
|
1005 |
+
-ms-transition: all, 0.3s ease-in-out;
|
1006 |
+
-o-transition: all, 0.3s ease-in-out;
|
1007 |
+
transition: all 0.3s ease-in-out;
|
1008 |
+
/*visibility: hidden;*/
|
1009 |
+
opacity: 0.3;
|
1010 |
+
background: rgba(0, 0, 0, 0.5);
|
1011 |
+
z-index: 99999;
|
1012 |
+
/*display: -webkit-box;
|
1013 |
+
display: -ms-flexbox;
|
1014 |
+
display: flex;
|
1015 |
+
-webkit-box-align: center;
|
1016 |
+
-ms-flex-align: center;
|
1017 |
+
align-items: center;
|
1018 |
+
flex: 0 0 100%;*/
|
1019 |
+
max-width: 100%;
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
#nimble-top-save-ui > div {
|
1023 |
+
width: 100%;
|
1024 |
+
}
|
1025 |
+
|
1026 |
+
body.nimble-save-ui-visible #nimble-top-save-ui {
|
1027 |
+
/*visibility: inherit;*/
|
1028 |
+
opacity: 1;
|
1029 |
+
top:36px;
|
1030 |
+
}
|
1031 |
+
|
1032 |
+
#nimble-top-save-ui .sek-cancel-save {
|
1033 |
+
position: absolute;
|
1034 |
+
bottom: 10px;
|
1035 |
+
right: 10px;
|
1036 |
+
}
|
1037 |
+
|
1038 |
+
#nimble-top-save-ui #sek-saved-section-title.error {
|
1039 |
+
border: 1px solid #ff0000;
|
1040 |
+
}
|
1041 |
+
|
1042 |
/*.czr-preview-notification a, .czr-preview-notification h2 {color: #fff; margin: 1em 0;}
|
1043 |
|
1044 |
.czr-preview-notification .czr-preview-note-close {
|
assets/czr/sek/css/sek-control.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../fonts/material-icons/MaterialIcons-Regular.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(../fonts/material-icons/MaterialIcons-Regular.woff2) format('woff2'),url(../fonts/material-icons/MaterialIcons-Regular.woff) format('woff'),url(../fonts/material-icons/MaterialIcons-Regular.ttf) format('truetype')}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'}ul[id*=sub-accordion-section-__nimble__]{background:#f2f2f2!important}#customize-theme-controls .customize-pane-child[id*="__nimble__"]{-webkit-transition:unset;-o-transition:unset;transition:unset}li[id*="__nimble__"].customize-control{margin:8px 0;padding:2px;width:calc(100% - 4px);border:1px solid rgba(221,221,221,.43);box-shadow:1px 1px 2px 0 rgba(75,75,85,.2);-webkit-box-shadow:1px 1px 2px 0 rgba(75,75,85,.2);background-color:#fff}li[id*="__nimble__"].customize-control span.customize-control-title:first-child{margin-left:21px}[data-sek-content-type]{float:left;padding:0;margin:1.8%;text-align:center;cursor:move;-webkit-transition:-webkit-box-shadow .2s ease;transition:-webkit-box-shadow .2s ease;-o-transition:box-shadow .2s ease;transition:box-shadow .2s ease;transition:box-shadow .2s ease,-webkit-box-shadow .2s ease;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.25);box-shadow:0 2px 5px rgba(0,0,0,.25);border-radius:4px}[data-sek-content-type=module]{width:29%;height:130px}li[id*=sek_draggable_modules] [data-sek-content-type=preset_section]{width:29%}[data-sek-content-type=preset_section]{width:95%;height:165px;position:relative}[data-sek-content-type=preset_section] .sek-overlay{display:block;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000;opacity:0;-webkit-transition:opacity .35s ease;transition:opacity .35s ease;-o-transition:opacity .35s ease}[data-sek-content-type=preset_section]:hover .sek-overlay{opacity:.15}[data-sek-content-type]:hover{-webkit-box-shadow:0 12px 20px rgba(0,0,0,.2);box-shadow:0 12px 20px rgba(0,0,0,.2)}.sek-dragging [data-sek-content-type]{-webkit-box-shadow:0 2px 5px rgba(0,0,0,.25)!important;box-shadow:0 2px 5px rgba(0,0,0,.25)!important}.sek-dragged{background:#33b3db3d;background:rgba(51,179,219,.24)}[data-sek-content-type] .sek-module-icon{display:block;padding:0}[data-sek-content-type] .sek-module-icon .nimble-module-icons{font-size:3rem;max-width:100%;color:#878787;max-height:86px}[data-sek-content-type] .sek-module-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 6px 0;font-size:.75rem;height:45px;justify-content:center;position:relative;top:-18px}.sek-centered-module-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sek-pad-marg-inner{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px auto 10px auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0;background-color:#e6e6e6;border:1px solid #c5c5c5;height:192px;width:232px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease}.sek-pm-top-bottom-wrap{height:46px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.sek-flex-center-stretch{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.sek-pm-input{width:35px;height:15px;padding:0;text-align:center;font-family:Source Sans Pro;padding:5px;border-radius:3px;text-align:left;font-size:13px;outline:0;-webkit-box-shadow:inset 1px 1px 3px rgba(0,0,0,.15);box-shadow:inset 1px 1px 3px rgba(0,0,0,.15);border:1px solid #ced6d9}.sek-pm-input-parent .sek-pm-input{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:block;margin:auto 3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:1px 3px;font-size:12px;font-weight:300;min-width:34px;min-height:20px;color:#313131}.sek-pm-middle-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;height:100px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sek-pm-margin-left,.sek-pm-margin-right{width:46px}.sek-pm-padding-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;border:1px solid #ced6d9;height:100px;width:140px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:5px;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease;-webkit-box-sizing:border-box;box-sizing:border-box;margin:auto}.sek-flex-justify-center{min-height:0;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.sek-flex-space-between{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sek-pm-input-parent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.sek-pm-input-parent .sek-pm-input{min-height:25px;min-width:40px;background-color:#fff}.sek-pm-input-parent .sek-pm-input{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:block;margin:auto 3px!important;-webkit-box-sizing:border-box;box-sizing:border-box;padding:1px 3px;font-size:12px;font-weight:300;min-width:34px;min-height:20px;color:#313131;width:40px!important;text-align:center}.sek-pm-padding-wrapper label{margin:0}.sek-pad-marg-inner label{-webkit-box-flex:0;-ms-flex:0;flex:0}.reset-spacing-wrap{padding:10px 0 0;font-size:.8em;text-decoration:underline;cursor:pointer;text-align:center}.reset-spacing-wrap:hover{color:#006799}.sek-bg-pos-wrapper{padding:10px;text-align:center;display:inline-block;width:90px;height:90px}.sek-bg-pos-wrapper{display:inline-block;width:90px;height:90px}.sek-bg-pos-wrapper .sek-bg-pos{cursor:pointer;width:24px;height:24px;margin:3px;float:left}.sek-bg-pos-wrapper input[type=radio]{display:none}.sek-bg-pos-wrapper .sek-bg-pos span{display:inline-block;width:100%;height:100%;border-radius:6px;background:#e6e6e6 no-repeat center;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease}.sek-bg-pos-wrapper .sek-bg-pos span:hover{background-color:#33b3db}.sek-bg-pos-wrapper .sek-bg-pos span:hover svg{visibility:visible}.sek-bg-pos-wrapper .sek-bg-pos input[type=radio]:checked+span{background-color:#33b3db}.sek-bg-pos-wrapper .sek-bg-pos input[type=radio]:checked+span svg{visibility:visible}.sek-bg-pos-wrapper .sek-bg-pos span svg{visibility:hidden;shape-rendering:crispEdges}.sek-bg-pos-wrapper .sek-svg-bg-pos{fill:#fff}div[data-sek-align]{margin:0 5px;padding:4px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;position:relative;text-align:center;width:23px;height:24px;top:-4px;border-radius:4px;cursor:pointer}horizAlignmentWithDeviceSwitcher div[data-input-type=horizTextAlignmentWithDeviceSwitcher] .czr-input{text-align:center}div[data-input-type=horizTextAlignmentWithDeviceSwitcher] .sek-h-align-wrapper{display:inline-block}div[data-input-type=horizAlignmentWithDeviceSwitcher] .czr-input{text-align:center}div[data-input-type=horizAlignmentWithDeviceSwitcher] .sek-h-align-wrapper{display:inline-block}.sek-h-align-wrapper .sek-align-icons{float:right}div[data-sek-align]:hover{-webkit-box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}div[data-sek-align].selected{outline:0;color:#fff;-webkit-box-shadow:none;box-shadow:none;background:#555d66}.sek-side-nimble-logo-wrapper{padding:4px 25px 0 2px!important}.sek-side-nimble-logo-wrapper .sek-nimble-logo{height:45px}[data-input-type=code_editor] .czr-input{width:100%;float:left}.sek-unit-wrapper{text-align:center}.sek-ui-button-group{display:inline-block}.sek-ui-button-group .sek-ui-button:first-child{border-radius:3px 0 0 3px}.sek-ui-button-group .sek-ui-button+.sek-ui-button{margin-left:-1px}.sek-ui-button-group .sek-ui-button:last-child{border-radius:0 3px 3px 0}.sek-ui-button{height:28px;line-height:25px;padding:0 10px 2px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid;display:inline-flex;text-decoration:none;font-size:12px;margin:0;cursor:pointer;-webkit-appearance:none;background:0 0;color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.sek-ui-button:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d}.sek-ui-button:active:not(:disabled){background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.sek-ui-button:focus:not(:disabled){background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #fbfbfb;outline:0}.sek-ui-button.is-selected{background:#555d66;border-color:#555d66;box-shadow:inset 0 -1px 0 #555d66;color:#fff;text-decoration:none}.sek-ui-button.is-selected:focus:not(:disabled),.sek-ui-button.is-selected:hover{background:#555d66;border-color:#4f4f4f;color:#fff}.sek-ui-button.is-selected:focus:not(:disabled){box-shadow:inset 0 -1px 0 #4f4f4f}.sek-ui-button.is-selected:focus:not(:disabled){outline:0}.sek-content-type-wrapper{margin-bottom:8px;width:100%;float:left}.sek-content-type-wrapper .sek-ui-button-group{display:block}.sek-content-type-wrapper .sek-ui-button{width:49%;text-align:center;display:inline-block;padding:3px 0;height:auto;text-transform:uppercase}.sek-input-device-switcher .sek-switcher:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;color:#656a6f;position:relative;top:-5px}.sek-input-device-switcher .sek-switcher{cursor:pointer;background:0 0;border:none;padding:0 1px;margin:0 0 0 -2px;box-shadow:none;border-top:1px solid transparent;border-bottom:4px solid transparent;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}.sek-input-device-switcher .sek-switcher:focus,.sek-input-device-switcher .sek-switcher:hover{background-color:#fff}.sek-input-device-switcher .sek-switcher.active:before{color:#191e23}.sek-input-device-switcher .sek-switcher:focus:before,.sek-input-device-switcher .sek-switcher:hover:before{color:#0073aa}.sek-input-device-switcher .preview-desktop:before{content:"\f472"}.sek-input-device-switcher .preview-tablet:before{content:"\f471"}.sek-input-device-switcher .preview-mobile:before{content:"\f470"}.sek-range-with-unit-picker-wrapper{width:100%;float:left;margin-bottom:8px}.sek-range-with-unit-picker-wrapper .sek-unit-wrapper{float:right}.sek-range-with-unit-picker-wrapper>div{float:left}.sek-borders{width:100%;float:left;margin-bottom:8px}.sek-borders>div{float:left;width:100%}.sek-borders .sek-range-unit-wrapper>div{float:left}.sek-borders .sek-border-type-wrapper{margin-bottom:5px}.sek-borders .sek-range-unit-wrapper{margin-bottom:5px}.sek-borders .sek-range-unit-wrapper .sek-unit-wrapper{float:right}.sek-borders .sek-color-wrapper{width:100%}.sek-borders .sek-color-wrapper .sek-color-picker{width:50%;float:left}.sek-borders .sek-color-wrapper .sek-reset-button{width:50%;float:right}[data-sek-radius-type=top_right]>i.material-icons{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}[data-sek-radius-type=bottom_right]>i.material-icons{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}[data-sek-radius-type=bottom_left]>i.material-icons{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.sek-range-wrapper{width:44%;margin-right:4px}.sek-no-unit-picker .sek-range-wrapper{width:70%}.sek-number-wrapper{width:50px;margin-right:5px}.sek-range-input{flex:1;width:100%;padding:0;-webkit-appearance:none;background:0 0}.sek-range-input::-webkit-slider-thumb{-webkit-appearance:none;height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-8px}.sek-range-input::-moz-range-thumb{height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.sek-range-input::-ms-thumb{height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-8px}.sek-range-input:focus{outline:0}.sek-range-input::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.sek-range-input::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.sek-range-input::-ms-track{margin-top:-4px;background:0 0;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.sek-animated-arrow{position:absolute;left:-20px;margin-left:6px;top:3px;font-size:10px;color:#617379;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;-o-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-sek-expanded=true] label>.customize-control-title .sek-animated-arrow{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sek-level-option-icon{padding-right:5px;min-width:22px;text-align:center}#customize-preview iframe{top:36px}#nimble-top-bar{max-height:36px;position:absolute;text-align:center;right:0;left:0;z-index:20;color:#fff;display:block;-webkit-transition:all .3s ease-in-out;-moz-transition:all,.3s ease-in-out;-ms-transition:all,.3s ease-in-out;-o-transition:all,.3s ease-in-out;transition:all .3s ease-in-out;opacity:.3;top:0;background:rgba(0,0,0,.5);padding:2px;z-index:99999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;flex:0 0 100%;max-width:100%}body.nimble-top-bar-visible #nimble-top-bar{opacity:1}#nimble-top-bar:hover{background:rgba(0,0,0,.7)}#nimble-top-bar .nimble-top-bar-content{display:inline-block;line-height:20px;width:80%}#nimble-top-bar .sek-do-undo .icon:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;color:#fff}#nimble-top-bar .sek-settings{font-size:18px;padding:0 10px}#nimble-top-bar button{background:0 0;border:none;color:#fff;cursor:pointer}#nimble-top-bar button[data-nimble-state=disabled]{cursor:inherit;opacity:.4!important;cursor:not-allowed}#nimble-top-bar .sek-do-undo button:hover{opacity:1}#nimble-top-bar .sek-do-undo button:focus{outline:0}#nimble-top-bar .sek-do-undo .icon.undo:before{content:"\f171";-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}#nimble-top-bar .sek-do-undo .icon.do:before{content:"\f172";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#nimble-top-bar .sek-add-content button{padding-top:3px}#nimble-top-bar .sek-nimble-doc{position:absolute;right:10px;cursor:pointer}.sek-float-right{float:right}.sek-float-left{float:left}.sek-flex-vertical-center{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}li[id^=accordion-section-__nimble__]{margin-top:16px}li[id^=accordion-section-__nimble__]>h3{border-top:1px solid #ddd}
|
1 |
+
@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../fonts/material-icons/MaterialIcons-Regular.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(../fonts/material-icons/MaterialIcons-Regular.woff2) format('woff2'),url(../fonts/material-icons/MaterialIcons-Regular.woff) format('woff'),url(../fonts/material-icons/MaterialIcons-Regular.ttf) format('truetype')}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'}ul[id*=sub-accordion-section-__nimble__]{background:#f2f2f2!important}#customize-theme-controls .customize-pane-child[id*="__nimble__"]{-webkit-transition:unset;-o-transition:unset;transition:unset}li[id*="__nimble__"].customize-control{margin:8px 0;padding:2px;width:calc(100% - 4px);border:1px solid rgba(221,221,221,.43);box-shadow:1px 1px 2px 0 rgba(75,75,85,.2);-webkit-box-shadow:1px 1px 2px 0 rgba(75,75,85,.2);background-color:#fff}li[id*="__nimble__"].customize-control span.customize-control-title:first-child{margin-left:21px}[data-sek-content-type]{float:left;padding:0;margin:1.8%;text-align:center;cursor:move;-webkit-transition:-webkit-box-shadow .2s ease;transition:-webkit-box-shadow .2s ease;-o-transition:box-shadow .2s ease;transition:box-shadow .2s ease;transition:box-shadow .2s ease,-webkit-box-shadow .2s ease;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.25);box-shadow:0 2px 5px rgba(0,0,0,.25);border-radius:4px}[data-sek-content-type=module]{width:29%;height:130px}li[id*=sek_draggable_modules] [data-sek-content-type=preset_section]{width:29%}[data-sek-content-type=preset_section]{width:95%;height:165px;position:relative}[data-sek-content-type=preset_section] .sek-overlay{display:block;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000;opacity:0;-webkit-transition:opacity .35s ease;transition:opacity .35s ease;-o-transition:opacity .35s ease}[data-sek-content-type=preset_section]:hover .sek-overlay{opacity:.15}[data-sek-content-type]:hover{-webkit-box-shadow:0 12px 20px rgba(0,0,0,.2);box-shadow:0 12px 20px rgba(0,0,0,.2)}.sek-user-section-wrapper{margin-bottom:15px;float:left}.sek-user-section-wrapper{width:100%}.sek-user-section-wrapper [data-sek-is-user-section=true]{height:auto;padding:2%;width:89%}.sek-saved-section-date{font-size:11px;text-align:left}.sek-saved-section-description{font-size:13px;font-style:italic;text-align:left}.sek-dragging [data-sek-content-type]{-webkit-box-shadow:0 2px 5px rgba(0,0,0,.25)!important;box-shadow:0 2px 5px rgba(0,0,0,.25)!important}.sek-dragged{background:#33b3db3d;background:rgba(51,179,219,.24)}[data-sek-content-type] .sek-module-icon{display:block;padding:0}[data-sek-content-type] .sek-module-icon .nimble-module-icons{font-size:3rem;max-width:100%;color:#878787;max-height:86px}[data-sek-content-type] .sek-module-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 6px 0;font-size:.75rem;height:45px;justify-content:center;position:relative;top:-18px}.sek-centered-module-title{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sek-pad-marg-inner{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px auto 10px auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0;background-color:#e6e6e6;border:1px solid #c5c5c5;height:192px;width:232px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease}.sek-pm-top-bottom-wrap{height:46px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.sek-flex-center-stretch{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.sek-pm-input{width:35px;height:15px;padding:0;text-align:center;font-family:Source Sans Pro;padding:5px;border-radius:3px;text-align:left;font-size:13px;outline:0;-webkit-box-shadow:inset 1px 1px 3px rgba(0,0,0,.15);box-shadow:inset 1px 1px 3px rgba(0,0,0,.15);border:1px solid #ced6d9}.sek-pm-input-parent .sek-pm-input{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:block;margin:auto 3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:1px 3px;font-size:12px;font-weight:300;min-width:34px;min-height:20px;color:#313131}.sek-pm-middle-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;height:100px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sek-pm-margin-left,.sek-pm-margin-right{width:46px}.sek-pm-padding-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;border:1px solid #ced6d9;height:100px;width:140px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:5px;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease;-webkit-box-sizing:border-box;box-sizing:border-box;margin:auto}.sek-flex-justify-center{min-height:0;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.sek-flex-space-between{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sek-pm-input-parent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.sek-pm-input-parent .sek-pm-input{min-height:25px;min-width:40px;background-color:#fff}.sek-pm-input-parent .sek-pm-input{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;display:block;margin:auto 3px!important;-webkit-box-sizing:border-box;box-sizing:border-box;padding:1px 3px;font-size:12px;font-weight:300;min-width:34px;min-height:20px;color:#313131;width:40px!important;text-align:center}.sek-pm-padding-wrapper label{margin:0}.sek-pad-marg-inner label{-webkit-box-flex:0;-ms-flex:0;flex:0}.reset-spacing-wrap{padding:10px 0 0;font-size:.8em;text-decoration:underline;cursor:pointer;text-align:center}.reset-spacing-wrap:hover{color:#006799}.sek-bg-pos-wrapper{padding:10px;text-align:center;display:inline-block;width:90px;height:90px}.sek-bg-pos-wrapper{display:inline-block;width:90px;height:90px}.sek-bg-pos-wrapper .sek-bg-pos{cursor:pointer;width:24px;height:24px;margin:3px;float:left}.sek-bg-pos-wrapper input[type=radio]{display:none}.sek-bg-pos-wrapper .sek-bg-pos span{display:inline-block;width:100%;height:100%;border-radius:6px;background:#e6e6e6 no-repeat center;-webkit-transition:background-color .2s ease;-o-transition:background-color .2s ease;transition:background-color .2s ease}.sek-bg-pos-wrapper .sek-bg-pos span:hover{background-color:#33b3db}.sek-bg-pos-wrapper .sek-bg-pos span:hover svg{visibility:visible}.sek-bg-pos-wrapper .sek-bg-pos input[type=radio]:checked+span{background-color:#33b3db}.sek-bg-pos-wrapper .sek-bg-pos input[type=radio]:checked+span svg{visibility:visible}.sek-bg-pos-wrapper .sek-bg-pos span svg{visibility:hidden;shape-rendering:crispEdges}.sek-bg-pos-wrapper .sek-svg-bg-pos{fill:#fff}div[data-sek-align]{margin:0 5px;padding:4px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;position:relative;text-align:center;width:23px;height:24px;top:-4px;border-radius:4px;cursor:pointer}horizAlignmentWithDeviceSwitcher div[data-input-type=horizTextAlignmentWithDeviceSwitcher] .czr-input{text-align:center}div[data-input-type=horizTextAlignmentWithDeviceSwitcher] .sek-h-align-wrapper{display:inline-block}div[data-input-type=horizAlignmentWithDeviceSwitcher] .czr-input{text-align:center}div[data-input-type=horizAlignmentWithDeviceSwitcher] .sek-h-align-wrapper{display:inline-block}.sek-h-align-wrapper .sek-align-icons{float:right}div[data-sek-align]:hover{-webkit-box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}div[data-sek-align].selected{outline:0;color:#fff;-webkit-box-shadow:none;box-shadow:none;background:#555d66}.sek-side-nimble-logo-wrapper{padding:4px 25px 0 2px!important}.sek-side-nimble-logo-wrapper .sek-nimble-logo{height:45px}[data-input-type=code_editor] .czr-input{width:100%;float:left}.sek-unit-wrapper{text-align:center}.sek-ui-button-group{display:inline-block}.sek-ui-button-group .sek-ui-button:first-child{border-radius:3px 0 0 3px}.sek-ui-button-group .sek-ui-button+.sek-ui-button{margin-left:-1px}.sek-ui-button-group .sek-ui-button:last-child{border-radius:0 3px 3px 0}.sek-ui-button{height:28px;line-height:25px;padding:0 10px 2px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid;display:inline-flex;text-decoration:none;font-size:12px;margin:0;cursor:pointer;-webkit-appearance:none;background:0 0;color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.sek-ui-button:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d}.sek-ui-button:active:not(:disabled){background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.sek-ui-button:focus:not(:disabled){background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 2px #fbfbfb;outline:0}.sek-ui-button.is-selected{background:#555d66;border-color:#555d66;box-shadow:inset 0 -1px 0 #555d66;color:#fff;text-decoration:none}.sek-ui-button.is-selected:focus:not(:disabled),.sek-ui-button.is-selected:hover{background:#555d66;border-color:#4f4f4f;color:#fff}.sek-ui-button.is-selected:focus:not(:disabled){box-shadow:inset 0 -1px 0 #4f4f4f}.sek-ui-button.is-selected:focus:not(:disabled){outline:0}.sek-content-type-wrapper{margin-bottom:8px;width:100%;float:left}.sek-content-type-wrapper .sek-ui-button-group{display:block}.sek-content-type-wrapper .sek-ui-button{width:49%;text-align:center;display:inline-block;padding:3px 0;height:auto;text-transform:uppercase}.sek-input-device-switcher .sek-switcher:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;color:#656a6f;position:relative;top:-5px}.sek-input-device-switcher .sek-switcher{cursor:pointer;background:0 0;border:none;padding:0 1px;margin:0 0 0 -2px;box-shadow:none;border-top:1px solid transparent;border-bottom:4px solid transparent;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}.sek-input-device-switcher .sek-switcher:focus,.sek-input-device-switcher .sek-switcher:hover{background-color:#fff}.sek-input-device-switcher .sek-switcher.active:before{color:#191e23}.sek-input-device-switcher .sek-switcher:focus:before,.sek-input-device-switcher .sek-switcher:hover:before{color:#0073aa}.sek-input-device-switcher .preview-desktop:before{content:"\f472"}.sek-input-device-switcher .preview-tablet:before{content:"\f471"}.sek-input-device-switcher .preview-mobile:before{content:"\f470"}.sek-range-with-unit-picker-wrapper{width:100%;float:left;margin-bottom:8px}.sek-range-with-unit-picker-wrapper .sek-unit-wrapper{float:right}.sek-range-with-unit-picker-wrapper>div{float:left}.sek-borders{width:100%;float:left;margin-bottom:8px}.sek-borders>div{float:left;width:100%}.sek-borders .sek-range-unit-wrapper>div{float:left}.sek-borders .sek-border-type-wrapper{margin-bottom:5px}.sek-borders .sek-range-unit-wrapper{margin-bottom:5px}.sek-borders .sek-range-unit-wrapper .sek-unit-wrapper{float:right}.sek-borders .sek-color-wrapper{width:100%}.sek-borders .sek-color-wrapper .sek-color-picker{width:50%;float:left}.sek-borders .sek-color-wrapper .sek-reset-button{width:50%;float:right}[data-sek-radius-type=top_right]>i.material-icons{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}[data-sek-radius-type=bottom_right]>i.material-icons{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}[data-sek-radius-type=bottom_left]>i.material-icons{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.sek-range-wrapper{width:44%;margin-right:4px}.sek-no-unit-picker .sek-range-wrapper{width:70%}.sek-number-wrapper{width:50px;margin-right:5px}.sek-range-input{flex:1;width:100%;padding:0;-webkit-appearance:none;background:0 0}.sek-range-input::-webkit-slider-thumb{-webkit-appearance:none;height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-8px}.sek-range-input::-moz-range-thumb{height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.sek-range-input::-ms-thumb{height:20px;width:20px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-8px}.sek-range-input:focus{outline:0}.sek-range-input::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.sek-range-input::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.sek-range-input::-ms-track{margin-top:-4px;background:0 0;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.sek-animated-arrow{position:absolute;left:-20px;margin-left:6px;top:3px;font-size:10px;color:#617379;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;-o-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-sek-expanded=true] label>.customize-control-title .sek-animated-arrow{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sek-level-option-icon{padding-right:5px;min-width:22px;text-align:center}#customize-preview iframe{top:36px}#nimble-top-bar{max-height:36px;position:absolute;text-align:center;right:0;left:0;z-index:20;color:#fff;display:block;-webkit-transition:all .3s ease-in-out;-moz-transition:all,.3s ease-in-out;-ms-transition:all,.3s ease-in-out;-o-transition:all,.3s ease-in-out;transition:all .3s ease-in-out;opacity:.3;top:0;background:rgba(0,0,0,.5);padding:2px;z-index:99999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;flex:0 0 100%;max-width:100%}body.nimble-top-bar-visible #nimble-top-bar{opacity:1}#nimble-top-bar:hover{background:rgba(0,0,0,.7)}#nimble-top-bar .nimble-top-bar-content{display:inline-block;line-height:20px;width:80%}#nimble-top-bar .sek-do-undo .icon:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;color:#fff}#nimble-top-bar .sek-settings{font-size:18px;padding:0 10px}#nimble-top-bar button{background:0 0;border:none;color:#fff;cursor:pointer}#nimble-top-bar button[data-nimble-state=disabled]{cursor:inherit;opacity:.4!important;cursor:not-allowed}#nimble-top-bar .sek-do-undo button:hover{opacity:1}#nimble-top-bar .sek-do-undo button:focus{outline:0}#nimble-top-bar .sek-do-undo .icon.undo:before{content:"\f171";-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}#nimble-top-bar .sek-do-undo .icon.do:before{content:"\f172";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#nimble-top-bar .sek-add-content button{padding-top:3px}#nimble-top-bar .sek-nimble-doc{position:absolute;right:10px;cursor:pointer}#nimble-top-save-ui{height:300px;padding:20px;position:absolute;top:-300px;right:0;left:0;z-index:20;color:#fff;display:block;-webkit-transition:all .3s ease-in-out;-moz-transition:all,.3s ease-in-out;-ms-transition:all,.3s ease-in-out;-o-transition:all,.3s ease-in-out;transition:all .3s ease-in-out;opacity:.3;background:rgba(0,0,0,.5);z-index:99999;max-width:100%}#nimble-top-save-ui>div{width:100%}body.nimble-save-ui-visible #nimble-top-save-ui{opacity:1;top:36px}#nimble-top-save-ui .sek-cancel-save{position:absolute;bottom:10px;right:10px}#nimble-top-save-ui #sek-saved-section-title.error{border:1px solid red}.sek-float-right{float:right}.sek-float-left{float:left}.sek-flex-vertical-center{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}li[id^=accordion-section-__nimble__]{margin-top:16px}li[id^=accordion-section-__nimble__]>h3{border-top:1px solid #ddd}
|
assets/czr/sek/js/ccat-sek-control.js
CHANGED
@@ -93,6 +93,9 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
93 |
}
|
94 |
});
|
95 |
self.setupTopBar();//@see specific dev file
|
|
|
|
|
|
|
96 |
});//api.bind( 'ready' )
|
97 |
|
98 |
},// initialize()
|
@@ -436,6 +439,136 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
436 |
});//$.extend()
|
437 |
})( wp.customize, jQuery );
|
438 |
var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
(function ( api, $ ) {
|
440 |
$.extend( CZRSeksPrototype, {
|
441 |
setupSettingToBeSaved : function() {
|
@@ -1091,6 +1224,17 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
1091 |
uiParams = {};
|
1092 |
_dfd_.resolve();
|
1093 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1094 |
}
|
1095 |
};//msgCollection
|
1096 |
_.each( msgCollection, function( callbackFn, msgId ) {
|
@@ -1177,20 +1321,10 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
1177 |
newWindow.focus();
|
1178 |
}
|
1179 |
};
|
1180 |
-
var cleanIds = function( levelData ) {
|
1181 |
-
levelData.id = "";
|
1182 |
-
_.each( levelData.collection, function( levelData ) {
|
1183 |
-
levelData.id = "";
|
1184 |
-
if ( _.isArray( levelData.collection ) ) {
|
1185 |
-
cleanIds( levelData );
|
1186 |
-
}
|
1187 |
-
});
|
1188 |
-
return levelData;
|
1189 |
-
};
|
1190 |
|
1191 |
api.previewer.bind( 'sek-to-json', function( params ) {
|
1192 |
var sectionModel = $.extend( true, {}, self.getLevelModel( params.id ) );
|
1193 |
-
console.log( JSON.stringify( cleanIds( sectionModel ) ) );
|
1194 |
});
|
1195 |
}//schedulePrintSectionJson
|
1196 |
});//$.extend()
|
@@ -1539,8 +1673,22 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
1539 |
expandAndFocusOnInit : false,
|
1540 |
priority : 10,
|
1541 |
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>'
|
1542 |
-
}
|
1543 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1544 |
var firstKey = _.keys( modulesRegistrationParams )[0],
|
1545 |
firstControlId = modulesRegistrationParams[firstKey].settingControlId;
|
1546 |
|
@@ -2878,10 +3026,11 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
2878 |
});// self.preparePresetSectionForInjection.done()
|
2879 |
};//_doWhenPresetSectionCollectionFetched()
|
2880 |
self.getPresetSectionCollection({
|
2881 |
-
|
|
|
2882 |
section_id : params.id//<= we need to use the section id already generated, and passed for ajax action @see ::reactToPreviewMsg, case "sek-add-section"
|
2883 |
})
|
2884 |
-
.fail( function() {
|
2885 |
api.errare( 'updateAPISetting => ' + params.action + ' => Error with self.getPresetSectionCollection()', _er_ );
|
2886 |
__updateAPISettingDeferred__.reject( 'updateAPISetting => ' + params.action + ' => Error with self.getPresetSectionCollection()');
|
2887 |
})
|
@@ -2938,7 +3087,8 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
2938 |
});//self.preparePresetSectionForInjection.done()
|
2939 |
};//_doWhenPresetSectionCollectionFetched
|
2940 |
self.getPresetSectionCollection({
|
2941 |
-
|
|
|
2942 |
section_id : params.id//<= we need to use the section id already generated, and passed for ajax action @see ::reactToPreviewMsg, case "sek-add-section"
|
2943 |
})
|
2944 |
.fail( function() {
|
@@ -2995,39 +3145,61 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
2995 |
});//api( self.sekCollectionSettingId(), function( sektionSetInstance ) {}
|
2996 |
return __updateAPISettingDeferred__.promise();
|
2997 |
},//updateAPISetting
|
2998 |
-
_maybeFetchSectionsFromServer : function() {
|
2999 |
-
|
3000 |
-
|
3001 |
-
|
3002 |
-
|
3003 |
-
|
3004 |
-
|
3005 |
-
|
3006 |
-
_ajaxRequest_ = api.sek_fetchingPresetSections;
|
3007 |
} else {
|
3008 |
-
|
3009 |
-
|
3010 |
-
|
3011 |
-
|
3012 |
-
|
3013 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3014 |
}
|
3015 |
-
|
3016 |
-
|
3017 |
-
api.sek_presetSections = _collection_;
|
3018 |
dfd.resolve( api.sek_presetSections );
|
3019 |
-
}
|
3020 |
-
|
3021 |
-
|
3022 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3023 |
}
|
|
|
3024 |
return dfd.promise();
|
3025 |
},
|
3026 |
getPresetSectionCollection : function( sectionParams ) {
|
3027 |
var self = this,
|
3028 |
__dfd__ = $.Deferred();
|
3029 |
|
3030 |
-
self._maybeFetchSectionsFromServer(
|
|
|
|
|
|
|
3031 |
.fail( function( er ) {
|
3032 |
__dfd__.reject( er );
|
3033 |
})
|
@@ -3038,10 +3210,10 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
3038 |
if ( _.isEmpty( allPresets ) ) {
|
3039 |
throw new Error( 'getPresetSectionCollection => Invalid collection');
|
3040 |
}
|
3041 |
-
if ( _.isEmpty( allPresets[ sectionParams.
|
3042 |
-
throw new Error( 'getPresetSectionCollection => the preset section : "' + sectionParams.
|
3043 |
}
|
3044 |
-
var presetCandidate = allPresets[ sectionParams.
|
3045 |
|
3046 |
var setIds = function( collection ) {
|
3047 |
_.each( collection, function( levelData ) {
|
@@ -3700,8 +3872,18 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
3700 |
.fail( function( _er_ ) {
|
3701 |
api.errare( 'sek_import_attachment ajax action failed for image ' + relpath, _er_ );
|
3702 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3703 |
}
|
3704 |
-
|
3705 |
});//$.extend()
|
3706 |
})( wp.customize, jQuery );//global sektionsLocalizedData
|
3707 |
/**
|
@@ -3749,6 +3931,8 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
3749 |
var _onStart = function( evt ) {
|
3750 |
evt.originalEvent.dataTransfer.setData( "sek-content-type", $(this).data('sek-content-type') );
|
3751 |
evt.originalEvent.dataTransfer.setData( "sek-content-id", $(this).data('sek-content-id') );
|
|
|
|
|
3752 |
try {
|
3753 |
evt.originalEvent.dataTransfer.setData( 'browserSupport', 'browserSupport' );
|
3754 |
evt.originalEvent.dataTransfer.setData( 'browserSupport', 'browserSupport' );
|
@@ -4028,7 +4212,10 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
4028 |
after_section : $dropTarget.data('drop-zone-after-section'),
|
4029 |
|
4030 |
content_type : evt.originalEvent.dataTransfer.getData( "sek-content-type" ),
|
4031 |
-
content_id : evt.originalEvent.dataTransfer.getData( "sek-content-id" )
|
|
|
|
|
|
|
4032 |
});
|
4033 |
},
|
4034 |
reactToDrop : function() {
|
@@ -5835,7 +6022,7 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
5835 |
'sek_intro_sec_picker_module',
|
5836 |
'sek_features_sec_picker_module',
|
5837 |
'sek_contact_sec_picker_module',
|
5838 |
-
'sek_column_layouts_sec_picker_module'
|
5839 |
], function( module_type ) {
|
5840 |
api.czrModuleMap[ module_type ] = {
|
5841 |
crud : false,
|
@@ -5848,8 +6035,104 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
5848 |
)
|
5849 |
};
|
5850 |
});
|
|
|
|
|
5851 |
|
5852 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5853 |
api.czrInputMap = api.czrInputMap || {};
|
5854 |
$.extend( api.czrInputMap, {
|
5855 |
section_picker : function( input_options ) {
|
93 |
}
|
94 |
});
|
95 |
self.setupTopBar();//@see specific dev file
|
96 |
+
if ( sektionsLocalizedData.isSavedSectionEnabled ) {
|
97 |
+
self.setupSaveUI();
|
98 |
+
}
|
99 |
});//api.bind( 'ready' )
|
100 |
|
101 |
},// initialize()
|
439 |
});//$.extend()
|
440 |
})( wp.customize, jQuery );
|
441 |
var CZRSeksPrototype = CZRSeksPrototype || {};
|
442 |
+
(function ( api, $ ) {
|
443 |
+
$.extend( CZRSeksPrototype, {
|
444 |
+
setupSaveUI : function() {
|
445 |
+
var self = this;
|
446 |
+
self.saveUIVisible = new api.Value( false );
|
447 |
+
self.saveUIVisible.bind( function( to, from, params ){
|
448 |
+
self.toggleSaveUI( to, params ? params.id : null );
|
449 |
+
});
|
450 |
+
},
|
451 |
+
toggleSaveUI : function( visible, sectionId ) {
|
452 |
+
visible = _.isUndefined( visible ) ? true : visible;
|
453 |
+
var self = this,
|
454 |
+
_renderAndSetup = function() {
|
455 |
+
$.when( self.renderAndSetupSaveUITmpl({}) ).done( function( $_el ) {
|
456 |
+
self.saveUIContainer = $_el;
|
457 |
+
_.delay( function() {
|
458 |
+
$('body').addClass('nimble-save-ui-visible');
|
459 |
+
}, 200 );
|
460 |
+
$('#sek-saved-section-id').val( sectionId );
|
461 |
+
});
|
462 |
+
},
|
463 |
+
_hide = function() {
|
464 |
+
var dfd = $.Deferred();
|
465 |
+
$('body').removeClass('nimble-save-ui-visible');
|
466 |
+
if ( $( '#nimble-top-save-ui' ).length > 0 ) {
|
467 |
+
_.delay( function() {
|
468 |
+
|
469 |
+
self.saveUIContainer.remove();
|
470 |
+
dfd.resolve();
|
471 |
+
}, 300 );
|
472 |
+
} else {
|
473 |
+
dfd.resolve();
|
474 |
+
}
|
475 |
+
return dfd.promise();
|
476 |
+
};
|
477 |
+
|
478 |
+
if ( visible ) {
|
479 |
+
_renderAndSetup();
|
480 |
+
} else {
|
481 |
+
_hide().done( function() {
|
482 |
+
self.saveUIVisible( false );//should be already false
|
483 |
+
});
|
484 |
+
}
|
485 |
+
},
|
486 |
+
preProcessSektion : function( sectionModel ) {
|
487 |
+
var self = this, sektionCandidate = self.cleanIds( sectionModel );
|
488 |
+
return _.omit( sektionCandidate, function( val, key ) {
|
489 |
+
return _.contains( ['id', 'level'], key );
|
490 |
+
});
|
491 |
+
},
|
492 |
+
renderAndSetupSaveUITmpl : function( params ) {
|
493 |
+
if ( $( '#nimble-top-save-ui' ).length > 0 )
|
494 |
+
return $( '#nimble-top-save-ui' );
|
495 |
+
|
496 |
+
var self = this;
|
497 |
+
|
498 |
+
try {
|
499 |
+
_tmpl = wp.template( 'nimble-top-save-ui' )( {} );
|
500 |
+
} catch( er ) {
|
501 |
+
api.errare( 'Error when parsing the the top note template', er );
|
502 |
+
return false;
|
503 |
+
}
|
504 |
+
$('#customize-preview').after( $( _tmpl ) );
|
505 |
+
$('.sek-do-save-section', '#nimble-top-save-ui').on( 'click', function(evt) {
|
506 |
+
evt.preventDefault();
|
507 |
+
var sectionModel = $.extend( true, {}, self.getLevelModel( $('#sek-saved-section-id').val() ) ),
|
508 |
+
sek_title = $('#sek-saved-section-title').val(),
|
509 |
+
sek_description = $('#sek-saved-section-description').val(),
|
510 |
+
sek_id = self.guid(),
|
511 |
+
sek_data = self.preProcessSektion(sectionModel);
|
512 |
+
|
513 |
+
if ( _.isEmpty( sek_title ) ) {
|
514 |
+
$('#sek-saved-section-title').addClass('error');
|
515 |
+
api.previewer.trigger('sek-notify', {
|
516 |
+
type : 'error',
|
517 |
+
duration : 10000,
|
518 |
+
message : [
|
519 |
+
'<span style="font-size:0.95em">',
|
520 |
+
'<strong>@missi18n You need to set a title</strong>',
|
521 |
+
'</span>'
|
522 |
+
].join('')
|
523 |
+
|
524 |
+
});
|
525 |
+
return;
|
526 |
+
}
|
527 |
+
|
528 |
+
$('#sek-saved-section-title').removeClass('error');
|
529 |
+
|
530 |
+
wp.ajax.post( 'sek_save_section', {
|
531 |
+
nonce: api.settings.nonce.save,
|
532 |
+
sek_title: sek_title,
|
533 |
+
sek_description: sek_description,
|
534 |
+
sek_id: sek_id,
|
535 |
+
sek_data: JSON.stringify( sek_data )
|
536 |
+
})
|
537 |
+
.done( function( response ) {
|
538 |
+
api.previewer.trigger('sek-notify', {
|
539 |
+
type : 'success',
|
540 |
+
duration : 10000,
|
541 |
+
message : [
|
542 |
+
'<span style="font-size:0.95em">',
|
543 |
+
'<strong>@missi18n Your section has been saved.</strong>',
|
544 |
+
'</span>'
|
545 |
+
].join('')
|
546 |
+
});
|
547 |
+
})
|
548 |
+
.fail( function( er ) {
|
549 |
+
api.errorLog( 'ajax sek_save_section => error', er );
|
550 |
+
api.previewer.trigger('sek-notify', {
|
551 |
+
type : 'error',
|
552 |
+
duration : 10000,
|
553 |
+
message : [
|
554 |
+
'<span style="font-size:0.95em">',
|
555 |
+
'<strong>@missi18n You need to set a title</strong>',
|
556 |
+
'</span>'
|
557 |
+
].join('')
|
558 |
+
});
|
559 |
+
});
|
560 |
+
});//on click
|
561 |
+
|
562 |
+
$('.sek-cancel-save', '#nimble-top-save-ui').on( 'click', function(evt) {
|
563 |
+
evt.preventDefault();
|
564 |
+
self.saveUIVisible(false);
|
565 |
+
});
|
566 |
+
|
567 |
+
return $( '#nimble-top-save-ui' );
|
568 |
+
}
|
569 |
+
});//$.extend()
|
570 |
+
})( wp.customize, jQuery );
|
571 |
+
var CZRSeksPrototype = CZRSeksPrototype || {};
|
572 |
(function ( api, $ ) {
|
573 |
$.extend( CZRSeksPrototype, {
|
574 |
setupSettingToBeSaved : function() {
|
1224 |
uiParams = {};
|
1225 |
_dfd_.resolve();
|
1226 |
});
|
1227 |
+
},
|
1228 |
+
|
1229 |
+
'sek-toggle-save-section-ui' : function( params ) {
|
1230 |
+
sendToPreview = false;
|
1231 |
+
self.saveUIVisible( true, params );
|
1232 |
+
return $.Deferred(function(_dfd_) {
|
1233 |
+
apiParams = {
|
1234 |
+
};
|
1235 |
+
uiParams = {};
|
1236 |
+
_dfd_.resolve();
|
1237 |
+
});
|
1238 |
}
|
1239 |
};//msgCollection
|
1240 |
_.each( msgCollection, function( callbackFn, msgId ) {
|
1321 |
newWindow.focus();
|
1322 |
}
|
1323 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1324 |
|
1325 |
api.previewer.bind( 'sek-to-json', function( params ) {
|
1326 |
var sectionModel = $.extend( true, {}, self.getLevelModel( params.id ) );
|
1327 |
+
console.log( JSON.stringify( self.cleanIds( sectionModel ) ) );
|
1328 |
});
|
1329 |
}//schedulePrintSectionJson
|
1330 |
});//$.extend()
|
1673 |
expandAndFocusOnInit : false,
|
1674 |
priority : 10,
|
1675 |
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>'
|
1676 |
+
}
|
1677 |
});
|
1678 |
+
|
1679 |
+
if ( sektionsLocalizedData.isSavedSectionEnabled ) {
|
1680 |
+
$.extend( modulesRegistrationParams, {
|
1681 |
+
sek_my_sections_sec_picker_module : {
|
1682 |
+
settingControlId : sektionsLocalizedData.optPrefixForSektionsNotSaved + self.guid() + '_sek_draggable_sections_ui',
|
1683 |
+
module_type : 'sek_my_sections_sec_picker_module',
|
1684 |
+
controlLabel : '@missi18n My sections',
|
1685 |
+
content_type : 'section',
|
1686 |
+
expandAndFocusOnInit : false,
|
1687 |
+
priority : 10,
|
1688 |
+
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>'
|
1689 |
+
}
|
1690 |
+
});
|
1691 |
+
}
|
1692 |
var firstKey = _.keys( modulesRegistrationParams )[0],
|
1693 |
firstControlId = modulesRegistrationParams[firstKey].settingControlId;
|
1694 |
|
3026 |
});// self.preparePresetSectionForInjection.done()
|
3027 |
};//_doWhenPresetSectionCollectionFetched()
|
3028 |
self.getPresetSectionCollection({
|
3029 |
+
is_user_section : params.is_user_section,
|
3030 |
+
presetSectionId : params.content_id,
|
3031 |
section_id : params.id//<= we need to use the section id already generated, and passed for ajax action @see ::reactToPreviewMsg, case "sek-add-section"
|
3032 |
})
|
3033 |
+
.fail( function( _er_ ) {
|
3034 |
api.errare( 'updateAPISetting => ' + params.action + ' => Error with self.getPresetSectionCollection()', _er_ );
|
3035 |
__updateAPISettingDeferred__.reject( 'updateAPISetting => ' + params.action + ' => Error with self.getPresetSectionCollection()');
|
3036 |
})
|
3087 |
});//self.preparePresetSectionForInjection.done()
|
3088 |
};//_doWhenPresetSectionCollectionFetched
|
3089 |
self.getPresetSectionCollection({
|
3090 |
+
is_user_section : params.is_user_section,
|
3091 |
+
presetSectionId : params.content_id,
|
3092 |
section_id : params.id//<= we need to use the section id already generated, and passed for ajax action @see ::reactToPreviewMsg, case "sek-add-section"
|
3093 |
})
|
3094 |
.fail( function() {
|
3145 |
});//api( self.sekCollectionSettingId(), function( sektionSetInstance ) {}
|
3146 |
return __updateAPISettingDeferred__.promise();
|
3147 |
},//updateAPISetting
|
3148 |
+
_maybeFetchSectionsFromServer : function( params ) {
|
3149 |
+
var dfd = $.Deferred(),
|
3150 |
+
_ajaxRequest_;
|
3151 |
+
|
3152 |
+
params = params || { is_user_section : false };
|
3153 |
+
if ( true === params.is_user_section ) {
|
3154 |
+
if ( ! _.isEmpty( api.sek_userSavedSections ) && ! _.isEmpty( api.sek_userSavedSections[ params.preset_section_id ] ) ) {
|
3155 |
+
dfd.resolve( api.sek_userSavedSections );
|
|
|
3156 |
} else {
|
3157 |
+
api.sek_userSavedSections = api.sek_userSavedSections || {};
|
3158 |
+
if ( ! _.isUndefined( api.sek_fetchingUserSavedSections ) && 'pending' == api.sek_fetchingUserSavedSections.state() ) {
|
3159 |
+
_ajaxRequest_ = api.sek_fetchingUserSavedSections;
|
3160 |
+
} else {
|
3161 |
+
_ajaxRequest_ = wp.ajax.post( 'sek_get_user_saved_sections', {
|
3162 |
+
nonce: api.settings.nonce.save,
|
3163 |
+
preset_section_id : params.preset_section_id
|
3164 |
+
});
|
3165 |
+
api.sek_fetchingUserSavedSections = _ajaxRequest_;
|
3166 |
+
}
|
3167 |
+
_ajaxRequest_.done( function( _sectionData_ ) {
|
3168 |
+
api.sek_userSavedSections[ params.preset_section_id ] = _sectionData_;
|
3169 |
+
dfd.resolve( api.sek_userSavedSections );
|
3170 |
+
}).fail( function( _r_ ) {
|
3171 |
+
dfd.reject( _r_ );
|
3172 |
+
});
|
3173 |
}
|
3174 |
+
} else {
|
3175 |
+
if ( ! _.isEmpty( api.sek_presetSections ) ) {
|
|
|
3176 |
dfd.resolve( api.sek_presetSections );
|
3177 |
+
} else {
|
3178 |
+
if ( ! _.isUndefined( api.sek_fetchingPresetSections ) && 'pending' == api.sek_fetchingPresetSections.state() ) {
|
3179 |
+
_ajaxRequest_ = api.sek_fetchingPresetSections;
|
3180 |
+
} else {
|
3181 |
+
_ajaxRequest_ = wp.ajax.post( 'sek_get_preset_sections', { nonce: api.settings.nonce.save } );
|
3182 |
+
api.sek_fetchingPresetSections = _ajaxRequest_;
|
3183 |
+
}
|
3184 |
+
_ajaxRequest_.done( function( _collection_ ) {
|
3185 |
+
api.sek_presetSections = _collection_;
|
3186 |
+
dfd.resolve( api.sek_presetSections );
|
3187 |
+
}).fail( function( _r_ ) {
|
3188 |
+
dfd.reject( _r_ );
|
3189 |
+
});
|
3190 |
+
}
|
3191 |
}
|
3192 |
+
|
3193 |
return dfd.promise();
|
3194 |
},
|
3195 |
getPresetSectionCollection : function( sectionParams ) {
|
3196 |
var self = this,
|
3197 |
__dfd__ = $.Deferred();
|
3198 |
|
3199 |
+
self._maybeFetchSectionsFromServer({
|
3200 |
+
is_user_section : sectionParams.is_user_section,
|
3201 |
+
preset_section_id : sectionParams.presetSectionId
|
3202 |
+
})
|
3203 |
.fail( function( er ) {
|
3204 |
__dfd__.reject( er );
|
3205 |
})
|
3210 |
if ( _.isEmpty( allPresets ) ) {
|
3211 |
throw new Error( 'getPresetSectionCollection => Invalid collection');
|
3212 |
}
|
3213 |
+
if ( _.isEmpty( allPresets[ sectionParams.presetSectionId ] ) ) {
|
3214 |
+
throw new Error( 'getPresetSectionCollection => the preset section : "' + sectionParams.presetSectionId + '" has not been found in the collection');
|
3215 |
}
|
3216 |
+
var presetCandidate = allPresets[ sectionParams.presetSectionId ];
|
3217 |
|
3218 |
var setIds = function( collection ) {
|
3219 |
_.each( collection, function( levelData ) {
|
3872 |
.fail( function( _er_ ) {
|
3873 |
api.errare( 'sek_import_attachment ajax action failed for image ' + relpath, _er_ );
|
3874 |
});
|
3875 |
+
},
|
3876 |
+
cleanIds : function( levelData ) {
|
3877 |
+
levelData.id = "";
|
3878 |
+
var self = this;
|
3879 |
+
_.each( levelData.collection, function( levelData ) {
|
3880 |
+
levelData.id = "";
|
3881 |
+
if ( _.isArray( levelData.collection ) ) {
|
3882 |
+
self.cleanIds( levelData );
|
3883 |
+
}
|
3884 |
+
});
|
3885 |
+
return levelData;
|
3886 |
}
|
|
|
3887 |
});//$.extend()
|
3888 |
})( wp.customize, jQuery );//global sektionsLocalizedData
|
3889 |
/**
|
3931 |
var _onStart = function( evt ) {
|
3932 |
evt.originalEvent.dataTransfer.setData( "sek-content-type", $(this).data('sek-content-type') );
|
3933 |
evt.originalEvent.dataTransfer.setData( "sek-content-id", $(this).data('sek-content-id') );
|
3934 |
+
evt.originalEvent.dataTransfer.setData( "sek-section-type", $(this).data('sek-section-type') );
|
3935 |
+
evt.originalEvent.dataTransfer.setData( "sek-is-user-section", $(this).data('sek-is-user-section') );
|
3936 |
try {
|
3937 |
evt.originalEvent.dataTransfer.setData( 'browserSupport', 'browserSupport' );
|
3938 |
evt.originalEvent.dataTransfer.setData( 'browserSupport', 'browserSupport' );
|
4212 |
after_section : $dropTarget.data('drop-zone-after-section'),
|
4213 |
|
4214 |
content_type : evt.originalEvent.dataTransfer.getData( "sek-content-type" ),
|
4215 |
+
content_id : evt.originalEvent.dataTransfer.getData( "sek-content-id" ),
|
4216 |
+
|
4217 |
+
section_type : evt.originalEvent.dataTransfer.getData( "sek-section-type" ),
|
4218 |
+
is_user_section : "true" === evt.originalEvent.dataTransfer.getData( "sek-is-user-section" )
|
4219 |
});
|
4220 |
},
|
4221 |
reactToDrop : function() {
|
6022 |
'sek_intro_sec_picker_module',
|
6023 |
'sek_features_sec_picker_module',
|
6024 |
'sek_contact_sec_picker_module',
|
6025 |
+
'sek_column_layouts_sec_picker_module',
|
6026 |
], function( module_type ) {
|
6027 |
api.czrModuleMap[ module_type ] = {
|
6028 |
crud : false,
|
6035 |
)
|
6036 |
};
|
6037 |
});
|
6038 |
+
})( wp.customize , jQuery, _ );
|
6039 |
+
|
6040 |
|
6041 |
|
6042 |
+
|
6043 |
+
|
6044 |
+
|
6045 |
+
/* ------------------------------------------------------------------------- *
|
6046 |
+
* MY SECTIONS MODULE
|
6047 |
+
/* ------------------------------------------------------------------------- */
|
6048 |
+
( function ( api, $, _ ) {
|
6049 |
+
var Constructor = {
|
6050 |
+
initialize: function( id, options ) {
|
6051 |
+
var module = this;
|
6052 |
+
module.inputConstructor = api.CZRInput.extend({
|
6053 |
+
initialize : function( name, options ) {
|
6054 |
+
var input = this;
|
6055 |
+
api.CZRInput.prototype.initialize.call( input, name, options );
|
6056 |
+
input.isReady.then( function() {
|
6057 |
+
input.renderUserSavedSections();
|
6058 |
+
api.czr_sektions.trigger( 'sek-refresh-dragzones', { type : 'preset_section', input_container : input.container } );
|
6059 |
+
});
|
6060 |
+
},
|
6061 |
+
|
6062 |
+
|
6063 |
+
renderUserSavedSections : function() {
|
6064 |
+
var input = this,
|
6065 |
+
html = '',
|
6066 |
+
$wrapper = input.container.find('.sek-content-type-wrapper'),
|
6067 |
+
creation_date = '',
|
6068 |
+
formatDate = function(date) {
|
6069 |
+
var monthNames = [
|
6070 |
+
"January", "February", "March",
|
6071 |
+
"April", "May", "June", "July",
|
6072 |
+
"August", "September", "October",
|
6073 |
+
"November", "December"
|
6074 |
+
];
|
6075 |
+
|
6076 |
+
var day = date.getDate(),
|
6077 |
+
monthIndex = date.getMonth(),
|
6078 |
+
year = date.getFullYear(),
|
6079 |
+
hours = date.getHours(),
|
6080 |
+
minutes = date.getMinutes(),
|
6081 |
+
seconds = date.getSeconds();
|
6082 |
+
|
6083 |
+
return [
|
6084 |
+
day,
|
6085 |
+
monthNames[monthIndex],
|
6086 |
+
year
|
6087 |
+
].join(' ');
|
6088 |
+
};
|
6089 |
+
|
6090 |
+
_.each( sektionsLocalizedData.userSavedSektions, function( secData, secKey ) {
|
6091 |
+
try { creation_date = formatDate( new Date( secData.creation_date.replace( /-/g, '/' ) ) ); } catch( er ) {
|
6092 |
+
api.errare( '::renderUserSavedSections => formatDate => error', er );
|
6093 |
+
}
|
6094 |
+
html = [
|
6095 |
+
'<div class="sek-user-section-wrapper">',
|
6096 |
+
'<div class="sek-saved-section-title"><i class="sek-remove-user-section far fa-trash-alt"></i>' + secData.title + '</div>',
|
6097 |
+
'<div draggable="true" data-sek-is-user-section="true" data-sek-section-type="' + secData.type +'" data-sek-content-type="preset_section" data-sek-content-id="' + secKey +'" style="" title="' + secData.title + '">',
|
6098 |
+
'<div class="sek-overlay"></div>',
|
6099 |
+
'<div class="sek-saved-section-description">' + secData.description + '</div>',
|
6100 |
+
! _.isEmpty( creation_date ) ? ( '<div class="sek-saved-section-date"><i class="far fa-calendar-alt"></i> @missi18n Created : ' + creation_date + '</div>' ) : '',
|
6101 |
+
'</div>',
|
6102 |
+
'</div>'
|
6103 |
+
].join('');
|
6104 |
+
$wrapper.append( html );
|
6105 |
+
});
|
6106 |
+
}
|
6107 |
+
});
|
6108 |
+
api.CZRDynModule.prototype.initialize.call( module, id, options );
|
6109 |
+
},//initialize
|
6110 |
+
};
|
6111 |
+
api.czrModuleMap = api.czrModuleMap || {};
|
6112 |
+
if ( sektionsLocalizedData.isSavedSectionEnabled ) {
|
6113 |
+
$.extend( api.czrModuleMap, {
|
6114 |
+
sek_my_sections_sec_picker_module : {
|
6115 |
+
mthds : Constructor,
|
6116 |
+
crud : false,
|
6117 |
+
name : api.czr_sektions.getRegisteredModuleProperty( 'sek_my_sections_sec_picker_module', 'name' ),
|
6118 |
+
has_mod_opt : false,
|
6119 |
+
ready_on_section_expanded : true,
|
6120 |
+
defaultItemModel : api.czr_sektions.getDefaultItemModelFromRegisteredModuleData( 'sek_my_sections_sec_picker_module' )
|
6121 |
+
},
|
6122 |
+
});
|
6123 |
+
}
|
6124 |
+
})( wp.customize , jQuery, _ );
|
6125 |
+
|
6126 |
+
|
6127 |
+
|
6128 |
+
|
6129 |
+
|
6130 |
+
|
6131 |
+
|
6132 |
+
/* ------------------------------------------------------------------------- *
|
6133 |
+
* SECTION PICKER INPUT
|
6134 |
+
/* ------------------------------------------------------------------------- */
|
6135 |
+
( function ( api, $, _ ) {
|
6136 |
api.czrInputMap = api.czrInputMap || {};
|
6137 |
$.extend( api.czrInputMap, {
|
6138 |
section_picker : function( input_options ) {
|
assets/czr/sek/js/ccat-sek-control.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{initialize:function(){var o=this;if(_.isUndefined(window.sektionsLocalizedData))throw new Error("CZRSeksPrototype => missing localized server params sektionsLocalizedData");if(!_.isFunction(r.czr_activeSkopes))throw new Error("CZRSeksPrototype => api.czr_activeSkopes");o.MAX_NUMBER_OF_COLUMNS=12,o.SETTING_UPDATE_BUFFER=50,o.defaultSektionSettingValue=sektionsLocalizedData.defaultSektionSettingValue,o.sekCollectionSettingId=new r.Value({}),o.registered=new r.Value([]),r.bind("ready",function(){o.registerAndSetupDefaultPanelSectionOptions(),o.sekCollectionSettingId.callbacks.add(function(e,t){try{o.setupSettingToBeSaved()}catch(e){r.errare("Error in self.sekCollectionSettingId.callbacks => self.setupSettingsToBeSaved()",e)}});var i=function(e,t){o.setContextualCollectionSettingIdWhenSkopeSet(e,t),o.generateUI({action:"sek-generate-local-skope-options-ui"}),o.generateUI({action:"sek-generate-global-options-ui"})};_.isEmpty(r.czr_activeSkopes().local)||i(),r.czr_activeSkopes.callbacks.add(function(e,t){i(e,t)}),o.reactToPreviewMsg(),o.setupDnd(),o.setupTinyMceEditor(),o.schedulePrintSectionJson(),o.bind("sek-ui-removed",function(){r.previewedDevice("desktop")}),r.previewedDevice.bind(function(t){var e=_.filter(o.registered(),function(e){return"control"==e.what});_.each(e||[],function(e){r.control(e.id,function(e){e.container.find('[data-sek-device="'+t+'"]').each(function(){s(this).trigger("click")})})})}),s("#customize-notifications-area").on("click",'[data-sek-reset="true"]',function(){o.resetCollectionSetting()}),o.bind("sek-ui-pre-removal",function(e){"control"==e.what&&-1<e.id.indexOf("draggable")&&r.control(e.id,function(e){e.container.find("[draggable]").each(function(){s(this).off("dragstart dragend")})}),"control"==e.what&&r.control(e.id,function(e){e.container.find("select").each(function(){_.isUndefined(s(this).data("select2"))||s(this).select2("destroy")})})}),r.bind("czr-new-registered",function(e){if(_.isUndefined(e.origin))throw new Error("czr-new-registered event => missing params.origin");if("nimble"===e.origin&&!1!==e.track){var t=o.registered(),i=s.extend(!0,[],t),n=_.findWhere(i,{id:e.id});if(!_.isEmpty(n)&&_.isEqual(n,e))throw new Error("register => duplicated element in self.registered() collection "+e.id);i.push(e),o.registered(i)}}),o.setupTopBar()})},registerAndSetupDefaultPanelSectionOptions:function(){var n=this,e=r.Panel.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}});r.panel(sektionsLocalizedData.sektionsPanelId,function(n){n.deferred.embedded.done(function(){var e=n.container.find("h3.accordion-section-title"),t=(n.container.find(".panel-meta .accordion-section-title"),['<img class="sek-nimble-logo" alt="'+n.params.title+'" src="',sektionsLocalizedData.baseUrl,"/assets/img/nimble/nimble_horizontal.svg",'"/>'].join(""));if(0<e.length){var i=e.find("span");e.addClass("sek-side-nimble-logo-wrapper").html(t).append(i)}})}),r.CZR_Helpers.register({origin:"nimble",what:"panel",id:sektionsLocalizedData.sektionsPanelId,title:sektionsLocalizedData.i18n["Nimble Builder"],priority:-1e3,constructWith:e,track:!1}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__globalAndLocalOptionsSection",title:sektionsLocalizedData.i18n["Site wide options"],panel:sektionsLocalizedData.sektionsPanelId,priority:20,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__globalAndLocalOptionsSection",function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-globe sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-globe sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__localOptionsSection",title:sektionsLocalizedData.i18n["Current page options"],panel:sektionsLocalizedData.sektionsPanelId,priority:10,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__localOptionsSection",function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"setting",id:sektionsLocalizedData.optNameForGlobalOptions,dirty:!1,value:sektionsLocalizedData.globalOptionDBValues,transport:"refresh",type:"option"}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__content_picker__",title:sektionsLocalizedData.i18n["Content Picker"],panel:sektionsLocalizedData.sektionsPanelId,priority:30,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__content_picker__",function(e){"resolved"!=r.czr_initialSkopeCollectionPopulated.state()?r.czr_initialSkopeCollectionPopulated.done(function(){r.previewer.trigger("sek-pick-content",{focus:!1})}):r.previewer.trigger("sek-pick-content",{focus:!1})})})},setContextualCollectionSettingIdWhenSkopeSet:function(e,t){t=t||{},!_.isEmpty(t.local)&&r.panel(sektionsLocalizedData.sektionsPanelId).expanded()&&r.previewer.trigger("sek-pick-content"),sektionsData=r.czr_skopeBase.getSkopeProperty("sektions","local"),sektionsLocalizedData.isDevMode&&r.infoLog("::setContextualCollectionSettingIdWhenSkopeSet => SEKTIONS DATA ? ",sektionsData),_.isEmpty(sektionsData)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => no sektionsData"),_.isEmpty(sektionsData.setting_id)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => missing setting_id"),this.sekCollectionSettingId(sektionsData.setting_id)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{setupTopBar:function(){var t=this;t.topBarVisible=new l.Value(!1),t.topBarVisible.bind(function(e){t.toggleTopBar(e)}),t.mouseMovedRecently=new l.Value({}),t.mouseMovedRecently.bind(function(e){t.topBarVisible(!_.isEmpty(e))});var e=function(e){t.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(d(window).data("_scroll_move_timer_")),d(window).data("_scroll_move_timer_",setTimeout(function(){t.mouseMovedRecently.set({})},4e3))};d(window).on("mousemove scroll,",_.throttle(e,50)),l.previewer.bind("ready",function(){d(l.previewer.targetWindow().document).on("mousemove scroll,",_.throttle(e,50))}),t.historyLog=new l.Value([]),t.historyLog.bind(function(e){if(!_.isEmpty(e)){var t=_.findKey(e,{status:"current"});t=Number(t),d("#nimble-top-bar").find("[data-nimble-history]").each(function(){"undo"===d(this).data("nimble-history")?d(this).attr("data-nimble-state",t<=0?"disabled":"enabled"):d(this).attr("data-nimble-state",e.length<=t+1?"disabled":"enabled")})}})},toggleTopBar:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderAndSetupTopBarTmpl({})).done(function(e){i.topBarContainer=e,_.delay(function(){d("body").addClass("nimble-top-bar-visible")},200)}):(t=d.Deferred(),d("body").removeClass("nimble-top-bar-visible"),i.topBarContainer&&i.topBarContainer.length?_.delay(function(){t.resolve()},300):t.resolve(),t.promise()).done(function(){i.topBarVisible(!1)})},renderAndSetupTopBarTmpl:function(e){if(0<d("#nimble-top-bar").length)return d("#nimble-top-bar");var t=this;try{_tmpl=wp.template("nimble-top-bar")({})}catch(e){return l.errare("Error when parsing the the top note template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("[data-nimble-history]","#nimble-top-bar").on("click",function(e){try{t.navigateHistory(d(this).data("nimble-history"))}catch(e){l.errare("Error when firing self.navigateHistory",e)}}),d(".sek-settings","#nimble-top-bar").on("click",function(e){l.panel(sektionsLocalizedData.sektionsPanelId,function(e){t.rootPanelFocus(),e.focus()})}),d(".sek-add-content","#nimble-top-bar").on("click",function(e){e.preventDefault(),l.previewer.trigger("sek-pick-content",{})}),d(".sek-nimble-doc","#nimble-top-bar").on("click",function(e){e.preventDefault(),window.open(d(this).data("doc-href"),"_blank")}),d("#nimble-top-bar")},navigateHistory:function(i){var t,n,o,r,e=this,s=d.extend(!0,[],e.historyLog()),a=[];if(_.each(s,function(e){if(_.isEmpty(r)){switch(e.status){case"previous":t=e;break;case"current":n=e;break;case"future":o=e}switch(i){case"undo":_.isEmpty(n)||_.isEmpty(t)||(r=t.value,n.sektionToRefresh,t.sektionToRefresh);break;case"redo":_.isEmpty(o)||(r=o.value,n.sektionToRefresh,o.sektionToRefresh)}}}),!_.isUndefined(r)){l(e.sekCollectionSettingId())(e.validateSettingValue(r),{navigatingHistoryLogs:!0});l.previewer.refresh(),l.previewer.trigger("sek-pick-content",{}),e.cleanRegistered(),e.cleanRegisteredLevelSettingsAfterHistoryNavigation()}var c=_.findKey(s,{status:"current"});c=Number(c),_.isNumber(c)?(_.each(s,function(e,t){switch(newLog=d.extend(!0,{},e),t=Number(t),i){case"undo":0<c&&(t===c-1?newLog.status="current":t===c&&(newLog.status="future"));break;case"redo":s.length>c+1&&(t===c?newLog.status="previous":t===c+1&&(newLog.status="current"))}a.push(newLog)}),e.historyLog(a)):l.errare("Error when navigating the history log, the current key should be a number")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(a,c){c.extend(CZRSeksPrototype,{setupSettingToBeSaved:function(){var e,s=this;e=a.czr_skopeBase.getSkopeProperty("sektions","local").db_values;var t=s.sekCollectionSettingId();if(_.isEmpty(t))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");if(!a.has(t)){a.CZR_Helpers.register({what:"setting",id:t,value:s.validateSettingValue(_.isObject(e)?e:s.defaultSektionSettingValue),transport:"postMessage",type:"option",track:!1,origin:"nimble"});a(t,function(e){s.historyLog([{status:"current",value:e(),action:"initial"}]),e.bind(_.debounce(function(e,t,i){if(i&&!0!==i.navigatingHistoryLogs){var n,o=[],r=c.extend(!0,[],s.historyLog());_.isEmpty(i.in_sektion)?_.isEmpty(i.to_sektion)||(n=i.to_sektion):n=i.in_sektion,_.each(r,function(e){"future"!=e.status&&(c.extend(e,{status:"previous"}),o.push(e))}),o.push({status:"current",value:e,action:_.isObject(i)&&i.action||"",sektionToRefresh:n}),s.historyLog(o)}},1e3))})}},validateSettingValue:function(i){if(!_.isObject(i))return a.errare("validation error => the setting should be an object",i),null;var n={},o=!1,e=[],r=function(e){a.errare(e,i),a.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks the Nimble builder, you might try to reset the sections for this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")}),o=!0},s=function(t){if(!o)if(_.isUndefined(t)&&_.isEmpty(n)){if(t=c.extend(!0,{},i),_.isUndefined(t.id)||_.isUndefined(t.level)){if(_.isUndefined(t.collection))return void r("validation error => the root level is missing the collection of locations");if(!_.isEmpty(t.level)||!_.isEmpty(t.id))return void r('validation error => the root level should not have a "level" or an "id" property');_.each(i.collection,function(e){n=t,s(e)})}}else{if(_.isEmpty(t.id)||!_.isString(t.id))return void r("validation error => a "+t.level+" level must have a valid id");if(_.contains(e,t.id))return void r("validation error => duplicated level id : "+t.id);if(e.push(t.id),_.isEmpty(t.level)||!_.isString(t.level))return void r("validation error => a "+t.level+" level must have a level property");if(!_.contains(["location","section","column","module"],t.level))return void r('validation error => the level "'+t.level+'" is not authorized');if("module"==t.level){if(!_.isUndefined(t.collection))return void r("validation error => a module can not have a collection property")}else if(_.isUndefined(t.collection))return void r("validation error => missing collection property for level => "+t.level+" "+t.id);switch(_.isUndefined(t.ver_ini)&&a.errare("validateSettingValue() => validation error => a "+t.level+' should have a version property : "ver_ini"'),t.level){case"location":if(!_.isEmpty(n.level))return void r("validation error => the parent of location "+t.id+" should have no level set");break;case"section":if(t.is_nested&&"column"!=n.level)return void r("validation error => the nested section "+t.id+" must be child of a column");if(!t.is_nested&&"location"!=n.level)return void r("validation error => the section "+t.id+" must be child of a location");break;case"column":if("section"!=n.level)return void r("validation error => the column "+t.id+" must be child of a section");break;case"module":if("column"!=n.level)return void r("validation error => the module "+t.id+" must be child of a column")}"module"!=t.level&&_.each(t.collection,function(e){n=c.extend(!0,{},t),s(e)})}};return s(),o?null:i},resetCollectionSetting:function(){if(_.isEmpty(this.sekCollectionSettingId()))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");a(this.sekCollectionSettingId())(this.defaultSektionSettingValue),a.previewer.refresh(),a.notifications.remove("sek-notify"),a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("sek-reset-done",{type:"success",message:sektionsLocalizedData.i18n["Reset complete"],dismissible:!0})),_.delay(function(){a.notifications.remove("sek-reset-done")},5e3)})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,l){l.extend(CZRSeksPrototype,{reactToPreviewMsg:function(){var o=this,r={},s={},a=!0,e={"sek-add-section":{callback:function(e){return a=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,s={},r={action:"sek-add-section",id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),before_section:e.before_section,after_section:e.after_section,is_first_section:e.is_first_section},o.updateAPISetting(r)},complete:function(e){e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),c.previewer.trigger("sek-pick-content",{}),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id})}},"sek-add-column":{callback:function(e){return a=!0,s={},r={id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),action:"sek-add-column",in_sektion:e.in_sektion,autofocus:e.autofocus},o.updateAPISetting(r)},complete:function(e){!1!==e.apiParams.autofocus&&c.previewer.trigger("sek-pick-content",{})}},"sek-add-module":{callback:function(e){return a=!0,s={},r={id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),action:"sek-add-module",in_sektion:e.in_sektion,in_column:e.in_column,module_type:e.content_id,before_module:e.before_module,after_module:e.after_module},o.updateAPISetting(r)},complete:function(e){c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_column,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-remove":{callback:function(e){switch(a=!0,s={},e.level){case"section":var t=o.getLevelModel(e.id);if("no_match"===t){c.errare("reactToPreviewMsg => sek-remove-section => no sektionToRemove matched");break}r={action:"sek-remove-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:t.is_nested};break;case"column":r={action:"sek-remove-column",id:e.id,in_sektion:e.in_sektion};break;case"module":r={action:"sek-remove-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;default:c.errare("::reactToPreviewMsg => sek-remove => missing level ",e)}return o.updateAPISetting(r)},complete:function(e){if(c.previewer.trigger("sek-pick-content",{}),o.updateAPISetting({action:"sek-update-fonts"}),"sek-remove-section"===e.apiParams.action){var t=o.getLevelModel(e.apiParams.location);_.isEmpty(t.collection)&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location})}}},"sek-move":{callback:function(e){switch(a=!0,s={},e.level){case"section":r={action:"sek-move-section",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),newOrder:e.newOrder,from_location:e.from_location,to_location:e.to_location};break;case"column":r={action:"sek-move-column",id:e.id,newOrder:e.newOrder,from_sektion:e.from_sektion,to_sektion:e.to_sektion};break;case"module":r={action:"sek-move-module",id:e.id,newOrder:e.newOrder,from_column:e.from_column,to_column:e.to_column,from_sektion:e.from_sektion,to_sektion:e.to_sektion}}return o.updateAPISetting(r)},complete:function(e){switch(e.apiParams.action){case"sek-move-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),e.apiParams.from_location!=e.apiParams.to_location&&(c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.to_location}),c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.from_location}));break;case"sek-move-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column});break;case"sek-refresh-modules-in-column":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column})}}},"sek-duplicate":{callback:function(e){switch(a=!0,s={},e.level){case"section":r={action:"sek-duplicate-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column)};break;case"column":r={action:"sek-duplicate-column",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;case"module":r={action:"sek-duplicate-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column}}return o.updateAPISetting(r)},complete:function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),t=e.apiParams.location,c.previewer.send("sek-animate-to-level",{id:e.apiParams.id});break;case"sek-duplicate-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_sektion;break;case"sek-duplicate-module":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_column}c.previewer.trigger("sek-refresh-stylesheet",{id:t,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-resize-columns":function(e){return a=!0,s={},r=e,o.updateAPISetting(r)},"sek-add-content-in-new-sektion":{callback:function(e){switch(a=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,s={},(r=e).action="sek-add-content-in-new-sektion",r.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),e.content_type){case"module":r.droppedModuleId=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid();break;case"preset_section":c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),c.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0})}return o.updateAPISetting(r)},complete:function(e){switch(e.apiParams.content_type){case"module":c.previewer.trigger("sek-edit-module",{level:"module",id:e.apiParams.droppedModuleId});break;case"preset_section":c.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-stylesheet",{skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),e.apiParams.sektion_to_replace&&c.previewer.trigger("sek-remove",{id:e.apiParams.sektion_to_replace,location:e.apiParams.location,in_column:e.apiParams.in_column,level:"section"})}},"sek-add-preset-section-in-new-nested-sektion":{callback:function(e){return a=!1,s={},(r=e).action="sek-add-preset-section-in-new-nested-sektion",r.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),o.updateAPISetting(r)},complete:function(e){c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_sektion,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-level",{level:"section",id:e.apiParams.in_sektion})}},"sek-pick-content":function(e){return a=!0,r={},s={action:"sek-generate-draggable-candidates-picker-ui",content_type:(e=e||{}).content_type||"section",was_triggered:!_.has(e,"was_triggered")||e.was_triggered,focus:!_.has(e,"focus")||e.focus},o.generateUI(s)},"sek-edit-options":function(e){return a=!0,r={},_.isEmpty(e.id)?l.Deferred(function(){this.reject("missing id")}):(s={action:"sek-generate-level-options-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},o.generateUI(s))},"sek-edit-module":function(e){return a=!0,r={},s={action:"sek-generate-module-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},o.generateUI(s)},"sek-notify":function(t){return a=!1,l.Deferred(function(){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("sek-notify",{type:t.type||"info",message:t.message,dismissible:!0})),_.delay(function(){c.notifications.remove("sek-notify")},t.duration||5e3)}),this.resolve()})},"sek-refresh-level":function(t){return a=!0,l.Deferred(function(e){r={action:"sek-refresh-level",level:t.level,id:t.id},s={},e.resolve()})},"sek-refresh-stylesheet":function(t){return a=!0,t=t||{},l.Deferred(function(e){r={id:t.id},s={},e.resolve()})}};_.each(e,function(i,n){c.previewer.bind(n,function(t){var e;if(_.isFunction(i))e=i;else{if(!_.isFunction(i.callback))return void c.errare("::reactToPreviewMsg => invalid callback for action "+n);e=i.callback}try{e(t).done(function(e){a?c.previewer.send(n,{skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:r,uiParams:s,cloneId:!_.isEmpty(e)&&e}):c.previewer.trigger([n,"done"].join("_"),{apiParams:r,uiParams:s}),o.trigger([n,"done"].join("_"),t)}).fail(function(e){c.errare("reactToPreviewMsg => error when firing "+n,e),c.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks the Nimble builder, you might try to reset the sections for this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")})})}catch(e){c.errare("reactToPreviewMsg => error when receiving "+n,e)}})}),_.each(e,function(t,i){c.previewer.bind([i,"done"].join("_"),function(e){if(_.isFunction(t.complete))try{t.complete(e)}catch(e){c.errare("reactToPreviewMsg done => error when receiving "+[i,"done"].join("_"),e)}})})},schedulePrintSectionJson:function(){var i=this,n=function(e){return e.id="",_.each(e.collection,function(e){e.id="",_.isArray(e.collection)&&n(e)}),e};c.previewer.bind("sek-to-json",function(e){var t=l.extend(!0,{},i.getLevelModel(e.id));console.log(JSON.stringify(n(t)))})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(k,y){y.extend(CZRSeksPrototype,{generateUI:function(e){var t=this,i=y.Deferred();switch(_.isEmpty(e.action)&&i.reject("generateUI => missing action"),e.action){case"sek-generate-module-ui":try{i=t.generateUIforFrontModules(e,i)}catch(e){k.errare("::generateUI() => error",e),i=y.Deferred()}break;case"sek-generate-level-options-ui":try{i=t.generateUIforLevelOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=y.Deferred()}break;case"sek-generate-draggable-candidates-picker-ui":t.cleanRegistered();try{i=t.generateUIforDraggableContent(e,i)}catch(e){k.errare("::generateUI() => error",e),i=y.Deferred()}break;case"sek-generate-local-skope-options-ui":t.cleanRegistered();try{i=t.generateUIforLocalSkopeOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=y.Deferred()}break;case"sek-generate-global-options-ui":t.cleanRegistered();try{i=t.generateUIforGlobalOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=y.Deferred()}}return"pending"==i.state()?i.resolve().promise():i.promise()},updateAPISettingAndExecutePreviewActions:function(n){if(!_.isEmpty(n.settingParams)&&_.has(n.settingParams,"to")){var o,r=this,e=n.settingParams.to,t=null,i=!1;if(!_.isEmpty(n.settingParams.args)&&_.has(n.settingParams.args,"moduleRegistrationParams")){var s=n.settingParams.args.moduleRegistrationParams.control,a=n.settingParams.args.moduleRegistrationParams.id,c=s.czr_Module(a);if(_.isEmpty(c)?k.errare("updateAPISettingAndExecutePreviewActions => missing parentModuleInstance",n):(t=c.module_type,i=c.isMultiItem()),!i&&_.isObject(e)?o=r.normalizeAndSanitizeSingleItemInputValues(e,t):(o=[],_.each(e,function(e){o.push(r.normalizeAndSanitizeSingleItemInputValues(e,t))})),_.isEmpty(n.defaultPreviewAction))k.errare("updateAPISettingAndExecutePreviewActions => missing defaultPreviewAction in passed params. No action can be triggered to the api.previewer.",n);else{var l,d="refresh_stylesheet"===n.defaultPreviewAction,u="refresh_markup"===n.defaultPreviewAction,p="refresh_fonts"===n.defaultPreviewAction,m="refresh_preview"===n.defaultPreviewAction,f=n.settingParams.args.input_changed;_.isUndefined(f)||(l=r.getInputRegistrationParams(f,t),_.isUndefined(l.refresh_stylesheet)||(d=Boolean(l.refresh_stylesheet)),_.isUndefined(l.refresh_markup)||(u=Boolean(l.refresh_markup)),_.isUndefined(l.refresh_fonts)||(p=Boolean(l.refresh_fonts)),_.isUndefined(l.refresh_preview)||(m=Boolean(l.refresh_preview)));var h=function(){if(!0!==n.isGlobalOptions)return r.updateAPISetting({action:n.uiParams.action,id:n.uiParams.id,value:o,in_column:n.uiParams.in_column,in_sektion:n.uiParams.in_sektion,options_type:n.options_type,settingParams:n.settingParams}).done(function(){!0===d&&k.previewer.send("sek-refresh-stylesheet",{skope_id:k.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-stylesheet",id:n.uiParams.id,level:n.uiParams.level}}),!0===u&&k.previewer.send("sek-refresh-level",{apiParams:{action:"sek-refresh-level",id:n.uiParams.id,level:n.uiParams.level},skope_id:k.czr_skopeBase.getSkopeProperty("skope_id")}),!0===m&&k.previewer.refresh()});if(_.isEmpty(n.options_type))k.errare("updateAPISettingAndExecutePreviewActions => error when updating the global options => missing options_type");else{var e=k(sektionsLocalizedData.optNameForGlobalOptions)(),t=y.extend(!0,{},_.isObject(e)?e:{}),i={};_.each(o||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(i[t]=e)}),t[n.options_type]=i,k(sektionsLocalizedData.optNameForGlobalOptions)(t)}};if(!0===p){var g=n.settingParams.args.input_value;if(!_.isString(g))return void k.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",g);-1<g.indexOf("gfont")?r.updateAPISetting({action:"sek-update-fonts",font_family:g}).always(function(){h().then(function(){r.updateAPISetting({action:"sek-update-fonts"})})}):h()}else h()}}else k.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.args.moduleRegistrationParams The api main setting can not be updated",n)}else k.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.to. The api main setting can not be updated",n)},normalizeAndSanitizeSingleItemInputValues:function(e,o){var i,r={},n={},s=null,a=this;return _.each(e,function(e,t){var i,n;_.contains(["title","id"],t)||(null!==o&&"no_default_value_specified"===(s=a.getInputDefaultValue(t,o))&&k.infoLog("::updateAPISettingAndExecutePreviewActions => missing default value for input "+t+" in module "+o),i=e,n=s,(_.isBoolean(i)||_.isBoolean(n)?Boolean(i)===Boolean(n):_.isNumber(i)||_.isNumber(n)?Number(i)===Number(n):_.isString(i)||_.isString(n)?i+""==n+"":_.isObject(i)&&_.isObject(n)?_.isEqual(i,n):_.isArray(i)&&_.isArray(n)?JSON.stringify(i.sort())===JSON.stringify(n.sort()):i===n)||(r[t]=e))}),_.each(r,function(e,t){switch(a.getInputType(t,o)){case"text":case"textarea":case"check":case"gutencheck":case"select":case"radio":case"number":case"upload":case"upload_url":case"color":case"wp_color_alpha":case"wp_color":case"content_picker":case"tiny_mce_editor":case"password":case"range":case"range_slider":case"hidden":case"h_alignment":case"h_text_alignment":case"spacing":case"bg_position":case"v_alignment":case"font_size":case"line_height":case"font_picker":default:i=e}n[t]=i}),n},isUIControlAlreadyRegistered:function(t){var e=_.filter(this.registered(),function(e){return e.id==t&&"control"===e.what}),i=!1;return _.isEmpty(e)?i=k.control.has(t):(i=!0,1<e.length&&k.errare("generateUI => why is this control registered more than once ? => "+t)),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{generateUIforDraggableContent:function(n,e){var o=this,t={};a.extend(t,{content_type_switcher:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+"_sek_content_type_switcher_ui",module_type:"sek_content_type_switcher_module",controlLabel:sektionsLocalizedData.i18n["Select a content type"],priority:0,settingValue:{content_type:n.content_type}},module_picker:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+"_sek_draggable_modules_ui",module_type:"sek_module_picker_module",controlLabel:sektionsLocalizedData.i18n["Pick a module"],content_type:"module",priority:20,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_intro_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_intro_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Sections for an introduction"],content_type:"section",expandAndFocusOnInit:!0,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_features_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_features_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Sections for services and features"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_contact_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_contact_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Contact-us sections"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_column_layouts_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_column_layouts_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Empty sections with columns layout"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'}});var i=_.keys(t)[0],r=t[i].settingControlId;return o.isUIControlAlreadyRegistered(r)?s.control(r,function(t){t.focus({completeCallback:function(){var e=t.container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}),s.section(t.section()).container.first().trigger("sek-content-type-refreshed",{content_type:n.content_type})}):(_do_register_=function(){_.each(t,function(i,e){s.has(i.settingControlId)||(s(i.settingControlId,function(e){e.bind(function(e,t){s.errare("generateUIforDraggableContent => the setting() should not changed")})}),s.CZR_Helpers.register({origin:"nimble",level:n.level,what:"setting",id:i.settingControlId,dirty:!1,value:i.settingValue||{},transport:"postMessage",type:"_nimble_ui_"})),s.CZR_Helpers.register({origin:"nimble",level:n.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__content_picker__",priority:i.priority||10,settings:{default:i.settingControlId},track:!1}).done(function(){s.control(i.settingControlId,function(e){e.content_type=i.content_type,!0===n.focus&&e.focus({completeCallback:function(){}});var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),"section"===e.content_type?(e.container.find(".czr-items-wrapper").hide(),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&(e.container.find(".czr-items-wrapper").show(),t.trigger("click"))):e.container.attr("data-sek-accordion","no")})})})},s.section("__content_picker__",function(e){_do_register_();var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.prepend('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),0<i.length&&i.find(".sek-level-option-icon").length<1&&i.find(".customize-action").after('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),o.scheduleModuleAccordion.call(e,{expand_first_module:!0}),o._maybeFetchSectionsFromServer()})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,u){u.extend(CZRSeksPrototype,{generateUIforFrontModules:function(o,e){var r=this;_.isEmpty(o.id)&&e.reject("generateUI => missing id");var t=r.getLevelProperty({property:"value",id:o.id}),i=r.getLevelProperty({property:"module_type",id:o.id}),n=r.getRegisteredModuleProperty(i,"name");_.isEmpty(i)&&e.reject("generateUI => module => invalid module_type");var s={};if(!0===r.getRegisteredModuleProperty(i,"is_father")){var a=r.getRegisteredModuleProperty(i,"children");if(_.isEmpty(a))throw new Error("::generateUIforFrontModules => a father module "+i+" is missing children modules ");_.each(a,function(e,t){s[t]={settingControlId:o.id+"__"+t,module_type:e,controlLabel:r.getRegisteredModuleProperty(e,"name")}})}else s.__no_option_group_to_be_updated_by_children_modules__={settingControlId:o.id,module_type:i,controlLabel:n};var c=_.keys(s)[0],l=s[c].settingControlId;return r.isUIControlAlreadyRegistered(l)?d.control(l).focus({completeCallback:function(){var e=d.control(l).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(r.cleanRegistered(),_do_register_=function(){_.each(s,function(i,n){if(!d.has(i.settingControlId)){d(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{r.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_markup",uiParams:_.extend(o,{action:"sek-set-module-value"}),options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},r.SETTING_UPDATE_BUFFER))});var e=u.extend(!0,{},t);"__no_option_group_to_be_updated_by_children_modules__"!==n&&(e=!_.isEmpty(e)&&_.isObject(e)&&_.isObject(e[n])?e[n]:{}),d.CZR_Helpers.register({origin:"nimble",level:o.level,what:"setting",id:i.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:o.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:o.id,priority:10,settings:{default:i.settingControlId}}).done(function(){d.control(i.settingControlId).focus({completeCallback:function(){}}),d.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false")})})})},d.section.when(o.id,function(){d.section(o.id).focus(),_do_register_()}),d.CZR_Helpers.register({origin:"nimble",what:"section",id:o.id,title:sektionsLocalizedData.i18n["Content for"]+" "+n,panel:sektionsLocalizedData.sektionsPanelId,priority:1e3}).done(function(){d.section(o.id,function(e){e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".customize-action").after('<i class="fas fa-pencil-alt sek-level-option-icon"></i>'),r.scheduleModuleAccordion.call(e)})})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,l){l.extend(CZRSeksPrototype,{generateUIforLevelOptions:function(r,e){var s=this,a=s.getLevelProperty({property:"options",id:r.id});a=_.isObject(a)?a:{};var t={};l.extend(t,{bg:{settingControlId:r.id+"__bg_options",module_type:"sek_level_bg_module",controlLabel:sektionsLocalizedData.i18n["Background settings for the"]+" "+sektionsLocalizedData.i18n[r.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">gradient</i>'},border:{settingControlId:r.id+"__border_options",module_type:"sek_level_border_module",controlLabel:sektionsLocalizedData.i18n["Borders settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="material-icons sek-level-option-icon">rounded_corner</i>'},spacing:{settingControlId:r.id+"__spacing_options",module_type:"sek_level_spacing_module",controlLabel:sektionsLocalizedData.i18n["Padding and margin settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="material-icons sek-level-option-icon">center_focus_weak</i>'},anchor:{settingControlId:r.id+"__anchor_options",module_type:"sek_level_anchor_module",controlLabel:sektionsLocalizedData.i18n["Set a custom anchor for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-anchor sek-level-option-icon"></i>'},visibility:{settingControlId:r.id+"__visibility_options",module_type:"sek_level_visibility_module",controlLabel:sektionsLocalizedData.i18n["Device visibility settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="far fa-eye sek-level-option-icon"></i>'},height:{settingControlId:r.id+"__height_options",module_type:"sek_level_height_module",controlLabel:sektionsLocalizedData.i18n["Height settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-vertical sek-level-option-icon"></i>'}}),"section"===r.level&&(l.extend(t,{width:{settingControlId:r.id+"__width_options",module_type:"sek_level_width_section",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),l.extend(t,{breakpoint:{settingControlId:r.id+"__breakpoint_options",module_type:"sek_level_breakpoint_module",controlLabel:sektionsLocalizedData.i18n["Responsive settings : breakpoint, column direction"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'}})),"module"===r.level&&l.extend(t,{width:{settingControlId:r.id+"__width_options",module_type:"sek_level_width_module",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}});var i=_.keys(t)[0],n=t[i].settingControlId;return s.isUIControlAlreadyRegistered(n)?c.control(n).focus({completeCallback:function(){var e=c.control(n).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(s.cleanRegistered(),_do_register_=function(){_.each(t,function(i,n){if(s.isUIControlAlreadyRegistered(i.settingControlId))c.section(c.control(i.settingControlId).section()).expanded(!0);else{if(!c.has(i.settingControlId)){c(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{s.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_stylesheet",uiParams:r,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},s.SETTING_UPDATE_BUFFER))});var e=a[n]||{},t=s.getModuleStartingValue(i.module_type);if("no_starting_value"!==t&&_.isObject(t)){var o=l.extend(!0,{},t);e=l.extend(o,e)}c.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:i.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:r.level,level_id:r.id,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:r.id,priority:0,settings:{default:i.settingControlId}}).done(function(){!0===i.expandAndFocusOnInit&&c.control(i.settingControlId).focus({completeCallback:function(){}}),c.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})}})},c.section.has(r.id)||c.section(r.id,function(e){s.scheduleModuleAccordion.call(e,{expand_first_module:!0})}),c.CZR_Helpers.register({origin:"nimble",what:"section",id:r.id,title:sektionsLocalizedData.i18n["Settings for the"]+" "+r.level,panel:sektionsLocalizedData.sektionsPanelId,priority:10}).done(function(){c.section(r.id,function(e){_do_register_(),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.find(".customize-action").after('<i class="fas fa-sliders-h sek-level-option-icon"></i>')})})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{getLocalSkopeOptionId:function(){var e=l.czr_skopeBase.getSkopeProperty("skope_id");return _.isEmpty(e)?(l.errare("czr_sektions::getLocalSkopeOptionId => empty skope_id "),""):sektionsLocalizedData.optPrefixForSektionsNotSaved+e+"__localSkopeOptions"},generateUIforLocalSkopeOptions:function(a,e){var c=this,t=c.getLocalSkopeOptionId();if(c.isUIControlAlreadyRegistered(t))return e;var i={};return d.extend(i,{template:{settingControlId:t+"__template",module_type:"sek_local_template",controlLabel:sektionsLocalizedData.i18n["Page template"],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">check_box_outline_blank</i>'},widths:{settingControlId:t+"__widths",module_type:"sek_local_widths",controlLabel:sektionsLocalizedData.i18n["Inner and outer widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'},custom_css:{settingControlId:t+"__custom_css",module_type:"sek_local_custom_css",controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>'},local_performances:{settingControlId:t+"__local_performances",module_type:"sek_local_performances",controlLabel:sektionsLocalizedData.i18n["Page speed optimizations"],icon:'<i class="fas fa-fighter-jet sek-level-option-icon"></i>'},local_reset:{settingControlId:t+"__local_reset",module_type:"sek_local_reset",controlLabel:sektionsLocalizedData.i18n["Remove the sections in this page"],icon:'<i class="material-icons sek-level-option-icon">cached</i>'}}),_do_register_=function(){_.each(i,function(i,n){if(!l.has(i.settingControlId)){l(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{c.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh",uiParams:a,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){l.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},c.SETTING_UPDATE_BUFFER))});var e=c.getModuleStartingValue(i.module_type),t=l(c.sekCollectionSettingId())(),o=d.extend(!0,{},_.isObject(t.local_options)?t.local_options:{}),r=_.isObject(o[n])?o[n]:{};if("no_starting_value"!==e&&_.isObject(e)){var s=d.extend(!0,{},e);r=d.extend(s,r)}l.CZR_Helpers.register({origin:"nimble",level:a.level,what:"setting",id:i.settingControlId,dirty:!1,value:r,transport:"postMessage",type:"_nimble_ui_"})}l.CZR_Helpers.register({origin:"nimble",level:a.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__localOptionsSection",priority:10,settings:{default:i.settingControlId}}).done(function(){l.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},l.section("__localOptionsSection",function(e){l(c.sekCollectionSettingId(),function(){_do_register_(),e.container.on("click",".accordion-section-title",function(){c.generateUI({action:"sek-generate-local-skope-options-ui"})})})}),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,l){l.extend(CZRSeksPrototype,{generateUIforGlobalOptions:function(s,e){var a=this,t=sektionsLocalizedData.optPrefixForSektionsNotSaved+sektionsLocalizedData.optNameForGlobalOptions;if(a.isUIControlAlreadyRegistered(t))return e;var i={};return l.extend(i,{breakpoint:{settingControlId:t+"__breakpoint",module_type:"sek_global_breakpoint",controlLabel:sektionsLocalizedData.i18n["Site wide breakpoint for Nimble sections"],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">devices</i>'},widths:{settingControlId:t+"__widths",module_type:"sek_global_widths",controlLabel:sektionsLocalizedData.i18n["Site wide inner and outer sections widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'},performances:{settingControlId:t+"__performances",module_type:"sek_global_performances",controlLabel:sektionsLocalizedData.i18n["Site wide page speed optimizations"],icon:'<i class="fas fa-fighter-jet sek-level-option-icon"></i>'}}),_do_register_=function(){_.each(i,function(i,n){if(!c.has(i.settingControlId)){c(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({isGlobalOptions:!0,defaultPreviewAction:"refresh",uiParams:s,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},a.SETTING_UPDATE_BUFFER))});var e=sektionsLocalizedData.globalOptionDBValues,t=a.getModuleStartingValue(i.module_type),o=_.isObject(e)&&!_.isEmpty(e[n])?e[n]:{};if("no_starting_value"!==t&&_.isObject(t)){var r=l.extend(!0,{},t);o=l.extend(r,o)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:i.settingControlId,dirty:!1,value:o,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__globalAndLocalOptionsSection",priority:20,settings:{default:i.settingControlId},track:!1}).done(function(){c.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},c.section("__globalAndLocalOptionsSection",function(e){c(a.sekCollectionSettingId(),function(){_do_register_()})}),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(Y,J){J.extend(CZRSeksPrototype,{updateAPISetting:function($){var q=this,G=J.Deferred();return Y(q.sekCollectionSettingId(),function(e){var n,t,o,i,r,s,a,c,l,d=e(),u=_.isObject(d)?J.extend(!0,{},d):q.defaultSektionSettingValue,p=!1;switch(u.collection=_.isArray(u.collection)?u.collection:q.defaultSektionSettingValue.collection,$.action){case"sek-add-section":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.location))throw new Error("updateAPISetting => "+$.action+" => missing location");if(!0===$.is_nested){if(o=q.getLevelModel($.in_column,u.collection),"no_match"==(l=q.getLevelModel($.in_sektion,u.collection))){G.reject("updateAPISetting => "+$.action+" => no grand parent sektion found");break}if(!0===l.is_nested){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]);break}if("no_match"==o){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],o.collection.push({id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion})}else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(E,0,{id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion})}break;case"sek-duplicate-section":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.location))throw new Error("updateAPISetting => "+$.action+" => missing location");var m;try{m=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e);break}var f=q.getLevelPositionInCollection($.id,u.collection);if(!0===$.is_nested){if("no_match"==(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],o.collection.splice(parseInt(f+1,10),0,m)}else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(parseInt(f+1,10),0,m)}a=m.id;break;case"sek-remove-section":if(!0===$.is_nested)"no_match"!=(o=q.getLevelModel($.in_column,u.collection))?(o.collection=_.isArray(o.collection)?o.collection:[],o.collection=_.filter(o.collection,function(e){return e.id!=$.id})):Y.errare("updateAPISetting => "+$.action+" => no parent column matched");else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.filter(n.collection,function(e){return e.id!=$.id})}break;case"sek-move-section":var h,g,k=q.getLevelModel($.to_location,u.collection);if(_.isEmpty(k)||"no_match"==k)throw new Error("updateAPISetting => "+$.action+" => missing target location");if($.from_location!=$.to_location){var y=q.getLevelModel($.from_location,u.collection);if(_.isEmpty(y)||"no_match"==y)throw new Error("updateAPISetting => "+$.action+" => missing source location");y.collection=_.isArray(y.collection)?y.collection:[],h=q.getLevelModel($.id,y.collection),g=J.extend(!0,{},h),y.collection=_.filter(y.collection,function(e){return e.id!=$.id})}k.collection=_.isArray(k.collection)?k.collection:[],r=J.extend(!0,[],k.collection),s=[],_.each($.newOrder,function(e){if($.from_location!=$.to_location&&e==g.id)s.push(g);else{if(t=q.getLevelModel(e,r),_.isEmpty(t)||"no_match"==t)throw new Error("updateAPISetting => move section => missing section candidate");s.push(t)}}),k.collection=s;break;case"sek-add-column":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(t=q.getLevelModel($.in_sektion,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}if(t.collection=_.isArray(t.collection)?t.collection:[],q.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);break}_.each(t.collection,function(e){e.width=""}),t.collection.push({id:$.id,level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"sek-remove-column":if("no_match"!=(t=q.getLevelModel($.in_sektion,u.collection))){if(1===_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["A section must have at least one column."]);break}t.collection=_.isArray(t.collection)?t.collection:[],t.collection=_.filter(t.collection,function(e){return e.id!=$.id}),_.each(t.collection,function(e){e.width=""})}else Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched");break;case"sek-duplicate-column":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(t=q.getLevelModel($.in_sektion,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}if(t.collection=_.isArray(t.collection)?t.collection:[],q.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);break}var v;try{v=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e);break}var b=q.getLevelPositionInCollection($.id,u.collection);a=v.id,t.collection.splice(parseInt(b+1,10),0,v),_.each(t.collection,function(e){e.width=""});break;case"sek-resize-columns":if($.col_number<2)break;var z=q.getLevelModel($.resized_column,u.collection),I=q.getLevelModel($.sister_column,u.collection);if("no_match"==z){Y.errare("updateAPISetting => "+$.action+" => no resized column matched"),G.reject("updateAPISetting => "+$.action+" => no resized column matched");break}z.width=parseFloat($.resizedColumnWidthInPercent);var w=q.getLevelModel($.in_sektion,u.collection),M=_.filter(w.collection,function(e){return e.id!=z.id&&e.id!=I.id}),C=parseFloat(z.width.toFixed(3));_.isEmpty(M)||_.each(M,function(e){currentColWidth=parseFloat(1*e.width),(!_.has(e,"width")||!_.isNumber(1*currentColWidth)||_.isEmpty(currentColWidth+"")||currentColWidth<1)&&(e.width=parseFloat((100/$.col_number).toFixed(3))),C=parseFloat((C+e.width).toFixed(3))}),I.width=parseFloat((100-C).toFixed(3));break;case"sek-move-column":var D,S,P=q.getLevelModel($.to_sektion,u.collection);if(_.isEmpty(P)||"no_match"==P)throw new Error("updateAPISetting => "+$.action+" => missing target sektion");if($.from_sektion!=$.to_sektion){var x=q.getLevelModel($.from_sektion,u.collection);if(_.isEmpty(x)||"no_match"==x)throw new Error("updateAPISetting => "+$.action+" => missing source column");x.collection=_.isArray(x.collection)?x.collection:[],D=q.getLevelModel($.id,x.collection),S=J.extend(!0,{},D),x.collection=_.filter(x.collection,function(e){return e.id!=$.id}),_.each(x.collection,function(e){e.width=""})}P.collection=_.isArray(P.collection)?P.collection:[],r=J.extend(!0,[],P.collection),s=[],_.each($.newOrder,function(e){if($.from_sektion!=$.to_sektion&&e==S.id)s.push(S);else{if(o=q.getLevelModel(e,r),_.isEmpty(o)||"no_match"==o)throw new Error("updateAPISetting => moveColumn => missing columnCandidate");s.push(o)}}),P.collection=s,_.each(P.collection,function(e){e.width=""});break;case"sek-add-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.module_type))throw new Error("updateAPISetting => "+$.action+" => missing module_type");if("no_match"===(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}var E=0;o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){$.before_module===e.id&&(E=t),$.after_module===e.id&&(E=t+1)});var R={id:$.id,level:"module",module_type:$.module_type,ver_ini:sektionsLocalizedData.nimbleVersion};"no_starting_value"!==(c=q.getModuleStartingValue($.module_type))&&(R.value=c),o.collection.splice(E,0,R);break;case"sek-duplicate-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}var L;o.collection=_.isArray(o.collection)?o.collection:[];try{L=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e),G.reject("updateAPISetting => "+$.action+" => error when cloning the level");break}var A=q.getLevelPositionInCollection($.id,u.collection);a=L.id,o.collection.splice(parseInt(A+1,10),0,L);break;case"sek-remove-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");"no_match"!=(o=q.getLevelModel($.in_column,u.collection))?(o.collection=_.isArray(o.collection)?o.collection:[],o.collection=_.filter(o.collection,function(e){return e.id!=$.id})):Y.errare("updateAPISetting => "+$.action+" => no parent column matched");break;case"sek-move-module":var Z,j,F;if(Z=q.getLevelModel($.to_column,u.collection),_.isEmpty(Z)||"no_match"==Z)throw new Error("updateAPISetting => "+$.action+" => missing target column");if($.from_column!=$.to_column){var V;if(V=q.getLevelModel($.from_column,u.collection),_.isEmpty(V)||"no_match"==V)throw new Error("updateAPISetting => "+$.action+" => missing source column");V.collection=_.isArray(V.collection)?V.collection:[],j=q.getLevelModel($.id,u.collection),F=J.extend(!0,{},j),V.collection=_.filter(V.collection,function(e){return e.id!=$.id})}if(Z.collection=_.isArray(Z.collection)?Z.collection:[],r=J.extend(!0,[],Z.collection),s=[],_.each($.newOrder,function(e){if($.from_column!=$.to_column&&e==F.id)s.push(F);else{if(i=q.getLevelModel(e,u.collection),_.isEmpty(i)||"no_match"==i)throw new Error("updateAPISetting => "+$.action+" => missing moduleCandidate");s.push(i)}}),s.length!=_.uniq(s).length)throw new Error("updateAPISetting => "+$.action+" => there are duplicated modules in column : "+Z.id);Z.collection=s;break;case"sek-set-module-value":i=q.getLevelModel($.id,u.collection);var O={};if(_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(O[t]=e)}),"no_match"==i){Y.errare("updateAPISetting => "+$.action+" => no module matched",$),G.reject("updateAPISetting => "+$.action+" => error no module matched");break}if(_.isEmpty($.options_type)){Y.errare("updateAPISetting => "+$.action+" => missing options_type"),G.reject("updateAPISetting => "+$.action+" => missing options_type");break}"__no_option_group_to_be_updated_by_children_modules__"===$.options_type?i.value=O:(i.value=_.isEmpty(i.value)?{}:i.value,i.value[$.options_type]=O);break;case"sek-generate-level-options-ui":var T=q.getLevelModel($.id,u.collection),U={};if("no_match"===T){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}T.options=T.options||{},_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(U[t]=e)}),_.isEmpty($.options_type)&&Y.errare("updateAPISetting => "+$.action+" => missing options_type"),T.options[$.options_type]=U;break;case"sek-generate-local-skope-options-ui":U={};var N=J.extend(!0,{},_.isObject(u.local_options)?u.local_options:{});if(_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(U[t]=e)}),_.isEmpty($.options_type)||!_.isString($.options_type))Y.errare("updateAPISetting => "+$.action+" => missing options_type");else{var B={};B[$.options_type]=U,u.local_options=J.extend(N,B)}break;case"sek-add-content-in-new-sektion":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(E=0,"no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}switch(n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),$.content_type){case"module":c=q.getModuleStartingValue($.content_id),n.collection.splice(E,0,{id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[{id:$.droppedModuleId,level:"module",module_type:$.content_id,value:"no_starting_value"!==c?c:null,ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"preset_section":p=J.Deferred();var Q=function(e){q.preparePresetSectionForInjection(e).fail(function(e){G.reject("updateAPISetting => error when preparePresetSectionForInjection => "+$.action+" => "+e),p.reject(e)}).done(function(e){var t=!1;if(!_.isEmpty($.sektion_to_replace)){var i=q.getLevelModel($.sektion_to_replace,u.collection);"no_match"===i&&(Y.errare("updateAPISetting => "+$.action+" => no sektionToReplace matched"),G.reject("updateAPISetting => "+$.action+" => no sektionToReplace matched")),t=!0===i.is_nested}t?("no_match"===(o=q.getLevelModel($.in_column,u.collection))&&(Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched")),o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),o.collection.splice(E,0,{id:$.id,is_nested:!0,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})):n.collection.splice(E,0,{id:$.id,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion}),p.resolve()})};q.getPresetSectionCollection({presetSectionType:$.content_id,section_id:$.id}).fail(function(){Y.errare("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()",_er_),G.reject("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()")}).done(function(e){_.isObject(e)&&!_.isEmpty(e)||(Y.errare("updateAPISetting => "+$.action+" => preset section type not found or empty : "+$.content_id,e),G.reject("updateAPISetting => "+$.action+" => preset section type not found or empty")),Q(e)})}break;case"sek-add-preset-section-in-new-nested-sektion":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(o=q.getLevelModel($.in_column,u.collection),"no_match"==(l=q.getLevelModel($.in_sektion,u.collection))){G.reject("updateAPISetting => "+$.action+" => no grand parent sektion found");break}if(!0===l.is_nested){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]);break}if("no_match"==o){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],p=J.Deferred(),Q=function(e){q.preparePresetSectionForInjection(e).fail(function(e){G.reject("updateAPISetting => error when preparePresetSectionForInjection => "+$.action+" => "+e),p.reject(e)}).done(function(e){o.collection.push({id:$.id,level:"section",collection:e.collection,options:e.options||{},is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion}),p.resolve()})},q.getPresetSectionCollection({presetSectionType:$.content_id,section_id:$.id}).fail(function(){Y.errare("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()",_er_),G.reject("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()")}).done(function(e){_.isObject(e)&&!_.isEmpty(e)||(Y.errare("updateAPISetting => "+$.action+" => preset section type not found or empty : "+$.content_id,e),G.reject("updateAPISetting => "+$.action+" => preset section type not found or empty")),Q(e)});break;case"sek-update-fonts":var W=q.sniffGFonts();if(!_.isEmpty($.font_family)&&_.isString($.font_family)&&!_.contains(W,$.font_family)){if($.font_family.indexOf("gfont")<0){Y.errare("updateAPISetting => "+$.action+" => error => must be a google font, prefixed gfont"),G.reject("updateAPISetting => "+$.action+" => error => must be a google font, prefixed gfont");break}W.push($.font_family)}u.fonts=W}if("pending"==G.state()){var H=function(){_.isEqual(d,u)?G.reject("updateAPISetting => the new setting value is unchanged when firing action : "+$.action):null!==q.validateSettingValue(u)?(e(u,$),G.resolve(a)):G.reject("updateAPISetting => the new setting value did not pass the validation checks for action "+$.action)};!1===p?H():p.done(function(){H()}).fail(function(e){Y.errare("updateAPISetting => __presetSectionInjected__ failed",e)})}}),G.promise()},_maybeFetchSectionsFromServer:function(){var e,t=J.Deferred();_.isEmpty(Y.sek_presetSections)?(_.isUndefined(Y.sek_fetchingPresetSections)||"pending"!=Y.sek_fetchingPresetSections.state()?(e=Y.CZR_Helpers.getModuleTmpl({tmpl:"font_list",module_type:"preset_sections_server_collection",module_id:"no_module_id"}),Y.sek_fetchingPresetSections=e):e=Y.sek_fetchingPresetSections,e.done(function(e){Y.sek_presetSections=e,t.resolve(Y.sek_presetSections)}).fail(function(e){t.reject(e)})):t.resolve(Y.sek_presetSections);return t.promise()},getPresetSectionCollection:function(r){var s=this,a=J.Deferred();return s._maybeFetchSectionsFromServer().fail(function(e){a.reject(e)}).done(function(e){var t=J.extend(!0,{},_.isObject(e)?e:{});if(_.isEmpty(t))throw new Error("getPresetSectionCollection => Invalid collection");if(_.isEmpty(t[r.presetSectionType]))throw new Error('getPresetSectionCollection => the preset section : "'+r.presetSectionType+'" has not been found in the collection');var i=t[r.presetSectionType],n=function(e){return _.each(e,function(e){e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+s.guid(),_.isArray(e.collection)&&n(e.collection)}),e},o=function(e){return _.each(e,function(e){e.ver_ini=sektionsLocalizedData.nimbleVersion,_.isArray(e.collection)&&o(e.collection)}),e};i.id=r.section_id,i.collection=n(i.collection),i.ver_ini=sektionsLocalizedData.nimbleVersion,i.collection=o(i.collection),a.resolve(i)}),a.promise()},preparePresetSectionForInjection:function(o){var i=this,n={},r=J.Deferred(),s=function(e){return _.each(e,function(e,t){_.isObject(e)||_.isArray(e)?s(e):_.isString(e)&&-1!=e.indexOf("::img-path::")&&(_.has(n,e)||(n[e]=i.importAttachment(e.replace("::img-path::",""))))}),n},a=function(i,n){return _.each(i,function(e,t){_.isObject(e)||_.isArray(e)?a(e,n):_.isString(e)&&-1!=e.indexOf("::img-path::")&&_.has(n,e)&&_.isObject(n[e])&&(i[t]=n[e].id)}),o};return i.whenAllPromisesInParallel(s(o)).done(function(e){var t=a(o,e);r.resolve(t)}).fail(function(e){r.reject(e)}),r.promise()}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(n,o){o.extend(CZRSeksPrototype,{cleanRegistered:function(t){var i=this,e=o.extend(!0,[],i.registered()||[]);e=_.filter(e,function(e){if("setting"!==e.what&&n[e.what].has(e.id)){if(!_.isEmpty(t)&&e.id!==t)return;_.isFunction(n[e.what](e.id).trigger)&&i.trigger("sek-ui-pre-removal",{what:e.what,id:e.id}),o.when(n[e.what](e.id).container.remove()).done(function(){n[e.what].remove(e.id),i.trigger("sek-ui-removed",{what:e.what,id:e.id})})}return"setting"===e.what}),i.registered(e)},cleanRegisteredLevelSettingsAfterHistoryNavigation:function(){var e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return _.isEmpty(e.level)||"setting"!==e.what||n.has(e.id)&&n.remove(e.id),_.isEmpty(e.level)&&"setting"!==e.what}),this.registered(e)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{rootPanelFocus:function(){s.section.has(s.czr_activeSectionId())?s.section(s.czr_activeSectionId()).expanded(!1):s.section.each(function(e){e.expanded(!1)}),s.panel.each(function(e){e.expanded(!1)})},guid:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()},getLevelModel:function(t,e){var i=this,n="no_match";if(_.isUndefined(e)){var o=s(i.sekCollectionSettingId())(),r=_.isObject(o)?a.extend(!0,{},o):i.defaultSektionSettingValue;e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){"no_match"==n&&(t===e.id?n=e:_.isArray(e.collection)&&(n=i.getLevelModel(t,e.collection)))}),n},getLevelPositionInCollection:function(i,e){var n=this,o="no_match";if(_.isUndefined(e)){var t=s(n.sekCollectionSettingId())(),r=_.isObject(t)?a.extend(!0,{},t):n.defaultSektionSettingValue;e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e,t){"no_match"==o&&(i===e.id?o=t:_.isArray(e.collection)&&(o=n.getLevelPositionInCollection(i,e.collection)))}),o},getLevelProperty:function(e){if(e=_.extend({id:"",property:""},e),_.isEmpty(e.id))s.errare("getLevelProperty => invalid id provided");else{var t=this.getLevelModel(e.id);if("no_match"!=t){if(_.isObject(t))return t[e.property];s.errare("getLevelProperty => invalid model for id : "+e.id,t)}else s.errare("getLevelProperty => no level model found for id : "+e.id)}},cloneLevel:function(e){var t=this,i=t.getLevelModel(e);if("no_match"==i)throw new Error("cloneLevel => no match for level id : "+e);var n=a.extend(!0,{},i),o=function(e){if(_.isEmpty(e.id))throw new Error("cloneLevel => missing level id");if(e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+t.guid(),!_.isEmpty(e.collection)){if(!_.isArray(e.collection))throw new Error("cloneLevel => the collection must be an array for level id : "+e.id);_.each(e.collection,function(e){e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+t.guid(),o(e)})}return e};return o(n)},getDefaultItemModelFromRegisteredModuleData:function(e){if(!this.isModuleRegistered(e))return{};if(!sektionsLocalizedData.registeredModules[e].is_father){var t=sektionsLocalizedData.registeredModules[e].tmpl["item-inputs"],i={id:"",title:""};return _.each(t,function(e,t){switch(t){case"tabs":_.each(e,function(e){_.each(e.inputs,function(e,t){i[t]=e.default||""})});break;default:i[t]=e.default||""}}),i}s.errare("getDefaultItemModelFromRegisteredModuleData => Father modules should be treated specifically")},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sektionsLocalizedData.registeredModules[e][t]:"not_set"},isModuleRegistered:function(e){return sektionsLocalizedData.registeredModules&&!_.isUndefined(sektionsLocalizedData.registeredModules[e])},sniffGFonts:function(i,e){var n=this;if(i=i||[],_.isUndefined(e)){var t=s(n.sekCollectionSettingId())();e=_.isObject(t)?a.extend(!0,{},t):n.defaultSektionSettingValue}return _.each(e,function(e,t){_.isString(t)&&"_css"===t.substr(t.length-4)&&!0===n.inputIsAFontFamilyModifier(t)&&-1<e.indexOf("gfont")&&!_.contains(i,e)&&i.push(e),(_.isArray(e)||_.isObject(e))&&n.sniffGFonts(i,e)}),i},getInputDefaultValue:function(i,n,e){var o=this;if(o.cachedDefaultInputValues=o.cachedDefaultInputValues||{},o.cachedDefaultInputValues[n]=o.cachedDefaultInputValues[n]||{},_.has(o.cachedDefaultInputValues[n],i))return o.cachedDefaultInputValues[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputDefaultValue => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputDefaultValue => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_default_value_specified";return _.each(e,function(e,t){"no_default_value_specified"===r&&(i!==t||_.isUndefined(e.default)||(r=e.default),"no_default_value_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputDefaultValue(i,n,e)),"no_default_value_specified"!==r&&(o.cachedDefaultInputValues[n][i]=r))}),r}s.errare("getInputDefaultValue => Father modules should be treated specifically")}},getInputType:function(i,n,e){var o=this;if(o.cachedInputTypes=o.cachedInputTypes||{},o.cachedInputTypes[n]=o.cachedInputTypes[n]||{},_.has(o.cachedInputTypes[n],i))return o.cachedInputTypes[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputType => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputType => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_input_type_specified";return _.each(e,function(e,t){"no_input_type_specified"===r&&(i!==t||_.isUndefined(e.input_type)||(r=e.input_type),"no_input_type_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputType(i,n,e)),"no_input_type_specified"!==r&&(o.cachedInputTypes[n][i]=r))}),r}s.errare("getInputType => Father modules should be treated specifically")}},getInputRegistrationParams:function(i,n,e){var o=this;if(o.cachedInputRegistrationParams=o.cachedInputRegistrationParams||{},o.cachedInputRegistrationParams[n]=o.cachedInputRegistrationParams[n]||{},_.has(o.cachedInputRegistrationParams[n],i))return o.cachedInputRegistrationParams[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputRegistrationParams => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputRegistrationParams => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r={};return _.each(e,function(e,t){_.isEmpty(r)&&(i!==t||_.isUndefined(e.input_type)||(r=e),_.isEmpty(r)&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputRegistrationParams(i,n,e)),_.isEmpty(r)||(o.cachedInputRegistrationParams[n][i]=r))}),r}s.errare("getInputRegistrationParams => Father modules should be treated specifically")}},inputIsAFontFamilyModifier:function(i,e){var n=this;if(n.cachedFontFamilyModifier=n.cachedFontFamilyModifier||{},_.has(n.cachedFontFamilyModifier,i))return n.cachedFontFamilyModifier[i];if(!_.isUndefined(sektionsLocalizedData.registeredModules)){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules);var o="not_set";return _.each(e,function(e,t){"not_set"===o&&(i!==t||_.isUndefined(e.input_type)||(o=!_.isUndefined(e.refresh_fonts)&&e.refresh_fonts),"not_set"===o&&(_.isArray(e)||_.isObject(e))&&(o=n.inputIsAFontFamilyModifier(i,e)),"not_set"!==o&&(n.cachedFontFamilyModifier[i]=o))}),o}s.errare("inputIsAFontFamilyModifier => missing sektionsLocalizedData.registeredModules")},getModuleStartingValue:function(e){if(!sektionsLocalizedData.registeredModules)return s.errare("getModuleStartingValue => missing sektionsLocalizedData.registeredModules"),"no_starting_value";if(_.isUndefined(sektionsLocalizedData.registeredModules[e]))return s.errare("getModuleStartingValue => the module type "+e+" is not registered"),"no_starting_value";var t=sektionsLocalizedData.registeredModules[e].starting_value;return _.isEmpty(t)?"no_starting_value":t},selectNextTabbableOrFocusable:function(e){var t=a(e),i=a(":focus"),n=0;if(1===i.length){var o=t.index(i);o+1<t.length&&(n=o+1)}t.eq(n).focus()},selectPrevTabbableOrFocusable:function(e){var t=a(e),i=a(":focus"),n=t.length-1;if(1===i.length){var o=t.index(i);0<o&&(n=o-1)}t.eq(n).focus()},setupSelectInput:function(){var n=this,e=(n.input_parent,n.module,s.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type).choices);_.isEmpty(e)?s.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+n.id+" in image module"):(_.each(e,function(e,t){var i={value:t,html:e};t==n()?a.extend(i,{selected:"selected"}):"px"===t&&a.extend(i,{selected:"selected"}),a("select[data-czrtype]",n.container).append(a("<option>",i))}),a("select[data-czrtype]",n.container).selecter())},setupFontSizeAndLineHeightInputs:function(e){var t=this,i=a(".sek-font-size-line-height-wrapper",t.container),n=i.find("input[data-czrtype]").data("sek-unit"),o=function(e){return _.contains(["px","em","%"],e)||(s.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new s.Value(_.isEmpty(n)?"px":o(n)),t.css_unit.bind(function(e){e=_.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("change")}),i.find('input[type="number"]').on("input change",function(e){t(a(this).val()+o(t.css_unit()))}).stepper(),i.on("click","[data-sek-unit]",function(e){e.preventDefault(),i.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),a(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",a(this).data("sek-unit")),t.css_unit(a(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+n+'"]').addClass("is-selected").attr("aria-pressed",!0)},maybeSetupDeviceSwitcherForInput:function(){var i=this,e=['<span class="sek-input-device-switcher">','<i data-sek-device="desktop" class="sek-switcher preview-desktop active" title="'+sektionsLocalizedData.i18n["Settings on desktops"]+'"></i>','<i data-sek-device="tablet" class="sek-switcher preview-tablet" title="'+sektionsLocalizedData.i18n["Settings on tablets"]+'"></i>','<i data-sek-device="mobile" class="sek-switcher preview-mobile" title="'+sektionsLocalizedData.i18n["Settings on mobiles"]+'"></i>',"</span>"].join(" ");i.container.find(".customize-control-title").prepend(e),i.previewedDevice=new s.Value(s.previewedDevice()),syncWithPreviewedDevice=function(e){e.stopPropagation(),i.container.find("[data-sek-device]").removeClass("active"),a(this).addClass("active");var t="desktop";try{t=a(this).data("sek-device")}catch(e){s.errare("maybeSetupDeviceSwitcherForInput => error when binding sek-switcher",e)}try{s.previewedDevice(t)}catch(e){s.errare("maybeSetupDeviceSwitcherForInput => error when setting the previewed device",e)}i.previewedDevice(t)},i.container.on("click","[data-sek-device]",syncWithPreviewedDevice);var t=i.container.find('[data-sek-device="'+s.previewedDevice()+'"]');0<t.length&&t.trigger("click")},scheduleModuleAccordion:function(e){e=e||{expand_first_module:!0};var i=this;a(i.container).on("click",".customize-control label > .customize-control-title",function(e){e.stopPropagation();var t=a(this).closest(".customize-control");"no"!==t.attr("data-sek-accordion")&&(i.container.find(".customize-control").not(t).each(function(){a(this).attr("data-sek-accordion")||(a(this).attr("data-sek-expanded","false"),a(this).find(".czr-items-wrapper").stop(!0,!0).slideUp("fast"))}),t.find(".czr-items-wrapper").stop(!0,!0).slideToggle({duration:"fast",start:function(){t.attr("data-sek-expanded","false"==t.attr("data-sek-expanded")?"true":"false"),"true"==t.attr("data-sek-expanded")?t.trigger("sek-accordion-expanded"):t.trigger("sek-accordion-collapsed")}}))}),e.expand_first_module&&i.container.find(".customize-control").first().find("label > .customize-control-title").trigger("click")},isPromise:function(e){return e&&"function"==typeof e.then&&String(a.Deferred().then)===String(e.then)},whenAllPromisesInParallel:function(e){var i=this,t=a.Deferred(),n=[],o=_.keys(e);return _.each(e,function(e,t){n.push(a.Deferred(function(t){(i.isPromise(e)?e:a.Deferred()).done(t.resolve).fail(function(e){t.reject(e)})}))}),a.when.apply(this,n).done(function(){var i={},e=Array.prototype.slice.call(arguments);_.each(e,function(e,t){i[o[t]]=e}),t.resolve(i)}).fail(t.reject),t},whenAllPromisesInSerie:function(t,i,n,o){i=i||0,n=n||{},o=o||a.Deferred();var r=this;if(_.isArray(t)){var e=t[i];(r.isPromise(e)?e:a.Deferred(function(e){e.resolve()})).always(function(e){n[i]=e,i+1==t.length?o.resolve(n):i+1<t.length&&r.whenAllPromisesInSerie(t,i+1,n,o)})}return o},importAttachment:function(t){return wp.ajax.post("sek_import_attachment",{rel_path:t,nonce:s.settings.nonce.save}).fail(function(e){s.errare("sek_import_attachment ajax action failed for image "+t,e)})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(a,f){f.extend(CZRSeksPrototype,{setupDnd:function(){var t=this;t.bind("sek-refresh-dragzones",function(e){"draggable"in document.createElement("span")?t.setupNimbleDragZones(e.input_container):a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){a.notifications.remove("drag-drop-support")},1e4)})}),a.previewer.bind("ready",function(){try{t.setupNimbleDropZones()}catch(e){a.errare("::setupDnd => error on self.setupNimbleDropZones()",e)}_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_intro_sec_picker_module"}))&&_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_module_picker_module"}))||t.rootPanelFocus()}),t.reactToDrop()},setupNimbleDragZones:function(e){var t=this;e.find("[draggable]").each(function(){f(this).on("dragstart",function(e){(function(e){e.originalEvent.dataTransfer.setData("sek-content-type",f(this).data("sek-content-type")),e.originalEvent.dataTransfer.setData("sek-content-id",f(this).data("sek-content-id"));try{e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.clearData("browserSupport")}catch(e){a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){a.notifications.remove("drag-drop-support")},1e4)})}t.dnd_draggedType=f(this).data("sek-content-type"),f(this).addClass("sek-dragged"),f("body").addClass("sek-dragging"),a.previewer.send("sek-drag-start",{type:t.dnd_draggedType})}).call(f(this),e)}).on("dragend",function(e){(function(e){f("body").removeClass("sek-dragging"),f(this).removeClass("sek-dragged"),a.previewer.send("sek-drag-stop")}).call(f(this),e)})})},setupNimbleDropZones:function(){var t=this;if(this.$dropZones=this.dnd_getDropZonesElements(),this.preDropElement=f("<div>",{class:sektionsLocalizedData.preDropElementClass,html:""}),this.$dropZones.length<1)throw new Error("::setupNimbleDropZones => invalid Dom element");this.$dropZones.each(function(){var e=f(this);!0!==e.data("zone-droppable-setup")&&(t.enterOverTimer=null,e.on("dragenter dragover",sektionsLocalizedData.dropSelectors,function(e){_.isNull(t.enterOverTimer)&&(t.enterOverTimer=!0,_.delay(function(){t.currentMousePosition&&t.currentMousePosition+""==e.clientY+""+e.clientX?t.enterOverTimer=null:(t.currentMousePosition=e.clientY+""+e.clientX,t.dnd_toggleDragApproachClassesToDropZones(e))},100)),t.dnd_canDrop(f(this))&&(e.stopPropagation(),t.dnd_OnEnterOver(f(this),e))}).on("dragleave drop",sektionsLocalizedData.dropSelectors,function(e){switch(e.type){case"dragleave":t.dnd_isOveringDropTarget(f(this),e)||t.dnd_cleanOnLeaveDrop(f(this),e);break;case"drop":if(this.$cachedDropZoneCandidates=null,!t.dnd_canDrop(f(this)))return;e.preventDefault(),t.dnd_onDrop(f(this),e),t.dnd_cleanOnLeaveDrop(f(this),e),a.previewer.send("sek-drag-stop")}}).data("zone-droppable-setup",!0))})},dnd_toggleDragApproachClassesToDropZones:function(m){this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.$cachedDropZoneCandidates=_.isEmpty(this.$cachedDropZoneCandidates)?this.$dropZones.find(".sek-drop-zone"):this.$cachedDropZoneCandidates,this.$dropZones.find(".sek-drop-zone").each(function(){var e=m.clientY,t=m.clientX,i=f(this)[0].getBoundingClientRect(),n=Math.abs(e-(i.bottom-(i.bottom-i.top)/2)),o=(Math.abs(i.top-e),Math.abs(t-(i.right-(i.right-i.left)/2))),r=(i.right,i.left,n<60),s=o<60,a=n<80,c=o<80,l=n<120,d=o<120,u=t<=i.right&&i.left<=t,p=e>=i.top&&i.bottom>=e;p&&u?(f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close"),f(this).removeClass("sek-drag-is-very-close"),f(this).addClass("sek-drag-is-in")):((r||p)&&(s||u)?(f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close"),f(this).addClass("sek-drag-is-very-close")):((a||p)&&(c||u)?(f(this).removeClass("sek-drag-is-approaching"),f(this).addClass("sek-drag-is-close")):((l||p)&&(d||u)?f(this).addClass("sek-drag-is-approaching"):f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close")),f(this).removeClass("sek-drag-is-very-close")),f(this).removeClass("sek-drag-is-in"))}),this.enterOverTimer=null},dnd_getPreDropElementContent:function(e){var t,i,n=f(e.currentTarget);switch(this.dnd_draggedType){case"module":t=sektionsLocalizedData.i18n["Insert here"],0<n.length&&("between-sections"!==n.data("sek-location")&&"in-empty-location"!==n.data("sek-location")||(t=sektionsLocalizedData.i18n["Insert in a new section"])),i='<div class="sek-module-placeholder-content"><p>'+t+"</p></div>";break;case"preset_section":i='<div class="sek-module-placeholder-content"><p>'+(t=sektionsLocalizedData.i18n["Insert a new section here"])+"</p></div>";break;default:a.errare("::dnd_getPreDropElementContent => invalid content type provided")}return i},dnd_getDropZonesElements:function(){return f(a.previewer.targetWindow().document)},dnd_canDrop:function(e){var t=e&&0<e.length&&e.hasClass("sek-content-preset_section-drop-zone"),i=e&&0<e.length&&e.hasClass("sek-module-drop-zone-for-first-module");return e.hasClass("sek-drop-zone")&&("preset_section"===this.dnd_draggedType&&t||"module"===this.dnd_draggedType&&!t||"preset_section"===this.dnd_draggedType&&i)},dnd_OnEnterOver:function(e,t){t.preventDefault(),!0!==e.data("is-drag-entered")&&(e.data("is-drag-entered",!0),e.addClass("sek-active-drop-zone"),this.$dropZones.addClass("sek-is-dragging"));try{this.dnd_mayBePrintPreDropElement(e,t)}catch(e){a.errare("Error when trying to insert the preDrop content",e)}},dnd_cleanOnLeaveDrop:function(e,t){var i=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.preDropElement.remove(),this.$dropZones.removeClass("sek-is-dragging"),f(sektionsLocalizedData.dropSelectors,this.$dropZones).each(function(){i.dnd_cleanSingleDropTarget(f(this))})},dnd_cleanSingleDropTarget:function(e){_.isEmpty(e)||e.length<1||(e.data("is-drag-entered",!1),e.data("preDrop-position",!1),e.removeClass("sek-active-drop-zone"),e.find(".sek-drop-zone").removeClass("sek-drag-is-close"),e.find(".sek-drop-zone").removeClass("sek-drag-is-approaching"),e.removeClass("sek-feed-me-seymore"))},dnd_getPosition:function(e,t){var i=e[0].getBoundingClientRect(),n=i.height;return"before"===e.data("preDrop-position")?n+=this.preDropElement.outerHeight():"after"===e.data("preDrop-position")&&(n-=this.preDropElement.outerHeight()),0<t.originalEvent.clientY-i.top-n/2?"after":"before"},dnd_mayBePrintPreDropElement:function(e,t){var i=this,n=e.data("preDrop-position"),o=this.dnd_getPosition(e,t);if(n!==o&&!0!==i.isPrintingPreDrop){i.isPrintingPreDrop=!0,this.dnd_cleanSingleDropTarget(this.$currentPreDropTarget);var r="between-sections"===e.data("sek-location")||"in-empty-location"===e.data("sek-location");f.when(i.preDropElement.remove()).done(function(){e["before"===o?"prepend":"append"](i.preDropElement).find("."+sektionsLocalizedData.preDropElementClass).html(i.dnd_getPreDropElementContent(t)),e.find("."+sektionsLocalizedData.preDropElementClass).toggleClass("in-new-sektion",r),e.data("preDrop-position",o),e.addClass("sek-feed-me-seymore"),i.isPrintingPreDrop=!1,i.$currentPreDropTarget=e})}},dnd_isOveringDropTarget:function(e,t){var i=e[0].getBoundingClientRect(),n=t.clientX,o=t.clientY,r=i.left,s=i.right,a=i.top,c=i.bottom;return r<=n&&n-r<=s-r&&(a<=o&&o-a<=c-a)},dnd_onDrop:function(e,t){t.stopPropagation();this.dnd_getPosition(e,t),e.index();a.czr_sektions.trigger("sek-content-dropped",{drop_target_element:e,location:e.closest('[data-sek-level="location"]').data("sek-id"),before_module:e.data("drop-zone-before-module-or-nested-section"),after_module:e.data("drop-zone-after-module-or-nested-section"),before_section:e.data("drop-zone-before-section"),after_section:e.data("drop-zone-after-section"),content_type:t.originalEvent.dataTransfer.getData("sek-content-type"),content_id:t.originalEvent.dataTransfer.getData("sek-content-id")})},reactToDrop:function(){this.bind("sek-content-dropped",function(e){try{!function(e){if(!_.isObject(e))throw new Error("Invalid params provided");if(e.drop_target_element.length<1)throw new Error("Invalid drop_target_element");var t=e.drop_target_element,i="content-in-column";switch(t.data("sek-location")){case"between-sections":i="content-in-a-section-to-create";break;case"in-empty-location":e.is_first_section=!0,e.send_to_preview=!1,i="content-in-empty-location";break;case"between-columns":i="content-in-new-column"}if("preset_section"===e.content_type)if(t.hasClass("sek-module-drop-zone-for-first-module")){var n=t.closest('div[data-sek-level="section"]');1<n.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length?(i="preset-section-in-a-nested-section-to-create",e.is_nested=!0,e.in_column=t.closest('[data-sek-level="column"]').data("sek-id"),e.in_sektion=n.data("sek-id")):(e.sektion_to_replace=n.data("sek-id"),e.after_section=e.sektion_to_replace,e.in_column=n.closest('[data-sek-level="column"]').data("sek-id"),i="content-in-a-section-to-replace")}else"between-sections"===t.data("sek-location")&&(i="content-in-a-section-to-create");switch(i){case"content-in-column":var o=t.closest("div[data-sek-level]");if(o.length<1)throw new Error("No valid level dom element found");var r=o.data("sek-level"),s=o.data("sek-id");if(_.isEmpty(r)||_.isEmpty(s))throw new Error("No valid level id found");a.previewer.trigger("sek-add-module",{level:r,id:s,in_column:t.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:t.closest('div[data-sek-level="section"]').data("sek-id"),before_module:e.before_module,after_module:e.after_module,content_type:e.content_type,content_id:e.content_id});break;case"content-in-a-section-to-create":case"content-in-a-section-to-replace":a.previewer.trigger("sek-add-content-in-new-sektion",e);break;case"preset-section-in-a-nested-section-to-create":a.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",e);break;case"content-in-empty-location":a.previewer.trigger("sek-add-content-in-new-sektion",e);break;default:a.errare("sek control panel => ::reactToDrop => invalid drop case : "+i)}}(e)}catch(e){a.errare("error when reactToDrop",e)}})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{setupTinyMceEditor:function(){var n=this;r.sekEditorExpanded=new r.Value(!1),r.sekEditorSynchronizedInput=new r.Value,n.editorEventsListenerSetup=!1;var o=function(){r.sekTinyMceEditor=r.sekTinyMceEditor||tinyMCE.get("czr-customize-content_editor"),!1===n.editorEventsListenerSetup&&(n.attachEventsToEditor(),n.editorEventsListenerSetup=!0,n.trigger("sek-tiny-mce-editor-bound-and-instantiated"))};n.bind("sek-edit-module_done",function(e){if("tiny_mce_editor"==e.clicked_input_type){var i=e.id;if(!0===n.getRegisteredModuleProperty(e.module_type,"is_father")){var t=n.getRegisteredModuleProperty(e.module_type,"children");if(_.isEmpty(t))throw new Error("::generateUIforFrontModules => a father module "+e.module_type+" is missing children modules ");_.each(t,function(e,t){"czr_tinymce_child"===e&&(i=i+"__"+t)})}r.sekEditorSynchronizedInput({control_id:i,input_id:e.clicked_input_id}),r.sekEditorExpanded(!0),r.sekTinyMceEditor.focus()}}),s("#customize-theme-controls").on("click",'[data-czr-action="open-tinymce-editor"]',function(){var e=s(this).data("czr-control-id"),t=s(this).data("czr-input-id");if(_.isEmpty(e)||_.isEmpty(t))r.errare("toggle-tinymce-editor => missing input or control id");else{var i=s.extend(!0,{},r.sekEditorSynchronizedInput()),n=_.extend(i,{input_id:t,control_id:e});r.sekEditorSynchronizedInput(n),r.sekEditorExpanded(!0),r.sekTinyMceEditor.focus()}}),r.sekEditorSynchronizedInput.bind(function(n,e){o(),r(n.control_id,function(e){var t=e(),i=_.isObject(t)&&!_.isEmpty(t[n.input_id])?t[n.input_id]:"";try{r.sekTinyMceEditor.setContent(i)}catch(e){r.errare("Error when setting the tiny mce editor content in setupTinyMceEditor",e)}r.sekTinyMceEditor.focus()})}),r.sekEditorExpanded.bind(function(e,t,i){o(),e&&r.sekTinyMceEditor.focus(),s(document.body).toggleClass("czr-customize-content_editor-pane-open",e),s(window)[e?"on":"off"]("resize",function(){r.sekEditorExpanded()&&_.delay(function(){n.czrResizeEditor(window.innerHeight-n.$editorPane.height())},50)}),e?n.czrResizeEditor(window.innerHeight-n.$editorPane.height()):(n.$preview.css("bottom",""),n.$collapseSidebar.css("bottom",""))}),s("#czr-customize-content_editor-pane").on("click",'[data-czr-action="close-tinymce-editor"]',function(){r.sekEditorExpanded(!1)}),s("#customize-controls").on("click",function(e){"open-tinymce-editor"!=s(e.target).data("czr-action")&&r.sekEditorExpanded(!1,{context:"clicked anywhere"})}),s(document).on("keydown",_.throttle(function(e){27===e.keyCode&&r.sekEditorExpanded(!1)},50)),n.bind("sek-tiny-mce-editor-bound-and-instantiated",function(){var e=s(r.sekTinyMceEditor.iframeElement).contents().get(0);s(e).on("keydown",_.throttle(function(e){27===e.keyCode&&r.sekEditorExpanded(!1)},50))}),_.each(["sek-click-on-inactive-zone","sek-add-section","sek-add-column","sek-add-module","sek-remove","sek-move","sek-duplicate","sek-resize-columns","sek-add-content-in-new-sektion","sek-pick-content","sek-edit-options","sek-edit-module","sek-notify"],function(e){"sek-edit-module"!=e?r.previewer.bind(e,function(){r.sekEditorExpanded(!1)}):r.previewer.bind(e,function(e){r.sekEditorExpanded("czr_tiny_mce_editor_module"===e.module_type)})})},attachEventsToEditor:function(){var t=this;t.$editorTextArea=s("#czr-customize-content_editor"),t.$editorPane=s("#czr-customize-content_editor-pane"),t.$editorDragbar=s("#czr-customize-content_editor-dragbar"),t.$editorFrame=s("#czr-customize-content_editor_ifr"),t.$mceTools=s("#wp-czr-customize-content_editor-tools"),t.$mceToolbar=t.$editorPane.find(".mce-toolbar-grp"),t.$mceStatusbar=t.$editorPane.find(".mce-statusbar"),t.$preview=s("#customize-preview"),t.$collapseSidebar=s(".collapse-sidebar"),r.sekTinyMceEditor.on("input change keyup",function(e){if(r.control.has(r.sekEditorSynchronizedInput().control_id))try{r.control(r.sekEditorSynchronizedInput().control_id).trigger("tinyMceEditorUpdated",{input_id:r.sekEditorSynchronizedInput().input_id,html_content:r.sekTinyMceEditor.getContent(),modified_editor_element:r.sekTinyMceEditor})}catch(e){r.errare("Error when triggering tinyMceEditorUpdated",e)}}),t.$editorTextArea.on("input",function(e){try{r.control(r.sekEditorSynchronizedInput().control_id).trigger("tinyMceEditorUpdated",{input_id:r.sekEditorSynchronizedInput().input_id,html_content:t.$editorTextArea.val(),modified_editor_element:t.$editorTextArea})}catch(e){r.errare("Error when triggering tinyMceEditorUpdated",e)}}),s("#czr-customize-content_editor-pane").on("mousedown mouseup",function(e){if(("mousedown"!==e.type||"czr-customize-content_editor-dragbar"===s(e.target).attr("id")||s(e.target).hasClass("czr-resize-handle"))&&r.sekEditorExpanded())switch(e.type){case"mousedown":s(document).on("mousemove.czr-customize-content_editor",function(e){e.preventDefault(),s(document.body).addClass("czr-customize-content_editor-pane-resize"),t.$editorFrame.css("pointer-events","none"),t.czrResizeEditor(e.pageY)});break;case"mouseup":s(document).off("mousemove.czr-customize-content_editor"),s(document.body).removeClass("czr-customize-content_editor-pane-resize"),t.$editorFrame.css("pointer-events","")}})},czrResizeEditor:function(e){var t,i=this,n=window.innerHeight,o=(window.innerWidth,{});r.sekEditorExpanded()&&(_.isNaN(e)||(t=n-e),o.height=t,o.components=i.$mceTools.outerHeight()+i.$mceToolbar.outerHeight()+i.$mceStatusbar.outerHeight(),t<40&&(o.height=40),n-1<t&&(o.height=n-1),n<i.$editorPane.outerHeight()&&(o.height=n),i.$preview.css("bottom",o.height),i.$editorPane.css("height",o.height),i.$editorFrame.css("height",o.height-o.components),i.$collapseSidebar.css("bottom",n-o.height<56?i.$mceStatusbar.outerHeight()+4:o.height+8))}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(t,e){jQuery.extend(CZRSeksPrototype,t.Events);var i=t.Class.extend(CZRSeksPrototype);try{t.czr_sektions=new i}catch(e){t.errare("api.czr_sektions => problem on instantiation",e)}}(wp.customize),function(l,d,u){l.czrInputMap=l.czrInputMap||{};var p=function(e){return u.contains(["px","em","%"],e)||(l.errare("error : invalid unit for input "+this.id,e),e="px"),e},_=function(i){var n=this;i.on("click",".sek-ui-button",function(e,t){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),d(this).addClass("is-selected").attr("aria-pressed",!0),n.css_unit(d(this).data("sek-unit"),t)}),i.find('.sek-ui-button[data-sek-unit="'+(n.initial_unit||"px")+'"]').addClass("is-selected").attr("aria-pressed",!0)},m=function(t,i){var n=this;t.on("click",".reset-spacing-wrap",function(e){e.preventDefault(),t.find('input[type="number"]').each(function(){d(this).val("")}),n(i),d(".sek-unit-wrapper",t).find('[data-sek-unit="px"]').trigger("click")})};d.extend(l.czrInputMap,{spacing:function(e){var o=this,i=d(".sek-spacing-wrapper",o.container),t=l.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),n=u.isEmpty(t)||u.isEmpty(t.default)?[]:t.default;if(i.on("input",'input[type="number"]',function(e){var t=d(this).closest("[data-sek-spacing]").data("sek-spacing"),i=d.extend(!0,{},u.isObject(o())?o():{}),n=d(this).val();u.isString(n)&&!u.isEmpty(n)||u.isNumber(n)?i[t]=n:i=u.omit(i,t),o(i)}),m.call(o,i,n),u.isObject(o())){u.each(o(),function(e,t){d('[data-sek-spacing="'+t+'"]',i).find('input[type="number"]').val(e)});var r="px";d(".sek-unit-wrapper .sek-ui-button",o.container).each(function(){var e=d(this).data("sek-unit");u.isEmpty(o())||u.isEmpty(o().unit)||e===o().unit&&(r=e)}),d(".sek-unit-wrapper",o.container).find('[data-sek-unit="'+p.call(o,r)+'"]').trigger("click")}var s=o();o.initial_unit="px",u.isEmpty(s)||(o.initial_unit=u.isEmpty(s.unit)?"px":s.unit),o.css_unit=new l.Value(p.call(o,o.initial_unit)),o.css_unit.bind(function(e){var t;e=u.isEmpty(e)?"px":e,(t=d.extend(!0,{},u.isObject(o())?o():{})).unit=e,o(t)}),_.call(o,i)}}),d.extend(l.czrInputMap,{spacingWithDeviceSwitcher:function(e){var r=this,s=d(".sek-spacing-wrapper",r.container),t=l.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=u.isEmpty(t)||u.isEmpty(t.default)?{}:t.default,c=function(e,t){var i=["mobile","tablet","desktop"];if(u.has(e,t))return e[t];var n=u.findIndex(i,function(e){return t===e});return!u.isEmpty(t)&&n<i.length?c(e,i[n+1]):{}},i=function(e){var t=d.extend(!0,{},u.isObject(r())?r():{}),i=d.extend(!0,{},a);t=u.isObject(t)?d.extend(i,t):i;var n=c(t,e);d("[data-sek-spacing]",s).each(function(){var e=d(this).data("sek-spacing"),t="";u.isEmpty(n)||u.isEmpty(n[e])||(t=n[e]),d(this).find('input[type="number"]').val(t)});var o="px";d(".sek-unit-wrapper .sek-ui-button",r.container).each(function(){var e=d(this).data("sek-unit");u.isEmpty(n)||u.isEmpty(n.unit)||e===n.unit&&(o=e)}),d(".sek-unit-wrapper",r.container).find('[data-sek-unit="'+p.call(r,o)+'"]').trigger("click",{previewed_device_switched:!0})};l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r);var n=r();r.initial_unit="px",u.isEmpty(n)||u.isEmpty(n[r.previewedDevice()])||(r.initial_unit=u.isEmpty(n[r.previewedDevice()].unit)?"px":n[r.previewedDevice()].unit),r.css_unit=new l.Value(p.call(r,r.initial_unit)),s.on("input",'input[type="number"]',function(e){var t,i=d(this).closest("[data-sek-spacing]").data("sek-spacing"),n=d(this).val(),o=l.previewedDevice()||"desktop";(t=d.extend(!0,{},u.isObject(r())?r():{}))[o]=d.extend(!0,{},t[o]||{}),u.isString(n)&&!u.isEmpty(n)||u.isNumber(n)?t[o][i]=n:t[o]=u.omit(t[o],i),r(t)}),m.call(r,s,a),r.previewedDevice.bind(function(e){try{i(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}),r.css_unit.bind(function(e,t,i){if(!u.isObject(i)||!0!==i.previewed_device_switched){e=u.isEmpty(e)?"px":e;var n,o=r.previewedDevice()||"desktop";(n=d.extend(!0,{},u.isObject(r())?r():{}))[o]=d.extend(!0,{},n[o]||{}),n[o].unit=e,r(n)}}),_.call(r,s);try{i(l.previewedDevice())}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}})}(wp.customize,jQuery,_),function(n,a,c){n.czrInputMap=n.czrInputMap||{},a.extend(n.czrInputMap,{bg_position:function(e){var t=this;a(".sek-bg-pos-wrapper",t.container).on("change",'input[type="radio"]',function(e){t(a(this).val())}),c.isEmpty(t())||t.container.find('input[value="'+t()+'"]').attr("checked",!0).trigger("click")},bgPositionWithDeviceSwitcher:function(e){var o=this,t=n.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=c.isEmpty(t)||c.isEmpty(t.default)?{}:t.default;n.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var s=function(e,t){var i=["mobile","tablet","desktop"];if(c.has(e,t))return e[t];var n=c.findIndex(i,function(e){return t===e});return!c.isEmpty(t)&&n<i.length?s(e,i[n+1]):{}},i=function(e){var t=a.extend(!0,{},c.isObject(o())?o():{}),i=a.extend(!0,{},r);t=c.isObject(t)?a.extend(i,t):i;var n=s(t,e);o.container.find('input[value="'+n+'"]').attr("checked",!0).trigger("click",{previewed_device_switched:!0})};a(".sek-bg-pos-wrapper",o.container).on("change",'input[type="radio"]',function(e){var t,i=a(this).val();(t=a.extend(!0,{},c.isObject(o())?o():{}))[n.previewedDevice()||"desktop"]=i,o(t)}),o.previewedDevice.bind(function(e){try{i(e)}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+o.id,e)}});try{i(n.previewedDevice())}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type bgPositionWithDeviceSwitcher for input id "+o.id,e)}}})}(wp.customize,jQuery,_),function(c,l,d){c.czrInputMap=c.czrInputMap||{};var e=function(e){var o=this,t=c.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i="verticalAlignWithDeviceSwitcher"===o.type?".sek-v-align-wrapper":".sek-h-align-wrapper",s=l(i,o.container);c.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):{}},n=function(e){var t=l.extend(!0,{},d.isObject(o())?o():{}),i=l.extend(!0,{},r);t=d.isObject(t)?l.extend(i,t):i;var n=a(t,e);s.find(".selected").removeClass("selected"),s.find('div[data-sek-align="'+n+'"]').addClass("selected")};s.on("click","[data-sek-align]",function(e){var t;e.preventDefault(),(t=l.extend(!0,{},d.isObject(o())?o():{}))[c.previewedDevice()||"desktop"]=l(this).data("sek-align"),s.find(".selected").removeClass("selected"),l.when(l(this).addClass("selected")).done(function(){o(t)})}),o.previewedDevice.bind(function(e){try{n(e)}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}});try{n(c.previewedDevice())}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}};l.extend(c.czrInputMap,{horizTextAlignmentWithDeviceSwitcher:e,horizAlignmentWithDeviceSwitcher:e,verticalAlignWithDeviceSwitcher:e})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{font_size:function(e){t.czr_sektions.setupFontSizeAndLineHeightInputs.call(this)}})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{line_height:function(e){t.czr_sektions.setupFontSizeAndLineHeightInputs.call(this)}})}(wp.customize,jQuery,_),function(i,c,l){i.czrInputMap=i.czrInputMap||{},c.extend(i.czrInputMap,{font_picker:function(e){var a=this,o=a.input_parent,n=function(e,t){o();var n=c('select[data-czrtype="'+a.id+'"]',a.container);l.isNull(a())||l.isEmpty(a())?n.append('<option value="none" selected="selected">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"):n.append('<option value="none">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"),l.each([{title:sektionsLocalizedData.i18n["Web Safe Fonts"],type:"cfont",list:t.cfonts},{title:sektionsLocalizedData.i18n["Google Fonts"],type:"gfont",list:t.gfonts}],function(e){var t,r,s,i=c("<optgroup>",{label:e.title,html:(t=e.list,r=e.type,s="",l.each(t,function(e){var t,i,n=e.name,o=l.isString(n)?n.replace(/[+|:]/g," "):n;t=n,i=r,(n=l.isString(t)?["[",i,"]",t].join(""):"")==a()?s+='<option selected="selected" value="'+n+'">'+o+"</option>":s+='<option value="'+n+'">'+o+"</option>"}),s)});n.append(i)});var i={escapeMarkup:function(e){return e}};e&&c.extend(i,{resultsAdapter:e,closeOnSelect:!1}),n.select2(i),c(".select2-selection__rendered",a.container).css(r(a()))},r=function(e){if(!l.isString(e)||l.isEmpty(e))return{};var t,i,n,o=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return t=s(e),i=o[1]?o[1].replace(/[^0-9.]+/g,""):400,i=l.isNumber(i)?i:400,n=o[1]&&-1!=o[1].indexOf("italic")?"italic":"",{"font-family":"none"==t?"inherit":t.replace(/[+|:]/g," "),"font-weight":i||400,"font-style":n||"normal"}},s=function(e){if(!l.isString(e)||l.isEmpty(e))return e;var t=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return l.isString(t[0])?t[0].replace(/[+|:]/g," "):""};c.when(function(){var e,t=c.Deferred();l.isEmpty(i.sek_fontCollections)?(l.isUndefined(i.sek_fetchingFontCollection)||"pending"!=i.sek_fetchingFontCollection.state()?(e=i.CZR_Helpers.getModuleTmpl({tmpl:"font_list",module_type:"font_picker_input",module_id:a.module.id}),i.sek_fetchingFontCollection=e):e=i.sek_fetchingFontCollection,e.done(function(e){if("string"!=typeof e||"{"!==e[0])throw new Error("font_picker => server list is not JSON.parse-able");i.sek_fontCollections=JSON.parse(e),t.resolve(i.sek_fontCollections)}).fail(function(e){t.reject(e)})):t.resolve(i.sek_fontCollections);return t.promise()}()).done(function(t){var i;(i=c.Deferred(),void 0!==c.fn.select2&&void 0!==c.fn.select2.amd&&"function"==typeof c.fn.select2.amd.require?c.fn.select2.amd.require(["select2/results","select2/utils"],function(e,t){var n=function(e,t,i){n.__super__.constructor.call(this,e,t,i)};t.Extend(n,e),n.prototype.bind=function(e,t){var i=this;e.on("results:focus",function(e){"true"!=e.element.attr("aria-selected")&&i.trigger("select",{data:e.data})}),n.__super__.bind.call(this,e,t)},i.resolve(n)}):i.resolve(!1),i.promise()).done(function(e){n(e,t)})}).fail(function(e){i.errare("font_picker => fail response =>",e)})}})}(wp.customize,jQuery,_),function(s,a,c){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{fa_icon_picker:function(){var t,n=this,o=n.input_parent,r=!1;a.when((t=a.Deferred(),c.isEmpty(n.sek_faIconCollection)?s.CZR_Helpers.getModuleTmpl({tmpl:"icon_list",module_type:"fa_icon_picker_input",module_id:n.module.id}).done(function(e){if("string"!=typeof e||"["!==e[0])throw new Error("fa_icon_picker => server list is not JSON.parse-able");n.sek_faIconCollection=JSON.parse(e),t.resolve(n.sek_faIconCollection)}).fail(function(e){t.reject(e)}):t.resolve(n.sek_faIconCollection),t.promise())).done(function(e){!function(e){c.each(e,function(e){var t={value:e,html:s.CZR_Helpers.capitalize(e.substring(7))};t.value==o().icon&&(a.extend(t,{selected:"selected"}),r=!0),a("select[data-czrtype]",n.container).append(a("<option>",t))});var t,i=function(e){return e.id?a('<span class="'+e.element.value+'"></span><span class="social-name"> '+e.text+"</span>"):e.text};t=r?a("<option>"):a("<option>",{selected:"selected"}),a("select[data-czrtype]",n.container).prepend(t).select2({templateResult:i,templateSelection:i,placeholder:sektionsLocalizedData.i18n["Select an icon"],allowClear:!0})}(e)}).fail(function(e){s.errare("fa_icon_picker => fail response =>",e)})}})}(wp.customize,jQuery,_),function(d,u,p){d.czrInputMap=d.czrInputMap||{},u.extend(d.czrInputMap,{code_editor:function(e){var n=this,i=this.module.control,t=(n.input_parent(),!1),r=n.container.find("textarea"),o=n.container.find(".customize-control-title"),s=r.data("editor-params");wp.codeEditor&&(p.isUndefined(s)||!1!==s)&&(t=s),n.isReady.done(function(){var e=function(e){p.isEmpty(this.editor)&&(p.isEmpty(this.module.control.container.attr("data-sek-expanded"))||"false"==this.module.control.container.attr("data-sek-expanded")||setTimeout(function(){if(t)try{a(t)}catch(e){d.errare("error in sek_control => code_editor() input",e),c()}else c();o.click()},10))};e.call(n),n.module.control.container.on("sek-accordion-expanded",function(){e.call(n)})});var a=function(e){var t,i=!1;t=p.extend({},e,{onTabNext:CZRSeksPrototype.selectNextTabbableOrFocusable(":tabbable"),onTabPrevious:CZRSeksPrototype.selectPrevTabbableOrFocusable(":tabbable"),onUpdateErrorNotice:l}),n.editor=wp.codeEditor.initialize(r,t),u(n.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-label":o.html(),"aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),o.on("click",function(e){e.stopPropagation(),n.editor.codemirror.focus()}),n.editor.codemirror.on("change",function(e){i=!0,r.val(e.getValue()).trigger("change"),i=!1}),n.editor.codemirror.setValue(n()),n.bind(n.id+":changed",function(e){i||n.editor.codemirror.setValue(e)}),n.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()})},c=function(){var o=r[0];n.editor=o,r.on("blur",function(){r.data("next-tab-blurs",!1)}),r.on("keydown",function(e){var t,i,n;27!==e.keyCode?9!==e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||r.data("next-tab-blurs")||(t=o.selectionStart,i=o.selectionEnd,n=o.value,0<=t&&(o.value=n.substring(0,t).concat("\t",n.substring(i)),r.selectionStart=o.selectionEnd=t+1),e.stopPropagation(),e.preventDefault()):r.data("next-tab-blurs")||(r.data("next-tab-blurs",!0),e.stopPropagation())})},l=function(e){var t;i.setting.notifications.remove(n.id),0!==e.length&&(t=1===e.length?sektionsLocalizedData.i18n.codeEditorSingular.replace("%d","1").replace("%s",o.html()):sektionsLocalizedData.i18n.codeEditorPlural.replace("%d",String(e.length)).replace("%s",o.html()),i.setting.notifications.add(n.id,new d.Notification(n.id,{message:t,type:"warning"})))}}})}(wp.customize,jQuery,_),function(e,r,t){e.czrInputMap=e.czrInputMap||{},r.extend(e.czrInputMap,{range_simple:function(e){var t=this,i=r(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]');o.on("input",function(e){n.val(r(this).val()).trigger("input")}),n.on("input",function(e){t(r(this).val()),o.val(r(this).val())}),o.val(n.val()||0)}})}(wp.customize,jQuery,_),function(a,c,l){a.czrInputMap=a.czrInputMap||{},c.extend(a.czrInputMap,{range_with_unit_picker:function(e){var t=this,i=c(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]'),r=i.find("input[data-czrtype]").data("sek-unit"),s=function(e){return l.contains(["px","em","%"],e)||(a.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new a.Value(l.isEmpty(r)?"px":s(r)),t.css_unit.bind(function(e){e=l.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("input")}),o.on("input",function(e){n.val(c(this).val()).trigger("input")}),n.on("input",function(e){t(c(this).val()+s(t.css_unit())),o.val(c(this).val())}),o.val(n.val()||0),i.on("click",".sek-ui-button",function(e){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),c(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",c(this).data("sek-unit")),t.css_unit(c(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(a,_,m){a.czrInputMap=a.czrInputMap||{},_.extend(a.czrInputMap,{range_with_unit_picker_device_switcher:function(e){var c=this,l=_(".sek-range-with-unit-picker-wrapper",c.container),d=l.find('input[type="number"]'),r=l.find('input[type="range"]'),s=function(e){return m.contains(["px","em","%"],e)||(a.errare("range_with_unit_picker_device_switcher => error : invalid unit for input "+c.id,e),e="px"),e},t=a.czr_sektions.getInputRegistrationParams(c.id,c.module.module_type),u=m.isEmpty(t)||m.isEmpty(t.default)?{}:t.default,i=function(){return l.find("input[data-czrtype]").data("sek-unit")||"px"},p=function(e,t){var i=["mobile","tablet","desktop"];if(m.has(e,t))return e[t];var n=m.findIndex(i,function(e){return t===e});return!m.isEmpty(t)&&n<i.length?p(e,i[n+1]):_.extend(!0,{desktop:""},u).desktop},n=function(e){var t=c(),i={};i=_.extend(!0,{},u),m.isObject(t)?i=_.extend(!0,{},t):m.isString(t)&&!m.isEmpty(t)&&(i={desktop:t});var n,o,r=p(i,e),s=(o=r,m.isEmpty(o)||!m.isString(o)?"px":o.replace(/[0-9]|\.|,/g,"")),a=(n=r,m.isEmpty(n)||!m.isString(n)?"16":n.replace(/px|em|%/g,""));_(".sek-unit-wrapper",l).find('[data-sek-unit="'+s+'"]').trigger("click",{previewed_device_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+s+'"]').addClass("is-selected").attr("aria-pressed",!0),d.val(a).trigger("input",{previewed_device_switched:!0})};a.czr_sektions.maybeSetupDeviceSwitcherForInput.call(c),c.css_unit=new a.Value(m.isEmpty(i())?"px":s(i()));var o='<button type="button" class="button sek-reset-button sek-float-right">'+sektionsLocalizedData.i18n.Reset+"</button>";c.container.find(".customize-control-title").append(o),c.css_unit.bind(function(e,t,i){m.isObject(i)&&!0===i.previewed_device_switched||d.trigger("input")}),r.on("input",function(e){d.val(_(this).val()).trigger("input")}),d.on("input",function(e,t){var i,n=a.previewedDevice()||"desktop",o=_(this).val()+s(c.css_unit());(i=_.extend(!0,{},m.isObject(c())?c():{}))[n]=_.extend(!0,{},i[n]||{}),m.isString(o)&&!m.isEmpty(o)&&(i[n]=o),(m.isEmpty(t)||m.isObject(t)&&!0!==t.previewed_device_switched)&&c(i),r.val(_(this).val())}),l.on("click",".sek-ui-button",function(e,t){e.stopPropagation(),l.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),_(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",_(this).data("sek-unit")),c.css_unit(_(this).data("sek-unit"),t)}),c.previewedDevice.bind(function(e){try{n(e)}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+c.id,e)}}),c.container.on("click",".sek-reset-button",function(e){var t=a.previewedDevice(),i=_.extend(!0,{},m.isObject(c())?c():{});m.isEmpty(i[t])||(i=m.omit(i,t),c(i),n(a.previewedDevice()))}),r.val(d.val()||0);try{n(a.previewedDevice())}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+c.id,e)}}})}(wp.customize,jQuery,_),function(h,g,k){h.czrInputMap=h.czrInputMap||{},g.extend(h.czrInputMap,{borders:function(e){var a=this,c=g(".sek-borders",a.container),l=c.find('input[type="number"]'),d=c.find('input[type="range"]'),u=c.find(".sek-alpha-color-input"),p=function(e){return k.contains(["px","em","%"],e)||(h.errare("borders => error : invalid unit for input "+a.id,e),e="px"),e},_=function(e){return k.isEmpty(e)||!k.isString(e)?"16":e.replace(/px|em|%/g,"")},m=function(e){return k.isEmpty(e)||!k.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=h.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),f=k.isEmpty(t)||k.isEmpty(t.default)?{}:t.default;a.cssBorderTypes=["top","left","right","bottom"];var i,n,o=function(){var e=a(),t="px";return k.isObject(e)&&k.has(e,"_all_")&&k.isObject(e._all_)&&!k.isEmpty(e._all_.wght)&&(t=p(m(e._all_.wght))),t},r=function(){var e=a(),t="#000000";return k.isObject(e)&&k.has(e,"_all_")&&k.isObject(e._all_)&&!k.isEmpty(e._all_.col)&&(t=e._all_.col),t},s=function(e){if(!k.contains(k.union(a.cssBorderTypes,["_all_"]),e))throw new Error("Error in syncWithBorderType : the border type must be one of those values '_all_', 'top', 'left', 'right', 'bottom'");var t=a(),i={},n=g.extend(!0,{},f);k.isObject(t)?i=g.extend(!0,{},t):k.isString(t)&&(i={_all_:{wght:t}});var o,r,s=function(e,t){var i,n=g.extend(!0,{},f);if(!k.has(n,"_all_"))throw new Error("Error when firing getCurrentBorderTypeOrAllValue : the default value of the borders input must be php registered as an array formed : array( 'wght' => '1px', 'col' => '#000000' )");return i=k.isObject(e)&&k.has(e,"_all_")?k.extend(n._all_,e._all_):n._all_,k.has(e,t)&&k.isObject(e[t])?k.extend(i,e[t]):n._all_}(i=g.extend(n,i),e);if(k.isEmpty(s)||!k.isObject(s)||k.isEmpty(s.wght)||k.isEmpty(s.col))throw new Error("Error in syncWithBorderType : getCurrentBorderTypeOrAllValue must return an object formed : array( 'wght' => '1px', 'col' => '#000000' )");o=m(s.wght),r=_(s.wght),g(".sek-unit-wrapper",c).find('[data-sek-unit="'+o+'"]').trigger("click",{border_type_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),l.val(r).trigger("input",{border_type_switched:!0}),u.data("border_type_switched",!0),u.val(s.col).trigger("change"),u.data("border_type_switched",!1)};a.borderColor=new h.Value(k.isEmpty(r())?"#000000":r()),a.css_unit=new h.Value(k.isEmpty(o())?"px":p(o())),a.borderType=new h.Value("_all_"),l.val((i=a(),n=1,k.isObject(i)&&k.has(i,"_all_")&&k.isObject(i._all_)&&!k.isEmpty(i._all_.wght)&&(n=_(i._all_.wght)),n=parseInt(n,10),(!k.isNumber(n)||n<0)&&(h.errare("Error in borders input type for module : "+a.module.module_type+" the initial border width is invalid : "+n),n=1),n)),u.val(a.borderColor()),u.wpColorPicker({palettes:!0,width:1440<=window.innerWidth?271:251,change:function(e,t){g(this).val(t.color.toString()).trigger("colorpickerchange"),a.borderColor(t.color.toString(),{border_type_switched:!0===g(this).data("border_type_switched")})},clear:function(e,t){g(this).val("").trigger("colorpickerchange"),a.borderColor("")}}),a.css_unit.bind(function(e,t,i){(!k.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_unit)&&l.trigger("input",i)}),a.borderColor.bind(function(e,t,i){(!k.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_color)&&l.trigger("input",i)}),a.borderType.bind(function(e){try{s(e)}catch(e){h.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}}),d.on("input",function(e){l.val(g(this).val()).trigger("input")}),l.on("input",function(e,t){var i,n=a.borderType()||"_all_",o=a.borderColor(),r=g(this).val()+p(a.css_unit()),s=g.extend(!0,{},f);(i=g.extend(!0,{},k.isObject(a())?a():s))[n]=g.extend(!0,{},i[n]||s[n]),k.isString(r)&&!k.isEmpty(r)&&(i[n].wght=r),i[n].col=o,(k.isEmpty(t)||k.isObject(t)&&!0!==t.border_type_switched)&&("_all_"===n&&k.each(a.cssBorderTypes,function(e){i=k.omit(i,e)}),a(i)),d.val(g(this).val())}),c.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),c.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),g(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",g(this).data("sek-unit")),a.css_unit(g(this).data("sek-unit"),t)}),c.on("click","[data-sek-border-type]",function(e,t){e.preventDefault(),c.find("[data-sek-border-type]").removeClass("is-selected").attr("aria-pressed",!1),g(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=g(this).data("sek-border-type")}catch(e){h.errare("borders input type => error when attaching click event",e)}a.borderType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.borderType()||"_all_",i=g.extend(!0,{},k.isObject(a())?a():{});k.isEmpty(i[t])||(i=k.omit(i,t),a(i),s(t))}),d.val(l.val()||0);try{s(a.borderType())}catch(e){h.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}g('[data-sek-unit="'+a.css_unit()+'"]',c).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(m,f,h){m.czrInputMap=m.czrInputMap||{},f.extend(m.czrInputMap,{border_radius:function(e){var a=this,c=f(".sek-borders",a.container),l=c.find('input[type="number"]'),s=c.find('input[type="range"]'),d=function(e){return h.contains(["px","em","%"],e)||(m.errare("border_radius => error : invalid unit for input "+a.id,e),e="px"),e},u=function(e){return h.isEmpty(e)||!h.isString(e)?"16":e.replace(/px|em|%/g,"")},p=function(e){return h.isEmpty(e)||!h.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=m.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),_=h.isEmpty(t)||h.isEmpty(t.default)?{}:t.default;a.cssRadiusTypes=["top_left","top_right","bottom_right","bottom_left"];var i,n,o=function(){var e=a(),t="px";return h.isObject(e)&&h.has(e,"_all_")&&(t=d(p(e._all_))),t},r=function(e){if(!h.contains(["_all_","top_left","top_right","bottom_right","bottom_left"],e))throw new Error("Error in syncWithRadiusType : the radius type must be one of those values '_all_', 'top_left', 'top_right', 'bottom_right', 'bottom_left', => radius type => "+e);var t=a(),i={},n=f.extend(!0,{},_);h.isObject(t)?i=f.extend(!0,{},t):h.isString(t)&&(i={_all_:"0px"});var o,r,s=function(e,t){var i,n=f.extend(!0,{},_);if(!h.has(n,"_all_"))throw new Error("Error when firing getCurrentRadiusTypeOrAllValue : the default value of the border_radius input must be php registered as an array");return i=h.isObject(e)&&h.has(e,"_all_")?e._all_:n._all_,h.has(e,t)?e[t]:i}(i=f.extend(n,i),e);if(h.isEmpty(s)||!h.isString(s))throw new Error("Error in syncWithRadiusType : getCurrentRadiusTypeOrAllValue must return a string like 3em");o=p(s),r=u(s),f(".sek-unit-wrapper",c).find('[data-sek-unit="'+o+'"]').trigger("click",{radius_type_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),l.val(r).trigger("input",{radius_type_switched:!0})};a.css_unit=new m.Value(h.isEmpty(o())?"px":d(o())),a.radiusType=new m.Value("_all_"),l.val((i=a(),n=0,h.isObject(i)&&h.has(i,"_all_")&&(n=u(i._all_)),n=parseInt(n,10),(!h.isNumber(n)||n<0)&&(m.errare("Error in border_radius input type for module : "+a.module.module_type+" the initial radius is invalid : "+n),n=0),n)),a.css_unit.bind(function(e,t,i){(!h.isObject(i)||!0!==i.radius_type_switched&&!0!==i.initializing_the_unit)&&l.trigger("input",i)}),a.radiusType.bind(function(e){try{r(e)}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}}),s.on("input",function(e){l.val(f(this).val()).trigger("input")}),l.on("input",function(e,t){var i,n=a.radiusType()||"_all_",o=f(this).val()+d(a.css_unit()),r=f.extend(!0,{},_);(i=f.extend(!0,{},h.isObject(a())?a():r))[n]=f.extend(!0,{},i[n]||r[n]),h.isString(o)&&!h.isEmpty(o)&&(i[n]=o),(h.isEmpty(t)||h.isObject(t)&&!0!==t.radius_type_switched)&&("_all_"===n&&h.each(a.cssRadiusTypes,function(e){i=h.omit(i,e)}),a(i)),s.val(f(this).val())}),c.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),c.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",f(this).data("sek-unit")),a.css_unit(f(this).data("sek-unit"),t)}),c.on("click","[data-sek-radius-type]",function(e,t){e.preventDefault(),c.find("[data-sek-radius-type]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=f(this).data("sek-radius-type")}catch(e){m.errare("border_radius input type => error when attaching click event",e)}a.radiusType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.radiusType()||"_all_",i=f.extend(!0,{},h.isObject(a())?a():{});h.isEmpty(i[t])||(i=h.omit(i,t),a(i),r(t))}),s.val(l.val()||0);try{r(a.radiusType())}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}f('[data-sek-unit="'+a.css_unit()+'"]',c).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{buttons_choice:function(e){var n=this,o=s(".sek-button-choice-wrapper",n.container),t=o.find('input[type="number"]'),i=r.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type);a.isEmpty(i)||a.isEmpty(i.default)||i.default;t.val(n()),o.on("click","[data-sek-choice]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-choice]").removeClass("is-selected").attr("aria-pressed",!1),s(this).addClass("is-selected").attr("aria-pressed",!0);try{i=s(this).data("sek-choice")}catch(e){r.errare("buttons_choice input type => error when attaching click event",e)}n(i)}),s('[data-sek-choice="'+n()+'"]',o).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(i,n,e){i.czrInputMap=i.czrInputMap||{},n.extend(i.czrInputMap,{reset_button:function(e){this.container.on("click","[data-sek-reset-scope]",function(e,t){if(e.stopPropagation(),"local"===n(this).data("sek-reset-scope"))try{i.czr_sektions.resetCollectionSetting()}catch(e){i.errare("reset_button => error when firing resetCollectionSetting() on click event",e)}})}})}(wp.customize,jQuery,_),function(t,o,r){t.czrModuleMap=t.czrModuleMap||{},o.extend(t.czrModuleMap,{sek_content_type_switcher_module:{crud:!1,name:t.czr_sektions.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_content_type_switcher_module"))}}),t.czrInputMap=t.czrInputMap||{},o.extend(t.czrInputMap,{content_type_switcher:function(e){var i,n=this;if(!t.section.has(n.module.control.section()))throw new Error("api.czrInputMap.content_type_switcher => section not registered");i=t.section(n.module.control.section()),n.container.on("click","[data-sek-content-type]",function(e){e.preventDefault(),n.container.find("[data-sek-content-type]").removeClass("is-selected").attr("aria-pressed",!1),o(this).addClass("is-selected").attr("aria-pressed",!0),n.contentType(o(this).data("sek-content-type"))}),n.contentType=new t.Value,n.contentType.bind(function(t){n.container.find('[data-sek-content-type="'+n.contentType()+'"]').trigger("click"),r.each(i.controls(),function(e){r.isUndefined(e.content_type)||e.active(t===e.content_type)})}),n.contentType(n()),i.container.first().bind("sek-content-type-refreshed",function(e,t){n.contentType(t.content_type||"section")})}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{},e.extend(t.czrModuleMap,{sek_module_picker_module:{crud:!1,name:t.czr_sektions.getRegisteredModuleProperty("sek_module_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_module_picker_module"))}}),t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{module_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"module",input_container:this.container})}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{},i.each(["sek_intro_sec_picker_module","sek_features_sec_picker_module","sek_contact_sec_picker_module","sek_column_layouts_sec_picker_module"],function(e){t.czrModuleMap[e]={crud:!1,name:t.czr_sektions.getRegisteredModuleProperty(e,"name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData(e))}}),t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{section_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:this.container})}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_anchor_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_anchor_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_anchor_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=o.CZRItem.extend(i.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"bg-apply-overlay":r.each(["bg-color-overlay","bg-opacity-overlay"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return!r.isEmpty(n.czr_Input("bg-image")()+"")&&o.CZR_Helpers.isChecked(t())})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_bg_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_bg_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_bg_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=o.CZRItem.extend(i.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_border_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_border_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_border_module"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"use-custom-breakpoint":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"custom-breakpoint",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_breakpoint_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_breakpoint_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_breakpoint_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"height-type":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"custom-height",function(){return"custom"===e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_height_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_height_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_height_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_visibility_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_visibility_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_visibility_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"width-type":t.call(e,"custom-width",function(){return"custom"===e()}),t.call(e,"h_alignment",function(){return"custom"===e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_width_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_width_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_width_section:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_width_section","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_section"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_spacing_module:{mthds:"",crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_spacing_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_spacing_module"))}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_template:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_template","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:t.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_template"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_custom_css:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_custom_css","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_custom_css"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_reset"))}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_performances:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:t.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_performances"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"use-custom-breakpoint":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"global-custom-breakpoint",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_breakpoint:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_breakpoint","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_breakpoint"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_performances"))}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){var i=this;i.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=r.CZRItem.extend(i.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(i,e,t),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(i){switch(i.id){case"img":o.call(i,"img-size",function(){return!s.isEmpty(i()+"")&&s.isNumber(i())});break;case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e="no-link"!==i()}return e})}catch(e){r.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"border-type":s.each(["borders"],function(e){try{o.call(i,e,function(){return"none"!==i()})}catch(e){r.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"use_custom_width":s.each(["custom_width"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_image_main_settings_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_image_main_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_main_settings_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_image_borders_corners_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_image_borders_corners_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_borders_corners_child")}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){this.inputConstructor=n.CZRInput.extend(this.CZRTextEditorInputMths||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRTextEditorInputMths:{initialize:function(e,t){var i=this;"tiny_mce_editor"==i.type&&i.isReady.then(function(){i.container.find('[data-czr-action="open-tinymce-editor"]').trigger("click")}),n.CZRInput.prototype.initialize.call(i,e,t)},setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_tinymce_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_tinymce_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_tinymce_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_html_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_html_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_html_module")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRFPItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRFPItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"img-type":s.each(["img-id","img-size"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"img-id":e="custom"===i();break;default:e="none"!==i()}return e})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"content-type":s.each(["content-custom-text"],function(e){try{o.call(i,e,function(){return"custom"===i()})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"btn-display":s.each(["btn-custom-text"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_featured_pages_module:{mthds:t,crud:r.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","is_crud"),hasPreItem:!1,refresh_on_add_item:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_featured_pages_module")}})}(wp.customize,jQuery,_),function(s,e,a){var t={initialize:function(e,t){var i=this;i.inputConstructor=s.CZRInput.extend({setupSelect:function(){s.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=s.CZRItem.extend(i.CZRIconItemConstructor||{}),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),s.CZRDynModule.prototype.initialize.call(i,e,t)},CZRIconItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!a.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){s.errorLog("item.setInputVisibilityDeps() : "+e)}}),s.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module,r=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(i){switch(i.id){case"link-to":a.each(["link-pick-url","link-custom-url","link-target"],function(t){try{r.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){s.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":r.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"use_custom_color_on_hover":a.each(["color_hover"],function(e){try{r.call(i,e,function(){return i()})}catch(e){s.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};s.czrModuleMap=s.czrModuleMap||{},e.extend(s.czrModuleMap,{czr_icon_settings_child:{mthds:t,crud:!1,name:s.czr_sektions.getRegisteredModuleProperty("czr_icon_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:s.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_settings_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_icon_spacing_border_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_icon_spacing_border_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_spacing_border_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRHeadingInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRHeadingInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_heading_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_heading_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRHeadingInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRHeadingInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_heading_spacing_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_heading_spacing_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_spacing_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRDividerInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRDividerInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_divider_module:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_divider_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_divider_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_spacer_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_spacer_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_spacer_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_map_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_map_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_map_module")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRButtonItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(t){switch(t.id){case"quote_design":r.each(["border_width_css","border_color_css"],function(e){try{i.call(t,e,function(){return"border-before"==t()})}catch(e){o.errare("Quote module => error in setInputVisibilityDeps",e)}}),r.each(["icon_color_css","icon_size_css"],function(e){try{i.call(t,e,function(){return"quote-icon-before"==t()})}catch(e){o.errare("Quote module => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_quote_design_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_quote_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_design_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_quote_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_quote_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_quote_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_cite_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_cite_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_cite_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=o.CZRItem.extend(i.CZRButtonItemConstructor||{}),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,e=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{e.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){o.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":e.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"icon":e.call(i,"icon-side",function(){return!r.isEmpty(i())})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_btn_content_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_btn_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_content_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRButtonItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"border-type":s.each(["borders"],function(e){try{o.call(t,e,function(){return"none"!==t()})}catch(e){r.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_btn_design_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_btn_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_design_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(t){switch(t.id){case"show_name_field":r.each(["name_field_label","name_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_subject_field":r.each(["subject_field_label","subject_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_message_field":r.each(["message_field_label","message_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":try{i.call(t,"link-custom-url",function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_simple_form_fields_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fields_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fields_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_simple_form_design_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_simple_form_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_design_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"border-type":s.each(["borders"],function(e){try{o.call(t,e,function(){return"none"!==t()})}catch(e){r.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_simple_form_button_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_simple_form_button_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_button_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_simple_form_fonts_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_submission_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_submission_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_submission_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRButtonItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_font_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_font_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_font_child")}})}(wp.customize,jQuery,_);
|
1 |
+
var CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{initialize:function(){var o=this;if(_.isUndefined(window.sektionsLocalizedData))throw new Error("CZRSeksPrototype => missing localized server params sektionsLocalizedData");if(!_.isFunction(r.czr_activeSkopes))throw new Error("CZRSeksPrototype => api.czr_activeSkopes");o.MAX_NUMBER_OF_COLUMNS=12,o.SETTING_UPDATE_BUFFER=50,o.defaultSektionSettingValue=sektionsLocalizedData.defaultSektionSettingValue,o.sekCollectionSettingId=new r.Value({}),o.registered=new r.Value([]),r.bind("ready",function(){o.registerAndSetupDefaultPanelSectionOptions(),o.sekCollectionSettingId.callbacks.add(function(e,t){try{o.setupSettingToBeSaved()}catch(e){r.errare("Error in self.sekCollectionSettingId.callbacks => self.setupSettingsToBeSaved()",e)}});var i=function(e,t){o.setContextualCollectionSettingIdWhenSkopeSet(e,t),o.generateUI({action:"sek-generate-local-skope-options-ui"}),o.generateUI({action:"sek-generate-global-options-ui"})};_.isEmpty(r.czr_activeSkopes().local)||i(),r.czr_activeSkopes.callbacks.add(function(e,t){i(e,t)}),o.reactToPreviewMsg(),o.setupDnd(),o.setupTinyMceEditor(),o.schedulePrintSectionJson(),o.bind("sek-ui-removed",function(){r.previewedDevice("desktop")}),r.previewedDevice.bind(function(t){var e=_.filter(o.registered(),function(e){return"control"==e.what});_.each(e||[],function(e){r.control(e.id,function(e){e.container.find('[data-sek-device="'+t+'"]').each(function(){s(this).trigger("click")})})})}),s("#customize-notifications-area").on("click",'[data-sek-reset="true"]',function(){o.resetCollectionSetting()}),o.bind("sek-ui-pre-removal",function(e){"control"==e.what&&-1<e.id.indexOf("draggable")&&r.control(e.id,function(e){e.container.find("[draggable]").each(function(){s(this).off("dragstart dragend")})}),"control"==e.what&&r.control(e.id,function(e){e.container.find("select").each(function(){_.isUndefined(s(this).data("select2"))||s(this).select2("destroy")})})}),r.bind("czr-new-registered",function(e){if(_.isUndefined(e.origin))throw new Error("czr-new-registered event => missing params.origin");if("nimble"===e.origin&&!1!==e.track){var t=o.registered(),i=s.extend(!0,[],t),n=_.findWhere(i,{id:e.id});if(!_.isEmpty(n)&&_.isEqual(n,e))throw new Error("register => duplicated element in self.registered() collection "+e.id);i.push(e),o.registered(i)}}),o.setupTopBar(),sektionsLocalizedData.isSavedSectionEnabled&&o.setupSaveUI()})},registerAndSetupDefaultPanelSectionOptions:function(){var n=this,e=r.Panel.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}});r.panel(sektionsLocalizedData.sektionsPanelId,function(n){n.deferred.embedded.done(function(){var e=n.container.find("h3.accordion-section-title"),t=(n.container.find(".panel-meta .accordion-section-title"),['<img class="sek-nimble-logo" alt="'+n.params.title+'" src="',sektionsLocalizedData.baseUrl,"/assets/img/nimble/nimble_horizontal.svg",'"/>'].join(""));if(0<e.length){var i=e.find("span");e.addClass("sek-side-nimble-logo-wrapper").html(t).append(i)}})}),r.CZR_Helpers.register({origin:"nimble",what:"panel",id:sektionsLocalizedData.sektionsPanelId,title:sektionsLocalizedData.i18n["Nimble Builder"],priority:-1e3,constructWith:e,track:!1}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__globalAndLocalOptionsSection",title:sektionsLocalizedData.i18n["Site wide options"],panel:sektionsLocalizedData.sektionsPanelId,priority:20,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__globalAndLocalOptionsSection",function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-globe sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-globe sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__localOptionsSection",title:sektionsLocalizedData.i18n["Current page options"],panel:sektionsLocalizedData.sektionsPanelId,priority:10,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__localOptionsSection",function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"setting",id:sektionsLocalizedData.optNameForGlobalOptions,dirty:!1,value:sektionsLocalizedData.globalOptionDBValues,transport:"refresh",type:"option"}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:"__content_picker__",title:sektionsLocalizedData.i18n["Content Picker"],panel:sektionsLocalizedData.sektionsPanelId,priority:30,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section("__content_picker__",function(e){"resolved"!=r.czr_initialSkopeCollectionPopulated.state()?r.czr_initialSkopeCollectionPopulated.done(function(){r.previewer.trigger("sek-pick-content",{focus:!1})}):r.previewer.trigger("sek-pick-content",{focus:!1})})})},setContextualCollectionSettingIdWhenSkopeSet:function(e,t){t=t||{},!_.isEmpty(t.local)&&r.panel(sektionsLocalizedData.sektionsPanelId).expanded()&&r.previewer.trigger("sek-pick-content"),sektionsData=r.czr_skopeBase.getSkopeProperty("sektions","local"),sektionsLocalizedData.isDevMode&&r.infoLog("::setContextualCollectionSettingIdWhenSkopeSet => SEKTIONS DATA ? ",sektionsData),_.isEmpty(sektionsData)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => no sektionsData"),_.isEmpty(sektionsData.setting_id)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => missing setting_id"),this.sekCollectionSettingId(sektionsData.setting_id)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{setupTopBar:function(){var t=this;t.topBarVisible=new l.Value(!1),t.topBarVisible.bind(function(e){t.toggleTopBar(e)}),t.mouseMovedRecently=new l.Value({}),t.mouseMovedRecently.bind(function(e){t.topBarVisible(!_.isEmpty(e))});var e=function(e){t.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(d(window).data("_scroll_move_timer_")),d(window).data("_scroll_move_timer_",setTimeout(function(){t.mouseMovedRecently.set({})},4e3))};d(window).on("mousemove scroll,",_.throttle(e,50)),l.previewer.bind("ready",function(){d(l.previewer.targetWindow().document).on("mousemove scroll,",_.throttle(e,50))}),t.historyLog=new l.Value([]),t.historyLog.bind(function(e){if(!_.isEmpty(e)){var t=_.findKey(e,{status:"current"});t=Number(t),d("#nimble-top-bar").find("[data-nimble-history]").each(function(){"undo"===d(this).data("nimble-history")?d(this).attr("data-nimble-state",t<=0?"disabled":"enabled"):d(this).attr("data-nimble-state",e.length<=t+1?"disabled":"enabled")})}})},toggleTopBar:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderAndSetupTopBarTmpl({})).done(function(e){i.topBarContainer=e,_.delay(function(){d("body").addClass("nimble-top-bar-visible")},200)}):(t=d.Deferred(),d("body").removeClass("nimble-top-bar-visible"),i.topBarContainer&&i.topBarContainer.length?_.delay(function(){t.resolve()},300):t.resolve(),t.promise()).done(function(){i.topBarVisible(!1)})},renderAndSetupTopBarTmpl:function(e){if(0<d("#nimble-top-bar").length)return d("#nimble-top-bar");var t=this;try{_tmpl=wp.template("nimble-top-bar")({})}catch(e){return l.errare("Error when parsing the the top note template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("[data-nimble-history]","#nimble-top-bar").on("click",function(e){try{t.navigateHistory(d(this).data("nimble-history"))}catch(e){l.errare("Error when firing self.navigateHistory",e)}}),d(".sek-settings","#nimble-top-bar").on("click",function(e){l.panel(sektionsLocalizedData.sektionsPanelId,function(e){t.rootPanelFocus(),e.focus()})}),d(".sek-add-content","#nimble-top-bar").on("click",function(e){e.preventDefault(),l.previewer.trigger("sek-pick-content",{})}),d(".sek-nimble-doc","#nimble-top-bar").on("click",function(e){e.preventDefault(),window.open(d(this).data("doc-href"),"_blank")}),d("#nimble-top-bar")},navigateHistory:function(i){var t,n,o,r,e=this,s=d.extend(!0,[],e.historyLog()),a=[];if(_.each(s,function(e){if(_.isEmpty(r)){switch(e.status){case"previous":t=e;break;case"current":n=e;break;case"future":o=e}switch(i){case"undo":_.isEmpty(n)||_.isEmpty(t)||(r=t.value,n.sektionToRefresh,t.sektionToRefresh);break;case"redo":_.isEmpty(o)||(r=o.value,n.sektionToRefresh,o.sektionToRefresh)}}}),!_.isUndefined(r)){l(e.sekCollectionSettingId())(e.validateSettingValue(r),{navigatingHistoryLogs:!0});l.previewer.refresh(),l.previewer.trigger("sek-pick-content",{}),e.cleanRegistered(),e.cleanRegisteredLevelSettingsAfterHistoryNavigation()}var c=_.findKey(s,{status:"current"});c=Number(c),_.isNumber(c)?(_.each(s,function(e,t){switch(newLog=d.extend(!0,{},e),t=Number(t),i){case"undo":0<c&&(t===c-1?newLog.status="current":t===c&&(newLog.status="future"));break;case"redo":s.length>c+1&&(t===c?newLog.status="previous":t===c+1&&(newLog.status="current"))}a.push(newLog)}),e.historyLog(a)):l.errare("Error when navigating the history log, the current key should be a number")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(a,c){c.extend(CZRSeksPrototype,{setupSaveUI:function(){var n=this;n.saveUIVisible=new a.Value(!1),n.saveUIVisible.bind(function(e,t,i){n.toggleSaveUI(e,i?i.id:null)})},toggleSaveUI:function(e,t){e=!!_.isUndefined(e)||e;var i,n=this;e?c.when(n.renderAndSetupSaveUITmpl({})).done(function(e){n.saveUIContainer=e,_.delay(function(){c("body").addClass("nimble-save-ui-visible")},200),c("#sek-saved-section-id").val(t)}):(i=c.Deferred(),c("body").removeClass("nimble-save-ui-visible"),0<c("#nimble-top-save-ui").length?_.delay(function(){n.saveUIContainer.remove(),i.resolve()},300):i.resolve(),i.promise()).done(function(){n.saveUIVisible(!1)})},preProcessSektion:function(e){var t=this.cleanIds(e);return _.omit(t,function(e,t){return _.contains(["id","level"],t)})},renderAndSetupSaveUITmpl:function(e){if(0<c("#nimble-top-save-ui").length)return c("#nimble-top-save-ui");var s=this;try{_tmpl=wp.template("nimble-top-save-ui")({})}catch(e){return a.errare("Error when parsing the the top note template",e),!1}return c("#customize-preview").after(c(_tmpl)),c(".sek-do-save-section","#nimble-top-save-ui").on("click",function(e){e.preventDefault();var t=c.extend(!0,{},s.getLevelModel(c("#sek-saved-section-id").val())),i=c("#sek-saved-section-title").val(),n=c("#sek-saved-section-description").val(),o=s.guid(),r=s.preProcessSektion(t);if(_.isEmpty(i))return c("#sek-saved-section-title").addClass("error"),void a.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>@missi18n You need to set a title</strong>","</span>"].join("")});c("#sek-saved-section-title").removeClass("error"),wp.ajax.post("sek_save_section",{nonce:a.settings.nonce.save,sek_title:i,sek_description:n,sek_id:o,sek_data:JSON.stringify(r)}).done(function(e){a.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>@missi18n Your section has been saved.</strong>","</span>"].join("")})}).fail(function(e){a.errorLog("ajax sek_save_section => error",e),a.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>@missi18n You need to set a title</strong>","</span>"].join("")})})}),c(".sek-cancel-save","#nimble-top-save-ui").on("click",function(e){e.preventDefault(),s.saveUIVisible(!1)}),c("#nimble-top-save-ui")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(a,c){c.extend(CZRSeksPrototype,{setupSettingToBeSaved:function(){var e,s=this;e=a.czr_skopeBase.getSkopeProperty("sektions","local").db_values;var t=s.sekCollectionSettingId();if(_.isEmpty(t))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");if(!a.has(t)){a.CZR_Helpers.register({what:"setting",id:t,value:s.validateSettingValue(_.isObject(e)?e:s.defaultSektionSettingValue),transport:"postMessage",type:"option",track:!1,origin:"nimble"});a(t,function(e){s.historyLog([{status:"current",value:e(),action:"initial"}]),e.bind(_.debounce(function(e,t,i){if(i&&!0!==i.navigatingHistoryLogs){var n,o=[],r=c.extend(!0,[],s.historyLog());_.isEmpty(i.in_sektion)?_.isEmpty(i.to_sektion)||(n=i.to_sektion):n=i.in_sektion,_.each(r,function(e){"future"!=e.status&&(c.extend(e,{status:"previous"}),o.push(e))}),o.push({status:"current",value:e,action:_.isObject(i)&&i.action||"",sektionToRefresh:n}),s.historyLog(o)}},1e3))})}},validateSettingValue:function(i){if(!_.isObject(i))return a.errare("validation error => the setting should be an object",i),null;var n={},o=!1,e=[],r=function(e){a.errare(e,i),a.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks the Nimble builder, you might try to reset the sections for this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")}),o=!0},s=function(t){if(!o)if(_.isUndefined(t)&&_.isEmpty(n)){if(t=c.extend(!0,{},i),_.isUndefined(t.id)||_.isUndefined(t.level)){if(_.isUndefined(t.collection))return void r("validation error => the root level is missing the collection of locations");if(!_.isEmpty(t.level)||!_.isEmpty(t.id))return void r('validation error => the root level should not have a "level" or an "id" property');_.each(i.collection,function(e){n=t,s(e)})}}else{if(_.isEmpty(t.id)||!_.isString(t.id))return void r("validation error => a "+t.level+" level must have a valid id");if(_.contains(e,t.id))return void r("validation error => duplicated level id : "+t.id);if(e.push(t.id),_.isEmpty(t.level)||!_.isString(t.level))return void r("validation error => a "+t.level+" level must have a level property");if(!_.contains(["location","section","column","module"],t.level))return void r('validation error => the level "'+t.level+'" is not authorized');if("module"==t.level){if(!_.isUndefined(t.collection))return void r("validation error => a module can not have a collection property")}else if(_.isUndefined(t.collection))return void r("validation error => missing collection property for level => "+t.level+" "+t.id);switch(_.isUndefined(t.ver_ini)&&a.errare("validateSettingValue() => validation error => a "+t.level+' should have a version property : "ver_ini"'),t.level){case"location":if(!_.isEmpty(n.level))return void r("validation error => the parent of location "+t.id+" should have no level set");break;case"section":if(t.is_nested&&"column"!=n.level)return void r("validation error => the nested section "+t.id+" must be child of a column");if(!t.is_nested&&"location"!=n.level)return void r("validation error => the section "+t.id+" must be child of a location");break;case"column":if("section"!=n.level)return void r("validation error => the column "+t.id+" must be child of a section");break;case"module":if("column"!=n.level)return void r("validation error => the module "+t.id+" must be child of a column")}"module"!=t.level&&_.each(t.collection,function(e){n=c.extend(!0,{},t),s(e)})}};return s(),o?null:i},resetCollectionSetting:function(){if(_.isEmpty(this.sekCollectionSettingId()))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");a(this.sekCollectionSettingId())(this.defaultSektionSettingValue),a.previewer.refresh(),a.notifications.remove("sek-notify"),a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("sek-reset-done",{type:"success",message:sektionsLocalizedData.i18n["Reset complete"],dismissible:!0})),_.delay(function(){a.notifications.remove("sek-reset-done")},5e3)})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,n){n.extend(CZRSeksPrototype,{reactToPreviewMsg:function(){var o=this,r={},s={},a=!0,e={"sek-add-section":{callback:function(e){return a=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,s={},r={action:"sek-add-section",id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),before_section:e.before_section,after_section:e.after_section,is_first_section:e.is_first_section},o.updateAPISetting(r)},complete:function(e){e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),c.previewer.trigger("sek-pick-content",{}),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id})}},"sek-add-column":{callback:function(e){return a=!0,s={},r={id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),action:"sek-add-column",in_sektion:e.in_sektion,autofocus:e.autofocus},o.updateAPISetting(r)},complete:function(e){!1!==e.apiParams.autofocus&&c.previewer.trigger("sek-pick-content",{})}},"sek-add-module":{callback:function(e){return a=!0,s={},r={id:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),action:"sek-add-module",in_sektion:e.in_sektion,in_column:e.in_column,module_type:e.content_id,before_module:e.before_module,after_module:e.after_module},o.updateAPISetting(r)},complete:function(e){c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_column,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-remove":{callback:function(e){switch(a=!0,s={},e.level){case"section":var t=o.getLevelModel(e.id);if("no_match"===t){c.errare("reactToPreviewMsg => sek-remove-section => no sektionToRemove matched");break}r={action:"sek-remove-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:t.is_nested};break;case"column":r={action:"sek-remove-column",id:e.id,in_sektion:e.in_sektion};break;case"module":r={action:"sek-remove-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;default:c.errare("::reactToPreviewMsg => sek-remove => missing level ",e)}return o.updateAPISetting(r)},complete:function(e){if(c.previewer.trigger("sek-pick-content",{}),o.updateAPISetting({action:"sek-update-fonts"}),"sek-remove-section"===e.apiParams.action){var t=o.getLevelModel(e.apiParams.location);_.isEmpty(t.collection)&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location})}}},"sek-move":{callback:function(e){switch(a=!0,s={},e.level){case"section":r={action:"sek-move-section",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),newOrder:e.newOrder,from_location:e.from_location,to_location:e.to_location};break;case"column":r={action:"sek-move-column",id:e.id,newOrder:e.newOrder,from_sektion:e.from_sektion,to_sektion:e.to_sektion};break;case"module":r={action:"sek-move-module",id:e.id,newOrder:e.newOrder,from_column:e.from_column,to_column:e.to_column,from_sektion:e.from_sektion,to_sektion:e.to_sektion}}return o.updateAPISetting(r)},complete:function(e){switch(e.apiParams.action){case"sek-move-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),e.apiParams.from_location!=e.apiParams.to_location&&(c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.to_location}),c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.from_location}));break;case"sek-move-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column});break;case"sek-refresh-modules-in-column":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column})}}},"sek-duplicate":{callback:function(e){switch(a=!0,s={},e.level){case"section":r={action:"sek-duplicate-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column)};break;case"column":r={action:"sek-duplicate-column",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;case"module":r={action:"sek-duplicate-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column}}return o.updateAPISetting(r)},complete:function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),t=e.apiParams.location,c.previewer.send("sek-animate-to-level",{id:e.apiParams.id});break;case"sek-duplicate-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_sektion;break;case"sek-duplicate-module":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_column}c.previewer.trigger("sek-refresh-stylesheet",{id:t,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-resize-columns":function(e){return a=!0,s={},r=e,o.updateAPISetting(r)},"sek-add-content-in-new-sektion":{callback:function(e){switch(a=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,s={},(r=e).action="sek-add-content-in-new-sektion",r.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),e.content_type){case"module":r.droppedModuleId=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid();break;case"preset_section":c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),c.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0})}return o.updateAPISetting(r)},complete:function(e){switch(e.apiParams.content_type){case"module":c.previewer.trigger("sek-edit-module",{level:"module",id:e.apiParams.droppedModuleId});break;case"preset_section":c.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-stylesheet",{skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),e.apiParams.sektion_to_replace&&c.previewer.trigger("sek-remove",{id:e.apiParams.sektion_to_replace,location:e.apiParams.location,in_column:e.apiParams.in_column,level:"section"})}},"sek-add-preset-section-in-new-nested-sektion":{callback:function(e){return a=!1,s={},(r=e).action="sek-add-preset-section-in-new-nested-sektion",r.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid(),c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),o.updateAPISetting(r)},complete:function(e){c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_sektion,skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),o.updateAPISetting({action:"sek-update-fonts"}),c.previewer.trigger("sek-refresh-level",{level:"section",id:e.apiParams.in_sektion})}},"sek-pick-content":function(e){return a=!0,r={},s={action:"sek-generate-draggable-candidates-picker-ui",content_type:(e=e||{}).content_type||"section",was_triggered:!_.has(e,"was_triggered")||e.was_triggered,focus:!_.has(e,"focus")||e.focus},o.generateUI(s)},"sek-edit-options":function(e){return a=!0,r={},_.isEmpty(e.id)?n.Deferred(function(){this.reject("missing id")}):(s={action:"sek-generate-level-options-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},o.generateUI(s))},"sek-edit-module":function(e){return a=!0,r={},s={action:"sek-generate-module-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},o.generateUI(s)},"sek-notify":function(t){return a=!1,n.Deferred(function(){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("sek-notify",{type:t.type||"info",message:t.message,dismissible:!0})),_.delay(function(){c.notifications.remove("sek-notify")},t.duration||5e3)}),this.resolve()})},"sek-refresh-level":function(t){return a=!0,n.Deferred(function(e){r={action:"sek-refresh-level",level:t.level,id:t.id},s={},e.resolve()})},"sek-refresh-stylesheet":function(t){return a=!0,t=t||{},n.Deferred(function(e){r={id:t.id},s={},e.resolve()})},"sek-toggle-save-section-ui":function(e){return a=!1,o.saveUIVisible(!0,e),n.Deferred(function(e){r={},s={},e.resolve()})}};_.each(e,function(i,n){c.previewer.bind(n,function(t){var e;if(_.isFunction(i))e=i;else{if(!_.isFunction(i.callback))return void c.errare("::reactToPreviewMsg => invalid callback for action "+n);e=i.callback}try{e(t).done(function(e){a?c.previewer.send(n,{skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:r,uiParams:s,cloneId:!_.isEmpty(e)&&e}):c.previewer.trigger([n,"done"].join("_"),{apiParams:r,uiParams:s}),o.trigger([n,"done"].join("_"),t)}).fail(function(e){c.errare("reactToPreviewMsg => error when firing "+n,e),c.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks the Nimble builder, you might try to reset the sections for this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")})})}catch(e){c.errare("reactToPreviewMsg => error when receiving "+n,e)}})}),_.each(e,function(t,i){c.previewer.bind([i,"done"].join("_"),function(e){if(_.isFunction(t.complete))try{t.complete(e)}catch(e){c.errare("reactToPreviewMsg done => error when receiving "+[i,"done"].join("_"),e)}})})},schedulePrintSectionJson:function(){var i=this;c.previewer.bind("sek-to-json",function(e){var t=n.extend(!0,{},i.getLevelModel(e.id));console.log(JSON.stringify(i.cleanIds(t)))})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(k,v){v.extend(CZRSeksPrototype,{generateUI:function(e){var t=this,i=v.Deferred();switch(_.isEmpty(e.action)&&i.reject("generateUI => missing action"),e.action){case"sek-generate-module-ui":try{i=t.generateUIforFrontModules(e,i)}catch(e){k.errare("::generateUI() => error",e),i=v.Deferred()}break;case"sek-generate-level-options-ui":try{i=t.generateUIforLevelOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=v.Deferred()}break;case"sek-generate-draggable-candidates-picker-ui":t.cleanRegistered();try{i=t.generateUIforDraggableContent(e,i)}catch(e){k.errare("::generateUI() => error",e),i=v.Deferred()}break;case"sek-generate-local-skope-options-ui":t.cleanRegistered();try{i=t.generateUIforLocalSkopeOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=v.Deferred()}break;case"sek-generate-global-options-ui":t.cleanRegistered();try{i=t.generateUIforGlobalOptions(e,i)}catch(e){k.errare("::generateUI() => error",e),i=v.Deferred()}}return"pending"==i.state()?i.resolve().promise():i.promise()},updateAPISettingAndExecutePreviewActions:function(n){if(!_.isEmpty(n.settingParams)&&_.has(n.settingParams,"to")){var o,r=this,e=n.settingParams.to,t=null,i=!1;if(!_.isEmpty(n.settingParams.args)&&_.has(n.settingParams.args,"moduleRegistrationParams")){var s=n.settingParams.args.moduleRegistrationParams.control,a=n.settingParams.args.moduleRegistrationParams.id,c=s.czr_Module(a);if(_.isEmpty(c)?k.errare("updateAPISettingAndExecutePreviewActions => missing parentModuleInstance",n):(t=c.module_type,i=c.isMultiItem()),!i&&_.isObject(e)?o=r.normalizeAndSanitizeSingleItemInputValues(e,t):(o=[],_.each(e,function(e){o.push(r.normalizeAndSanitizeSingleItemInputValues(e,t))})),_.isEmpty(n.defaultPreviewAction))k.errare("updateAPISettingAndExecutePreviewActions => missing defaultPreviewAction in passed params. No action can be triggered to the api.previewer.",n);else{var l,d="refresh_stylesheet"===n.defaultPreviewAction,u="refresh_markup"===n.defaultPreviewAction,p="refresh_fonts"===n.defaultPreviewAction,m="refresh_preview"===n.defaultPreviewAction,f=n.settingParams.args.input_changed;_.isUndefined(f)||(l=r.getInputRegistrationParams(f,t),_.isUndefined(l.refresh_stylesheet)||(d=Boolean(l.refresh_stylesheet)),_.isUndefined(l.refresh_markup)||(u=Boolean(l.refresh_markup)),_.isUndefined(l.refresh_fonts)||(p=Boolean(l.refresh_fonts)),_.isUndefined(l.refresh_preview)||(m=Boolean(l.refresh_preview)));var h=function(){if(!0!==n.isGlobalOptions)return r.updateAPISetting({action:n.uiParams.action,id:n.uiParams.id,value:o,in_column:n.uiParams.in_column,in_sektion:n.uiParams.in_sektion,options_type:n.options_type,settingParams:n.settingParams}).done(function(){!0===d&&k.previewer.send("sek-refresh-stylesheet",{skope_id:k.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-stylesheet",id:n.uiParams.id,level:n.uiParams.level}}),!0===u&&k.previewer.send("sek-refresh-level",{apiParams:{action:"sek-refresh-level",id:n.uiParams.id,level:n.uiParams.level},skope_id:k.czr_skopeBase.getSkopeProperty("skope_id")}),!0===m&&k.previewer.refresh()});if(_.isEmpty(n.options_type))k.errare("updateAPISettingAndExecutePreviewActions => error when updating the global options => missing options_type");else{var e=k(sektionsLocalizedData.optNameForGlobalOptions)(),t=v.extend(!0,{},_.isObject(e)?e:{}),i={};_.each(o||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(i[t]=e)}),t[n.options_type]=i,k(sektionsLocalizedData.optNameForGlobalOptions)(t)}};if(!0===p){var g=n.settingParams.args.input_value;if(!_.isString(g))return void k.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",g);-1<g.indexOf("gfont")?r.updateAPISetting({action:"sek-update-fonts",font_family:g}).always(function(){h().then(function(){r.updateAPISetting({action:"sek-update-fonts"})})}):h()}else h()}}else k.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.args.moduleRegistrationParams The api main setting can not be updated",n)}else k.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.to. The api main setting can not be updated",n)},normalizeAndSanitizeSingleItemInputValues:function(e,o){var i,r={},n={},s=null,a=this;return _.each(e,function(e,t){var i,n;_.contains(["title","id"],t)||(null!==o&&"no_default_value_specified"===(s=a.getInputDefaultValue(t,o))&&k.infoLog("::updateAPISettingAndExecutePreviewActions => missing default value for input "+t+" in module "+o),i=e,n=s,(_.isBoolean(i)||_.isBoolean(n)?Boolean(i)===Boolean(n):_.isNumber(i)||_.isNumber(n)?Number(i)===Number(n):_.isString(i)||_.isString(n)?i+""==n+"":_.isObject(i)&&_.isObject(n)?_.isEqual(i,n):_.isArray(i)&&_.isArray(n)?JSON.stringify(i.sort())===JSON.stringify(n.sort()):i===n)||(r[t]=e))}),_.each(r,function(e,t){switch(a.getInputType(t,o)){case"text":case"textarea":case"check":case"gutencheck":case"select":case"radio":case"number":case"upload":case"upload_url":case"color":case"wp_color_alpha":case"wp_color":case"content_picker":case"tiny_mce_editor":case"password":case"range":case"range_slider":case"hidden":case"h_alignment":case"h_text_alignment":case"spacing":case"bg_position":case"v_alignment":case"font_size":case"line_height":case"font_picker":default:i=e}n[t]=i}),n},isUIControlAlreadyRegistered:function(t){var e=_.filter(this.registered(),function(e){return e.id==t&&"control"===e.what}),i=!1;return _.isEmpty(e)?i=k.control.has(t):(i=!0,1<e.length&&k.errare("generateUI => why is this control registered more than once ? => "+t)),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{generateUIforDraggableContent:function(n,e){var o=this,t={};a.extend(t,{content_type_switcher:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+"_sek_content_type_switcher_ui",module_type:"sek_content_type_switcher_module",controlLabel:sektionsLocalizedData.i18n["Select a content type"],priority:0,settingValue:{content_type:n.content_type}},module_picker:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+"_sek_draggable_modules_ui",module_type:"sek_module_picker_module",controlLabel:sektionsLocalizedData.i18n["Pick a module"],content_type:"module",priority:20,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_intro_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_intro_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Sections for an introduction"],content_type:"section",expandAndFocusOnInit:!0,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_features_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_features_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Sections for services and features"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_contact_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_contact_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Contact-us sections"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_column_layouts_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_column_layouts_sec_picker_module",controlLabel:sektionsLocalizedData.i18n["Empty sections with columns layout"],content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'}}),sektionsLocalizedData.isSavedSectionEnabled&&a.extend(t,{sek_my_sections_sec_picker_module:{settingControlId:sektionsLocalizedData.optPrefixForSektionsNotSaved+o.guid()+"_sek_draggable_sections_ui",module_type:"sek_my_sections_sec_picker_module",controlLabel:"@missi18n My sections",content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'}});var i=_.keys(t)[0],r=t[i].settingControlId;return o.isUIControlAlreadyRegistered(r)?s.control(r,function(t){t.focus({completeCallback:function(){var e=t.container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}),s.section(t.section()).container.first().trigger("sek-content-type-refreshed",{content_type:n.content_type})}):(_do_register_=function(){_.each(t,function(i,e){s.has(i.settingControlId)||(s(i.settingControlId,function(e){e.bind(function(e,t){s.errare("generateUIforDraggableContent => the setting() should not changed")})}),s.CZR_Helpers.register({origin:"nimble",level:n.level,what:"setting",id:i.settingControlId,dirty:!1,value:i.settingValue||{},transport:"postMessage",type:"_nimble_ui_"})),s.CZR_Helpers.register({origin:"nimble",level:n.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__content_picker__",priority:i.priority||10,settings:{default:i.settingControlId},track:!1}).done(function(){s.control(i.settingControlId,function(e){e.content_type=i.content_type,!0===n.focus&&e.focus({completeCallback:function(){}});var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),"section"===e.content_type?(e.container.find(".czr-items-wrapper").hide(),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&(e.container.find(".czr-items-wrapper").show(),t.trigger("click"))):e.container.attr("data-sek-accordion","no")})})})},s.section("__content_picker__",function(e){_do_register_();var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.prepend('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),0<i.length&&i.find(".sek-level-option-icon").length<1&&i.find(".customize-action").after('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),o.scheduleModuleAccordion.call(e,{expand_first_module:!0}),o._maybeFetchSectionsFromServer()})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,u){u.extend(CZRSeksPrototype,{generateUIforFrontModules:function(o,e){var r=this;_.isEmpty(o.id)&&e.reject("generateUI => missing id");var t=r.getLevelProperty({property:"value",id:o.id}),i=r.getLevelProperty({property:"module_type",id:o.id}),n=r.getRegisteredModuleProperty(i,"name");_.isEmpty(i)&&e.reject("generateUI => module => invalid module_type");var s={};if(!0===r.getRegisteredModuleProperty(i,"is_father")){var a=r.getRegisteredModuleProperty(i,"children");if(_.isEmpty(a))throw new Error("::generateUIforFrontModules => a father module "+i+" is missing children modules ");_.each(a,function(e,t){s[t]={settingControlId:o.id+"__"+t,module_type:e,controlLabel:r.getRegisteredModuleProperty(e,"name")}})}else s.__no_option_group_to_be_updated_by_children_modules__={settingControlId:o.id,module_type:i,controlLabel:n};var c=_.keys(s)[0],l=s[c].settingControlId;return r.isUIControlAlreadyRegistered(l)?d.control(l).focus({completeCallback:function(){var e=d.control(l).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(r.cleanRegistered(),_do_register_=function(){_.each(s,function(i,n){if(!d.has(i.settingControlId)){d(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{r.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_markup",uiParams:_.extend(o,{action:"sek-set-module-value"}),options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},r.SETTING_UPDATE_BUFFER))});var e=u.extend(!0,{},t);"__no_option_group_to_be_updated_by_children_modules__"!==n&&(e=!_.isEmpty(e)&&_.isObject(e)&&_.isObject(e[n])?e[n]:{}),d.CZR_Helpers.register({origin:"nimble",level:o.level,what:"setting",id:i.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:o.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:o.id,priority:10,settings:{default:i.settingControlId}}).done(function(){d.control(i.settingControlId).focus({completeCallback:function(){}}),d.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false")})})})},d.section.when(o.id,function(){d.section(o.id).focus(),_do_register_()}),d.CZR_Helpers.register({origin:"nimble",what:"section",id:o.id,title:sektionsLocalizedData.i18n["Content for"]+" "+n,panel:sektionsLocalizedData.sektionsPanelId,priority:1e3}).done(function(){d.section(o.id,function(e){e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".customize-action").after('<i class="fas fa-pencil-alt sek-level-option-icon"></i>'),r.scheduleModuleAccordion.call(e)})})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,l){l.extend(CZRSeksPrototype,{generateUIforLevelOptions:function(r,e){var s=this,a=s.getLevelProperty({property:"options",id:r.id});a=_.isObject(a)?a:{};var t={};l.extend(t,{bg:{settingControlId:r.id+"__bg_options",module_type:"sek_level_bg_module",controlLabel:sektionsLocalizedData.i18n["Background settings for the"]+" "+sektionsLocalizedData.i18n[r.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">gradient</i>'},border:{settingControlId:r.id+"__border_options",module_type:"sek_level_border_module",controlLabel:sektionsLocalizedData.i18n["Borders settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="material-icons sek-level-option-icon">rounded_corner</i>'},spacing:{settingControlId:r.id+"__spacing_options",module_type:"sek_level_spacing_module",controlLabel:sektionsLocalizedData.i18n["Padding and margin settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="material-icons sek-level-option-icon">center_focus_weak</i>'},anchor:{settingControlId:r.id+"__anchor_options",module_type:"sek_level_anchor_module",controlLabel:sektionsLocalizedData.i18n["Set a custom anchor for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-anchor sek-level-option-icon"></i>'},visibility:{settingControlId:r.id+"__visibility_options",module_type:"sek_level_visibility_module",controlLabel:sektionsLocalizedData.i18n["Device visibility settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="far fa-eye sek-level-option-icon"></i>'},height:{settingControlId:r.id+"__height_options",module_type:"sek_level_height_module",controlLabel:sektionsLocalizedData.i18n["Height settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-vertical sek-level-option-icon"></i>'}}),"section"===r.level&&(l.extend(t,{width:{settingControlId:r.id+"__width_options",module_type:"sek_level_width_section",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),l.extend(t,{breakpoint:{settingControlId:r.id+"__breakpoint_options",module_type:"sek_level_breakpoint_module",controlLabel:sektionsLocalizedData.i18n["Responsive settings : breakpoint, column direction"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'}})),"module"===r.level&&l.extend(t,{width:{settingControlId:r.id+"__width_options",module_type:"sek_level_width_module",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[r.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}});var i=_.keys(t)[0],n=t[i].settingControlId;return s.isUIControlAlreadyRegistered(n)?c.control(n).focus({completeCallback:function(){var e=c.control(n).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(s.cleanRegistered(),_do_register_=function(){_.each(t,function(i,n){if(s.isUIControlAlreadyRegistered(i.settingControlId))c.section(c.control(i.settingControlId).section()).expanded(!0);else{if(!c.has(i.settingControlId)){c(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{s.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_stylesheet",uiParams:r,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},s.SETTING_UPDATE_BUFFER))});var e=a[n]||{},t=s.getModuleStartingValue(i.module_type);if("no_starting_value"!==t&&_.isObject(t)){var o=l.extend(!0,{},t);e=l.extend(o,e)}c.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:i.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:r.level,level_id:r.id,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:r.id,priority:0,settings:{default:i.settingControlId}}).done(function(){!0===i.expandAndFocusOnInit&&c.control(i.settingControlId).focus({completeCallback:function(){}}),c.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})}})},c.section.has(r.id)||c.section(r.id,function(e){s.scheduleModuleAccordion.call(e,{expand_first_module:!0})}),c.CZR_Helpers.register({origin:"nimble",what:"section",id:r.id,title:sektionsLocalizedData.i18n["Settings for the"]+" "+r.level,panel:sektionsLocalizedData.sektionsPanelId,priority:10}).done(function(){c.section(r.id,function(e){_do_register_(),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.find(".customize-action").after('<i class="fas fa-sliders-h sek-level-option-icon"></i>')})})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{getLocalSkopeOptionId:function(){var e=l.czr_skopeBase.getSkopeProperty("skope_id");return _.isEmpty(e)?(l.errare("czr_sektions::getLocalSkopeOptionId => empty skope_id "),""):sektionsLocalizedData.optPrefixForSektionsNotSaved+e+"__localSkopeOptions"},generateUIforLocalSkopeOptions:function(a,e){var c=this,t=c.getLocalSkopeOptionId();if(c.isUIControlAlreadyRegistered(t))return e;var i={};return d.extend(i,{template:{settingControlId:t+"__template",module_type:"sek_local_template",controlLabel:sektionsLocalizedData.i18n["Page template"],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">check_box_outline_blank</i>'},widths:{settingControlId:t+"__widths",module_type:"sek_local_widths",controlLabel:sektionsLocalizedData.i18n["Inner and outer widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'},custom_css:{settingControlId:t+"__custom_css",module_type:"sek_local_custom_css",controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>'},local_performances:{settingControlId:t+"__local_performances",module_type:"sek_local_performances",controlLabel:sektionsLocalizedData.i18n["Page speed optimizations"],icon:'<i class="fas fa-fighter-jet sek-level-option-icon"></i>'},local_reset:{settingControlId:t+"__local_reset",module_type:"sek_local_reset",controlLabel:sektionsLocalizedData.i18n["Remove the sections in this page"],icon:'<i class="material-icons sek-level-option-icon">cached</i>'}}),_do_register_=function(){_.each(i,function(i,n){if(!l.has(i.settingControlId)){l(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{c.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh",uiParams:a,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){l.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},c.SETTING_UPDATE_BUFFER))});var e=c.getModuleStartingValue(i.module_type),t=l(c.sekCollectionSettingId())(),o=d.extend(!0,{},_.isObject(t.local_options)?t.local_options:{}),r=_.isObject(o[n])?o[n]:{};if("no_starting_value"!==e&&_.isObject(e)){var s=d.extend(!0,{},e);r=d.extend(s,r)}l.CZR_Helpers.register({origin:"nimble",level:a.level,what:"setting",id:i.settingControlId,dirty:!1,value:r,transport:"postMessage",type:"_nimble_ui_"})}l.CZR_Helpers.register({origin:"nimble",level:a.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__localOptionsSection",priority:10,settings:{default:i.settingControlId}}).done(function(){l.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},l.section("__localOptionsSection",function(e){l(c.sekCollectionSettingId(),function(){_do_register_(),e.container.on("click",".accordion-section-title",function(){c.generateUI({action:"sek-generate-local-skope-options-ui"})})})}),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,l){l.extend(CZRSeksPrototype,{generateUIforGlobalOptions:function(s,e){var a=this,t=sektionsLocalizedData.optPrefixForSektionsNotSaved+sektionsLocalizedData.optNameForGlobalOptions;if(a.isUIControlAlreadyRegistered(t))return e;var i={};return l.extend(i,{breakpoint:{settingControlId:t+"__breakpoint",module_type:"sek_global_breakpoint",controlLabel:sektionsLocalizedData.i18n["Site wide breakpoint for Nimble sections"],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">devices</i>'},widths:{settingControlId:t+"__widths",module_type:"sek_global_widths",controlLabel:sektionsLocalizedData.i18n["Site wide inner and outer sections widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'},performances:{settingControlId:t+"__performances",module_type:"sek_global_performances",controlLabel:sektionsLocalizedData.i18n["Site wide page speed optimizations"],icon:'<i class="fas fa-fighter-jet sek-level-option-icon"></i>'}}),_do_register_=function(){_.each(i,function(i,n){if(!c.has(i.settingControlId)){c(i.settingControlId,function(e){e.bind(_.debounce(function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({isGlobalOptions:!0,defaultPreviewAction:"refresh",uiParams:s,options_type:n,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("Error in updateAPISettingAndExecutePreviewActions",e)}},a.SETTING_UPDATE_BUFFER))});var e=sektionsLocalizedData.globalOptionDBValues,t=a.getModuleStartingValue(i.module_type),o=_.isObject(e)&&!_.isEmpty(e[n])?e[n]:{};if("no_starting_value"!==t&&_.isObject(t)){var r=l.extend(!0,{},t);o=l.extend(r,o)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:i.settingControlId,dirty:!1,value:o,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"control",id:i.settingControlId,label:i.controlLabel,type:"czr_module",module_type:i.module_type,section:"__globalAndLocalOptionsSection",priority:20,settings:{default:i.settingControlId},track:!1}).done(function(){c.control(i.settingControlId,function(e){e.container.find(".czr-items-wrapper").hide();var t=e.container.find("label > .customize-control-title");_.isUndefined(i.icon)||t.addClass("sek-flex-vertical-center").prepend(i.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===i.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},c.section("__globalAndLocalOptionsSection",function(e){c(a.sekCollectionSettingId(),function(){_do_register_()})}),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(Y,J){J.extend(CZRSeksPrototype,{updateAPISetting:function($){var q=this,G=J.Deferred();return Y(q.sekCollectionSettingId(),function(e){var n,t,o,i,r,s,a,c,l,d=e(),u=_.isObject(d)?J.extend(!0,{},d):q.defaultSektionSettingValue,p=!1;switch(u.collection=_.isArray(u.collection)?u.collection:q.defaultSektionSettingValue.collection,$.action){case"sek-add-section":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.location))throw new Error("updateAPISetting => "+$.action+" => missing location");if(!0===$.is_nested){if(o=q.getLevelModel($.in_column,u.collection),"no_match"==(l=q.getLevelModel($.in_sektion,u.collection))){G.reject("updateAPISetting => "+$.action+" => no grand parent sektion found");break}if(!0===l.is_nested){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]);break}if("no_match"==o){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],o.collection.push({id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion})}else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(E,0,{id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion})}break;case"sek-duplicate-section":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.location))throw new Error("updateAPISetting => "+$.action+" => missing location");var m;try{m=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e);break}var f=q.getLevelPositionInCollection($.id,u.collection);if(!0===$.is_nested){if("no_match"==(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],o.collection.splice(parseInt(f+1,10),0,m)}else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(parseInt(f+1,10),0,m)}a=m.id;break;case"sek-remove-section":if(!0===$.is_nested)"no_match"!=(o=q.getLevelModel($.in_column,u.collection))?(o.collection=_.isArray(o.collection)?o.collection:[],o.collection=_.filter(o.collection,function(e){return e.id!=$.id})):Y.errare("updateAPISetting => "+$.action+" => no parent column matched");else{if("no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}n.collection=_.filter(n.collection,function(e){return e.id!=$.id})}break;case"sek-move-section":var h,g,k=q.getLevelModel($.to_location,u.collection);if(_.isEmpty(k)||"no_match"==k)throw new Error("updateAPISetting => "+$.action+" => missing target location");if($.from_location!=$.to_location){var v=q.getLevelModel($.from_location,u.collection);if(_.isEmpty(v)||"no_match"==v)throw new Error("updateAPISetting => "+$.action+" => missing source location");v.collection=_.isArray(v.collection)?v.collection:[],h=q.getLevelModel($.id,v.collection),g=J.extend(!0,{},h),v.collection=_.filter(v.collection,function(e){return e.id!=$.id})}k.collection=_.isArray(k.collection)?k.collection:[],r=J.extend(!0,[],k.collection),s=[],_.each($.newOrder,function(e){if($.from_location!=$.to_location&&e==g.id)s.push(g);else{if(t=q.getLevelModel(e,r),_.isEmpty(t)||"no_match"==t)throw new Error("updateAPISetting => move section => missing section candidate");s.push(t)}}),k.collection=s;break;case"sek-add-column":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(t=q.getLevelModel($.in_sektion,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}if(t.collection=_.isArray(t.collection)?t.collection:[],q.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);break}_.each(t.collection,function(e){e.width=""}),t.collection.push({id:$.id,level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"sek-remove-column":if("no_match"!=(t=q.getLevelModel($.in_sektion,u.collection))){if(1===_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["A section must have at least one column."]);break}t.collection=_.isArray(t.collection)?t.collection:[],t.collection=_.filter(t.collection,function(e){return e.id!=$.id}),_.each(t.collection,function(e){e.width=""})}else Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched");break;case"sek-duplicate-column":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(t=q.getLevelModel($.in_sektion,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}if(t.collection=_.isArray(t.collection)?t.collection:[],q.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);break}var y;try{y=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e);break}var b=q.getLevelPositionInCollection($.id,u.collection);a=y.id,t.collection.splice(parseInt(b+1,10),0,y),_.each(t.collection,function(e){e.width=""});break;case"sek-resize-columns":if($.col_number<2)break;var z=q.getLevelModel($.resized_column,u.collection),I=q.getLevelModel($.sister_column,u.collection);if("no_match"==z){Y.errare("updateAPISetting => "+$.action+" => no resized column matched"),G.reject("updateAPISetting => "+$.action+" => no resized column matched");break}z.width=parseFloat($.resizedColumnWidthInPercent);var w=q.getLevelModel($.in_sektion,u.collection),M=_.filter(w.collection,function(e){return e.id!=z.id&&e.id!=I.id}),C=parseFloat(z.width.toFixed(3));_.isEmpty(M)||_.each(M,function(e){currentColWidth=parseFloat(1*e.width),(!_.has(e,"width")||!_.isNumber(1*currentColWidth)||_.isEmpty(currentColWidth+"")||currentColWidth<1)&&(e.width=parseFloat((100/$.col_number).toFixed(3))),C=parseFloat((C+e.width).toFixed(3))}),I.width=parseFloat((100-C).toFixed(3));break;case"sek-move-column":var S,D,P=q.getLevelModel($.to_sektion,u.collection);if(_.isEmpty(P)||"no_match"==P)throw new Error("updateAPISetting => "+$.action+" => missing target sektion");if($.from_sektion!=$.to_sektion){var x=q.getLevelModel($.from_sektion,u.collection);if(_.isEmpty(x)||"no_match"==x)throw new Error("updateAPISetting => "+$.action+" => missing source column");x.collection=_.isArray(x.collection)?x.collection:[],S=q.getLevelModel($.id,x.collection),D=J.extend(!0,{},S),x.collection=_.filter(x.collection,function(e){return e.id!=$.id}),_.each(x.collection,function(e){e.width=""})}P.collection=_.isArray(P.collection)?P.collection:[],r=J.extend(!0,[],P.collection),s=[],_.each($.newOrder,function(e){if($.from_sektion!=$.to_sektion&&e==D.id)s.push(D);else{if(o=q.getLevelModel(e,r),_.isEmpty(o)||"no_match"==o)throw new Error("updateAPISetting => moveColumn => missing columnCandidate");s.push(o)}}),P.collection=s,_.each(P.collection,function(e){e.width=""});break;case"sek-add-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(_.isEmpty($.module_type))throw new Error("updateAPISetting => "+$.action+" => missing module_type");if("no_match"===(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}var E=0;o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){$.before_module===e.id&&(E=t),$.after_module===e.id&&(E=t+1)});var R={id:$.id,level:"module",module_type:$.module_type,ver_ini:sektionsLocalizedData.nimbleVersion};"no_starting_value"!==(c=q.getModuleStartingValue($.module_type))&&(R.value=c),o.collection.splice(E,0,R);break;case"sek-duplicate-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if("no_match"==(o=q.getLevelModel($.in_column,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}var L;o.collection=_.isArray(o.collection)?o.collection:[];try{L=q.cloneLevel($.id)}catch(e){Y.errare("updateAPISetting => "+$.action,e),G.reject("updateAPISetting => "+$.action+" => error when cloning the level");break}var A=q.getLevelPositionInCollection($.id,u.collection);a=L.id,o.collection.splice(parseInt(A+1,10),0,L);break;case"sek-remove-module":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");"no_match"!=(o=q.getLevelModel($.in_column,u.collection))?(o.collection=_.isArray(o.collection)?o.collection:[],o.collection=_.filter(o.collection,function(e){return e.id!=$.id})):Y.errare("updateAPISetting => "+$.action+" => no parent column matched");break;case"sek-move-module":var Z,j,F;if(Z=q.getLevelModel($.to_column,u.collection),_.isEmpty(Z)||"no_match"==Z)throw new Error("updateAPISetting => "+$.action+" => missing target column");if($.from_column!=$.to_column){var V;if(V=q.getLevelModel($.from_column,u.collection),_.isEmpty(V)||"no_match"==V)throw new Error("updateAPISetting => "+$.action+" => missing source column");V.collection=_.isArray(V.collection)?V.collection:[],j=q.getLevelModel($.id,u.collection),F=J.extend(!0,{},j),V.collection=_.filter(V.collection,function(e){return e.id!=$.id})}if(Z.collection=_.isArray(Z.collection)?Z.collection:[],r=J.extend(!0,[],Z.collection),s=[],_.each($.newOrder,function(e){if($.from_column!=$.to_column&&e==F.id)s.push(F);else{if(i=q.getLevelModel(e,u.collection),_.isEmpty(i)||"no_match"==i)throw new Error("updateAPISetting => "+$.action+" => missing moduleCandidate");s.push(i)}}),s.length!=_.uniq(s).length)throw new Error("updateAPISetting => "+$.action+" => there are duplicated modules in column : "+Z.id);Z.collection=s;break;case"sek-set-module-value":i=q.getLevelModel($.id,u.collection);var O={};if(_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(O[t]=e)}),"no_match"==i){Y.errare("updateAPISetting => "+$.action+" => no module matched",$),G.reject("updateAPISetting => "+$.action+" => error no module matched");break}if(_.isEmpty($.options_type)){Y.errare("updateAPISetting => "+$.action+" => missing options_type"),G.reject("updateAPISetting => "+$.action+" => missing options_type");break}"__no_option_group_to_be_updated_by_children_modules__"===$.options_type?i.value=O:(i.value=_.isEmpty(i.value)?{}:i.value,i.value[$.options_type]=O);break;case"sek-generate-level-options-ui":var T=q.getLevelModel($.id,u.collection),U={};if("no_match"===T){Y.errare("updateAPISetting => "+$.action+" => no parent sektion matched"),G.reject("updateAPISetting => "+$.action+" => no parent sektion matched");break}T.options=T.options||{},_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(U[t]=e)}),_.isEmpty($.options_type)&&Y.errare("updateAPISetting => "+$.action+" => missing options_type"),T.options[$.options_type]=U;break;case"sek-generate-local-skope-options-ui":U={};var N=J.extend(!0,{},_.isObject(u.local_options)?u.local_options:{});if(_.each($.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(U[t]=e)}),_.isEmpty($.options_type)||!_.isString($.options_type))Y.errare("updateAPISetting => "+$.action+" => missing options_type");else{var B={};B[$.options_type]=U,u.local_options=J.extend(N,B)}break;case"sek-add-content-in-new-sektion":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(E=0,"no_match"==(n=q.getLevelModel($.location,u.collection))){Y.errare("updateAPISetting => "+$.action+" => no location matched"),G.reject("updateAPISetting => "+$.action+" => no location matched");break}switch(n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),$.content_type){case"module":c=q.getModuleStartingValue($.content_id),n.collection.splice(E,0,{id:$.id,level:"section",collection:[{id:sektionsLocalizedData.optPrefixForSektionsNotSaved+q.guid(),level:"column",collection:[{id:$.droppedModuleId,level:"module",module_type:$.content_id,value:"no_starting_value"!==c?c:null,ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"preset_section":p=J.Deferred();var Q=function(e){q.preparePresetSectionForInjection(e).fail(function(e){G.reject("updateAPISetting => error when preparePresetSectionForInjection => "+$.action+" => "+e),p.reject(e)}).done(function(e){var t=!1;if(!_.isEmpty($.sektion_to_replace)){var i=q.getLevelModel($.sektion_to_replace,u.collection);"no_match"===i&&(Y.errare("updateAPISetting => "+$.action+" => no sektionToReplace matched"),G.reject("updateAPISetting => "+$.action+" => no sektionToReplace matched")),t=!0===i.is_nested}t?("no_match"===(o=q.getLevelModel($.in_column,u.collection))&&(Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched")),o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){$.before_section===e.id&&(E=t),$.after_section===e.id&&(E=t+1)}),o.collection.splice(E,0,{id:$.id,is_nested:!0,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})):n.collection.splice(E,0,{id:$.id,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion}),p.resolve()})};q.getPresetSectionCollection({is_user_section:$.is_user_section,presetSectionId:$.content_id,section_id:$.id}).fail(function(e){Y.errare("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()",e),G.reject("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()")}).done(function(e){_.isObject(e)&&!_.isEmpty(e)||(Y.errare("updateAPISetting => "+$.action+" => preset section type not found or empty : "+$.content_id,e),G.reject("updateAPISetting => "+$.action+" => preset section type not found or empty")),Q(e)})}break;case"sek-add-preset-section-in-new-nested-sektion":if(_.isEmpty($.id))throw new Error("updateAPISetting => "+$.action+" => missing id");if(o=q.getLevelModel($.in_column,u.collection),"no_match"==(l=q.getLevelModel($.in_sektion,u.collection))){G.reject("updateAPISetting => "+$.action+" => no grand parent sektion found");break}if(!0===l.is_nested){G.reject(sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]);break}if("no_match"==o){Y.errare("updateAPISetting => "+$.action+" => no parent column matched"),G.reject("updateAPISetting => "+$.action+" => no parent column matched");break}o.collection=_.isArray(o.collection)?o.collection:[],p=J.Deferred(),Q=function(e){q.preparePresetSectionForInjection(e).fail(function(e){G.reject("updateAPISetting => error when preparePresetSectionForInjection => "+$.action+" => "+e),p.reject(e)}).done(function(e){o.collection.push({id:$.id,level:"section",collection:e.collection,options:e.options||{},is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion}),p.resolve()})},q.getPresetSectionCollection({is_user_section:$.is_user_section,presetSectionId:$.content_id,section_id:$.id}).fail(function(){Y.errare("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()",_er_),G.reject("updateAPISetting => "+$.action+" => Error with self.getPresetSectionCollection()")}).done(function(e){_.isObject(e)&&!_.isEmpty(e)||(Y.errare("updateAPISetting => "+$.action+" => preset section type not found or empty : "+$.content_id,e),G.reject("updateAPISetting => "+$.action+" => preset section type not found or empty")),Q(e)});break;case"sek-update-fonts":var W=q.sniffGFonts();if(!_.isEmpty($.font_family)&&_.isString($.font_family)&&!_.contains(W,$.font_family)){if($.font_family.indexOf("gfont")<0){Y.errare("updateAPISetting => "+$.action+" => error => must be a google font, prefixed gfont"),G.reject("updateAPISetting => "+$.action+" => error => must be a google font, prefixed gfont");break}W.push($.font_family)}u.fonts=W}if("pending"==G.state()){var H=function(){_.isEqual(d,u)?G.reject("updateAPISetting => the new setting value is unchanged when firing action : "+$.action):null!==q.validateSettingValue(u)?(e(u,$),G.resolve(a)):G.reject("updateAPISetting => the new setting value did not pass the validation checks for action "+$.action)};!1===p?H():p.done(function(){H()}).fail(function(e){Y.errare("updateAPISetting => __presetSectionInjected__ failed",e)})}}),G.promise()},_maybeFetchSectionsFromServer:function(t){var e,i=J.Deferred();return!0===(t=t||{is_user_section:!1}).is_user_section?_.isEmpty(Y.sek_userSavedSections)||_.isEmpty(Y.sek_userSavedSections[t.preset_section_id])?(Y.sek_userSavedSections=Y.sek_userSavedSections||{},_.isUndefined(Y.sek_fetchingUserSavedSections)||"pending"!=Y.sek_fetchingUserSavedSections.state()?(e=wp.ajax.post("sek_get_user_saved_sections",{nonce:Y.settings.nonce.save,preset_section_id:t.preset_section_id}),Y.sek_fetchingUserSavedSections=e):e=Y.sek_fetchingUserSavedSections,e.done(function(e){Y.sek_userSavedSections[t.preset_section_id]=e,i.resolve(Y.sek_userSavedSections)}).fail(function(e){i.reject(e)})):i.resolve(Y.sek_userSavedSections):_.isEmpty(Y.sek_presetSections)?(_.isUndefined(Y.sek_fetchingPresetSections)||"pending"!=Y.sek_fetchingPresetSections.state()?(e=wp.ajax.post("sek_get_preset_sections",{nonce:Y.settings.nonce.save}),Y.sek_fetchingPresetSections=e):e=Y.sek_fetchingPresetSections,e.done(function(e){Y.sek_presetSections=e,i.resolve(Y.sek_presetSections)}).fail(function(e){i.reject(e)})):i.resolve(Y.sek_presetSections),i.promise()},getPresetSectionCollection:function(r){var s=this,a=J.Deferred();return s._maybeFetchSectionsFromServer({is_user_section:r.is_user_section,preset_section_id:r.presetSectionId}).fail(function(e){a.reject(e)}).done(function(e){var t=J.extend(!0,{},_.isObject(e)?e:{});if(_.isEmpty(t))throw new Error("getPresetSectionCollection => Invalid collection");if(_.isEmpty(t[r.presetSectionId]))throw new Error('getPresetSectionCollection => the preset section : "'+r.presetSectionId+'" has not been found in the collection');var i=t[r.presetSectionId],n=function(e){return _.each(e,function(e){e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+s.guid(),_.isArray(e.collection)&&n(e.collection)}),e},o=function(e){return _.each(e,function(e){e.ver_ini=sektionsLocalizedData.nimbleVersion,_.isArray(e.collection)&&o(e.collection)}),e};i.id=r.section_id,i.collection=n(i.collection),i.ver_ini=sektionsLocalizedData.nimbleVersion,i.collection=o(i.collection),a.resolve(i)}),a.promise()},preparePresetSectionForInjection:function(o){var i=this,n={},r=J.Deferred(),s=function(e){return _.each(e,function(e,t){_.isObject(e)||_.isArray(e)?s(e):_.isString(e)&&-1!=e.indexOf("::img-path::")&&(_.has(n,e)||(n[e]=i.importAttachment(e.replace("::img-path::",""))))}),n},a=function(i,n){return _.each(i,function(e,t){_.isObject(e)||_.isArray(e)?a(e,n):_.isString(e)&&-1!=e.indexOf("::img-path::")&&_.has(n,e)&&_.isObject(n[e])&&(i[t]=n[e].id)}),o};return i.whenAllPromisesInParallel(s(o)).done(function(e){var t=a(o,e);r.resolve(t)}).fail(function(e){r.reject(e)}),r.promise()}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(n,o){o.extend(CZRSeksPrototype,{cleanRegistered:function(t){var i=this,e=o.extend(!0,[],i.registered()||[]);e=_.filter(e,function(e){if("setting"!==e.what&&n[e.what].has(e.id)){if(!_.isEmpty(t)&&e.id!==t)return;_.isFunction(n[e.what](e.id).trigger)&&i.trigger("sek-ui-pre-removal",{what:e.what,id:e.id}),o.when(n[e.what](e.id).container.remove()).done(function(){n[e.what].remove(e.id),i.trigger("sek-ui-removed",{what:e.what,id:e.id})})}return"setting"===e.what}),i.registered(e)},cleanRegisteredLevelSettingsAfterHistoryNavigation:function(){var e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return _.isEmpty(e.level)||"setting"!==e.what||n.has(e.id)&&n.remove(e.id),_.isEmpty(e.level)&&"setting"!==e.what}),this.registered(e)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{rootPanelFocus:function(){s.section.has(s.czr_activeSectionId())?s.section(s.czr_activeSectionId()).expanded(!1):s.section.each(function(e){e.expanded(!1)}),s.panel.each(function(e){e.expanded(!1)})},guid:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()},getLevelModel:function(t,e){var i=this,n="no_match";if(_.isUndefined(e)){var o=s(i.sekCollectionSettingId())(),r=_.isObject(o)?a.extend(!0,{},o):i.defaultSektionSettingValue;e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){"no_match"==n&&(t===e.id?n=e:_.isArray(e.collection)&&(n=i.getLevelModel(t,e.collection)))}),n},getLevelPositionInCollection:function(i,e){var n=this,o="no_match";if(_.isUndefined(e)){var t=s(n.sekCollectionSettingId())(),r=_.isObject(t)?a.extend(!0,{},t):n.defaultSektionSettingValue;e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e,t){"no_match"==o&&(i===e.id?o=t:_.isArray(e.collection)&&(o=n.getLevelPositionInCollection(i,e.collection)))}),o},getLevelProperty:function(e){if(e=_.extend({id:"",property:""},e),_.isEmpty(e.id))s.errare("getLevelProperty => invalid id provided");else{var t=this.getLevelModel(e.id);if("no_match"!=t){if(_.isObject(t))return t[e.property];s.errare("getLevelProperty => invalid model for id : "+e.id,t)}else s.errare("getLevelProperty => no level model found for id : "+e.id)}},cloneLevel:function(e){var t=this,i=t.getLevelModel(e);if("no_match"==i)throw new Error("cloneLevel => no match for level id : "+e);var n=a.extend(!0,{},i),o=function(e){if(_.isEmpty(e.id))throw new Error("cloneLevel => missing level id");if(e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+t.guid(),!_.isEmpty(e.collection)){if(!_.isArray(e.collection))throw new Error("cloneLevel => the collection must be an array for level id : "+e.id);_.each(e.collection,function(e){e.id=sektionsLocalizedData.optPrefixForSektionsNotSaved+t.guid(),o(e)})}return e};return o(n)},getDefaultItemModelFromRegisteredModuleData:function(e){if(!this.isModuleRegistered(e))return{};if(!sektionsLocalizedData.registeredModules[e].is_father){var t=sektionsLocalizedData.registeredModules[e].tmpl["item-inputs"],i={id:"",title:""};return _.each(t,function(e,t){switch(t){case"tabs":_.each(e,function(e){_.each(e.inputs,function(e,t){i[t]=e.default||""})});break;default:i[t]=e.default||""}}),i}s.errare("getDefaultItemModelFromRegisteredModuleData => Father modules should be treated specifically")},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sektionsLocalizedData.registeredModules[e][t]:"not_set"},isModuleRegistered:function(e){return sektionsLocalizedData.registeredModules&&!_.isUndefined(sektionsLocalizedData.registeredModules[e])},sniffGFonts:function(i,e){var n=this;if(i=i||[],_.isUndefined(e)){var t=s(n.sekCollectionSettingId())();e=_.isObject(t)?a.extend(!0,{},t):n.defaultSektionSettingValue}return _.each(e,function(e,t){_.isString(t)&&"_css"===t.substr(t.length-4)&&!0===n.inputIsAFontFamilyModifier(t)&&-1<e.indexOf("gfont")&&!_.contains(i,e)&&i.push(e),(_.isArray(e)||_.isObject(e))&&n.sniffGFonts(i,e)}),i},getInputDefaultValue:function(i,n,e){var o=this;if(o.cachedDefaultInputValues=o.cachedDefaultInputValues||{},o.cachedDefaultInputValues[n]=o.cachedDefaultInputValues[n]||{},_.has(o.cachedDefaultInputValues[n],i))return o.cachedDefaultInputValues[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputDefaultValue => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputDefaultValue => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_default_value_specified";return _.each(e,function(e,t){"no_default_value_specified"===r&&(i!==t||_.isUndefined(e.default)||(r=e.default),"no_default_value_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputDefaultValue(i,n,e)),"no_default_value_specified"!==r&&(o.cachedDefaultInputValues[n][i]=r))}),r}s.errare("getInputDefaultValue => Father modules should be treated specifically")}},getInputType:function(i,n,e){var o=this;if(o.cachedInputTypes=o.cachedInputTypes||{},o.cachedInputTypes[n]=o.cachedInputTypes[n]||{},_.has(o.cachedInputTypes[n],i))return o.cachedInputTypes[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputType => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputType => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_input_type_specified";return _.each(e,function(e,t){"no_input_type_specified"===r&&(i!==t||_.isUndefined(e.input_type)||(r=e.input_type),"no_input_type_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputType(i,n,e)),"no_input_type_specified"!==r&&(o.cachedInputTypes[n][i]=r))}),r}s.errare("getInputType => Father modules should be treated specifically")}},getInputRegistrationParams:function(i,n,e){var o=this;if(o.cachedInputRegistrationParams=o.cachedInputRegistrationParams||{},o.cachedInputRegistrationParams[n]=o.cachedInputRegistrationParams[n]||{},_.has(o.cachedInputRegistrationParams[n],i))return o.cachedInputRegistrationParams[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))s.errare("getInputRegistrationParams => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))s.errare("getInputRegistrationParams => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r={};return _.each(e,function(e,t){_.isEmpty(r)&&(i!==t||_.isUndefined(e.input_type)||(r=e),_.isEmpty(r)&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputRegistrationParams(i,n,e)),_.isEmpty(r)||(o.cachedInputRegistrationParams[n][i]=r))}),r}s.errare("getInputRegistrationParams => Father modules should be treated specifically")}},inputIsAFontFamilyModifier:function(i,e){var n=this;if(n.cachedFontFamilyModifier=n.cachedFontFamilyModifier||{},_.has(n.cachedFontFamilyModifier,i))return n.cachedFontFamilyModifier[i];if(!_.isUndefined(sektionsLocalizedData.registeredModules)){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules);var o="not_set";return _.each(e,function(e,t){"not_set"===o&&(i!==t||_.isUndefined(e.input_type)||(o=!_.isUndefined(e.refresh_fonts)&&e.refresh_fonts),"not_set"===o&&(_.isArray(e)||_.isObject(e))&&(o=n.inputIsAFontFamilyModifier(i,e)),"not_set"!==o&&(n.cachedFontFamilyModifier[i]=o))}),o}s.errare("inputIsAFontFamilyModifier => missing sektionsLocalizedData.registeredModules")},getModuleStartingValue:function(e){if(!sektionsLocalizedData.registeredModules)return s.errare("getModuleStartingValue => missing sektionsLocalizedData.registeredModules"),"no_starting_value";if(_.isUndefined(sektionsLocalizedData.registeredModules[e]))return s.errare("getModuleStartingValue => the module type "+e+" is not registered"),"no_starting_value";var t=sektionsLocalizedData.registeredModules[e].starting_value;return _.isEmpty(t)?"no_starting_value":t},selectNextTabbableOrFocusable:function(e){var t=a(e),i=a(":focus"),n=0;if(1===i.length){var o=t.index(i);o+1<t.length&&(n=o+1)}t.eq(n).focus()},selectPrevTabbableOrFocusable:function(e){var t=a(e),i=a(":focus"),n=t.length-1;if(1===i.length){var o=t.index(i);0<o&&(n=o-1)}t.eq(n).focus()},setupSelectInput:function(){var n=this,e=(n.input_parent,n.module,s.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type).choices);_.isEmpty(e)?s.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+n.id+" in image module"):(_.each(e,function(e,t){var i={value:t,html:e};t==n()?a.extend(i,{selected:"selected"}):"px"===t&&a.extend(i,{selected:"selected"}),a("select[data-czrtype]",n.container).append(a("<option>",i))}),a("select[data-czrtype]",n.container).selecter())},setupFontSizeAndLineHeightInputs:function(e){var t=this,i=a(".sek-font-size-line-height-wrapper",t.container),n=i.find("input[data-czrtype]").data("sek-unit"),o=function(e){return _.contains(["px","em","%"],e)||(s.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new s.Value(_.isEmpty(n)?"px":o(n)),t.css_unit.bind(function(e){e=_.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("change")}),i.find('input[type="number"]').on("input change",function(e){t(a(this).val()+o(t.css_unit()))}).stepper(),i.on("click","[data-sek-unit]",function(e){e.preventDefault(),i.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),a(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",a(this).data("sek-unit")),t.css_unit(a(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+n+'"]').addClass("is-selected").attr("aria-pressed",!0)},maybeSetupDeviceSwitcherForInput:function(){var i=this,e=['<span class="sek-input-device-switcher">','<i data-sek-device="desktop" class="sek-switcher preview-desktop active" title="'+sektionsLocalizedData.i18n["Settings on desktops"]+'"></i>','<i data-sek-device="tablet" class="sek-switcher preview-tablet" title="'+sektionsLocalizedData.i18n["Settings on tablets"]+'"></i>','<i data-sek-device="mobile" class="sek-switcher preview-mobile" title="'+sektionsLocalizedData.i18n["Settings on mobiles"]+'"></i>',"</span>"].join(" ");i.container.find(".customize-control-title").prepend(e),i.previewedDevice=new s.Value(s.previewedDevice()),syncWithPreviewedDevice=function(e){e.stopPropagation(),i.container.find("[data-sek-device]").removeClass("active"),a(this).addClass("active");var t="desktop";try{t=a(this).data("sek-device")}catch(e){s.errare("maybeSetupDeviceSwitcherForInput => error when binding sek-switcher",e)}try{s.previewedDevice(t)}catch(e){s.errare("maybeSetupDeviceSwitcherForInput => error when setting the previewed device",e)}i.previewedDevice(t)},i.container.on("click","[data-sek-device]",syncWithPreviewedDevice);var t=i.container.find('[data-sek-device="'+s.previewedDevice()+'"]');0<t.length&&t.trigger("click")},scheduleModuleAccordion:function(e){e=e||{expand_first_module:!0};var i=this;a(i.container).on("click",".customize-control label > .customize-control-title",function(e){e.stopPropagation();var t=a(this).closest(".customize-control");"no"!==t.attr("data-sek-accordion")&&(i.container.find(".customize-control").not(t).each(function(){a(this).attr("data-sek-accordion")||(a(this).attr("data-sek-expanded","false"),a(this).find(".czr-items-wrapper").stop(!0,!0).slideUp("fast"))}),t.find(".czr-items-wrapper").stop(!0,!0).slideToggle({duration:"fast",start:function(){t.attr("data-sek-expanded","false"==t.attr("data-sek-expanded")?"true":"false"),"true"==t.attr("data-sek-expanded")?t.trigger("sek-accordion-expanded"):t.trigger("sek-accordion-collapsed")}}))}),e.expand_first_module&&i.container.find(".customize-control").first().find("label > .customize-control-title").trigger("click")},isPromise:function(e){return e&&"function"==typeof e.then&&String(a.Deferred().then)===String(e.then)},whenAllPromisesInParallel:function(e){var i=this,t=a.Deferred(),n=[],o=_.keys(e);return _.each(e,function(e,t){n.push(a.Deferred(function(t){(i.isPromise(e)?e:a.Deferred()).done(t.resolve).fail(function(e){t.reject(e)})}))}),a.when.apply(this,n).done(function(){var i={},e=Array.prototype.slice.call(arguments);_.each(e,function(e,t){i[o[t]]=e}),t.resolve(i)}).fail(t.reject),t},whenAllPromisesInSerie:function(t,i,n,o){i=i||0,n=n||{},o=o||a.Deferred();var r=this;if(_.isArray(t)){var e=t[i];(r.isPromise(e)?e:a.Deferred(function(e){e.resolve()})).always(function(e){n[i]=e,i+1==t.length?o.resolve(n):i+1<t.length&&r.whenAllPromisesInSerie(t,i+1,n,o)})}return o},importAttachment:function(t){return wp.ajax.post("sek_import_attachment",{rel_path:t,nonce:s.settings.nonce.save}).fail(function(e){s.errare("sek_import_attachment ajax action failed for image "+t,e)})},cleanIds:function(e){e.id="";var t=this;return _.each(e.collection,function(e){e.id="",_.isArray(e.collection)&&t.cleanIds(e)}),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(a,f){f.extend(CZRSeksPrototype,{setupDnd:function(){var t=this;t.bind("sek-refresh-dragzones",function(e){"draggable"in document.createElement("span")?t.setupNimbleDragZones(e.input_container):a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){a.notifications.remove("drag-drop-support")},1e4)})}),a.previewer.bind("ready",function(){try{t.setupNimbleDropZones()}catch(e){a.errare("::setupDnd => error on self.setupNimbleDropZones()",e)}_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_intro_sec_picker_module"}))&&_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_module_picker_module"}))||t.rootPanelFocus()}),t.reactToDrop()},setupNimbleDragZones:function(e){var t=this;e.find("[draggable]").each(function(){f(this).on("dragstart",function(e){(function(e){e.originalEvent.dataTransfer.setData("sek-content-type",f(this).data("sek-content-type")),e.originalEvent.dataTransfer.setData("sek-content-id",f(this).data("sek-content-id")),e.originalEvent.dataTransfer.setData("sek-section-type",f(this).data("sek-section-type")),e.originalEvent.dataTransfer.setData("sek-is-user-section",f(this).data("sek-is-user-section"));try{e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.clearData("browserSupport")}catch(e){a.panel(sektionsLocalizedData.sektionsPanelId,function(e){a.notifications.add(new a.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){a.notifications.remove("drag-drop-support")},1e4)})}t.dnd_draggedType=f(this).data("sek-content-type"),f(this).addClass("sek-dragged"),f("body").addClass("sek-dragging"),a.previewer.send("sek-drag-start",{type:t.dnd_draggedType})}).call(f(this),e)}).on("dragend",function(e){(function(e){f("body").removeClass("sek-dragging"),f(this).removeClass("sek-dragged"),a.previewer.send("sek-drag-stop")}).call(f(this),e)})})},setupNimbleDropZones:function(){var t=this;if(this.$dropZones=this.dnd_getDropZonesElements(),this.preDropElement=f("<div>",{class:sektionsLocalizedData.preDropElementClass,html:""}),this.$dropZones.length<1)throw new Error("::setupNimbleDropZones => invalid Dom element");this.$dropZones.each(function(){var e=f(this);!0!==e.data("zone-droppable-setup")&&(t.enterOverTimer=null,e.on("dragenter dragover",sektionsLocalizedData.dropSelectors,function(e){_.isNull(t.enterOverTimer)&&(t.enterOverTimer=!0,_.delay(function(){t.currentMousePosition&&t.currentMousePosition+""==e.clientY+""+e.clientX?t.enterOverTimer=null:(t.currentMousePosition=e.clientY+""+e.clientX,t.dnd_toggleDragApproachClassesToDropZones(e))},100)),t.dnd_canDrop(f(this))&&(e.stopPropagation(),t.dnd_OnEnterOver(f(this),e))}).on("dragleave drop",sektionsLocalizedData.dropSelectors,function(e){switch(e.type){case"dragleave":t.dnd_isOveringDropTarget(f(this),e)||t.dnd_cleanOnLeaveDrop(f(this),e);break;case"drop":if(this.$cachedDropZoneCandidates=null,!t.dnd_canDrop(f(this)))return;e.preventDefault(),t.dnd_onDrop(f(this),e),t.dnd_cleanOnLeaveDrop(f(this),e),a.previewer.send("sek-drag-stop")}}).data("zone-droppable-setup",!0))})},dnd_toggleDragApproachClassesToDropZones:function(m){this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.$cachedDropZoneCandidates=_.isEmpty(this.$cachedDropZoneCandidates)?this.$dropZones.find(".sek-drop-zone"):this.$cachedDropZoneCandidates,this.$dropZones.find(".sek-drop-zone").each(function(){var e=m.clientY,t=m.clientX,i=f(this)[0].getBoundingClientRect(),n=Math.abs(e-(i.bottom-(i.bottom-i.top)/2)),o=(Math.abs(i.top-e),Math.abs(t-(i.right-(i.right-i.left)/2))),r=(i.right,i.left,n<60),s=o<60,a=n<80,c=o<80,l=n<120,d=o<120,u=t<=i.right&&i.left<=t,p=e>=i.top&&i.bottom>=e;p&&u?(f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close"),f(this).removeClass("sek-drag-is-very-close"),f(this).addClass("sek-drag-is-in")):((r||p)&&(s||u)?(f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close"),f(this).addClass("sek-drag-is-very-close")):((a||p)&&(c||u)?(f(this).removeClass("sek-drag-is-approaching"),f(this).addClass("sek-drag-is-close")):((l||p)&&(d||u)?f(this).addClass("sek-drag-is-approaching"):f(this).removeClass("sek-drag-is-approaching"),f(this).removeClass("sek-drag-is-close")),f(this).removeClass("sek-drag-is-very-close")),f(this).removeClass("sek-drag-is-in"))}),this.enterOverTimer=null},dnd_getPreDropElementContent:function(e){var t,i,n=f(e.currentTarget);switch(this.dnd_draggedType){case"module":t=sektionsLocalizedData.i18n["Insert here"],0<n.length&&("between-sections"!==n.data("sek-location")&&"in-empty-location"!==n.data("sek-location")||(t=sektionsLocalizedData.i18n["Insert in a new section"])),i='<div class="sek-module-placeholder-content"><p>'+t+"</p></div>";break;case"preset_section":i='<div class="sek-module-placeholder-content"><p>'+(t=sektionsLocalizedData.i18n["Insert a new section here"])+"</p></div>";break;default:a.errare("::dnd_getPreDropElementContent => invalid content type provided")}return i},dnd_getDropZonesElements:function(){return f(a.previewer.targetWindow().document)},dnd_canDrop:function(e){var t=e&&0<e.length&&e.hasClass("sek-content-preset_section-drop-zone"),i=e&&0<e.length&&e.hasClass("sek-module-drop-zone-for-first-module");return e.hasClass("sek-drop-zone")&&("preset_section"===this.dnd_draggedType&&t||"module"===this.dnd_draggedType&&!t||"preset_section"===this.dnd_draggedType&&i)},dnd_OnEnterOver:function(e,t){t.preventDefault(),!0!==e.data("is-drag-entered")&&(e.data("is-drag-entered",!0),e.addClass("sek-active-drop-zone"),this.$dropZones.addClass("sek-is-dragging"));try{this.dnd_mayBePrintPreDropElement(e,t)}catch(e){a.errare("Error when trying to insert the preDrop content",e)}},dnd_cleanOnLeaveDrop:function(e,t){var i=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.preDropElement.remove(),this.$dropZones.removeClass("sek-is-dragging"),f(sektionsLocalizedData.dropSelectors,this.$dropZones).each(function(){i.dnd_cleanSingleDropTarget(f(this))})},dnd_cleanSingleDropTarget:function(e){_.isEmpty(e)||e.length<1||(e.data("is-drag-entered",!1),e.data("preDrop-position",!1),e.removeClass("sek-active-drop-zone"),e.find(".sek-drop-zone").removeClass("sek-drag-is-close"),e.find(".sek-drop-zone").removeClass("sek-drag-is-approaching"),e.removeClass("sek-feed-me-seymore"))},dnd_getPosition:function(e,t){var i=e[0].getBoundingClientRect(),n=i.height;return"before"===e.data("preDrop-position")?n+=this.preDropElement.outerHeight():"after"===e.data("preDrop-position")&&(n-=this.preDropElement.outerHeight()),0<t.originalEvent.clientY-i.top-n/2?"after":"before"},dnd_mayBePrintPreDropElement:function(e,t){var i=this,n=e.data("preDrop-position"),o=this.dnd_getPosition(e,t);if(n!==o&&!0!==i.isPrintingPreDrop){i.isPrintingPreDrop=!0,this.dnd_cleanSingleDropTarget(this.$currentPreDropTarget);var r="between-sections"===e.data("sek-location")||"in-empty-location"===e.data("sek-location");f.when(i.preDropElement.remove()).done(function(){e["before"===o?"prepend":"append"](i.preDropElement).find("."+sektionsLocalizedData.preDropElementClass).html(i.dnd_getPreDropElementContent(t)),e.find("."+sektionsLocalizedData.preDropElementClass).toggleClass("in-new-sektion",r),e.data("preDrop-position",o),e.addClass("sek-feed-me-seymore"),i.isPrintingPreDrop=!1,i.$currentPreDropTarget=e})}},dnd_isOveringDropTarget:function(e,t){var i=e[0].getBoundingClientRect(),n=t.clientX,o=t.clientY,r=i.left,s=i.right,a=i.top,c=i.bottom;return r<=n&&n-r<=s-r&&(a<=o&&o-a<=c-a)},dnd_onDrop:function(e,t){t.stopPropagation();this.dnd_getPosition(e,t),e.index();a.czr_sektions.trigger("sek-content-dropped",{drop_target_element:e,location:e.closest('[data-sek-level="location"]').data("sek-id"),before_module:e.data("drop-zone-before-module-or-nested-section"),after_module:e.data("drop-zone-after-module-or-nested-section"),before_section:e.data("drop-zone-before-section"),after_section:e.data("drop-zone-after-section"),content_type:t.originalEvent.dataTransfer.getData("sek-content-type"),content_id:t.originalEvent.dataTransfer.getData("sek-content-id"),section_type:t.originalEvent.dataTransfer.getData("sek-section-type"),is_user_section:"true"===t.originalEvent.dataTransfer.getData("sek-is-user-section")})},reactToDrop:function(){this.bind("sek-content-dropped",function(e){try{!function(e){if(!_.isObject(e))throw new Error("Invalid params provided");if(e.drop_target_element.length<1)throw new Error("Invalid drop_target_element");var t=e.drop_target_element,i="content-in-column";switch(t.data("sek-location")){case"between-sections":i="content-in-a-section-to-create";break;case"in-empty-location":e.is_first_section=!0,e.send_to_preview=!1,i="content-in-empty-location";break;case"between-columns":i="content-in-new-column"}if("preset_section"===e.content_type)if(t.hasClass("sek-module-drop-zone-for-first-module")){var n=t.closest('div[data-sek-level="section"]');1<n.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length?(i="preset-section-in-a-nested-section-to-create",e.is_nested=!0,e.in_column=t.closest('[data-sek-level="column"]').data("sek-id"),e.in_sektion=n.data("sek-id")):(e.sektion_to_replace=n.data("sek-id"),e.after_section=e.sektion_to_replace,e.in_column=n.closest('[data-sek-level="column"]').data("sek-id"),i="content-in-a-section-to-replace")}else"between-sections"===t.data("sek-location")&&(i="content-in-a-section-to-create");switch(i){case"content-in-column":var o=t.closest("div[data-sek-level]");if(o.length<1)throw new Error("No valid level dom element found");var r=o.data("sek-level"),s=o.data("sek-id");if(_.isEmpty(r)||_.isEmpty(s))throw new Error("No valid level id found");a.previewer.trigger("sek-add-module",{level:r,id:s,in_column:t.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:t.closest('div[data-sek-level="section"]').data("sek-id"),before_module:e.before_module,after_module:e.after_module,content_type:e.content_type,content_id:e.content_id});break;case"content-in-a-section-to-create":case"content-in-a-section-to-replace":a.previewer.trigger("sek-add-content-in-new-sektion",e);break;case"preset-section-in-a-nested-section-to-create":a.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",e);break;case"content-in-empty-location":a.previewer.trigger("sek-add-content-in-new-sektion",e);break;default:a.errare("sek control panel => ::reactToDrop => invalid drop case : "+i)}}(e)}catch(e){a.errare("error when reactToDrop",e)}})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{setupTinyMceEditor:function(){var n=this;r.sekEditorExpanded=new r.Value(!1),r.sekEditorSynchronizedInput=new r.Value,n.editorEventsListenerSetup=!1;var o=function(){r.sekTinyMceEditor=r.sekTinyMceEditor||tinyMCE.get("czr-customize-content_editor"),!1===n.editorEventsListenerSetup&&(n.attachEventsToEditor(),n.editorEventsListenerSetup=!0,n.trigger("sek-tiny-mce-editor-bound-and-instantiated"))};n.bind("sek-edit-module_done",function(e){if("tiny_mce_editor"==e.clicked_input_type){var i=e.id;if(!0===n.getRegisteredModuleProperty(e.module_type,"is_father")){var t=n.getRegisteredModuleProperty(e.module_type,"children");if(_.isEmpty(t))throw new Error("::generateUIforFrontModules => a father module "+e.module_type+" is missing children modules ");_.each(t,function(e,t){"czr_tinymce_child"===e&&(i=i+"__"+t)})}r.sekEditorSynchronizedInput({control_id:i,input_id:e.clicked_input_id}),r.sekEditorExpanded(!0),r.sekTinyMceEditor.focus()}}),s("#customize-theme-controls").on("click",'[data-czr-action="open-tinymce-editor"]',function(){var e=s(this).data("czr-control-id"),t=s(this).data("czr-input-id");if(_.isEmpty(e)||_.isEmpty(t))r.errare("toggle-tinymce-editor => missing input or control id");else{var i=s.extend(!0,{},r.sekEditorSynchronizedInput()),n=_.extend(i,{input_id:t,control_id:e});r.sekEditorSynchronizedInput(n),r.sekEditorExpanded(!0),r.sekTinyMceEditor.focus()}}),r.sekEditorSynchronizedInput.bind(function(n,e){o(),r(n.control_id,function(e){var t=e(),i=_.isObject(t)&&!_.isEmpty(t[n.input_id])?t[n.input_id]:"";try{r.sekTinyMceEditor.setContent(i)}catch(e){r.errare("Error when setting the tiny mce editor content in setupTinyMceEditor",e)}r.sekTinyMceEditor.focus()})}),r.sekEditorExpanded.bind(function(e,t,i){o(),e&&r.sekTinyMceEditor.focus(),s(document.body).toggleClass("czr-customize-content_editor-pane-open",e),s(window)[e?"on":"off"]("resize",function(){r.sekEditorExpanded()&&_.delay(function(){n.czrResizeEditor(window.innerHeight-n.$editorPane.height())},50)}),e?n.czrResizeEditor(window.innerHeight-n.$editorPane.height()):(n.$preview.css("bottom",""),n.$collapseSidebar.css("bottom",""))}),s("#czr-customize-content_editor-pane").on("click",'[data-czr-action="close-tinymce-editor"]',function(){r.sekEditorExpanded(!1)}),s("#customize-controls").on("click",function(e){"open-tinymce-editor"!=s(e.target).data("czr-action")&&r.sekEditorExpanded(!1,{context:"clicked anywhere"})}),s(document).on("keydown",_.throttle(function(e){27===e.keyCode&&r.sekEditorExpanded(!1)},50)),n.bind("sek-tiny-mce-editor-bound-and-instantiated",function(){var e=s(r.sekTinyMceEditor.iframeElement).contents().get(0);s(e).on("keydown",_.throttle(function(e){27===e.keyCode&&r.sekEditorExpanded(!1)},50))}),_.each(["sek-click-on-inactive-zone","sek-add-section","sek-add-column","sek-add-module","sek-remove","sek-move","sek-duplicate","sek-resize-columns","sek-add-content-in-new-sektion","sek-pick-content","sek-edit-options","sek-edit-module","sek-notify"],function(e){"sek-edit-module"!=e?r.previewer.bind(e,function(){r.sekEditorExpanded(!1)}):r.previewer.bind(e,function(e){r.sekEditorExpanded("czr_tiny_mce_editor_module"===e.module_type)})})},attachEventsToEditor:function(){var t=this;t.$editorTextArea=s("#czr-customize-content_editor"),t.$editorPane=s("#czr-customize-content_editor-pane"),t.$editorDragbar=s("#czr-customize-content_editor-dragbar"),t.$editorFrame=s("#czr-customize-content_editor_ifr"),t.$mceTools=s("#wp-czr-customize-content_editor-tools"),t.$mceToolbar=t.$editorPane.find(".mce-toolbar-grp"),t.$mceStatusbar=t.$editorPane.find(".mce-statusbar"),t.$preview=s("#customize-preview"),t.$collapseSidebar=s(".collapse-sidebar"),r.sekTinyMceEditor.on("input change keyup",function(e){if(r.control.has(r.sekEditorSynchronizedInput().control_id))try{r.control(r.sekEditorSynchronizedInput().control_id).trigger("tinyMceEditorUpdated",{input_id:r.sekEditorSynchronizedInput().input_id,html_content:r.sekTinyMceEditor.getContent(),modified_editor_element:r.sekTinyMceEditor})}catch(e){r.errare("Error when triggering tinyMceEditorUpdated",e)}}),t.$editorTextArea.on("input",function(e){try{r.control(r.sekEditorSynchronizedInput().control_id).trigger("tinyMceEditorUpdated",{input_id:r.sekEditorSynchronizedInput().input_id,html_content:t.$editorTextArea.val(),modified_editor_element:t.$editorTextArea})}catch(e){r.errare("Error when triggering tinyMceEditorUpdated",e)}}),s("#czr-customize-content_editor-pane").on("mousedown mouseup",function(e){if(("mousedown"!==e.type||"czr-customize-content_editor-dragbar"===s(e.target).attr("id")||s(e.target).hasClass("czr-resize-handle"))&&r.sekEditorExpanded())switch(e.type){case"mousedown":s(document).on("mousemove.czr-customize-content_editor",function(e){e.preventDefault(),s(document.body).addClass("czr-customize-content_editor-pane-resize"),t.$editorFrame.css("pointer-events","none"),t.czrResizeEditor(e.pageY)});break;case"mouseup":s(document).off("mousemove.czr-customize-content_editor"),s(document.body).removeClass("czr-customize-content_editor-pane-resize"),t.$editorFrame.css("pointer-events","")}})},czrResizeEditor:function(e){var t,i=this,n=window.innerHeight,o=(window.innerWidth,{});r.sekEditorExpanded()&&(_.isNaN(e)||(t=n-e),o.height=t,o.components=i.$mceTools.outerHeight()+i.$mceToolbar.outerHeight()+i.$mceStatusbar.outerHeight(),t<40&&(o.height=40),n-1<t&&(o.height=n-1),n<i.$editorPane.outerHeight()&&(o.height=n),i.$preview.css("bottom",o.height),i.$editorPane.css("height",o.height),i.$editorFrame.css("height",o.height-o.components),i.$collapseSidebar.css("bottom",n-o.height<56?i.$mceStatusbar.outerHeight()+4:o.height+8))}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(t,e){jQuery.extend(CZRSeksPrototype,t.Events);var i=t.Class.extend(CZRSeksPrototype);try{t.czr_sektions=new i}catch(e){t.errare("api.czr_sektions => problem on instantiation",e)}}(wp.customize),function(l,d,u){l.czrInputMap=l.czrInputMap||{};var p=function(e){return u.contains(["px","em","%"],e)||(l.errare("error : invalid unit for input "+this.id,e),e="px"),e},_=function(i){var n=this;i.on("click",".sek-ui-button",function(e,t){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),d(this).addClass("is-selected").attr("aria-pressed",!0),n.css_unit(d(this).data("sek-unit"),t)}),i.find('.sek-ui-button[data-sek-unit="'+(n.initial_unit||"px")+'"]').addClass("is-selected").attr("aria-pressed",!0)},m=function(t,i){var n=this;t.on("click",".reset-spacing-wrap",function(e){e.preventDefault(),t.find('input[type="number"]').each(function(){d(this).val("")}),n(i),d(".sek-unit-wrapper",t).find('[data-sek-unit="px"]').trigger("click")})};d.extend(l.czrInputMap,{spacing:function(e){var o=this,i=d(".sek-spacing-wrapper",o.container),t=l.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),n=u.isEmpty(t)||u.isEmpty(t.default)?[]:t.default;if(i.on("input",'input[type="number"]',function(e){var t=d(this).closest("[data-sek-spacing]").data("sek-spacing"),i=d.extend(!0,{},u.isObject(o())?o():{}),n=d(this).val();u.isString(n)&&!u.isEmpty(n)||u.isNumber(n)?i[t]=n:i=u.omit(i,t),o(i)}),m.call(o,i,n),u.isObject(o())){u.each(o(),function(e,t){d('[data-sek-spacing="'+t+'"]',i).find('input[type="number"]').val(e)});var r="px";d(".sek-unit-wrapper .sek-ui-button",o.container).each(function(){var e=d(this).data("sek-unit");u.isEmpty(o())||u.isEmpty(o().unit)||e===o().unit&&(r=e)}),d(".sek-unit-wrapper",o.container).find('[data-sek-unit="'+p.call(o,r)+'"]').trigger("click")}var s=o();o.initial_unit="px",u.isEmpty(s)||(o.initial_unit=u.isEmpty(s.unit)?"px":s.unit),o.css_unit=new l.Value(p.call(o,o.initial_unit)),o.css_unit.bind(function(e){var t;e=u.isEmpty(e)?"px":e,(t=d.extend(!0,{},u.isObject(o())?o():{})).unit=e,o(t)}),_.call(o,i)}}),d.extend(l.czrInputMap,{spacingWithDeviceSwitcher:function(e){var r=this,s=d(".sek-spacing-wrapper",r.container),t=l.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=u.isEmpty(t)||u.isEmpty(t.default)?{}:t.default,c=function(e,t){var i=["mobile","tablet","desktop"];if(u.has(e,t))return e[t];var n=u.findIndex(i,function(e){return t===e});return!u.isEmpty(t)&&n<i.length?c(e,i[n+1]):{}},i=function(e){var t=d.extend(!0,{},u.isObject(r())?r():{}),i=d.extend(!0,{},a);t=u.isObject(t)?d.extend(i,t):i;var n=c(t,e);d("[data-sek-spacing]",s).each(function(){var e=d(this).data("sek-spacing"),t="";u.isEmpty(n)||u.isEmpty(n[e])||(t=n[e]),d(this).find('input[type="number"]').val(t)});var o="px";d(".sek-unit-wrapper .sek-ui-button",r.container).each(function(){var e=d(this).data("sek-unit");u.isEmpty(n)||u.isEmpty(n.unit)||e===n.unit&&(o=e)}),d(".sek-unit-wrapper",r.container).find('[data-sek-unit="'+p.call(r,o)+'"]').trigger("click",{previewed_device_switched:!0})};l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r);var n=r();r.initial_unit="px",u.isEmpty(n)||u.isEmpty(n[r.previewedDevice()])||(r.initial_unit=u.isEmpty(n[r.previewedDevice()].unit)?"px":n[r.previewedDevice()].unit),r.css_unit=new l.Value(p.call(r,r.initial_unit)),s.on("input",'input[type="number"]',function(e){var t,i=d(this).closest("[data-sek-spacing]").data("sek-spacing"),n=d(this).val(),o=l.previewedDevice()||"desktop";(t=d.extend(!0,{},u.isObject(r())?r():{}))[o]=d.extend(!0,{},t[o]||{}),u.isString(n)&&!u.isEmpty(n)||u.isNumber(n)?t[o][i]=n:t[o]=u.omit(t[o],i),r(t)}),m.call(r,s,a),r.previewedDevice.bind(function(e){try{i(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}),r.css_unit.bind(function(e,t,i){if(!u.isObject(i)||!0!==i.previewed_device_switched){e=u.isEmpty(e)?"px":e;var n,o=r.previewedDevice()||"desktop";(n=d.extend(!0,{},u.isObject(r())?r():{}))[o]=d.extend(!0,{},n[o]||{}),n[o].unit=e,r(n)}}),_.call(r,s);try{i(l.previewedDevice())}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}})}(wp.customize,jQuery,_),function(n,a,c){n.czrInputMap=n.czrInputMap||{},a.extend(n.czrInputMap,{bg_position:function(e){var t=this;a(".sek-bg-pos-wrapper",t.container).on("change",'input[type="radio"]',function(e){t(a(this).val())}),c.isEmpty(t())||t.container.find('input[value="'+t()+'"]').attr("checked",!0).trigger("click")},bgPositionWithDeviceSwitcher:function(e){var o=this,t=n.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=c.isEmpty(t)||c.isEmpty(t.default)?{}:t.default;n.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var s=function(e,t){var i=["mobile","tablet","desktop"];if(c.has(e,t))return e[t];var n=c.findIndex(i,function(e){return t===e});return!c.isEmpty(t)&&n<i.length?s(e,i[n+1]):{}},i=function(e){var t=a.extend(!0,{},c.isObject(o())?o():{}),i=a.extend(!0,{},r);t=c.isObject(t)?a.extend(i,t):i;var n=s(t,e);o.container.find('input[value="'+n+'"]').attr("checked",!0).trigger("click",{previewed_device_switched:!0})};a(".sek-bg-pos-wrapper",o.container).on("change",'input[type="radio"]',function(e){var t,i=a(this).val();(t=a.extend(!0,{},c.isObject(o())?o():{}))[n.previewedDevice()||"desktop"]=i,o(t)}),o.previewedDevice.bind(function(e){try{i(e)}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+o.id,e)}});try{i(n.previewedDevice())}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type bgPositionWithDeviceSwitcher for input id "+o.id,e)}}})}(wp.customize,jQuery,_),function(c,l,d){c.czrInputMap=c.czrInputMap||{};var e=function(e){var o=this,t=c.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i="verticalAlignWithDeviceSwitcher"===o.type?".sek-v-align-wrapper":".sek-h-align-wrapper",s=l(i,o.container);c.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):{}},n=function(e){var t=l.extend(!0,{},d.isObject(o())?o():{}),i=l.extend(!0,{},r);t=d.isObject(t)?l.extend(i,t):i;var n=a(t,e);s.find(".selected").removeClass("selected"),s.find('div[data-sek-align="'+n+'"]').addClass("selected")};s.on("click","[data-sek-align]",function(e){var t;e.preventDefault(),(t=l.extend(!0,{},d.isObject(o())?o():{}))[c.previewedDevice()||"desktop"]=l(this).data("sek-align"),s.find(".selected").removeClass("selected"),l.when(l(this).addClass("selected")).done(function(){o(t)})}),o.previewedDevice.bind(function(e){try{n(e)}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}});try{n(c.previewedDevice())}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}};l.extend(c.czrInputMap,{horizTextAlignmentWithDeviceSwitcher:e,horizAlignmentWithDeviceSwitcher:e,verticalAlignWithDeviceSwitcher:e})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{font_size:function(e){t.czr_sektions.setupFontSizeAndLineHeightInputs.call(this)}})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{line_height:function(e){t.czr_sektions.setupFontSizeAndLineHeightInputs.call(this)}})}(wp.customize,jQuery,_),function(i,c,l){i.czrInputMap=i.czrInputMap||{},c.extend(i.czrInputMap,{font_picker:function(e){var a=this,o=a.input_parent,n=function(e,t){o();var n=c('select[data-czrtype="'+a.id+'"]',a.container);l.isNull(a())||l.isEmpty(a())?n.append('<option value="none" selected="selected">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"):n.append('<option value="none">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"),l.each([{title:sektionsLocalizedData.i18n["Web Safe Fonts"],type:"cfont",list:t.cfonts},{title:sektionsLocalizedData.i18n["Google Fonts"],type:"gfont",list:t.gfonts}],function(e){var t,r,s,i=c("<optgroup>",{label:e.title,html:(t=e.list,r=e.type,s="",l.each(t,function(e){var t,i,n=e.name,o=l.isString(n)?n.replace(/[+|:]/g," "):n;t=n,i=r,(n=l.isString(t)?["[",i,"]",t].join(""):"")==a()?s+='<option selected="selected" value="'+n+'">'+o+"</option>":s+='<option value="'+n+'">'+o+"</option>"}),s)});n.append(i)});var i={escapeMarkup:function(e){return e}};e&&c.extend(i,{resultsAdapter:e,closeOnSelect:!1}),n.select2(i),c(".select2-selection__rendered",a.container).css(r(a()))},r=function(e){if(!l.isString(e)||l.isEmpty(e))return{};var t,i,n,o=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return t=s(e),i=o[1]?o[1].replace(/[^0-9.]+/g,""):400,i=l.isNumber(i)?i:400,n=o[1]&&-1!=o[1].indexOf("italic")?"italic":"",{"font-family":"none"==t?"inherit":t.replace(/[+|:]/g," "),"font-weight":i||400,"font-style":n||"normal"}},s=function(e){if(!l.isString(e)||l.isEmpty(e))return e;var t=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return l.isString(t[0])?t[0].replace(/[+|:]/g," "):""};c.when(function(){var e,t=c.Deferred();l.isEmpty(i.sek_fontCollections)?(l.isUndefined(i.sek_fetchingFontCollection)||"pending"!=i.sek_fetchingFontCollection.state()?(e=i.CZR_Helpers.getModuleTmpl({tmpl:"font_list",module_type:"font_picker_input",module_id:a.module.id}),i.sek_fetchingFontCollection=e):e=i.sek_fetchingFontCollection,e.done(function(e){if("string"!=typeof e||"{"!==e[0])throw new Error("font_picker => server list is not JSON.parse-able");i.sek_fontCollections=JSON.parse(e),t.resolve(i.sek_fontCollections)}).fail(function(e){t.reject(e)})):t.resolve(i.sek_fontCollections);return t.promise()}()).done(function(t){var i;(i=c.Deferred(),void 0!==c.fn.select2&&void 0!==c.fn.select2.amd&&"function"==typeof c.fn.select2.amd.require?c.fn.select2.amd.require(["select2/results","select2/utils"],function(e,t){var n=function(e,t,i){n.__super__.constructor.call(this,e,t,i)};t.Extend(n,e),n.prototype.bind=function(e,t){var i=this;e.on("results:focus",function(e){"true"!=e.element.attr("aria-selected")&&i.trigger("select",{data:e.data})}),n.__super__.bind.call(this,e,t)},i.resolve(n)}):i.resolve(!1),i.promise()).done(function(e){n(e,t)})}).fail(function(e){i.errare("font_picker => fail response =>",e)})}})}(wp.customize,jQuery,_),function(s,a,c){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{fa_icon_picker:function(){var t,n=this,o=n.input_parent,r=!1;a.when((t=a.Deferred(),c.isEmpty(n.sek_faIconCollection)?s.CZR_Helpers.getModuleTmpl({tmpl:"icon_list",module_type:"fa_icon_picker_input",module_id:n.module.id}).done(function(e){if("string"!=typeof e||"["!==e[0])throw new Error("fa_icon_picker => server list is not JSON.parse-able");n.sek_faIconCollection=JSON.parse(e),t.resolve(n.sek_faIconCollection)}).fail(function(e){t.reject(e)}):t.resolve(n.sek_faIconCollection),t.promise())).done(function(e){!function(e){c.each(e,function(e){var t={value:e,html:s.CZR_Helpers.capitalize(e.substring(7))};t.value==o().icon&&(a.extend(t,{selected:"selected"}),r=!0),a("select[data-czrtype]",n.container).append(a("<option>",t))});var t,i=function(e){return e.id?a('<span class="'+e.element.value+'"></span><span class="social-name"> '+e.text+"</span>"):e.text};t=r?a("<option>"):a("<option>",{selected:"selected"}),a("select[data-czrtype]",n.container).prepend(t).select2({templateResult:i,templateSelection:i,placeholder:sektionsLocalizedData.i18n["Select an icon"],allowClear:!0})}(e)}).fail(function(e){s.errare("fa_icon_picker => fail response =>",e)})}})}(wp.customize,jQuery,_),function(d,u,p){d.czrInputMap=d.czrInputMap||{},u.extend(d.czrInputMap,{code_editor:function(e){var n=this,i=this.module.control,t=(n.input_parent(),!1),r=n.container.find("textarea"),o=n.container.find(".customize-control-title"),s=r.data("editor-params");wp.codeEditor&&(p.isUndefined(s)||!1!==s)&&(t=s),n.isReady.done(function(){var e=function(e){p.isEmpty(this.editor)&&(p.isEmpty(this.module.control.container.attr("data-sek-expanded"))||"false"==this.module.control.container.attr("data-sek-expanded")||setTimeout(function(){if(t)try{a(t)}catch(e){d.errare("error in sek_control => code_editor() input",e),c()}else c();o.click()},10))};e.call(n),n.module.control.container.on("sek-accordion-expanded",function(){e.call(n)})});var a=function(e){var t,i=!1;t=p.extend({},e,{onTabNext:CZRSeksPrototype.selectNextTabbableOrFocusable(":tabbable"),onTabPrevious:CZRSeksPrototype.selectPrevTabbableOrFocusable(":tabbable"),onUpdateErrorNotice:l}),n.editor=wp.codeEditor.initialize(r,t),u(n.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-label":o.html(),"aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),o.on("click",function(e){e.stopPropagation(),n.editor.codemirror.focus()}),n.editor.codemirror.on("change",function(e){i=!0,r.val(e.getValue()).trigger("change"),i=!1}),n.editor.codemirror.setValue(n()),n.bind(n.id+":changed",function(e){i||n.editor.codemirror.setValue(e)}),n.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()})},c=function(){var o=r[0];n.editor=o,r.on("blur",function(){r.data("next-tab-blurs",!1)}),r.on("keydown",function(e){var t,i,n;27!==e.keyCode?9!==e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||r.data("next-tab-blurs")||(t=o.selectionStart,i=o.selectionEnd,n=o.value,0<=t&&(o.value=n.substring(0,t).concat("\t",n.substring(i)),r.selectionStart=o.selectionEnd=t+1),e.stopPropagation(),e.preventDefault()):r.data("next-tab-blurs")||(r.data("next-tab-blurs",!0),e.stopPropagation())})},l=function(e){var t;i.setting.notifications.remove(n.id),0!==e.length&&(t=1===e.length?sektionsLocalizedData.i18n.codeEditorSingular.replace("%d","1").replace("%s",o.html()):sektionsLocalizedData.i18n.codeEditorPlural.replace("%d",String(e.length)).replace("%s",o.html()),i.setting.notifications.add(n.id,new d.Notification(n.id,{message:t,type:"warning"})))}}})}(wp.customize,jQuery,_),function(e,r,t){e.czrInputMap=e.czrInputMap||{},r.extend(e.czrInputMap,{range_simple:function(e){var t=this,i=r(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]');o.on("input",function(e){n.val(r(this).val()).trigger("input")}),n.on("input",function(e){t(r(this).val()),o.val(r(this).val())}),o.val(n.val()||0)}})}(wp.customize,jQuery,_),function(a,c,l){a.czrInputMap=a.czrInputMap||{},c.extend(a.czrInputMap,{range_with_unit_picker:function(e){var t=this,i=c(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]'),r=i.find("input[data-czrtype]").data("sek-unit"),s=function(e){return l.contains(["px","em","%"],e)||(a.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new a.Value(l.isEmpty(r)?"px":s(r)),t.css_unit.bind(function(e){e=l.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("input")}),o.on("input",function(e){n.val(c(this).val()).trigger("input")}),n.on("input",function(e){t(c(this).val()+s(t.css_unit())),o.val(c(this).val())}),o.val(n.val()||0),i.on("click",".sek-ui-button",function(e){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),c(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",c(this).data("sek-unit")),t.css_unit(c(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(a,_,m){a.czrInputMap=a.czrInputMap||{},_.extend(a.czrInputMap,{range_with_unit_picker_device_switcher:function(e){var c=this,l=_(".sek-range-with-unit-picker-wrapper",c.container),d=l.find('input[type="number"]'),r=l.find('input[type="range"]'),s=function(e){return m.contains(["px","em","%"],e)||(a.errare("range_with_unit_picker_device_switcher => error : invalid unit for input "+c.id,e),e="px"),e},t=a.czr_sektions.getInputRegistrationParams(c.id,c.module.module_type),u=m.isEmpty(t)||m.isEmpty(t.default)?{}:t.default,i=function(){return l.find("input[data-czrtype]").data("sek-unit")||"px"},p=function(e,t){var i=["mobile","tablet","desktop"];if(m.has(e,t))return e[t];var n=m.findIndex(i,function(e){return t===e});return!m.isEmpty(t)&&n<i.length?p(e,i[n+1]):_.extend(!0,{desktop:""},u).desktop},n=function(e){var t=c(),i={};i=_.extend(!0,{},u),m.isObject(t)?i=_.extend(!0,{},t):m.isString(t)&&!m.isEmpty(t)&&(i={desktop:t});var n,o,r=p(i,e),s=(o=r,m.isEmpty(o)||!m.isString(o)?"px":o.replace(/[0-9]|\.|,/g,"")),a=(n=r,m.isEmpty(n)||!m.isString(n)?"16":n.replace(/px|em|%/g,""));_(".sek-unit-wrapper",l).find('[data-sek-unit="'+s+'"]').trigger("click",{previewed_device_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+s+'"]').addClass("is-selected").attr("aria-pressed",!0),d.val(a).trigger("input",{previewed_device_switched:!0})};a.czr_sektions.maybeSetupDeviceSwitcherForInput.call(c),c.css_unit=new a.Value(m.isEmpty(i())?"px":s(i()));var o='<button type="button" class="button sek-reset-button sek-float-right">'+sektionsLocalizedData.i18n.Reset+"</button>";c.container.find(".customize-control-title").append(o),c.css_unit.bind(function(e,t,i){m.isObject(i)&&!0===i.previewed_device_switched||d.trigger("input")}),r.on("input",function(e){d.val(_(this).val()).trigger("input")}),d.on("input",function(e,t){var i,n=a.previewedDevice()||"desktop",o=_(this).val()+s(c.css_unit());(i=_.extend(!0,{},m.isObject(c())?c():{}))[n]=_.extend(!0,{},i[n]||{}),m.isString(o)&&!m.isEmpty(o)&&(i[n]=o),(m.isEmpty(t)||m.isObject(t)&&!0!==t.previewed_device_switched)&&c(i),r.val(_(this).val())}),l.on("click",".sek-ui-button",function(e,t){e.stopPropagation(),l.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),_(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",_(this).data("sek-unit")),c.css_unit(_(this).data("sek-unit"),t)}),c.previewedDevice.bind(function(e){try{n(e)}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+c.id,e)}}),c.container.on("click",".sek-reset-button",function(e){var t=a.previewedDevice(),i=_.extend(!0,{},m.isObject(c())?c():{});m.isEmpty(i[t])||(i=m.omit(i,t),c(i),n(a.previewedDevice()))}),r.val(d.val()||0);try{n(a.previewedDevice())}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+c.id,e)}}})}(wp.customize,jQuery,_),function(h,g,k){h.czrInputMap=h.czrInputMap||{},g.extend(h.czrInputMap,{borders:function(e){var a=this,c=g(".sek-borders",a.container),l=c.find('input[type="number"]'),d=c.find('input[type="range"]'),u=c.find(".sek-alpha-color-input"),p=function(e){return k.contains(["px","em","%"],e)||(h.errare("borders => error : invalid unit for input "+a.id,e),e="px"),e},_=function(e){return k.isEmpty(e)||!k.isString(e)?"16":e.replace(/px|em|%/g,"")},m=function(e){return k.isEmpty(e)||!k.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=h.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),f=k.isEmpty(t)||k.isEmpty(t.default)?{}:t.default;a.cssBorderTypes=["top","left","right","bottom"];var i,n,o=function(){var e=a(),t="px";return k.isObject(e)&&k.has(e,"_all_")&&k.isObject(e._all_)&&!k.isEmpty(e._all_.wght)&&(t=p(m(e._all_.wght))),t},r=function(){var e=a(),t="#000000";return k.isObject(e)&&k.has(e,"_all_")&&k.isObject(e._all_)&&!k.isEmpty(e._all_.col)&&(t=e._all_.col),t},s=function(e){if(!k.contains(k.union(a.cssBorderTypes,["_all_"]),e))throw new Error("Error in syncWithBorderType : the border type must be one of those values '_all_', 'top', 'left', 'right', 'bottom'");var t=a(),i={},n=g.extend(!0,{},f);k.isObject(t)?i=g.extend(!0,{},t):k.isString(t)&&(i={_all_:{wght:t}});var o,r,s=function(e,t){var i,n=g.extend(!0,{},f);if(!k.has(n,"_all_"))throw new Error("Error when firing getCurrentBorderTypeOrAllValue : the default value of the borders input must be php registered as an array formed : array( 'wght' => '1px', 'col' => '#000000' )");return i=k.isObject(e)&&k.has(e,"_all_")?k.extend(n._all_,e._all_):n._all_,k.has(e,t)&&k.isObject(e[t])?k.extend(i,e[t]):n._all_}(i=g.extend(n,i),e);if(k.isEmpty(s)||!k.isObject(s)||k.isEmpty(s.wght)||k.isEmpty(s.col))throw new Error("Error in syncWithBorderType : getCurrentBorderTypeOrAllValue must return an object formed : array( 'wght' => '1px', 'col' => '#000000' )");o=m(s.wght),r=_(s.wght),g(".sek-unit-wrapper",c).find('[data-sek-unit="'+o+'"]').trigger("click",{border_type_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),l.val(r).trigger("input",{border_type_switched:!0}),u.data("border_type_switched",!0),u.val(s.col).trigger("change"),u.data("border_type_switched",!1)};a.borderColor=new h.Value(k.isEmpty(r())?"#000000":r()),a.css_unit=new h.Value(k.isEmpty(o())?"px":p(o())),a.borderType=new h.Value("_all_"),l.val((i=a(),n=1,k.isObject(i)&&k.has(i,"_all_")&&k.isObject(i._all_)&&!k.isEmpty(i._all_.wght)&&(n=_(i._all_.wght)),n=parseInt(n,10),(!k.isNumber(n)||n<0)&&(h.errare("Error in borders input type for module : "+a.module.module_type+" the initial border width is invalid : "+n),n=1),n)),u.val(a.borderColor()),u.wpColorPicker({palettes:!0,width:1440<=window.innerWidth?271:251,change:function(e,t){g(this).val(t.color.toString()).trigger("colorpickerchange"),a.borderColor(t.color.toString(),{border_type_switched:!0===g(this).data("border_type_switched")})},clear:function(e,t){g(this).val("").trigger("colorpickerchange"),a.borderColor("")}}),a.css_unit.bind(function(e,t,i){(!k.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_unit)&&l.trigger("input",i)}),a.borderColor.bind(function(e,t,i){(!k.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_color)&&l.trigger("input",i)}),a.borderType.bind(function(e){try{s(e)}catch(e){h.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}}),d.on("input",function(e){l.val(g(this).val()).trigger("input")}),l.on("input",function(e,t){var i,n=a.borderType()||"_all_",o=a.borderColor(),r=g(this).val()+p(a.css_unit()),s=g.extend(!0,{},f);(i=g.extend(!0,{},k.isObject(a())?a():s))[n]=g.extend(!0,{},i[n]||s[n]),k.isString(r)&&!k.isEmpty(r)&&(i[n].wght=r),i[n].col=o,(k.isEmpty(t)||k.isObject(t)&&!0!==t.border_type_switched)&&("_all_"===n&&k.each(a.cssBorderTypes,function(e){i=k.omit(i,e)}),a(i)),d.val(g(this).val())}),c.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),c.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),g(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",g(this).data("sek-unit")),a.css_unit(g(this).data("sek-unit"),t)}),c.on("click","[data-sek-border-type]",function(e,t){e.preventDefault(),c.find("[data-sek-border-type]").removeClass("is-selected").attr("aria-pressed",!1),g(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=g(this).data("sek-border-type")}catch(e){h.errare("borders input type => error when attaching click event",e)}a.borderType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.borderType()||"_all_",i=g.extend(!0,{},k.isObject(a())?a():{});k.isEmpty(i[t])||(i=k.omit(i,t),a(i),s(t))}),d.val(l.val()||0);try{s(a.borderType())}catch(e){h.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}g('[data-sek-unit="'+a.css_unit()+'"]',c).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(m,f,h){m.czrInputMap=m.czrInputMap||{},f.extend(m.czrInputMap,{border_radius:function(e){var a=this,c=f(".sek-borders",a.container),l=c.find('input[type="number"]'),s=c.find('input[type="range"]'),d=function(e){return h.contains(["px","em","%"],e)||(m.errare("border_radius => error : invalid unit for input "+a.id,e),e="px"),e},u=function(e){return h.isEmpty(e)||!h.isString(e)?"16":e.replace(/px|em|%/g,"")},p=function(e){return h.isEmpty(e)||!h.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=m.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),_=h.isEmpty(t)||h.isEmpty(t.default)?{}:t.default;a.cssRadiusTypes=["top_left","top_right","bottom_right","bottom_left"];var i,n,o=function(){var e=a(),t="px";return h.isObject(e)&&h.has(e,"_all_")&&(t=d(p(e._all_))),t},r=function(e){if(!h.contains(["_all_","top_left","top_right","bottom_right","bottom_left"],e))throw new Error("Error in syncWithRadiusType : the radius type must be one of those values '_all_', 'top_left', 'top_right', 'bottom_right', 'bottom_left', => radius type => "+e);var t=a(),i={},n=f.extend(!0,{},_);h.isObject(t)?i=f.extend(!0,{},t):h.isString(t)&&(i={_all_:"0px"});var o,r,s=function(e,t){var i,n=f.extend(!0,{},_);if(!h.has(n,"_all_"))throw new Error("Error when firing getCurrentRadiusTypeOrAllValue : the default value of the border_radius input must be php registered as an array");return i=h.isObject(e)&&h.has(e,"_all_")?e._all_:n._all_,h.has(e,t)?e[t]:i}(i=f.extend(n,i),e);if(h.isEmpty(s)||!h.isString(s))throw new Error("Error in syncWithRadiusType : getCurrentRadiusTypeOrAllValue must return a string like 3em");o=p(s),r=u(s),f(".sek-unit-wrapper",c).find('[data-sek-unit="'+o+'"]').trigger("click",{radius_type_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),l.val(r).trigger("input",{radius_type_switched:!0})};a.css_unit=new m.Value(h.isEmpty(o())?"px":d(o())),a.radiusType=new m.Value("_all_"),l.val((i=a(),n=0,h.isObject(i)&&h.has(i,"_all_")&&(n=u(i._all_)),n=parseInt(n,10),(!h.isNumber(n)||n<0)&&(m.errare("Error in border_radius input type for module : "+a.module.module_type+" the initial radius is invalid : "+n),n=0),n)),a.css_unit.bind(function(e,t,i){(!h.isObject(i)||!0!==i.radius_type_switched&&!0!==i.initializing_the_unit)&&l.trigger("input",i)}),a.radiusType.bind(function(e){try{r(e)}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}}),s.on("input",function(e){l.val(f(this).val()).trigger("input")}),l.on("input",function(e,t){var i,n=a.radiusType()||"_all_",o=f(this).val()+d(a.css_unit()),r=f.extend(!0,{},_);(i=f.extend(!0,{},h.isObject(a())?a():r))[n]=f.extend(!0,{},i[n]||r[n]),h.isString(o)&&!h.isEmpty(o)&&(i[n]=o),(h.isEmpty(t)||h.isObject(t)&&!0!==t.radius_type_switched)&&("_all_"===n&&h.each(a.cssRadiusTypes,function(e){i=h.omit(i,e)}),a(i)),s.val(f(this).val())}),c.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),c.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",f(this).data("sek-unit")),a.css_unit(f(this).data("sek-unit"),t)}),c.on("click","[data-sek-radius-type]",function(e,t){e.preventDefault(),c.find("[data-sek-radius-type]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=f(this).data("sek-radius-type")}catch(e){m.errare("border_radius input type => error when attaching click event",e)}a.radiusType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.radiusType()||"_all_",i=f.extend(!0,{},h.isObject(a())?a():{});h.isEmpty(i[t])||(i=h.omit(i,t),a(i),r(t))}),s.val(l.val()||0);try{r(a.radiusType())}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}f('[data-sek-unit="'+a.css_unit()+'"]',c).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{buttons_choice:function(e){var n=this,o=s(".sek-button-choice-wrapper",n.container),t=o.find('input[type="number"]'),i=r.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type);a.isEmpty(i)||a.isEmpty(i.default)||i.default;t.val(n()),o.on("click","[data-sek-choice]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-choice]").removeClass("is-selected").attr("aria-pressed",!1),s(this).addClass("is-selected").attr("aria-pressed",!0);try{i=s(this).data("sek-choice")}catch(e){r.errare("buttons_choice input type => error when attaching click event",e)}n(i)}),s('[data-sek-choice="'+n()+'"]',o).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(i,n,e){i.czrInputMap=i.czrInputMap||{},n.extend(i.czrInputMap,{reset_button:function(e){this.container.on("click","[data-sek-reset-scope]",function(e,t){if(e.stopPropagation(),"local"===n(this).data("sek-reset-scope"))try{i.czr_sektions.resetCollectionSetting()}catch(e){i.errare("reset_button => error when firing resetCollectionSetting() on click event",e)}})}})}(wp.customize,jQuery,_),function(t,o,r){t.czrModuleMap=t.czrModuleMap||{},o.extend(t.czrModuleMap,{sek_content_type_switcher_module:{crud:!1,name:t.czr_sektions.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_content_type_switcher_module"))}}),t.czrInputMap=t.czrInputMap||{},o.extend(t.czrInputMap,{content_type_switcher:function(e){var i,n=this;if(!t.section.has(n.module.control.section()))throw new Error("api.czrInputMap.content_type_switcher => section not registered");i=t.section(n.module.control.section()),n.container.on("click","[data-sek-content-type]",function(e){e.preventDefault(),n.container.find("[data-sek-content-type]").removeClass("is-selected").attr("aria-pressed",!1),o(this).addClass("is-selected").attr("aria-pressed",!0),n.contentType(o(this).data("sek-content-type"))}),n.contentType=new t.Value,n.contentType.bind(function(t){n.container.find('[data-sek-content-type="'+n.contentType()+'"]').trigger("click"),r.each(i.controls(),function(e){r.isUndefined(e.content_type)||e.active(t===e.content_type)})}),n.contentType(n()),i.container.first().bind("sek-content-type-refreshed",function(e,t){n.contentType(t.content_type||"section")})}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{},e.extend(t.czrModuleMap,{sek_module_picker_module:{crud:!1,name:t.czr_sektions.getRegisteredModuleProperty("sek_module_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_module_picker_module"))}}),t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{module_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"module",input_container:this.container})}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{},i.each(["sek_intro_sec_picker_module","sek_features_sec_picker_module","sek_contact_sec_picker_module","sek_column_layouts_sec_picker_module"],function(e){t.czrModuleMap[e]={crud:!1,name:t.czr_sektions.getRegisteredModuleProperty(e,"name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData(e))}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({initialize:function(e,t){var i=this;r.CZRInput.prototype.initialize.call(i,e,t),i.isReady.then(function(){i.renderUserSavedSections(),r.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:i.container})})},renderUserSavedSections:function(){var i="",n=this.container.find(".sek-content-type-wrapper"),o="";s.each(sektionsLocalizedData.userSavedSektions,function(e,t){try{o=function(e){var t=e.getDate(),i=e.getMonth(),n=e.getFullYear();e.getHours(),e.getMinutes(),e.getSeconds();return[t,["January","February","March","April","May","June","July","August","September","October","November","December"][i],n].join(" ")}(new Date(e.creation_date.replace(/-/g,"/")))}catch(e){r.errare("::renderUserSavedSections => formatDate => error",e)}i=['<div class="sek-user-section-wrapper">','<div class="sek-saved-section-title"><i class="sek-remove-user-section far fa-trash-alt"></i>'+e.title+"</div>",'<div draggable="true" data-sek-is-user-section="true" data-sek-section-type="'+e.type+'" data-sek-content-type="preset_section" data-sek-content-id="'+t+'" style="" title="'+e.title+'">','<div class="sek-overlay"></div>','<div class="sek-saved-section-description">'+e.description+"</div>",s.isEmpty(o)?"":'<div class="sek-saved-section-date"><i class="far fa-calendar-alt"></i> @missi18n Created : '+o+"</div>","</div>","</div>"].join(""),n.append(i)})}}),r.CZRDynModule.prototype.initialize.call(this,e,t)}};r.czrModuleMap=r.czrModuleMap||{},sektionsLocalizedData.isSavedSectionEnabled&&e.extend(r.czrModuleMap,{sek_my_sections_sec_picker_module:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("sek_my_sections_sec_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_my_sections_sec_picker_module")}})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{section_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:this.container})}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_anchor_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_anchor_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_anchor_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=o.CZRItem.extend(i.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"bg-apply-overlay":r.each(["bg-color-overlay","bg-opacity-overlay"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return!r.isEmpty(n.czr_Input("bg-image")()+"")&&o.CZR_Helpers.isChecked(t())})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_bg_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_bg_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_bg_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=o.CZRItem.extend(i.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_border_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_border_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_border_module"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"use-custom-breakpoint":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"custom-breakpoint",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_breakpoint_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_breakpoint_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_breakpoint_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"height-type":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"custom-height",function(){return"custom"===e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_height_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_height_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_height_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_visibility_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_visibility_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_visibility_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"width-type":t.call(e,"custom-width",function(){return"custom"===e()}),t.call(e,"h_alignment",function(){return"custom"===e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_width_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_width_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_module"))}})}(wp.customize,jQuery,_),function(n,e,i){var t={initialize:function(e,t){var i=this;i.inputConstructor=n.CZRInput.extend(i.CZRInputMths||{}),i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputMths:{setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!i.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_width_section:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_width_section","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_section"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_spacing_module:{mthds:"",crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_spacing_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_spacing_module"))}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_template:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_template","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:t.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_template"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_custom_css:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_custom_css","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_custom_css"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_reset"))}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_performances:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:t.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_performances"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(e){switch(e.id){case"use-custom-breakpoint":(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(e,"global-custom-breakpoint",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_breakpoint:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_breakpoint","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_breakpoint"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":t.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":t.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_performances"))}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){var i=this;i.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=r.CZRItem.extend(i.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(i,e,t),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(i){switch(i.id){case"img":o.call(i,"img-size",function(){return!s.isEmpty(i()+"")&&s.isNumber(i())});break;case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e="no-link"!==i()}return e})}catch(e){r.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"border-type":s.each(["borders"],function(e){try{o.call(i,e,function(){return"none"!==i()})}catch(e){r.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"use_custom_width":s.each(["custom_width"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_image_main_settings_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_image_main_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_main_settings_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_image_borders_corners_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_image_borders_corners_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_borders_corners_child")}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){this.inputConstructor=n.CZRInput.extend(this.CZRTextEditorInputMths||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRTextEditorInputMths:{initialize:function(e,t){var i=this;"tiny_mce_editor"==i.type&&i.isReady.then(function(){i.container.find('[data-czr-action="open-tinymce-editor"]').trigger("click")}),n.CZRInput.prototype.initialize.call(i,e,t)},setupSelect:function(){n.czr_sektions.setupSelectInput.call(this)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_tinymce_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_tinymce_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_tinymce_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_html_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_html_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_html_module")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRFPItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRFPItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"img-type":s.each(["img-id","img-size"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"img-id":e="custom"===i();break;default:e="none"!==i()}return e})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"content-type":s.each(["content-custom-text"],function(e){try{o.call(i,e,function(){return"custom"===i()})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"btn-display":s.each(["btn-custom-text"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_featured_pages_module:{mthds:t,crud:r.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","is_crud"),hasPreItem:!1,refresh_on_add_item:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_featured_pages_module")}})}(wp.customize,jQuery,_),function(s,e,a){var t={initialize:function(e,t){var i=this;i.inputConstructor=s.CZRInput.extend({setupSelect:function(){s.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=s.CZRItem.extend(i.CZRIconItemConstructor||{}),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),s.CZRDynModule.prototype.initialize.call(i,e,t)},CZRIconItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!a.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){s.errorLog("item.setInputVisibilityDeps() : "+e)}}),s.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module,r=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(i){switch(i.id){case"link-to":a.each(["link-pick-url","link-custom-url","link-target"],function(t){try{r.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){s.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":r.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"use_custom_color_on_hover":a.each(["color_hover"],function(e){try{r.call(i,e,function(){return i()})}catch(e){s.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};s.czrModuleMap=s.czrModuleMap||{},e.extend(s.czrModuleMap,{czr_icon_settings_child:{mthds:t,crud:!1,name:s.czr_sektions.getRegisteredModuleProperty("czr_icon_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:s.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_settings_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_icon_spacing_border_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_icon_spacing_border_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_spacing_border_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRHeadingInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRHeadingInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_heading_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_heading_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRHeadingInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRHeadingInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_heading_spacing_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_heading_spacing_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_spacing_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend(this.CZRDividerInputMths||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRDividerInputMths:{setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_divider_module:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_divider_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_divider_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_spacer_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_spacer_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_spacer_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_map_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_map_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_map_module")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRButtonItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(t){switch(t.id){case"quote_design":r.each(["border_width_css","border_color_css"],function(e){try{i.call(t,e,function(){return"border-before"==t()})}catch(e){o.errare("Quote module => error in setInputVisibilityDeps",e)}}),r.each(["icon_color_css","icon_size_css"],function(e){try{i.call(t,e,function(){return"quote-icon-before"==t()})}catch(e){o.errare("Quote module => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_quote_design_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_quote_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_design_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_quote_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_quote_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_quote_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_cite_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_cite_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_cite_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){var i=this;i.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),i.itemConstructor=o.CZRItem.extend(i.CZRButtonItemConstructor||{}),i.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),o.CZRDynModule.prototype.initialize.call(i,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,e=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{e.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){o.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":e.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"icon":e.call(i,"icon-side",function(){return!r.isEmpty(i())})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_btn_content_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_btn_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_content_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRButtonItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"border-type":s.each(["borders"],function(e){try{o.call(t,e,function(){return"none"!==t()})}catch(e){r.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_btn_design_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_btn_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_design_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(t){switch(t.id){case"show_name_field":r.each(["name_field_label","name_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_subject_field":r.each(["subject_field_label","subject_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_message_field":r.each(["message_field_label","message_field_required"],function(e){try{i.call(t,e,function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":try{i.call(t,"link-custom-url",function(){return t()})}catch(e){o.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_simple_form_fields_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fields_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fields_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.inputConstructor=o.CZRInput.extend({setupSelect:function(){o.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module;n.czr_Input.each(function(t){switch(t.id){case"border-type":r.each(["borders"],function(e){try{(function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})}).call(t,e,function(){return"none"!==t()})}catch(e){o.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_simple_form_design_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_simple_form_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_design_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,i=n.module,o=function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})};n.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"border-type":s.each(["borders"],function(e){try{o.call(t,e,function(){return"none"!==t()})}catch(e){r.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(t,e,function(){return t()})}catch(e){r.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_simple_form_button_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_simple_form_button_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_button_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.inputConstructor=i.CZRInput.extend({setupSelect:function(){i.czr_sektions.setupSelectInput.call(this)}}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_simple_form_fonts_child:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_submission_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_submission_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_submission_child")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.inputConstructor=r.CZRInput.extend({setupSelect:function(){r.czr_sektions.setupSelectInput.call(this)}}),this.itemConstructor=r.CZRItem.extend(this.CZRButtonItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=(n.module,function(t,i){n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})});n.czr_Input.each(function(i){switch(i.id){case"use_custom_bg_color_on_hover":s.each(["bg_color_hover"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":s.each(["push_effect"],function(e){try{o.call(i,e,function(){return i()})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){r.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_font_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_font_child","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_font_child")}})}(wp.customize,jQuery,_);
|
assets/czr/sek/js/ccat-sek-preview.js
CHANGED
@@ -1118,8 +1118,7 @@ var SekPreviewPrototype = SekPreviewPrototype || {};
|
|
1118 |
}
|
1119 |
|
1120 |
$placeHolder.remove();
|
1121 |
-
$( '[data-sek-id="' + params.apiParams.id + '"]' )
|
1122 |
-
.trigger( 'sek-level-refreshed', { level : params.apiParams.level, id : params.apiParams.id } );
|
1123 |
});
|
1124 |
},
|
1125 |
'sek-move' : function( params ) {
|
1118 |
}
|
1119 |
|
1120 |
$placeHolder.remove();
|
1121 |
+
$( '[data-sek-id="' + params.apiParams.id + '"]' ).trigger( 'sek-level-refreshed', { level : params.apiParams.level, id : params.apiParams.id } );
|
|
|
1122 |
});
|
1123 |
},
|
1124 |
'sek-move' : function( params ) {
|
assets/front/css/sek-base-rtl.css
CHANGED
@@ -1,1062 +1,1062 @@
|
|
1 |
-
.sektion-wrapper *,
|
2 |
-
.sektion-wrapper *::before,
|
3 |
-
.sektion-wrapper *::after {
|
4 |
-
box-sizing: border-box;
|
5 |
-
}
|
6 |
-
|
7 |
-
.sektion-wrapper img {
|
8 |
-
max-width: 100%;
|
9 |
-
vertical-align: middle;
|
10 |
-
border-style: none;
|
11 |
-
}
|
12 |
-
|
13 |
-
.sektion-wrapper svg:not(:root) {
|
14 |
-
overflow: hidden;
|
15 |
-
}
|
16 |
-
|
17 |
-
.sek-service-font, .sek-module-inner .sek-btn {
|
18 |
-
font-family: sans-serif;
|
19 |
-
letter-spacing: 1px;
|
20 |
-
}
|
21 |
-
|
22 |
-
.sek-container {
|
23 |
-
width: 100%;
|
24 |
-
padding-right: 10px;
|
25 |
-
padding-left: 10px;
|
26 |
-
margin-right: auto;
|
27 |
-
margin-left: auto;
|
28 |
-
}
|
29 |
-
|
30 |
-
@media (min-width: 576px) {
|
31 |
-
.sek-container {
|
32 |
-
max-width: 540px;
|
33 |
-
}
|
34 |
-
}
|
35 |
-
|
36 |
-
@media (min-width: 768px) {
|
37 |
-
.sek-container {
|
38 |
-
max-width: 720px;
|
39 |
-
}
|
40 |
-
}
|
41 |
-
|
42 |
-
@media (min-width: 992px) {
|
43 |
-
.sek-container {
|
44 |
-
max-width: 960px;
|
45 |
-
}
|
46 |
-
}
|
47 |
-
|
48 |
-
@media (min-width: 1200px) {
|
49 |
-
.sek-container {
|
50 |
-
max-width: 1140px;
|
51 |
-
}
|
52 |
-
}
|
53 |
-
|
54 |
-
.sek-container-fluid {
|
55 |
-
width: 100%;
|
56 |
-
padding-right: 10px;
|
57 |
-
padding-left: 10px;
|
58 |
-
margin-right: auto;
|
59 |
-
margin-left: auto;
|
60 |
-
}
|
61 |
-
|
62 |
-
.sek-row {
|
63 |
-
display: -ms-flexbox;
|
64 |
-
display: flex;
|
65 |
-
-ms-flex-wrap: wrap;
|
66 |
-
flex-wrap: wrap;
|
67 |
-
margin-right: -10px;
|
68 |
-
margin-left: -10px;
|
69 |
-
}
|
70 |
-
|
71 |
-
.sek-container-no-padding {
|
72 |
-
padding-right: 0;
|
73 |
-
padding-left: 0;
|
74 |
-
overflow-x: hidden;
|
75 |
-
}
|
76 |
-
|
77 |
-
.sek-no-gutters {
|
78 |
-
margin-right: 0;
|
79 |
-
margin-left: 0;
|
80 |
-
}
|
81 |
-
|
82 |
-
.sek-no-gutters > .sek-col,
|
83 |
-
.sek-no-gutters > [class*="sek-col-"] {
|
84 |
-
padding-right: 0;
|
85 |
-
padding-left: 0;
|
86 |
-
}
|
87 |
-
|
88 |
-
.sek-col-8, .sek-col-9, .sek-col-10, .sek-col-11, .sek-col-12, .sek-col-14, .sek-col-16, .sek-col-20, .sek-col-25, .sek-col-30, .sek-col-33, .sek-col-40, .sek-col-50, .sek-col-60, .sek-col-66, .sek-col-70, .sek-col-75, .sek-col-80, .sek-col-83, .sek-col-90, .sek-col-100, .sek-col-base,
|
89 |
-
.sek-col,
|
90 |
-
.sek-col-auto {
|
91 |
-
position: relative;
|
92 |
-
width: 100%;
|
93 |
-
min-height: 1px;
|
94 |
-
padding-right: 10px;
|
95 |
-
padding-left: 10px;
|
96 |
-
}
|
97 |
-
|
98 |
-
.sek-col-base {
|
99 |
-
-ms-flex: 0 0 100%;
|
100 |
-
flex: 0 0 100%;
|
101 |
-
max-width: 100%;
|
102 |
-
}
|
103 |
-
|
104 |
-
.sek-col {
|
105 |
-
-ms-flex-preferred-size: 0;
|
106 |
-
flex-basis: 0;
|
107 |
-
-ms-flex-positive: 1;
|
108 |
-
flex-grow: 1;
|
109 |
-
max-width: 100%;
|
110 |
-
}
|
111 |
-
|
112 |
-
.sek-col-auto {
|
113 |
-
-ms-flex: 0 0 auto;
|
114 |
-
flex: 0 0 auto;
|
115 |
-
width: auto;
|
116 |
-
max-width: 100%;
|
117 |
-
}
|
118 |
-
|
119 |
-
@media (min-width: 768px) {
|
120 |
-
.sek-col-8 {
|
121 |
-
-ms-flex: 0 0 8.333%;
|
122 |
-
flex: 0 0 8.333%;
|
123 |
-
max-width: 8.333%;
|
124 |
-
}
|
125 |
-
.sek-col-9 {
|
126 |
-
-ms-flex: 0 0 9.090909%;
|
127 |
-
flex: 0 0 9.090909%;
|
128 |
-
max-width: 9.090909%;
|
129 |
-
}
|
130 |
-
.sek-col-10 {
|
131 |
-
-ms-flex: 0 0 10%;
|
132 |
-
flex: 0 0 10%;
|
133 |
-
max-width: 10%;
|
134 |
-
}
|
135 |
-
.sek-col-11 {
|
136 |
-
-ms-flex: 0 0 11.111%;
|
137 |
-
flex: 0 0 11.111%;
|
138 |
-
max-width: 11.111%;
|
139 |
-
}
|
140 |
-
.sek-col-12 {
|
141 |
-
-ms-flex: 0 0 12.5%;
|
142 |
-
flex: 0 0 12.5%;
|
143 |
-
max-width: 12.5%;
|
144 |
-
}
|
145 |
-
.sek-col-14 {
|
146 |
-
-ms-flex: 0 0 14.285%;
|
147 |
-
flex: 0 0 14.285%;
|
148 |
-
max-width: 14.285%;
|
149 |
-
}
|
150 |
-
.sek-col-16 {
|
151 |
-
-ms-flex: 0 0 16.666%;
|
152 |
-
flex: 0 0 16.666%;
|
153 |
-
max-width: 16.666%;
|
154 |
-
}
|
155 |
-
.sek-col-20 {
|
156 |
-
-ms-flex: 0 0 20%;
|
157 |
-
flex: 0 0 20%;
|
158 |
-
max-width: 20%;
|
159 |
-
}
|
160 |
-
.sek-col-25 {
|
161 |
-
-ms-flex: 0 0 25%;
|
162 |
-
flex: 0 0 25%;
|
163 |
-
max-width: 25%;
|
164 |
-
}
|
165 |
-
.sek-col-30 {
|
166 |
-
-ms-flex: 0 0 30%;
|
167 |
-
flex: 0 0 30%;
|
168 |
-
max-width: 30%;
|
169 |
-
}
|
170 |
-
.sek-col-33 {
|
171 |
-
-ms-flex: 0 0 33.333%;
|
172 |
-
flex: 0 0 33.333%;
|
173 |
-
max-width: 33.333%;
|
174 |
-
}
|
175 |
-
.sek-col-40 {
|
176 |
-
-ms-flex: 0 0 40%;
|
177 |
-
flex: 0 0 40%;
|
178 |
-
max-width: 40%;
|
179 |
-
}
|
180 |
-
.sek-col-50 {
|
181 |
-
-ms-flex: 0 0 50%;
|
182 |
-
flex: 0 0 50%;
|
183 |
-
max-width: 50%;
|
184 |
-
}
|
185 |
-
.sek-col-60 {
|
186 |
-
-ms-flex: 0 0 60%;
|
187 |
-
flex: 0 0 60%;
|
188 |
-
max-width: 60%;
|
189 |
-
}
|
190 |
-
.sek-col-66 {
|
191 |
-
-ms-flex: 0 0 66.666%;
|
192 |
-
flex: 0 0 66.666%;
|
193 |
-
max-width: 66.666%;
|
194 |
-
}
|
195 |
-
.sek-col-70 {
|
196 |
-
-ms-flex: 0 0 70%;
|
197 |
-
flex: 0 0 70%;
|
198 |
-
max-width: 70%;
|
199 |
-
}
|
200 |
-
.sek-col-75 {
|
201 |
-
-ms-flex: 0 0 75%;
|
202 |
-
flex: 0 0 75%;
|
203 |
-
max-width: 75%;
|
204 |
-
}
|
205 |
-
.sek-col-80 {
|
206 |
-
-ms-flex: 0 0 80%;
|
207 |
-
flex: 0 0 80%;
|
208 |
-
max-width: 80%;
|
209 |
-
}
|
210 |
-
.sek-col-83 {
|
211 |
-
-ms-flex: 0 0 83.333%;
|
212 |
-
flex: 0 0 83.333%;
|
213 |
-
max-width: 83.333%;
|
214 |
-
}
|
215 |
-
.sek-col-90 {
|
216 |
-
-ms-flex: 0 0 90%;
|
217 |
-
flex: 0 0 90%;
|
218 |
-
max-width: 90%;
|
219 |
-
}
|
220 |
-
.sek-col-100 {
|
221 |
-
-ms-flex: 0 0 100%;
|
222 |
-
flex: 0 0 100%;
|
223 |
-
max-width: 100%;
|
224 |
-
}
|
225 |
-
.sek-order-first {
|
226 |
-
-ms-flex-order: -1;
|
227 |
-
order: -1;
|
228 |
-
}
|
229 |
-
.sek-order-last {
|
230 |
-
-ms-flex-order: 13;
|
231 |
-
order: 13;
|
232 |
-
}
|
233 |
-
.sek-order-0 {
|
234 |
-
-ms-flex-order: 0;
|
235 |
-
order: 0;
|
236 |
-
}
|
237 |
-
.sek-order-1 {
|
238 |
-
-ms-flex-order: 1;
|
239 |
-
order: 1;
|
240 |
-
}
|
241 |
-
.sek-order-2 {
|
242 |
-
-ms-flex-order: 2;
|
243 |
-
order: 2;
|
244 |
-
}
|
245 |
-
.sek-order-3 {
|
246 |
-
-ms-flex-order: 3;
|
247 |
-
order: 3;
|
248 |
-
}
|
249 |
-
.sek-order-4 {
|
250 |
-
-ms-flex-order: 4;
|
251 |
-
order: 4;
|
252 |
-
}
|
253 |
-
.sek-order-5 {
|
254 |
-
-ms-flex-order: 5;
|
255 |
-
order: 5;
|
256 |
-
}
|
257 |
-
.sek-order-6 {
|
258 |
-
-ms-flex-order: 6;
|
259 |
-
order: 6;
|
260 |
-
}
|
261 |
-
.sek-order-7 {
|
262 |
-
-ms-flex-order: 7;
|
263 |
-
order: 7;
|
264 |
-
}
|
265 |
-
.sek-order-8 {
|
266 |
-
-ms-flex-order: 8;
|
267 |
-
order: 8;
|
268 |
-
}
|
269 |
-
.sek-order-9 {
|
270 |
-
-ms-flex-order: 9;
|
271 |
-
order: 9;
|
272 |
-
}
|
273 |
-
.sek-order-10 {
|
274 |
-
-ms-flex-order: 10;
|
275 |
-
order: 10;
|
276 |
-
}
|
277 |
-
.sek-order-11 {
|
278 |
-
-ms-flex-order: 11;
|
279 |
-
order: 11;
|
280 |
-
}
|
281 |
-
.sek-order-12 {
|
282 |
-
-ms-flex-order: 12;
|
283 |
-
order: 12;
|
284 |
-
}
|
285 |
-
}
|
286 |
-
|
287 |
-
.sek-clearfix::after {
|
288 |
-
display: block;
|
289 |
-
clear: both;
|
290 |
-
content: "";
|
291 |
-
}
|
292 |
-
|
293 |
-
.sek-sr-only {
|
294 |
-
position: absolute;
|
295 |
-
width: 1px;
|
296 |
-
height: 1px;
|
297 |
-
padding: 0;
|
298 |
-
overflow: hidden;
|
299 |
-
clip: rect(0, 0, 0, 0);
|
300 |
-
white-space: nowrap;
|
301 |
-
border: 0;
|
302 |
-
}
|
303 |
-
|
304 |
-
.sek-sr-only-focusable:active, .sek-sr-only-focusable:focus {
|
305 |
-
position: static;
|
306 |
-
width: auto;
|
307 |
-
height: auto;
|
308 |
-
overflow: visible;
|
309 |
-
clip: auto;
|
310 |
-
white-space: normal;
|
311 |
-
}
|
312 |
-
|
313 |
-
.sek-embed {
|
314 |
-
position: relative;
|
315 |
-
}
|
316 |
-
|
317 |
-
.sek-embed::before {
|
318 |
-
display: block;
|
319 |
-
content: '';
|
320 |
-
}
|
321 |
-
|
322 |
-
.sek-embed .sek-embed-inner,
|
323 |
-
.sek-embed iframe {
|
324 |
-
position: absolute;
|
325 |
-
width: 100%;
|
326 |
-
height: 100%;
|
327 |
-
top: 0;
|
328 |
-
left: 0;
|
329 |
-
}
|
330 |
-
|
331 |
-
.sektion-wrapper {
|
332 |
-
word-wrap: break-word;
|
333 |
-
}
|
334 |
-
|
335 |
-
.sek-module .sek-module-inner ul {
|
336 |
-
list-style: disc;
|
337 |
-
}
|
338 |
-
|
339 |
-
.sek-module .sek-module-inner ol {
|
340 |
-
list-style: decimal;
|
341 |
-
}
|
342 |
-
|
343 |
-
.sek-module .sek-module-inner ol > li::before {
|
344 |
-
content: none;
|
345 |
-
}
|
346 |
-
|
347 |
-
.sek-module .sek-module-inner ul, .sek-module .sek-module-inner ol {
|
348 |
-
padding: 0;
|
349 |
-
line-height: 1.5;
|
350 |
-
margin: 0 1.5rem 1.5rem 0;
|
351 |
-
}
|
352 |
-
|
353 |
-
.sek-module .sek-module-inner ul > li, .sek-module .sek-module-inner ol > li {
|
354 |
-
padding: 0;
|
355 |
-
}
|
356 |
-
|
357 |
-
.sek-module .sek-module-inner li > ul, .sek-module .sek-module-inner li > ol {
|
358 |
-
margin-bottom: 0;
|
359 |
-
}
|
360 |
-
|
361 |
-
.sek-module-inner .sek-btn {
|
362 |
-
display: inline-block;
|
363 |
-
font-weight: normal;
|
364 |
-
line-height: 1.25em;
|
365 |
-
text-align: center;
|
366 |
-
/*white-space: nowrap;*/
|
367 |
-
white-space: normal;
|
368 |
-
word-break: break-all;
|
369 |
-
vertical-align: middle;
|
370 |
-
-webkit-user-select: none;
|
371 |
-
-moz-user-select: none;
|
372 |
-
-ms-user-select: none;
|
373 |
-
user-select: none;
|
374 |
-
border: 1px solid transparent;
|
375 |
-
padding: 0.5em 1em;
|
376 |
-
border-radius: 2px;
|
377 |
-
border-width: 2px;
|
378 |
-
border-style: solid;
|
379 |
-
font-size: 1em;
|
380 |
-
cursor: pointer;
|
381 |
-
text-decoration: none;
|
382 |
-
text-transform: none;
|
383 |
-
transition: all 0.2s ease-in-out;
|
384 |
-
}
|
385 |
-
|
386 |
-
.sek-module-inner .sek-btn:focus, .sek-module-inner .sek-btn:hover {
|
387 |
-
text-decoration: none;
|
388 |
-
}
|
389 |
-
|
390 |
-
.sek-module-inner .sek-btn:focus, .sek-module-inner .focus.sek-btn {
|
391 |
-
outline: 0;
|
392 |
-
box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
|
393 |
-
}
|
394 |
-
|
395 |
-
.sek-module-inner .disabled.sek-btn, .sek-module-inner .sek-btn:disabled {
|
396 |
-
cursor: not-allowed;
|
397 |
-
opacity: .65;
|
398 |
-
box-shadow: none;
|
399 |
-
}
|
400 |
-
|
401 |
-
.sek-module-inner .sek-btn:active, .sek-module-inner .active.sek-btn {
|
402 |
-
background-image: none;
|
403 |
-
box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
|
404 |
-
}
|
405 |
-
|
406 |
-
a.sek-btn.disabled,
|
407 |
-
fieldset[disabled] a.sek-btn {
|
408 |
-
pointer-events: none;
|
409 |
-
}
|
410 |
-
|
411 |
-
.sektion-wrapper button,
|
412 |
-
.sektion-wrapper [type="button"],
|
413 |
-
.sektion-wrapper [type="reset"],
|
414 |
-
.sektion-wrapper [type="submit"] {
|
415 |
-
-webkit-appearance: button;
|
416 |
-
}
|
417 |
-
|
418 |
-
.sektion-wrapper button::-moz-focus-inner,
|
419 |
-
.sektion-wrapper [type="button"]::-moz-focus-inner,
|
420 |
-
.sektion-wrapper [type="reset"]::-moz-focus-inner,
|
421 |
-
.sektion-wrapper [type="submit"]::-moz-focus-inner {
|
422 |
-
padding: 0;
|
423 |
-
border-style: none;
|
424 |
-
}
|
425 |
-
|
426 |
-
.sektion-wrapper button::-moz-focus-inner .sek-btn,
|
427 |
-
.sektion-wrapper [type="button"]::-moz-focus-inner .sek-btn,
|
428 |
-
.sektion-wrapper [type="reset"]::-moz-focus-inner .sek-btn,
|
429 |
-
.sektion-wrapper [type="submit"]::-moz-focus-inner .sek-btn {
|
430 |
-
padding: 0.5em 1em;
|
431 |
-
border-style: solid;
|
432 |
-
}
|
433 |
-
|
434 |
-
button.sek-btn,
|
435 |
-
[type="button"].sek-btn,
|
436 |
-
[type="reset"].sek-btn,
|
437 |
-
[type="submit"].sek-btn {
|
438 |
-
-wekbit-appearance: none !important;
|
439 |
-
background: transparent;
|
440 |
-
}
|
441 |
-
|
442 |
-
[class*=sek__r-w] {
|
443 |
-
position: relative;
|
444 |
-
display: block;
|
445 |
-
padding: 0;
|
446 |
-
overflow: hidden;
|
447 |
-
-webkit-backface-visibility: hidden;
|
448 |
-
backface-visibility: hidden;
|
449 |
-
-webkit-perspective: 1000px;
|
450 |
-
perspective: 1000px;
|
451 |
-
-webkit-transform-style: preserve-3d;
|
452 |
-
transform-style: preserve-3d;
|
453 |
-
}
|
454 |
-
|
455 |
-
[class*=sek__r-w]::before {
|
456 |
-
display: block;
|
457 |
-
content: "";
|
458 |
-
}
|
459 |
-
|
460 |
-
.sek__r-wFP::before {
|
461 |
-
padding-top: 92.592593%;
|
462 |
-
}
|
463 |
-
|
464 |
-
.sek-fp-widget {
|
465 |
-
text-align: center;
|
466 |
-
margin: auto !important;
|
467 |
-
}
|
468 |
-
|
469 |
-
.sek-fp-widget .sek-fp-button-holder, .sek-fp-widget .sek-fp-title, .sek-fp-widget .sek-fp-text {
|
470 |
-
width: 90%;
|
471 |
-
margin-left: auto;
|
472 |
-
margin-right: auto;
|
473 |
-
}
|
474 |
-
|
475 |
-
.sek-fp-widget .sek-fp-title {
|
476 |
-
color: #5a5a5a;
|
477 |
-
line-height: 1.25em;
|
478 |
-
margin-top: .625em;
|
479 |
-
margin-bottom: 1.25em;
|
480 |
-
word-break: break-word;
|
481 |
-
position: relative;
|
482 |
-
font-weight: 500;
|
483 |
-
font-size: 1.44em;
|
484 |
-
}
|
485 |
-
|
486 |
-
.sek-fp-widget .sek-fp-title::after {
|
487 |
-
content: "";
|
488 |
-
position: absolute;
|
489 |
-
width: 1.25em;
|
490 |
-
background: #5a5a5a;
|
491 |
-
height: 2px;
|
492 |
-
top: 100%;
|
493 |
-
left: 0;
|
494 |
-
right: 0;
|
495 |
-
margin: .3125em auto 0;
|
496 |
-
transition: all .6s ease;
|
497 |
-
}
|
498 |
-
|
499 |
-
.sek-link-mask-p:hover .sek-fp-title::after {
|
500 |
-
width: 2.5em;
|
501 |
-
}
|
502 |
-
|
503 |
-
.sek-fp-widget .sek-fp-text {
|
504 |
-
color: #777;
|
505 |
-
line-height: 1.55em;
|
506 |
-
margin: 1.5em auto;
|
507 |
-
word-wrap: break-word;
|
508 |
-
}
|
509 |
-
|
510 |
-
.sek-fp-widget .sek-fp-text > a {
|
511 |
-
padding: 0 !important;
|
512 |
-
display: inline !important;
|
513 |
-
line-height: 1em !important;
|
514 |
-
}
|
515 |
-
|
516 |
-
.sek-fp-widget .sek-fp-btn-link {
|
517 |
-
text-transform: uppercase;
|
518 |
-
margin-bottom: 1.25em;
|
519 |
-
white-space: normal;
|
520 |
-
word-break: break-word;
|
521 |
-
outline: 0;
|
522 |
-
background-color: #3b3b3b;
|
523 |
-
color: #fff;
|
524 |
-
border-color: #3b3b3b;
|
525 |
-
font-size: .75em;
|
526 |
-
line-height: 2.5em;
|
527 |
-
padding: 0 2.5em;
|
528 |
-
}
|
529 |
-
|
530 |
-
.sek-fp-widget .sek-fp-btn-link:hover, .sek-fp-widget .sek-fp-btn-link:focus, .sek-fp-widget .sek-fp-btn-link:active {
|
531 |
-
color: #3b3b3b;
|
532 |
-
background: transparent;
|
533 |
-
}
|
534 |
-
|
535 |
-
.sek-fp-widget .sek-fp-thumb-wrapper {
|
536 |
-
max-width: 270px;
|
537 |
-
margin: 8px auto;
|
538 |
-
}
|
539 |
-
|
540 |
-
.sek-fp-widget img {
|
541 |
-
-webkit-transform: translate3d(0, 0, 0);
|
542 |
-
transform: translate3d(0, 0, 0);
|
543 |
-
-ms-transform: translate(0, 0);
|
544 |
-
-webkit-transform-style: preserve-3d;
|
545 |
-
transform-style: preserve-3d;
|
546 |
-
-webkit-backface-visibility: hidden;
|
547 |
-
backface-visibility: hidden;
|
548 |
-
position: absolute;
|
549 |
-
top: 0;
|
550 |
-
left: 0;
|
551 |
-
z-index: 0;
|
552 |
-
}
|
553 |
-
|
554 |
-
.js-center-images-disabled .sek-fp-widget img {
|
555 |
-
-webkit-transform: translate(-50%, -50%);
|
556 |
-
transform: translate(-50%, -50%);
|
557 |
-
-webkit-transform: translate3d(-50%, -50%, 0);
|
558 |
-
transform: translate3d(-50%, -50%, 0);
|
559 |
-
-ms-transform: translate(-50%, -50%);
|
560 |
-
top: 50%;
|
561 |
-
left: 50%;
|
562 |
-
max-width: 100%;
|
563 |
-
}
|
564 |
-
|
565 |
-
.sek-fp-widget img.h-centered {
|
566 |
-
width: auto !important;
|
567 |
-
max-width: none !important;
|
568 |
-
}
|
569 |
-
|
570 |
-
.sek-fp-widget img.v-centered {
|
571 |
-
height: auto !important;
|
572 |
-
max-height: none !important;
|
573 |
-
max-width: none !important;
|
574 |
-
vertical-align: top;
|
575 |
-
}
|
576 |
-
|
577 |
-
.sek-link-mask {
|
578 |
-
position: absolute;
|
579 |
-
border-color: white;
|
580 |
-
left: 0;
|
581 |
-
right: 0;
|
582 |
-
top: 0;
|
583 |
-
bottom: 0;
|
584 |
-
overflow: hidden;
|
585 |
-
z-index: 1;
|
586 |
-
}
|
587 |
-
|
588 |
-
.sek-link-mask.no-effect {
|
589 |
-
border: none;
|
590 |
-
}
|
591 |
-
|
592 |
-
.sek-link-mask::before {
|
593 |
-
position: absolute;
|
594 |
-
width: 63%;
|
595 |
-
padding-bottom: 63%;
|
596 |
-
content: '';
|
597 |
-
z-index: 1;
|
598 |
-
left: 50%;
|
599 |
-
top: 50%;
|
600 |
-
-webkit-transform: translate(-50%, -50%);
|
601 |
-
transform: translate(-50%, -50%);
|
602 |
-
-webkit-transform: translate3d(-50%, -50%, 0);
|
603 |
-
transform: translate3d(-50%, -50%, 0);
|
604 |
-
/* end of centering */
|
605 |
-
border: 150px solid;
|
606 |
-
border-color: inherit;
|
607 |
-
box-sizing: content-box;
|
608 |
-
transition: all .3s ease;
|
609 |
-
}
|
610 |
-
|
611 |
-
.round .sek-link-mask::before {
|
612 |
-
border-radius: 50%;
|
613 |
-
}
|
614 |
-
|
615 |
-
.sek-link-mask-p:hover .sek-link-mask::before {
|
616 |
-
-webkit-transform: translate(-50%, -50%) scale(1.4);
|
617 |
-
transform: translate(-50%, -50%) scale(1.4);
|
618 |
-
/* fallback for those browsers w/o translate3d transform property*/
|
619 |
-
-webkit-transform: translate3d(-50%, -50%, 0) scale(1.4);
|
620 |
-
transform: translate3d(-50%, -50%, 0) scale(1.4);
|
621 |
-
-ms-transform: translate(-50%, -50%) scale(1.4);
|
622 |
-
}
|
623 |
-
|
624 |
-
.no-cssanimations .sek-link-mask {
|
625 |
-
border: transparent;
|
626 |
-
}
|
627 |
-
|
628 |
-
.no-cssanimations .sek-fp-thumb-wrapper {
|
629 |
-
opacity: .7;
|
630 |
-
}
|
631 |
-
|
632 |
-
.no-cssanimations .sek-fp-thumb-wrapper:hover {
|
633 |
-
opacity: 1;
|
634 |
-
}
|
635 |
-
|
636 |
-
[data-sek-module-type="czr_image_module"] {
|
637 |
-
text-align: center;
|
638 |
-
}
|
639 |
-
|
640 |
-
[data-sek-module-type="czr_image_module"] img {
|
641 |
-
border: 0 solid #f2f2f2;
|
642 |
-
}
|
643 |
-
|
644 |
-
[data-sek-module-type="czr_image_module"] .box-shadow img {
|
645 |
-
box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;
|
646 |
-
}
|
647 |
-
|
648 |
-
.sek-hover-effect-opacity img:hover {
|
649 |
-
opacity: .7;
|
650 |
-
}
|
651 |
-
|
652 |
-
.sek-hover-effect-zoom-out img:hover {
|
653 |
-
-webkit-transform: scale(1.05);
|
654 |
-
transform: scale(1.05);
|
655 |
-
}
|
656 |
-
|
657 |
-
.sek-hover-effect-zoom-in img:hover {
|
658 |
-
-webkit-transform: scale(0.95);
|
659 |
-
transform: scale(0.95);
|
660 |
-
}
|
661 |
-
|
662 |
-
.sek-hover-effect-move-up img:hover {
|
663 |
-
-webkit-transform: translateY(-6px);
|
664 |
-
transform: translateY(-6px);
|
665 |
-
}
|
666 |
-
|
667 |
-
.sek-hover-effect-move-down img:hover {
|
668 |
-
-webkit-transform: translateY(6px);
|
669 |
-
transform: translateY(6px);
|
670 |
-
}
|
671 |
-
|
672 |
-
.sek-hover-effect-blur img:hover {
|
673 |
-
-webkit-filter: blur(2px);
|
674 |
-
filter: blur(2px);
|
675 |
-
}
|
676 |
-
|
677 |
-
.sek-hover-effect-grayscale img:hover {
|
678 |
-
-webkit-filter: grayscale(0%);
|
679 |
-
filter: grayscale(0%);
|
680 |
-
}
|
681 |
-
|
682 |
-
.sek-hover-effect-grayscale img:hover {
|
683 |
-
-webkit-filter: grayscale(100%);
|
684 |
-
filter: grayscale(100%);
|
685 |
-
-webkit-filter: gray;
|
686 |
-
filter: gray;
|
687 |
-
}
|
688 |
-
|
689 |
-
.sek-hover-effect-reverse-grayscale img {
|
690 |
-
-webkit-filter: grayscale(100%);
|
691 |
-
filter: grayscale(100%);
|
692 |
-
-webkit-filter: gray;
|
693 |
-
filter: gray;
|
694 |
-
}
|
695 |
-
|
696 |
-
.sek-hover-effect-reverse-grayscale img:hover {
|
697 |
-
-webkit-filter: grayscale(0%);
|
698 |
-
filter: grayscale(0%);
|
699 |
-
}
|
700 |
-
|
701 |
-
[data-sek-module-type="czr_divider_module"] {
|
702 |
-
text-align: center;
|
703 |
-
}
|
704 |
-
|
705 |
-
[data-sek-module-type="czr_divider_module"] .sek-module-inner {
|
706 |
-
font-size: 0;
|
707 |
-
line-height: 0;
|
708 |
-
}
|
709 |
-
|
710 |
-
.sek-divider {
|
711 |
-
border-top: 1px solid #5a5a5a;
|
712 |
-
display: inline-block;
|
713 |
-
width: 100%;
|
714 |
-
margin-top: 15px;
|
715 |
-
margin-bottom: 15px;
|
716 |
-
font-size: 1rem;
|
717 |
-
}
|
718 |
-
|
719 |
-
.sek-spacer {
|
720 |
-
height: 20px;
|
721 |
-
}
|
722 |
-
|
723 |
-
[data-sek-module-type="czr_icon_module"] {
|
724 |
-
text-align: center;
|
725 |
-
color: #5a5a5a;
|
726 |
-
font-size: 15px;
|
727 |
-
}
|
728 |
-
|
729 |
-
[data-sek-module-type="czr_icon_module"] a.sek-icon,
|
730 |
-
[data-sek-module-type="czr_icon_module"] a.sek-icon:hover,
|
731 |
-
[data-sek-module-type="czr_icon_module"] a.sek-icon:focus,
|
732 |
-
[data-sek-module-type="czr_icon_module"] a.sek-icon:active,
|
733 |
-
[data-sek-module-type="czr_icon_module"] a.sek-icon.active {
|
734 |
-
color: inherit;
|
735 |
-
}
|
736 |
-
|
737 |
-
[data-sek-module-type="czr_icon_module"] .box-shadow i {
|
738 |
-
box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;
|
739 |
-
}
|
740 |
-
|
741 |
-
[data-sek-module-type="czr_icon_module"] .sek-icon i {
|
742 |
-
webkit-transition: all 0.15s ease-in-out;
|
743 |
-
transition: all 0.15s ease-in-out;
|
744 |
-
}
|
745 |
-
|
746 |
-
[data-sek-module-type="czr_icon_module"] .sek-icon .fas, [data-sek-module-type="czr_icon_module"] .sek-icon .far, [data-sek-module-type="czr_icon_module"] .sek-icon .fab {
|
747 |
-
width: auto;
|
748 |
-
}
|
749 |
-
|
750 |
-
.sek-quote p {
|
751 |
-
margin: 0 0 .5em;
|
752 |
-
padding: 0;
|
753 |
-
}
|
754 |
-
|
755 |
-
.sek-quote .sek-cite {
|
756 |
-
font-size: 13px;
|
757 |
-
line-height: 1.5em;
|
758 |
-
font-style: inherit;
|
759 |
-
}
|
760 |
-
|
761 |
-
.sek-quote.sek-quote-design {
|
762 |
-
background: none;
|
763 |
-
font-style: inherit;
|
764 |
-
margin-right: 0;
|
765 |
-
margin-left: 0;
|
766 |
-
padding: 15px 0;
|
767 |
-
border: none;
|
768 |
-
}
|
769 |
-
|
770 |
-
.sek-quote.sek-quote-design > * {
|
771 |
-
padding: 0;
|
772 |
-
margin: 0;
|
773 |
-
}
|
774 |
-
|
775 |
-
.sek-quote.sek-quote-design::before, .sek-quote.sek-quote-design::after {
|
776 |
-
display: none;
|
777 |
-
}
|
778 |
-
|
779 |
-
.sek-quote.sek-quote-design .sek-cite {
|
780 |
-
padding: 0;
|
781 |
-
font-weight: normal;
|
782 |
-
}
|
783 |
-
|
784 |
-
.sek-quote.sek-quote-design .sek-cite::before {
|
785 |
-
display: none;
|
786 |
-
}
|
787 |
-
|
788 |
-
.sek-quote.sek-quote-design .sek-quote-inner {
|
789 |
-
color: inherit;
|
790 |
-
padding-right: calc(10px + 1.3em);
|
791 |
-
}
|
792 |
-
|
793 |
-
.sek-quote.sek-quote-design .sek-quote-content {
|
794 |
-
font-weight: 400;
|
795 |
-
font-size: 16px;
|
796 |
-
color: inherit;
|
797 |
-
}
|
798 |
-
|
799 |
-
.sek-quote.sek-quote-design.sek-border-before {
|
800 |
-
padding-right: 15px;
|
801 |
-
border-right: 5px solid;
|
802 |
-
}
|
803 |
-
|
804 |
-
.sek-quote.sek-quote-design.sek-border-before .sek-cite {
|
805 |
-
clear: both;
|
806 |
-
display: block;
|
807 |
-
margin-top: 1.5em;
|
808 |
-
position: relative;
|
809 |
-
padding-right: 2.2em;
|
810 |
-
padding-left: 0.25em;
|
811 |
-
}
|
812 |
-
|
813 |
-
.sek-quote.sek-quote-design.sek-border-before .sek-cite::before {
|
814 |
-
display: block;
|
815 |
-
content: '';
|
816 |
-
top: 1em;
|
817 |
-
position: absolute;
|
818 |
-
background: none;
|
819 |
-
width: 2em;
|
820 |
-
height: auto;
|
821 |
-
right: 0;
|
822 |
-
border-top: 1px solid;
|
823 |
-
}
|
824 |
-
|
825 |
-
.sek-quote.sek-quote-design.sek-quote-icon-before {
|
826 |
-
position: relative;
|
827 |
-
display: -ms-flexbox;
|
828 |
-
display: flex;
|
829 |
-
font-size: 32px;
|
830 |
-
}
|
831 |
-
|
832 |
-
.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content *:last-child {
|
833 |
-
margin-bottom: .75em;
|
834 |
-
}
|
835 |
-
|
836 |
-
.sek-quote.sek-quote-design.sek-quote-icon-before::before {
|
837 |
-
content: '\f10d';
|
838 |
-
color: #ccc;
|
839 |
-
font-weight: 900;
|
840 |
-
font-style: normal;
|
841 |
-
text-align: center;
|
842 |
-
font-family: 'Font Awesome 5 Free';
|
843 |
-
-moz-osx-font-smoothing: grayscale;
|
844 |
-
-webkit-font-smoothing: antialiased;
|
845 |
-
font-variant: normal;
|
846 |
-
text-rendering: auto;
|
847 |
-
display: -ms-flexbox;
|
848 |
-
display: flex;
|
849 |
-
position: static;
|
850 |
-
width: auto;
|
851 |
-
margin: 0;
|
852 |
-
right: 0;
|
853 |
-
position: absolute;
|
854 |
-
top: 0;
|
855 |
-
}
|
856 |
-
|
857 |
-
[data-sek-module-type="czr_button_module"] .sek-module-inner {
|
858 |
-
text-align: center;
|
859 |
-
}
|
860 |
-
|
861 |
-
.sek-module-inner .sek-btn {
|
862 |
-
background: #020202;
|
863 |
-
color: #ffffff;
|
864 |
-
padding: 0.5em 1em;
|
865 |
-
}
|
866 |
-
|
867 |
-
.sek-module-inner .sek-btn i {
|
868 |
-
margin: 0 8px;
|
869 |
-
}
|
870 |
-
|
871 |
-
.sek-btn-inner {
|
872 |
-
display: -ms-flexbox;
|
873 |
-
display: flex;
|
874 |
-
-ms-flex-align: center;
|
875 |
-
align-items: center;
|
876 |
-
}
|
877 |
-
|
878 |
-
.sek-btn.box-shadow {
|
879 |
-
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
|
880 |
-
}
|
881 |
-
|
882 |
-
.sek-btn.box-shadow.push-effect:active {
|
883 |
-
-webkit-transform: translateY(2px);
|
884 |
-
transform: translateY(2px);
|
885 |
-
}
|
886 |
-
|
887 |
-
.sek-simple-form-wrapper input[type=text], .sek-simple-form-wrapper textarea {
|
888 |
-
font-size: 16px;
|
889 |
-
width: 100% !important;
|
890 |
-
padding: 0.4em 0.5em;
|
891 |
-
border-radius: 3px;
|
892 |
-
box-sizing: border-box;
|
893 |
-
outline: none;
|
894 |
-
font-weight: normal;
|
895 |
-
max-width: 100%;
|
896 |
-
border: none;
|
897 |
-
color: #555555;
|
898 |
-
background-color: #ffffff;
|
899 |
-
}
|
900 |
-
|
901 |
-
.sek-simple-form-wrapper textarea {
|
902 |
-
height: auto;
|
903 |
-
max-height: 150px;
|
904 |
-
}
|
905 |
-
|
906 |
-
.sek-simple-form-wrapper .sek-form-field {
|
907 |
-
margin-bottom: 15px;
|
908 |
-
clear: both;
|
909 |
-
}
|
910 |
-
|
911 |
-
.sek-simple-form-wrapper label {
|
912 |
-
font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;
|
913 |
-
color: #444444;
|
914 |
-
font-weight: bold;
|
915 |
-
text-align: left;
|
916 |
-
margin: 0;
|
917 |
-
padding: 0 0 3px 0;
|
918 |
-
width: auto;
|
919 |
-
display: block;
|
920 |
-
}
|
921 |
-
|
922 |
-
.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type="text"], .sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea {
|
923 |
-
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
|
924 |
-
}
|
925 |
-
|
926 |
-
.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type="text"], .sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea {
|
927 |
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
928 |
-
}
|
929 |
-
|
930 |
-
.sek-simple-form-wrapper #sek-form-respond {
|
931 |
-
padding: 20px 0;
|
932 |
-
}
|
933 |
-
|
934 |
-
.sek-module-inner {
|
935 |
-
line-height: 1.5em;
|
936 |
-
}
|
937 |
-
|
938 |
-
.sek-module-inner h1, .sek-module-inner h2, .sek-module-inner h3, .sek-module-inner h4, .sek-module-inner h5, .sek-module-inner h6, .sek-module-inner p {
|
939 |
-
line-height: 1.5em;
|
940 |
-
}
|
941 |
-
|
942 |
-
.sek-module-inner p {
|
943 |
-
margin: 0 0 1em;
|
944 |
-
padding: 0;
|
945 |
-
}
|
946 |
-
|
947 |
-
/* make sure that the location level occupies 100% of the width */
|
948 |
-
[data-sek-level="location"] {
|
949 |
-
clear: both;
|
950 |
-
}
|
951 |
-
|
952 |
-
/* To make vertical alignment possible in sections */
|
953 |
-
.sek-section, .sek-column, .sek-module {
|
954 |
-
display: -ms-flexbox;
|
955 |
-
display: flex;
|
956 |
-
-ms-flex-align: center;
|
957 |
-
align-items: center;
|
958 |
-
}
|
959 |
-
|
960 |
-
.sek-column-inner, .sek-module-inner {
|
961 |
-
-ms-flex: 0 0 100%;
|
962 |
-
flex: 0 0 100%;
|
963 |
-
max-width: 100%;
|
964 |
-
}
|
965 |
-
|
966 |
/* To allow horizontal centering of modules
|
967 |
@see https://github.com/presscustomizr/nimble-builder/issues/119
|
968 |
-
*/
|
969 |
-
/* - sections in locations */
|
970 |
-
/* - columns in sections */
|
971 |
-
/* - modules in columns */
|
972 |
-
.sek-column-inner {
|
973 |
-
display: -ms-flexbox;
|
974 |
-
display: flex;
|
975 |
-
-ms-flex-direction: column;
|
976 |
-
flex-direction: column;
|
977 |
-
}
|
978 |
-
|
979 |
-
.sek-module {
|
980 |
-
-ms-flex-item-align: center;
|
981 |
-
align-self: center;
|
982 |
-
width: 100%;
|
983 |
-
max-width: 100%;
|
984 |
-
}
|
985 |
-
|
986 |
/* a nested sektion should reset its parent column padding
|
987 |
@see https://github.com/presscustomizr/nimble-builder/issues/25
|
988 |
-
*/
|
989 |
-
[data-sek-is-nested="true"] .sek-container-fluid {
|
990 |
-
padding-right: 0;
|
991 |
-
padding-left: 0;
|
992 |
-
}
|
993 |
-
|
994 |
-
/* MODULE PLACEHOLDER */
|
995 |
/*@font-face {
|
996 |
font-family: 'Material Icons';
|
997 |
font-style: normal;
|
998 |
font-weight: 400;
|
999 |
src: url('../fonts/material-icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
|
1000 |
-
}*/
|
1001 |
-
/* @see https://github.com/google/material-design-icons/blob/master/iconfont/material-icons.css */
|
1002 |
-
@font-face {
|
1003 |
-
font-family: 'Material Icons';
|
1004 |
-
font-style: normal;
|
1005 |
-
font-weight: 400;
|
1006 |
-
src: url("../fonts/material-icons/MaterialIcons-Regular.eot");
|
1007 |
-
/* For IE6-8 */
|
1008 |
-
src: local("Material Icons"), local("MaterialIcons-Regular"), url("../fonts/material-icons/MaterialIcons-Regular.woff2") format("woff2"), url("../fonts/material-icons/MaterialIcons-Regular.woff") format("woff"), url("../fonts/material-icons/MaterialIcons-Regular.ttf") format("truetype");
|
1009 |
-
}
|
1010 |
-
|
1011 |
-
.material-icons {
|
1012 |
-
font-family: 'Material Icons';
|
1013 |
-
font-weight: normal;
|
1014 |
-
font-style: normal;
|
1015 |
-
font-size: 24px;
|
1016 |
-
/* Preferred icon size */
|
1017 |
-
display: inline-block;
|
1018 |
-
line-height: 1;
|
1019 |
-
text-transform: none;
|
1020 |
-
letter-spacing: normal;
|
1021 |
-
word-wrap: normal;
|
1022 |
-
white-space: nowrap;
|
1023 |
-
direction: ltr;
|
1024 |
-
/* Support for all WebKit browsers. */
|
1025 |
-
-webkit-font-smoothing: antialiased;
|
1026 |
-
/* Support for Safari and Chrome. */
|
1027 |
-
text-rendering: optimizeLegibility;
|
1028 |
-
/* Support for Firefox. */
|
1029 |
-
-moz-osx-font-smoothing: grayscale;
|
1030 |
-
/* Support for IE. */
|
1031 |
-
-webkit-font-feature-settings: 'liga';
|
1032 |
-
font-feature-settings: 'liga';
|
1033 |
-
}
|
1034 |
-
|
1035 |
-
.sek-module-placeholder {
|
1036 |
-
text-align: center;
|
1037 |
-
}
|
1038 |
-
|
1039 |
-
.sek-module-placeholder .material-icons {
|
1040 |
-
font-size: inherit;
|
1041 |
-
color: #cfcfcf;
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
/* LEVEL VISIBILITY BY DEVICE */
|
1045 |
-
@media (min-width: 767px) {
|
1046 |
-
[data-sek-level="location"] .sek-hidden-on-desktops {
|
1047 |
-
display: none;
|
1048 |
-
}
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
@media (min-width: 575px) and (max-width: 768px) {
|
1052 |
-
[data-sek-level="location"] .sek-hidden-on-tablets {
|
1053 |
-
display: none;
|
1054 |
-
}
|
1055 |
-
}
|
1056 |
-
|
1057 |
-
@media (max-width: 575px) {
|
1058 |
-
[data-sek-level="location"] .sek-hidden-on-mobiles {
|
1059 |
-
display: none;
|
1060 |
-
}
|
1061 |
}
|
1062 |
/*# sourceMappingURL=sek-base-rtl.css.map */
|
1 |
+
.sektion-wrapper *,
|
2 |
+
.sektion-wrapper *::before,
|
3 |
+
.sektion-wrapper *::after {
|
4 |
+
box-sizing: border-box;
|
5 |
+
}
|
6 |
+
|
7 |
+
.sektion-wrapper img {
|
8 |
+
max-width: 100%;
|
9 |
+
vertical-align: middle;
|
10 |
+
border-style: none;
|
11 |
+
}
|
12 |
+
|
13 |
+
.sektion-wrapper svg:not(:root) {
|
14 |
+
overflow: hidden;
|
15 |
+
}
|
16 |
+
|
17 |
+
.sek-service-font, .sek-module-inner .sek-btn {
|
18 |
+
font-family: sans-serif;
|
19 |
+
letter-spacing: 1px;
|
20 |
+
}
|
21 |
+
|
22 |
+
.sek-container {
|
23 |
+
width: 100%;
|
24 |
+
padding-right: 10px;
|
25 |
+
padding-left: 10px;
|
26 |
+
margin-right: auto;
|
27 |
+
margin-left: auto;
|
28 |
+
}
|
29 |
+
|
30 |
+
@media (min-width: 576px) {
|
31 |
+
.sek-container {
|
32 |
+
max-width: 540px;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
@media (min-width: 768px) {
|
37 |
+
.sek-container {
|
38 |
+
max-width: 720px;
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
@media (min-width: 992px) {
|
43 |
+
.sek-container {
|
44 |
+
max-width: 960px;
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
@media (min-width: 1200px) {
|
49 |
+
.sek-container {
|
50 |
+
max-width: 1140px;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
.sek-container-fluid {
|
55 |
+
width: 100%;
|
56 |
+
padding-right: 10px;
|
57 |
+
padding-left: 10px;
|
58 |
+
margin-right: auto;
|
59 |
+
margin-left: auto;
|
60 |
+
}
|
61 |
+
|
62 |
+
.sek-row {
|
63 |
+
display: -ms-flexbox;
|
64 |
+
display: flex;
|
65 |
+
-ms-flex-wrap: wrap;
|
66 |
+
flex-wrap: wrap;
|
67 |
+
margin-right: -10px;
|
68 |
+
margin-left: -10px;
|
69 |
+
}
|
70 |
+
|
71 |
+
.sek-container-no-padding {
|
72 |
+
padding-right: 0;
|
73 |
+
padding-left: 0;
|
74 |
+
overflow-x: hidden;
|
75 |
+
}
|
76 |
+
|
77 |
+
.sek-no-gutters {
|
78 |
+
margin-right: 0;
|
79 |
+
margin-left: 0;
|
80 |
+
}
|
81 |
+
|
82 |
+
.sek-no-gutters > .sek-col,
|
83 |
+
.sek-no-gutters > [class*="sek-col-"] {
|
84 |
+
padding-right: 0;
|
85 |
+
padding-left: 0;
|
86 |
+
}
|
87 |
+
|
88 |
+
.sek-col-8, .sek-col-9, .sek-col-10, .sek-col-11, .sek-col-12, .sek-col-14, .sek-col-16, .sek-col-20, .sek-col-25, .sek-col-30, .sek-col-33, .sek-col-40, .sek-col-50, .sek-col-60, .sek-col-66, .sek-col-70, .sek-col-75, .sek-col-80, .sek-col-83, .sek-col-90, .sek-col-100, .sek-col-base,
|
89 |
+
.sek-col,
|
90 |
+
.sek-col-auto {
|
91 |
+
position: relative;
|
92 |
+
width: 100%;
|
93 |
+
min-height: 1px;
|
94 |
+
padding-right: 10px;
|
95 |
+
padding-left: 10px;
|
96 |
+
}
|
97 |
+
|
98 |
+
.sek-col-base {
|
99 |
+
-ms-flex: 0 0 100%;
|
100 |
+
flex: 0 0 100%;
|
101 |
+
max-width: 100%;
|
102 |
+
}
|
103 |
+
|
104 |
+
.sek-col {
|
105 |
+
-ms-flex-preferred-size: 0;
|
106 |
+
flex-basis: 0;
|
107 |
+
-ms-flex-positive: 1;
|
108 |
+
flex-grow: 1;
|
109 |
+
max-width: 100%;
|
110 |
+
}
|
111 |
+
|
112 |
+
.sek-col-auto {
|
113 |
+
-ms-flex: 0 0 auto;
|
114 |
+
flex: 0 0 auto;
|
115 |
+
width: auto;
|
116 |
+
max-width: 100%;
|
117 |
+
}
|
118 |
+
|
119 |
+
@media (min-width: 768px) {
|
120 |
+
.sek-col-8 {
|
121 |
+
-ms-flex: 0 0 8.333%;
|
122 |
+
flex: 0 0 8.333%;
|
123 |
+
max-width: 8.333%;
|
124 |
+
}
|
125 |
+
.sek-col-9 {
|
126 |
+
-ms-flex: 0 0 9.090909%;
|
127 |
+
flex: 0 0 9.090909%;
|
128 |
+
max-width: 9.090909%;
|
129 |
+
}
|
130 |
+
.sek-col-10 {
|
131 |
+
-ms-flex: 0 0 10%;
|
132 |
+
flex: 0 0 10%;
|
133 |
+
max-width: 10%;
|
134 |
+
}
|
135 |
+
.sek-col-11 {
|
136 |
+
-ms-flex: 0 0 11.111%;
|
137 |
+
flex: 0 0 11.111%;
|
138 |
+
max-width: 11.111%;
|
139 |
+
}
|
140 |
+
.sek-col-12 {
|
141 |
+
-ms-flex: 0 0 12.5%;
|
142 |
+
flex: 0 0 12.5%;
|
143 |
+
max-width: 12.5%;
|
144 |
+
}
|
145 |
+
.sek-col-14 {
|
146 |
+
-ms-flex: 0 0 14.285%;
|
147 |
+
flex: 0 0 14.285%;
|
148 |
+
max-width: 14.285%;
|
149 |
+
}
|
150 |
+
.sek-col-16 {
|
151 |
+
-ms-flex: 0 0 16.666%;
|
152 |
+
flex: 0 0 16.666%;
|
153 |
+
max-width: 16.666%;
|
154 |
+
}
|
155 |
+
.sek-col-20 {
|
156 |
+
-ms-flex: 0 0 20%;
|
157 |
+
flex: 0 0 20%;
|
158 |
+
max-width: 20%;
|
159 |
+
}
|
160 |
+
.sek-col-25 {
|
161 |
+
-ms-flex: 0 0 25%;
|
162 |
+
flex: 0 0 25%;
|
163 |
+
max-width: 25%;
|
164 |
+
}
|
165 |
+
.sek-col-30 {
|
166 |
+
-ms-flex: 0 0 30%;
|
167 |
+
flex: 0 0 30%;
|
168 |
+
max-width: 30%;
|
169 |
+
}
|
170 |
+
.sek-col-33 {
|
171 |
+
-ms-flex: 0 0 33.333%;
|
172 |
+
flex: 0 0 33.333%;
|
173 |
+
max-width: 33.333%;
|
174 |
+
}
|
175 |
+
.sek-col-40 {
|
176 |
+
-ms-flex: 0 0 40%;
|
177 |
+
flex: 0 0 40%;
|
178 |
+
max-width: 40%;
|
179 |
+
}
|
180 |
+
.sek-col-50 {
|
181 |
+
-ms-flex: 0 0 50%;
|
182 |
+
flex: 0 0 50%;
|
183 |
+
max-width: 50%;
|
184 |
+
}
|
185 |
+
.sek-col-60 {
|
186 |
+
-ms-flex: 0 0 60%;
|
187 |
+
flex: 0 0 60%;
|
188 |
+
max-width: 60%;
|
189 |
+
}
|
190 |
+
.sek-col-66 {
|
191 |
+
-ms-flex: 0 0 66.666%;
|
192 |
+
flex: 0 0 66.666%;
|
193 |
+
max-width: 66.666%;
|
194 |
+
}
|
195 |
+
.sek-col-70 {
|
196 |
+
-ms-flex: 0 0 70%;
|
197 |
+
flex: 0 0 70%;
|
198 |
+
max-width: 70%;
|
199 |
+
}
|
200 |
+
.sek-col-75 {
|
201 |
+
-ms-flex: 0 0 75%;
|
202 |
+
flex: 0 0 75%;
|
203 |
+
max-width: 75%;
|
204 |
+
}
|
205 |
+
.sek-col-80 {
|
206 |
+
-ms-flex: 0 0 80%;
|
207 |
+
flex: 0 0 80%;
|
208 |
+
max-width: 80%;
|
209 |
+
}
|
210 |
+
.sek-col-83 {
|
211 |
+
-ms-flex: 0 0 83.333%;
|
212 |
+
flex: 0 0 83.333%;
|
213 |
+
max-width: 83.333%;
|
214 |
+
}
|
215 |
+
.sek-col-90 {
|
216 |
+
-ms-flex: 0 0 90%;
|
217 |
+
flex: 0 0 90%;
|
218 |
+
max-width: 90%;
|
219 |
+
}
|
220 |
+
.sek-col-100 {
|
221 |
+
-ms-flex: 0 0 100%;
|
222 |
+
flex: 0 0 100%;
|
223 |
+
max-width: 100%;
|
224 |
+
}
|
225 |
+
.sek-order-first {
|
226 |
+
-ms-flex-order: -1;
|
227 |
+
order: -1;
|
228 |
+
}
|
229 |
+
.sek-order-last {
|
230 |
+
-ms-flex-order: 13;
|
231 |
+
order: 13;
|
232 |
+
}
|
233 |
+
.sek-order-0 {
|
234 |
+
-ms-flex-order: 0;
|
235 |
+
order: 0;
|
236 |
+
}
|
237 |
+
.sek-order-1 {
|
238 |
+
-ms-flex-order: 1;
|
239 |
+
order: 1;
|
240 |
+
}
|
241 |
+
.sek-order-2 {
|
242 |
+
-ms-flex-order: 2;
|
243 |
+
order: 2;
|
244 |
+
}
|
245 |
+
.sek-order-3 {
|
246 |
+
-ms-flex-order: 3;
|
247 |
+
order: 3;
|
248 |
+
}
|
249 |
+
.sek-order-4 {
|
250 |
+
-ms-flex-order: 4;
|
251 |
+
order: 4;
|
252 |
+
}
|
253 |
+
.sek-order-5 {
|
254 |
+
-ms-flex-order: 5;
|
255 |
+
order: 5;
|
256 |
+
}
|
257 |
+
.sek-order-6 {
|
258 |
+
-ms-flex-order: 6;
|
259 |
+
order: 6;
|
260 |
+
}
|
261 |
+
.sek-order-7 {
|
262 |
+
-ms-flex-order: 7;
|
263 |
+
order: 7;
|
264 |
+
}
|
265 |
+
.sek-order-8 {
|
266 |
+
-ms-flex-order: 8;
|
267 |
+
order: 8;
|
268 |
+
}
|
269 |
+
.sek-order-9 {
|
270 |
+
-ms-flex-order: 9;
|
271 |
+
order: 9;
|
272 |
+
}
|
273 |
+
.sek-order-10 {
|
274 |
+
-ms-flex-order: 10;
|
275 |
+
order: 10;
|
276 |
+
}
|
277 |
+
.sek-order-11 {
|
278 |
+
-ms-flex-order: 11;
|
279 |
+
order: 11;
|
280 |
+
}
|
281 |
+
.sek-order-12 {
|
282 |
+
-ms-flex-order: 12;
|
283 |
+
order: 12;
|
284 |
+
}
|
285 |
+
}
|
286 |
+
|
287 |
+
.sek-clearfix::after {
|
288 |
+
display: block;
|
289 |
+
clear: both;
|
290 |
+
content: "";
|
291 |
+
}
|
292 |
+
|
293 |
+
.sek-sr-only {
|
294 |
+
position: absolute;
|
295 |
+
width: 1px;
|
296 |
+
height: 1px;
|
297 |
+
padding: 0;
|
298 |
+
overflow: hidden;
|
299 |
+
clip: rect(0, 0, 0, 0);
|
300 |
+
white-space: nowrap;
|
301 |
+
border: 0;
|
302 |
+
}
|
303 |
+
|
304 |
+
.sek-sr-only-focusable:active, .sek-sr-only-focusable:focus {
|
305 |
+
position: static;
|
306 |
+
width: auto;
|
307 |
+
height: auto;
|
308 |
+
overflow: visible;
|
309 |
+
clip: auto;
|
310 |
+
white-space: normal;
|
311 |
+
}
|
312 |
+
|
313 |
+
.sek-embed {
|
314 |
+
position: relative;
|
315 |
+
}
|
316 |
+
|
317 |
+
.sek-embed::before {
|
318 |
+
display: block;
|
319 |
+
content: '';
|
320 |
+
}
|
321 |
+
|
322 |
+
.sek-embed .sek-embed-inner,
|
323 |
+
.sek-embed iframe {
|
324 |
+
position: absolute;
|
325 |
+
width: 100%;
|
326 |
+
height: 100%;
|
327 |
+
top: 0;
|
328 |
+
left: 0;
|
329 |
+
}
|
330 |
+
|
331 |
+
.sektion-wrapper {
|
332 |
+
word-wrap: break-word;
|
333 |
+
}
|
334 |
+
|
335 |
+
.sek-module .sek-module-inner ul {
|
336 |
+
list-style: disc;
|
337 |
+
}
|
338 |
+
|
339 |
+
.sek-module .sek-module-inner ol {
|
340 |
+
list-style: decimal;
|
341 |
+
}
|
342 |
+
|
343 |
+
.sek-module .sek-module-inner ol > li::before {
|
344 |
+
content: none;
|
345 |
+
}
|
346 |
+
|
347 |
+
.sek-module .sek-module-inner ul, .sek-module .sek-module-inner ol {
|
348 |
+
padding: 0;
|
349 |
+
line-height: 1.5;
|
350 |
+
margin: 0 1.5rem 1.5rem 0;
|
351 |
+
}
|
352 |
+
|
353 |
+
.sek-module .sek-module-inner ul > li, .sek-module .sek-module-inner ol > li {
|
354 |
+
padding: 0;
|
355 |
+
}
|
356 |
+
|
357 |
+
.sek-module .sek-module-inner li > ul, .sek-module .sek-module-inner li > ol {
|
358 |
+
margin-bottom: 0;
|
359 |
+
}
|
360 |
+
|
361 |
+
.sek-module-inner .sek-btn {
|
362 |
+
display: inline-block;
|
363 |
+
font-weight: normal;
|
364 |
+
line-height: 1.25em;
|
365 |
+
text-align: center;
|
366 |
+
/*white-space: nowrap;*/
|
367 |
+
white-space: normal;
|
368 |
+
word-break: break-all;
|
369 |
+
vertical-align: middle;
|
370 |
+
-webkit-user-select: none;
|
371 |
+
-moz-user-select: none;
|
372 |
+
-ms-user-select: none;
|
373 |
+
user-select: none;
|
374 |
+
border: 1px solid transparent;
|
375 |
+
padding: 0.5em 1em;
|
376 |
+
border-radius: 2px;
|
377 |
+
border-width: 2px;
|
378 |
+
border-style: solid;
|
379 |
+
font-size: 1em;
|
380 |
+
cursor: pointer;
|
381 |
+
text-decoration: none;
|
382 |
+
text-transform: none;
|
383 |
+
transition: all 0.2s ease-in-out;
|
384 |
+
}
|
385 |
+
|
386 |
+
.sek-module-inner .sek-btn:focus, .sek-module-inner .sek-btn:hover {
|
387 |
+
text-decoration: none;
|
388 |
+
}
|
389 |
+
|
390 |
+
.sek-module-inner .sek-btn:focus, .sek-module-inner .focus.sek-btn {
|
391 |
+
outline: 0;
|
392 |
+
box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
|
393 |
+
}
|
394 |
+
|
395 |
+
.sek-module-inner .disabled.sek-btn, .sek-module-inner .sek-btn:disabled {
|
396 |
+
cursor: not-allowed;
|
397 |
+
opacity: .65;
|
398 |
+
box-shadow: none;
|
399 |
+
}
|
400 |
+
|
401 |
+
.sek-module-inner .sek-btn:active, .sek-module-inner .active.sek-btn {
|
402 |
+
background-image: none;
|
403 |
+
box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
|
404 |
+
}
|
405 |
+
|
406 |
+
a.sek-btn.disabled,
|
407 |
+
fieldset[disabled] a.sek-btn {
|
408 |
+
pointer-events: none;
|
409 |
+
}
|
410 |
+
|
411 |
+
.sektion-wrapper button,
|
412 |
+
.sektion-wrapper [type="button"],
|
413 |
+
.sektion-wrapper [type="reset"],
|
414 |
+
.sektion-wrapper [type="submit"] {
|
415 |
+
-webkit-appearance: button;
|
416 |
+
}
|
417 |
+
|
418 |
+
.sektion-wrapper button::-moz-focus-inner,
|
419 |
+
.sektion-wrapper [type="button"]::-moz-focus-inner,
|
420 |
+
.sektion-wrapper [type="reset"]::-moz-focus-inner,
|
421 |
+
.sektion-wrapper [type="submit"]::-moz-focus-inner {
|
422 |
+
padding: 0;
|
423 |
+
border-style: none;
|
424 |
+
}
|
425 |
+
|
426 |
+
.sektion-wrapper button::-moz-focus-inner .sek-btn,
|
427 |
+
.sektion-wrapper [type="button"]::-moz-focus-inner .sek-btn,
|
428 |
+
.sektion-wrapper [type="reset"]::-moz-focus-inner .sek-btn,
|
429 |
+
.sektion-wrapper [type="submit"]::-moz-focus-inner .sek-btn {
|
430 |
+
padding: 0.5em 1em;
|
431 |
+
border-style: solid;
|
432 |
+
}
|
433 |
+
|
434 |
+
button.sek-btn,
|
435 |
+
[type="button"].sek-btn,
|
436 |
+
[type="reset"].sek-btn,
|
437 |
+
[type="submit"].sek-btn {
|
438 |
+
-wekbit-appearance: none !important;
|
439 |
+
background: transparent;
|
440 |
+
}
|
441 |
+
|
442 |
+
[class*=sek__r-w] {
|
443 |
+
position: relative;
|
444 |
+
display: block;
|
445 |
+
padding: 0;
|
446 |
+
overflow: hidden;
|
447 |
+
-webkit-backface-visibility: hidden;
|
448 |
+
backface-visibility: hidden;
|
449 |
+
-webkit-perspective: 1000px;
|
450 |
+
perspective: 1000px;
|
451 |
+
-webkit-transform-style: preserve-3d;
|
452 |
+
transform-style: preserve-3d;
|
453 |
+
}
|
454 |
+
|
455 |
+
[class*=sek__r-w]::before {
|
456 |
+
display: block;
|
457 |
+
content: "";
|
458 |
+
}
|
459 |
+
|
460 |
+
.sek__r-wFP::before {
|
461 |
+
padding-top: 92.592593%;
|
462 |
+
}
|
463 |
+
|
464 |
+
.sek-fp-widget {
|
465 |
+
text-align: center;
|
466 |
+
margin: auto !important;
|
467 |
+
}
|
468 |
+
|
469 |
+
.sek-fp-widget .sek-fp-button-holder, .sek-fp-widget .sek-fp-title, .sek-fp-widget .sek-fp-text {
|
470 |
+
width: 90%;
|
471 |
+
margin-left: auto;
|
472 |
+
margin-right: auto;
|
473 |
+
}
|
474 |
+
|
475 |
+
.sek-fp-widget .sek-fp-title {
|
476 |
+
color: #5a5a5a;
|
477 |
+
line-height: 1.25em;
|
478 |
+
margin-top: .625em;
|
479 |
+
margin-bottom: 1.25em;
|
480 |
+
word-break: break-word;
|
481 |
+
position: relative;
|
482 |
+
font-weight: 500;
|
483 |
+
font-size: 1.44em;
|
484 |
+
}
|
485 |
+
|
486 |
+
.sek-fp-widget .sek-fp-title::after {
|
487 |
+
content: "";
|
488 |
+
position: absolute;
|
489 |
+
width: 1.25em;
|
490 |
+
background: #5a5a5a;
|
491 |
+
height: 2px;
|
492 |
+
top: 100%;
|
493 |
+
left: 0;
|
494 |
+
right: 0;
|
495 |
+
margin: .3125em auto 0;
|
496 |
+
transition: all .6s ease;
|
497 |
+
}
|
498 |
+
|
499 |
+
.sek-link-mask-p:hover .sek-fp-title::after {
|
500 |
+
width: 2.5em;
|
501 |
+
}
|
502 |
+
|
503 |
+
.sek-fp-widget .sek-fp-text {
|
504 |
+
color: #777;
|
505 |
+
line-height: 1.55em;
|
506 |
+
margin: 1.5em auto;
|
507 |
+
word-wrap: break-word;
|
508 |
+
}
|
509 |
+
|
510 |
+
.sek-fp-widget .sek-fp-text > a {
|
511 |
+
padding: 0 !important;
|
512 |
+
display: inline !important;
|
513 |
+
line-height: 1em !important;
|
514 |
+
}
|
515 |
+
|
516 |
+
.sek-fp-widget .sek-fp-btn-link {
|
517 |
+
text-transform: uppercase;
|
518 |
+
margin-bottom: 1.25em;
|
519 |
+
white-space: normal;
|
520 |
+
word-break: break-word;
|
521 |
+
outline: 0;
|
522 |
+
background-color: #3b3b3b;
|
523 |
+
color: #fff;
|
524 |
+
border-color: #3b3b3b;
|
525 |
+
font-size: .75em;
|
526 |
+
line-height: 2.5em;
|
527 |
+
padding: 0 2.5em;
|
528 |
+
}
|
529 |
+
|
530 |
+
.sek-fp-widget .sek-fp-btn-link:hover, .sek-fp-widget .sek-fp-btn-link:focus, .sek-fp-widget .sek-fp-btn-link:active {
|
531 |
+
color: #3b3b3b;
|
532 |
+
background: transparent;
|
533 |
+
}
|
534 |
+
|
535 |
+
.sek-fp-widget .sek-fp-thumb-wrapper {
|
536 |
+
max-width: 270px;
|
537 |
+
margin: 8px auto;
|
538 |
+
}
|
539 |
+
|
540 |
+
.sek-fp-widget img {
|
541 |
+
-webkit-transform: translate3d(0, 0, 0);
|
542 |
+
transform: translate3d(0, 0, 0);
|
543 |
+
-ms-transform: translate(0, 0);
|
544 |
+
-webkit-transform-style: preserve-3d;
|
545 |
+
transform-style: preserve-3d;
|
546 |
+
-webkit-backface-visibility: hidden;
|
547 |
+
backface-visibility: hidden;
|
548 |
+
position: absolute;
|
549 |
+
top: 0;
|
550 |
+
left: 0;
|
551 |
+
z-index: 0;
|
552 |
+
}
|
553 |
+
|
554 |
+
.js-center-images-disabled .sek-fp-widget img {
|
555 |
+
-webkit-transform: translate(-50%, -50%);
|
556 |
+
transform: translate(-50%, -50%);
|
557 |
+
-webkit-transform: translate3d(-50%, -50%, 0);
|
558 |
+
transform: translate3d(-50%, -50%, 0);
|
559 |
+
-ms-transform: translate(-50%, -50%);
|
560 |
+
top: 50%;
|
561 |
+
left: 50%;
|
562 |
+
max-width: 100%;
|
563 |
+
}
|
564 |
+
|
565 |
+
.sek-fp-widget img.h-centered {
|
566 |
+
width: auto !important;
|
567 |
+
max-width: none !important;
|
568 |
+
}
|
569 |
+
|
570 |
+
.sek-fp-widget img.v-centered {
|
571 |
+
height: auto !important;
|
572 |
+
max-height: none !important;
|
573 |
+
max-width: none !important;
|
574 |
+
vertical-align: top;
|
575 |
+
}
|
576 |
+
|
577 |
+
.sek-link-mask {
|
578 |
+
position: absolute;
|
579 |
+
border-color: white;
|
580 |
+
left: 0;
|
581 |
+
right: 0;
|
582 |
+
top: 0;
|
583 |
+
bottom: 0;
|
584 |
+
overflow: hidden;
|
585 |
+
z-index: 1;
|
586 |
+
}
|
587 |
+
|
588 |
+
.sek-link-mask.no-effect {
|
589 |
+
border: none;
|
590 |
+
}
|
591 |
+
|
592 |
+
.sek-link-mask::before {
|
593 |
+
position: absolute;
|
594 |
+
width: 63%;
|
595 |
+
padding-bottom: 63%;
|
596 |
+
content: '';
|
597 |
+
z-index: 1;
|
598 |
+
left: 50%;
|
599 |
+
top: 50%;
|
600 |
+
-webkit-transform: translate(-50%, -50%);
|
601 |
+
transform: translate(-50%, -50%);
|
602 |
+
-webkit-transform: translate3d(-50%, -50%, 0);
|
603 |
+
transform: translate3d(-50%, -50%, 0);
|
604 |
+
/* end of centering */
|
605 |
+
border: 150px solid;
|
606 |
+
border-color: inherit;
|
607 |
+
box-sizing: content-box;
|
608 |
+
transition: all .3s ease;
|
609 |
+
}
|
610 |
+
|
611 |
+
.round .sek-link-mask::before {
|
612 |
+
border-radius: 50%;
|
613 |
+
}
|
614 |
+
|
615 |
+
.sek-link-mask-p:hover .sek-link-mask::before {
|
616 |
+
-webkit-transform: translate(-50%, -50%) scale(1.4);
|
617 |
+
transform: translate(-50%, -50%) scale(1.4);
|
618 |
+
/* fallback for those browsers w/o translate3d transform property*/
|
619 |
+
-webkit-transform: translate3d(-50%, -50%, 0) scale(1.4);
|
620 |
+
transform: translate3d(-50%, -50%, 0) scale(1.4);
|
621 |
+
-ms-transform: translate(-50%, -50%) scale(1.4);
|
622 |
+
}
|
623 |
+
|
624 |
+
.no-cssanimations .sek-link-mask {
|
625 |
+
border: transparent;
|
626 |
+
}
|
627 |
+
|
628 |
+
.no-cssanimations .sek-fp-thumb-wrapper {
|
629 |
+
opacity: .7;
|
630 |
+
}
|
631 |
+
|
632 |
+
.no-cssanimations .sek-fp-thumb-wrapper:hover {
|
633 |
+
opacity: 1;
|
634 |
+
}
|
635 |
+
|
636 |
+
[data-sek-module-type="czr_image_module"] {
|
637 |
+
text-align: center;
|
638 |
+
}
|
639 |
+
|
640 |
+
[data-sek-module-type="czr_image_module"] img {
|
641 |
+
border: 0 solid #f2f2f2;
|
642 |
+
}
|
643 |
+
|
644 |
+
[data-sek-module-type="czr_image_module"] .box-shadow img {
|
645 |
+
box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;
|
646 |
+
}
|
647 |
+
|
648 |
+
.sek-hover-effect-opacity img:hover {
|
649 |
+
opacity: .7;
|
650 |
+
}
|
651 |
+
|
652 |
+
.sek-hover-effect-zoom-out img:hover {
|
653 |
+
-webkit-transform: scale(1.05);
|
654 |
+
transform: scale(1.05);
|
655 |
+
}
|
656 |
+
|
657 |
+
.sek-hover-effect-zoom-in img:hover {
|
658 |
+
-webkit-transform: scale(0.95);
|
659 |
+
transform: scale(0.95);
|
660 |
+
}
|
661 |
+
|
662 |
+
.sek-hover-effect-move-up img:hover {
|
663 |
+
-webkit-transform: translateY(-6px);
|
664 |
+
transform: translateY(-6px);
|
665 |
+
}
|
666 |
+
|
667 |
+
.sek-hover-effect-move-down img:hover {
|
668 |
+
-webkit-transform: translateY(6px);
|
669 |
+
transform: translateY(6px);
|
670 |
+
}
|
671 |
+
|
672 |
+
.sek-hover-effect-blur img:hover {
|
673 |
+
-webkit-filter: blur(2px);
|
674 |
+
filter: blur(2px);
|
675 |
+
}
|
676 |
+
|
677 |
+
.sek-hover-effect-grayscale img:hover {
|
678 |
+
-webkit-filter: grayscale(0%);
|
679 |
+
filter: grayscale(0%);
|
680 |
+
}
|
681 |
+
|
682 |
+
.sek-hover-effect-grayscale img:hover {
|
683 |
+
-webkit-filter: grayscale(100%);
|
684 |
+
filter: grayscale(100%);
|
685 |
+
-webkit-filter: gray;
|
686 |
+
filter: gray;
|
687 |
+
}
|
688 |
+
|
689 |
+
.sek-hover-effect-reverse-grayscale img {
|
690 |
+
-webkit-filter: grayscale(100%);
|
691 |
+
filter: grayscale(100%);
|
692 |
+
-webkit-filter: gray;
|
693 |
+
filter: gray;
|
694 |
+
}
|
695 |
+
|
696 |
+
.sek-hover-effect-reverse-grayscale img:hover {
|
697 |
+
-webkit-filter: grayscale(0%);
|
698 |
+
filter: grayscale(0%);
|
699 |
+
}
|
700 |
+
|
701 |
+
[data-sek-module-type="czr_divider_module"] {
|
702 |
+
text-align: center;
|
703 |
+
}
|
704 |
+
|
705 |
+
[data-sek-module-type="czr_divider_module"] .sek-module-inner {
|
706 |
+
font-size: 0;
|
707 |
+
line-height: 0;
|
708 |
+
}
|
709 |
+
|
710 |
+
.sek-divider {
|
711 |
+
border-top: 1px solid #5a5a5a;
|
712 |
+
display: inline-block;
|
713 |
+
width: 100%;
|
714 |
+
margin-top: 15px;
|
715 |
+
margin-bottom: 15px;
|
716 |
+
font-size: 1rem;
|
717 |
+
}
|
718 |
+
|
719 |
+
.sek-spacer {
|
720 |
+
height: 20px;
|
721 |
+
}
|
722 |
+
|
723 |
+
[data-sek-module-type="czr_icon_module"] {
|
724 |
+
text-align: center;
|
725 |
+
color: #5a5a5a;
|
726 |
+
font-size: 15px;
|
727 |
+
}
|
728 |
+
|
729 |
+
[data-sek-module-type="czr_icon_module"] a.sek-icon,
|
730 |
+
[data-sek-module-type="czr_icon_module"] a.sek-icon:hover,
|
731 |
+
[data-sek-module-type="czr_icon_module"] a.sek-icon:focus,
|
732 |
+
[data-sek-module-type="czr_icon_module"] a.sek-icon:active,
|
733 |
+
[data-sek-module-type="czr_icon_module"] a.sek-icon.active {
|
734 |
+
color: inherit;
|
735 |
+
}
|
736 |
+
|
737 |
+
[data-sek-module-type="czr_icon_module"] .box-shadow i {
|
738 |
+
box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;
|
739 |
+
}
|
740 |
+
|
741 |
+
[data-sek-module-type="czr_icon_module"] .sek-icon i {
|
742 |
+
webkit-transition: all 0.15s ease-in-out;
|
743 |
+
transition: all 0.15s ease-in-out;
|
744 |
+
}
|
745 |
+
|
746 |
+
[data-sek-module-type="czr_icon_module"] .sek-icon .fas, [data-sek-module-type="czr_icon_module"] .sek-icon .far, [data-sek-module-type="czr_icon_module"] .sek-icon .fab {
|
747 |
+
width: auto;
|
748 |
+
}
|
749 |
+
|
750 |
+
.sek-quote p {
|
751 |
+
margin: 0 0 .5em;
|
752 |
+
padding: 0;
|
753 |
+
}
|
754 |
+
|
755 |
+
.sek-quote .sek-cite {
|
756 |
+
font-size: 13px;
|
757 |
+
line-height: 1.5em;
|
758 |
+
font-style: inherit;
|
759 |
+
}
|
760 |
+
|
761 |
+
.sek-quote.sek-quote-design {
|
762 |
+
background: none;
|
763 |
+
font-style: inherit;
|
764 |
+
margin-right: 0;
|
765 |
+
margin-left: 0;
|
766 |
+
padding: 15px 0;
|
767 |
+
border: none;
|
768 |
+
}
|
769 |
+
|
770 |
+
.sek-quote.sek-quote-design > * {
|
771 |
+
padding: 0;
|
772 |
+
margin: 0;
|
773 |
+
}
|
774 |
+
|
775 |
+
.sek-quote.sek-quote-design::before, .sek-quote.sek-quote-design::after {
|
776 |
+
display: none;
|
777 |
+
}
|
778 |
+
|
779 |
+
.sek-quote.sek-quote-design .sek-cite {
|
780 |
+
padding: 0;
|
781 |
+
font-weight: normal;
|
782 |
+
}
|
783 |
+
|
784 |
+
.sek-quote.sek-quote-design .sek-cite::before {
|
785 |
+
display: none;
|
786 |
+
}
|
787 |
+
|
788 |
+
.sek-quote.sek-quote-design .sek-quote-inner {
|
789 |
+
color: inherit;
|
790 |
+
padding-right: calc(10px + 1.3em);
|
791 |
+
}
|
792 |
+
|
793 |
+
.sek-quote.sek-quote-design .sek-quote-content {
|
794 |
+
font-weight: 400;
|
795 |
+
font-size: 16px;
|
796 |
+
color: inherit;
|
797 |
+
}
|
798 |
+
|
799 |
+
.sek-quote.sek-quote-design.sek-border-before {
|
800 |
+
padding-right: 15px;
|
801 |
+
border-right: 5px solid;
|
802 |
+
}
|
803 |
+
|
804 |
+
.sek-quote.sek-quote-design.sek-border-before .sek-cite {
|
805 |
+
clear: both;
|
806 |
+
display: block;
|
807 |
+
margin-top: 1.5em;
|
808 |
+
position: relative;
|
809 |
+
padding-right: 2.2em;
|
810 |
+
padding-left: 0.25em;
|
811 |
+
}
|
812 |
+
|
813 |
+
.sek-quote.sek-quote-design.sek-border-before .sek-cite::before {
|
814 |
+
display: block;
|
815 |
+
content: '';
|
816 |
+
top: 1em;
|
817 |
+
position: absolute;
|
818 |
+
background: none;
|
819 |
+
width: 2em;
|
820 |
+
height: auto;
|
821 |
+
right: 0;
|
822 |
+
border-top: 1px solid;
|
823 |
+
}
|
824 |
+
|
825 |
+
.sek-quote.sek-quote-design.sek-quote-icon-before {
|
826 |
+
position: relative;
|
827 |
+
display: -ms-flexbox;
|
828 |
+
display: flex;
|
829 |
+
font-size: 32px;
|
830 |
+
}
|
831 |
+
|
832 |
+
.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content *:last-child {
|
833 |
+
margin-bottom: .75em;
|
834 |
+
}
|
835 |
+
|
836 |
+
.sek-quote.sek-quote-design.sek-quote-icon-before::before {
|
837 |
+
content: '\f10d';
|
838 |
+
color: #ccc;
|
839 |
+
font-weight: 900;
|
840 |
+
font-style: normal;
|
841 |
+
text-align: center;
|
842 |
+
font-family: 'Font Awesome 5 Free';
|
843 |
+
-moz-osx-font-smoothing: grayscale;
|
844 |
+
-webkit-font-smoothing: antialiased;
|
845 |
+
font-variant: normal;
|
846 |
+
text-rendering: auto;
|
847 |
+
display: -ms-flexbox;
|
848 |
+
display: flex;
|
849 |
+
position: static;
|
850 |
+
width: auto;
|
851 |
+
margin: 0;
|
852 |
+
right: 0;
|
853 |
+
position: absolute;
|
854 |
+
top: 0;
|
855 |
+
}
|
856 |
+
|
857 |
+
[data-sek-module-type="czr_button_module"] .sek-module-inner {
|
858 |
+
text-align: center;
|
859 |
+
}
|
860 |
+
|
861 |
+
.sek-module-inner .sek-btn {
|
862 |
+
background: #020202;
|
863 |
+
color: #ffffff;
|
864 |
+
padding: 0.5em 1em;
|
865 |
+
}
|
866 |
+
|
867 |
+
.sek-module-inner .sek-btn i {
|
868 |
+
margin: 0 8px;
|
869 |
+
}
|
870 |
+
|
871 |
+
.sek-btn-inner {
|
872 |
+
display: -ms-flexbox;
|
873 |
+
display: flex;
|
874 |
+
-ms-flex-align: center;
|
875 |
+
align-items: center;
|
876 |
+
}
|
877 |
+
|
878 |
+
.sek-btn.box-shadow {
|
879 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
|
880 |
+
}
|
881 |
+
|
882 |
+
.sek-btn.box-shadow.push-effect:active {
|
883 |
+
-webkit-transform: translateY(2px);
|
884 |
+
transform: translateY(2px);
|
885 |
+
}
|
886 |
+
|
887 |
+
.sek-simple-form-wrapper input[type=text], .sek-simple-form-wrapper textarea {
|
888 |
+
font-size: 16px;
|
889 |
+
width: 100% !important;
|
890 |
+
padding: 0.4em 0.5em;
|
891 |
+
border-radius: 3px;
|
892 |
+
box-sizing: border-box;
|
893 |
+
outline: none;
|
894 |
+
font-weight: normal;
|
895 |
+
max-width: 100%;
|
896 |
+
border: none;
|
897 |
+
color: #555555;
|
898 |
+
background-color: #ffffff;
|
899 |
+
}
|
900 |
+
|
901 |
+
.sek-simple-form-wrapper textarea {
|
902 |
+
height: auto;
|
903 |
+
max-height: 150px;
|
904 |
+
}
|
905 |
+
|
906 |
+
.sek-simple-form-wrapper .sek-form-field {
|
907 |
+
margin-bottom: 15px;
|
908 |
+
clear: both;
|
909 |
+
}
|
910 |
+
|
911 |
+
.sek-simple-form-wrapper label {
|
912 |
+
font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;
|
913 |
+
color: #444444;
|
914 |
+
font-weight: bold;
|
915 |
+
text-align: left;
|
916 |
+
margin: 0;
|
917 |
+
padding: 0 0 3px 0;
|
918 |
+
width: auto;
|
919 |
+
display: block;
|
920 |
+
}
|
921 |
+
|
922 |
+
.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type="text"], .sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea {
|
923 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
|
924 |
+
}
|
925 |
+
|
926 |
+
.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type="text"], .sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea {
|
927 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
928 |
+
}
|
929 |
+
|
930 |
+
.sek-simple-form-wrapper #sek-form-respond {
|
931 |
+
padding: 20px 0;
|
932 |
+
}
|
933 |
+
|
934 |
+
.sek-module-inner {
|
935 |
+
line-height: 1.5em;
|
936 |
+
}
|
937 |
+
|
938 |
+
.sek-module-inner h1, .sek-module-inner h2, .sek-module-inner h3, .sek-module-inner h4, .sek-module-inner h5, .sek-module-inner h6, .sek-module-inner p {
|
939 |
+
line-height: 1.5em;
|
940 |
+
}
|
941 |
+
|
942 |
+
.sek-module-inner p {
|
943 |
+
margin: 0 0 1em;
|
944 |
+
padding: 0;
|
945 |
+
}
|
946 |
+
|
947 |
+
/* make sure that the location level occupies 100% of the width */
|
948 |
+
[data-sek-level="location"] {
|
949 |
+
clear: both;
|
950 |
+
}
|
951 |
+
|
952 |
+
/* To make vertical alignment possible in sections */
|
953 |
+
.sek-section, .sek-column, .sek-module {
|
954 |
+
display: -ms-flexbox;
|
955 |
+
display: flex;
|
956 |
+
-ms-flex-align: center;
|
957 |
+
align-items: center;
|
958 |
+
}
|
959 |
+
|
960 |
+
.sek-column-inner, .sek-module-inner {
|
961 |
+
-ms-flex: 0 0 100%;
|
962 |
+
flex: 0 0 100%;
|
963 |
+
max-width: 100%;
|
964 |
+
}
|
965 |
+
|
966 |
/* To allow horizontal centering of modules
|
967 |
@see https://github.com/presscustomizr/nimble-builder/issues/119
|
968 |
+
*/
|
969 |
+
/* - sections in locations */
|
970 |
+
/* - columns in sections */
|
971 |
+
/* - modules in columns */
|
972 |
+
.sek-column-inner {
|
973 |
+
display: -ms-flexbox;
|
974 |
+
display: flex;
|
975 |
+
-ms-flex-direction: column;
|
976 |
+
flex-direction: column;
|
977 |
+
}
|
978 |
+
|
979 |
+
.sek-module {
|
980 |
+
-ms-flex-item-align: center;
|
981 |
+
align-self: center;
|
982 |
+
width: 100%;
|
983 |
+
max-width: 100%;
|
984 |
+
}
|
985 |
+
|
986 |
/* a nested sektion should reset its parent column padding
|
987 |
@see https://github.com/presscustomizr/nimble-builder/issues/25
|
988 |
+
*/
|
989 |
+
[data-sek-is-nested="true"] .sek-container-fluid {
|
990 |
+
padding-right: 0;
|
991 |
+
padding-left: 0;
|
992 |
+
}
|
993 |
+
|
994 |
+
/* MODULE PLACEHOLDER */
|
995 |
/*@font-face {
|
996 |
font-family: 'Material Icons';
|
997 |
font-style: normal;
|
998 |
font-weight: 400;
|
999 |
src: url('../fonts/material-icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
|
1000 |
+
}*/
|
1001 |
+
/* @see https://github.com/google/material-design-icons/blob/master/iconfont/material-icons.css */
|
1002 |
+
@font-face {
|
1003 |
+
font-family: 'Material Icons';
|
1004 |
+
font-style: normal;
|
1005 |
+
font-weight: 400;
|
1006 |
+
src: url("../fonts/material-icons/MaterialIcons-Regular.eot");
|
1007 |
+
/* For IE6-8 */
|
1008 |
+
src: local("Material Icons"), local("MaterialIcons-Regular"), url("../fonts/material-icons/MaterialIcons-Regular.woff2") format("woff2"), url("../fonts/material-icons/MaterialIcons-Regular.woff") format("woff"), url("../fonts/material-icons/MaterialIcons-Regular.ttf") format("truetype");
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
.material-icons {
|
1012 |
+
font-family: 'Material Icons';
|
1013 |
+
font-weight: normal;
|
1014 |
+
font-style: normal;
|
1015 |
+
font-size: 24px;
|
1016 |
+
/* Preferred icon size */
|
1017 |
+
display: inline-block;
|
1018 |
+
line-height: 1;
|
1019 |
+
text-transform: none;
|
1020 |
+
letter-spacing: normal;
|
1021 |
+
word-wrap: normal;
|
1022 |
+
white-space: nowrap;
|
1023 |
+
direction: ltr;
|
1024 |
+
/* Support for all WebKit browsers. */
|
1025 |
+
-webkit-font-smoothing: antialiased;
|
1026 |
+
/* Support for Safari and Chrome. */
|
1027 |
+
text-rendering: optimizeLegibility;
|
1028 |
+
/* Support for Firefox. */
|
1029 |
+
-moz-osx-font-smoothing: grayscale;
|
1030 |
+
/* Support for IE. */
|
1031 |
+
-webkit-font-feature-settings: 'liga';
|
1032 |
+
font-feature-settings: 'liga';
|
1033 |
+
}
|
1034 |
+
|
1035 |
+
.sek-module-placeholder {
|
1036 |
+
text-align: center;
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
.sek-module-placeholder .material-icons {
|
1040 |
+
font-size: inherit;
|
1041 |
+
color: #cfcfcf;
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
/* LEVEL VISIBILITY BY DEVICE */
|
1045 |
+
@media (min-width: 767px) {
|
1046 |
+
[data-sek-level="location"] .sek-hidden-on-desktops {
|
1047 |
+
display: none;
|
1048 |
+
}
|
1049 |
+
}
|
1050 |
+
|
1051 |
+
@media (min-width: 575px) and (max-width: 768px) {
|
1052 |
+
[data-sek-level="location"] .sek-hidden-on-tablets {
|
1053 |
+
display: none;
|
1054 |
+
}
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
@media (max-width: 575px) {
|
1058 |
+
[data-sek-level="location"] .sek-hidden-on-mobiles {
|
1059 |
+
display: none;
|
1060 |
+
}
|
1061 |
}
|
1062 |
/*# sourceMappingURL=sek-base-rtl.css.map */
|
assets/front/css/sek-base.css
CHANGED
@@ -14,6 +14,10 @@
|
|
14 |
overflow: hidden;
|
15 |
}
|
16 |
|
|
|
|
|
|
|
|
|
17 |
.sek-service-font, .sek-module-inner .sek-btn {
|
18 |
font-family: sans-serif;
|
19 |
letter-spacing: 1px;
|
14 |
overflow: hidden;
|
15 |
}
|
16 |
|
17 |
+
.sektion-wrapper figure {
|
18 |
+
margin: 0;
|
19 |
+
}
|
20 |
+
|
21 |
.sek-service-font, .sek-module-inner .sek-btn {
|
22 |
font-family: sans-serif;
|
23 |
letter-spacing: 1px;
|
assets/front/css/sek-base.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.sektion-wrapper *,.sektion-wrapper ::after,.sektion-wrapper ::before{box-sizing:border-box}.sektion-wrapper img{max-width:100%;vertical-align:middle;border-style:none}.sektion-wrapper svg:not(:root){overflow:hidden}.sek-module-inner .sek-btn,.sek-service-font{font-family:sans-serif;letter-spacing:1px}.sek-container{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}@media (min-width:576px){.sek-container{max-width:540px}}@media (min-width:768px){.sek-container{max-width:720px}}@media (min-width:992px){.sek-container{max-width:960px}}@media (min-width:1200px){.sek-container{max-width:1140px}}.sek-container-fluid{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.sek-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.sek-container-no-padding{padding-right:0;padding-left:0;overflow-x:hidden}.sek-no-gutters{margin-right:0;margin-left:0}.sek-no-gutters>.sek-col,.sek-no-gutters>[class*=sek-col-]{padding-right:0;padding-left:0}.sek-col,.sek-col-10,.sek-col-100,.sek-col-11,.sek-col-12,.sek-col-14,.sek-col-16,.sek-col-20,.sek-col-25,.sek-col-30,.sek-col-33,.sek-col-40,.sek-col-50,.sek-col-60,.sek-col-66,.sek-col-70,.sek-col-75,.sek-col-8,.sek-col-80,.sek-col-83,.sek-col-9,.sek-col-90,.sek-col-auto,.sek-col-base{position:relative;width:100%;min-height:1px;padding-right:10px;padding-left:10px}.sek-col-base{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.sek-col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}@media (min-width:768px){.sek-col-8{-ms-flex:0 0 8.333%;flex:0 0 8.333%;max-width:8.333%}.sek-col-9{-ms-flex:0 0 9.090909%;flex:0 0 9.090909%;max-width:9.090909%}.sek-col-10{-ms-flex:0 0 10%;flex:0 0 10%;max-width:10%}.sek-col-11{-ms-flex:0 0 11.111%;flex:0 0 11.111%;max-width:11.111%}.sek-col-12{-ms-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.sek-col-14{-ms-flex:0 0 14.285%;flex:0 0 14.285%;max-width:14.285%}.sek-col-16{-ms-flex:0 0 16.666%;flex:0 0 16.666%;max-width:16.666%}.sek-col-20{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.sek-col-25{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.sek-col-30{-ms-flex:0 0 30%;flex:0 0 30%;max-width:30%}.sek-col-33{-ms-flex:0 0 33.333%;flex:0 0 33.333%;max-width:33.333%}.sek-col-40{-ms-flex:0 0 40%;flex:0 0 40%;max-width:40%}.sek-col-50{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.sek-col-60{-ms-flex:0 0 60%;flex:0 0 60%;max-width:60%}.sek-col-66{-ms-flex:0 0 66.666%;flex:0 0 66.666%;max-width:66.666%}.sek-col-70{-ms-flex:0 0 70%;flex:0 0 70%;max-width:70%}.sek-col-75{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.sek-col-80{-ms-flex:0 0 80%;flex:0 0 80%;max-width:80%}.sek-col-83{-ms-flex:0 0 83.333%;flex:0 0 83.333%;max-width:83.333%}.sek-col-90{-ms-flex:0 0 90%;flex:0 0 90%;max-width:90%}.sek-col-100{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-order-first{-ms-flex-order:-1;order:-1}.sek-order-last{-ms-flex-order:13;order:13}.sek-order-0{-ms-flex-order:0;order:0}.sek-order-1{-ms-flex-order:1;order:1}.sek-order-2{-ms-flex-order:2;order:2}.sek-order-3{-ms-flex-order:3;order:3}.sek-order-4{-ms-flex-order:4;order:4}.sek-order-5{-ms-flex-order:5;order:5}.sek-order-6{-ms-flex-order:6;order:6}.sek-order-7{-ms-flex-order:7;order:7}.sek-order-8{-ms-flex-order:8;order:8}.sek-order-9{-ms-flex-order:9;order:9}.sek-order-10{-ms-flex-order:10;order:10}.sek-order-11{-ms-flex-order:11;order:11}.sek-order-12{-ms-flex-order:12;order:12}}.sek-clearfix::after{display:block;clear:both;content:""}.sek-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sek-sr-only-focusable:active,.sek-sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.sek-embed{position:relative}.sek-embed::before{display:block;content:''}.sek-embed .sek-embed-inner,.sek-embed iframe{position:absolute;width:100%;height:100%;top:0;left:0}.sektion-wrapper{word-wrap:break-word}.sek-module .sek-module-inner ul{list-style:disc}.sek-module .sek-module-inner ol{list-style:decimal}.sek-module .sek-module-inner ol>li::before{content:none}.sek-module .sek-module-inner ol,.sek-module .sek-module-inner ul{padding:0;line-height:1.5;margin:0 0 1.5rem 1.5rem}.sek-module .sek-module-inner ol>li,.sek-module .sek-module-inner ul>li{padding:0}.sek-module .sek-module-inner li>ol,.sek-module .sek-module-inner li>ul{margin-bottom:0}.sek-module-inner .sek-btn{display:inline-block;font-weight:400;line-height:1.25em;text-align:center;white-space:normal;word-break:break-all;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5em 1em;border-radius:2px;border-width:2px;border-style:solid;font-size:1em;cursor:pointer;text-decoration:none;text-transform:none;transition:all .2s ease-in-out}.sek-module-inner .sek-btn:focus,.sek-module-inner .sek-btn:hover{text-decoration:none}.sek-module-inner .focus.sek-btn,.sek-module-inner .sek-btn:focus{outline:0;box-shadow:0 0 0 2px rgba(2,117,216,.25)}.sek-module-inner .disabled.sek-btn,.sek-module-inner .sek-btn:disabled{cursor:not-allowed;opacity:.65;box-shadow:none}.sek-module-inner .active.sek-btn,.sek-module-inner .sek-btn:active{background-image:none;box-shadow:0 0 0 2px rgba(2,117,216,.25)}a.sek-btn.disabled,fieldset[disabled] a.sek-btn{pointer-events:none}.sektion-wrapper [type=button],.sektion-wrapper [type=reset],.sektion-wrapper [type=submit],.sektion-wrapper button{-webkit-appearance:button}.sektion-wrapper [type=button]::-moz-focus-inner,.sektion-wrapper [type=reset]::-moz-focus-inner,.sektion-wrapper [type=submit]::-moz-focus-inner,.sektion-wrapper button::-moz-focus-inner{padding:0;border-style:none}.sektion-wrapper [type=button]::-moz-focus-inner .sek-btn,.sektion-wrapper [type=reset]::-moz-focus-inner .sek-btn,.sektion-wrapper [type=submit]::-moz-focus-inner .sek-btn,.sektion-wrapper button::-moz-focus-inner .sek-btn{padding:.5em 1em;border-style:solid}[type=button].sek-btn,[type=reset].sek-btn,[type=submit].sek-btn,button.sek-btn{-wekbit-appearance:none!important;background:0 0}[class*=sek__r-w]{position:relative;display:block;padding:0;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}[class*=sek__r-w]::before{display:block;content:""}.sek__r-wFP::before{padding-top:92.592593%}.sek-fp-widget{text-align:center;margin:auto!important}.sek-fp-widget .sek-fp-button-holder,.sek-fp-widget .sek-fp-text,.sek-fp-widget .sek-fp-title{width:90%;margin-left:auto;margin-right:auto}.sek-fp-widget .sek-fp-title{color:#5a5a5a;line-height:1.25em;margin-top:.625em;margin-bottom:1.25em;word-break:break-word;position:relative;font-weight:500;font-size:1.44em}.sek-fp-widget .sek-fp-title::after{content:"";position:absolute;width:1.25em;background:#5a5a5a;height:2px;top:100%;left:0;right:0;margin:.3125em auto 0;transition:all .6s ease}.sek-link-mask-p:hover .sek-fp-title::after{width:2.5em}.sek-fp-widget .sek-fp-text{color:#777;line-height:1.55em;margin:1.5em auto;word-wrap:break-word}.sek-fp-widget .sek-fp-text>a{padding:0!important;display:inline!important;line-height:1em!important}.sek-fp-widget .sek-fp-btn-link{text-transform:uppercase;margin-bottom:1.25em;white-space:normal;word-break:break-word;outline:0;background-color:#3b3b3b;color:#fff;border-color:#3b3b3b;font-size:.75em;line-height:2.5em;padding:0 2.5em}.sek-fp-widget .sek-fp-btn-link:active,.sek-fp-widget .sek-fp-btn-link:focus,.sek-fp-widget .sek-fp-btn-link:hover{color:#3b3b3b;background:0 0}.sek-fp-widget .sek-fp-thumb-wrapper{max-width:270px;margin:8px auto}.sek-fp-widget img{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-ms-transform:translate(0,0);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute;top:0;left:0;z-index:0}.js-center-images-disabled .sek-fp-widget img{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);-ms-transform:translate(-50%,-50%);top:50%;left:50%;max-width:100%}.sek-fp-widget img.h-centered{width:auto!important;max-width:none!important}.sek-fp-widget img.v-centered{height:auto!important;max-height:none!important;max-width:none!important;vertical-align:top}.sek-link-mask{position:absolute;border-color:#fff;left:0;right:0;top:0;bottom:0;overflow:hidden;z-index:1}.sek-link-mask.no-effect{border:none}.sek-link-mask::before{position:absolute;width:63%;padding-bottom:63%;content:'';z-index:1;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);border:150px solid;border-color:inherit;box-sizing:content-box;transition:all .3s ease}.round .sek-link-mask::before{border-radius:50%}.sek-link-mask-p:hover .sek-link-mask::before{-webkit-transform:translate(-50%,-50%) scale(1.4);transform:translate(-50%,-50%) scale(1.4);-webkit-transform:translate3d(-50%,-50%,0) scale(1.4);transform:translate3d(-50%,-50%,0) scale(1.4);-ms-transform:translate(-50%,-50%) scale(1.4)}.no-cssanimations .sek-link-mask{border:transparent}.no-cssanimations .sek-fp-thumb-wrapper{opacity:.7}.no-cssanimations .sek-fp-thumb-wrapper:hover{opacity:1}[data-sek-module-type=czr_image_module]{text-align:center}[data-sek-module-type=czr_image_module] img{border:0 solid #f2f2f2}[data-sek-module-type=czr_image_module] .box-shadow img{box-shadow:rgba(0,0,0,.25) 0 3px 11px 0}.sek-hover-effect-opacity img:hover{opacity:.7}.sek-hover-effect-zoom-out img:hover{-webkit-transform:scale(1.05);transform:scale(1.05)}.sek-hover-effect-zoom-in img:hover{-webkit-transform:scale(.95);transform:scale(.95)}.sek-hover-effect-move-up img:hover{-webkit-transform:translateY(-6px);transform:translateY(-6px)}.sek-hover-effect-move-down img:hover{-webkit-transform:translateY(6px);transform:translateY(6px)}.sek-hover-effect-blur img:hover{-webkit-filter:blur(2px);filter:blur(2px)}.sek-hover-effect-grayscale img:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}.sek-hover-effect-grayscale img:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray}.sek-hover-effect-reverse-grayscale img{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray}.sek-hover-effect-reverse-grayscale img:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}[data-sek-module-type=czr_divider_module]{text-align:center}[data-sek-module-type=czr_divider_module] .sek-module-inner{font-size:0;line-height:0}.sek-divider{border-top:1px solid #5a5a5a;display:inline-block;width:100%;margin-top:15px;margin-bottom:15px;font-size:1rem}.sek-spacer{height:20px}[data-sek-module-type=czr_icon_module]{text-align:center;color:#5a5a5a;font-size:15px}[data-sek-module-type=czr_icon_module] a.sek-icon,[data-sek-module-type=czr_icon_module] a.sek-icon.active,[data-sek-module-type=czr_icon_module] a.sek-icon:active,[data-sek-module-type=czr_icon_module] a.sek-icon:focus,[data-sek-module-type=czr_icon_module] a.sek-icon:hover{color:inherit}[data-sek-module-type=czr_icon_module] .box-shadow i{box-shadow:rgba(0,0,0,.25) 0 3px 11px 0}[data-sek-module-type=czr_icon_module] .sek-icon i{webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out}[data-sek-module-type=czr_icon_module] .sek-icon .fab,[data-sek-module-type=czr_icon_module] .sek-icon .far,[data-sek-module-type=czr_icon_module] .sek-icon .fas{width:auto}.sek-quote p{margin:0 0 .5em;padding:0}.sek-quote .sek-cite{font-size:13px;line-height:1.5em;font-style:inherit}.sek-quote.sek-quote-design{background:0 0;font-style:inherit;margin-right:0;margin-left:0;padding:15px 0;border:none}.sek-quote.sek-quote-design>*{padding:0;margin:0}.sek-quote.sek-quote-design::after,.sek-quote.sek-quote-design::before{display:none}.sek-quote.sek-quote-design .sek-cite{padding:0;font-weight:400}.sek-quote.sek-quote-design .sek-cite::before{display:none}.sek-quote.sek-quote-design .sek-quote-inner{color:inherit;padding-left:calc(10px + 1.3em)}.sek-quote.sek-quote-design .sek-quote-content{font-weight:400;font-size:16px;color:inherit}.sek-quote.sek-quote-design.sek-border-before{padding-left:15px;border-left:5px solid}.sek-quote.sek-quote-design.sek-border-before .sek-cite{clear:both;display:block;margin-top:1.5em;position:relative;padding-left:2.2em;padding-right:.25em}.sek-quote.sek-quote-design.sek-border-before .sek-cite::before{display:block;content:'';top:1em;position:absolute;background:0 0;width:2em;height:auto;left:0;border-top:1px solid}.sek-quote.sek-quote-design.sek-quote-icon-before{position:relative;display:-ms-flexbox;display:flex;font-size:32px}.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content :last-child{margin-bottom:.75em}.sek-quote.sek-quote-design.sek-quote-icon-before::before{content:'\f10d';color:#ccc;font-weight:900;font-style:normal;text-align:center;font-family:'Font Awesome 5 Free';-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-variant:normal;text-rendering:auto;display:-ms-flexbox;display:flex;position:static;width:auto;margin:0;left:0;position:absolute;top:0}[data-sek-module-type=czr_button_module] .sek-module-inner{text-align:center}.sek-module-inner .sek-btn{background:#020202;color:#fff;padding:.5em 1em}.sek-module-inner .sek-btn i{margin:0 8px}.sek-btn-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sek-btn.box-shadow{box-shadow:0 3px 8px rgba(0,0,0,.2)!important}.sek-btn.box-shadow.push-effect:active{-webkit-transform:translateY(2px);transform:translateY(2px)}.sek-simple-form-wrapper input[type=text],.sek-simple-form-wrapper textarea{font-size:16px;width:100%!important;padding:.4em .5em;border-radius:3px;box-sizing:border-box;outline:0;font-weight:400;max-width:100%;border:none;color:#555;background-color:#fff}.sek-simple-form-wrapper textarea{height:auto;max-height:150px}.sek-simple-form-wrapper .sek-form-field{margin-bottom:15px;clear:both}.sek-simple-form-wrapper label{font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;color:#444;font-weight:700;text-align:left;margin:0;padding:0 0 3px 0;width:auto;display:block}.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type=text],.sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea{box-shadow:0 3px 8px rgba(0,0,0,.2)!important}.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type=text],.sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea{box-shadow:0 1px 1px rgba(0,0,0,.075) inset}.sek-simple-form-wrapper #sek-form-respond{padding:20px 0}.sek-module-inner{line-height:1.5em}.sek-module-inner h1,.sek-module-inner h2,.sek-module-inner h3,.sek-module-inner h4,.sek-module-inner h5,.sek-module-inner h6,.sek-module-inner p{line-height:1.5em}.sek-module-inner p{margin:0 0 1em;padding:0}[data-sek-level=location]{clear:both}.sek-column,.sek-module,.sek-section{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sek-column-inner,.sek-module-inner{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-column-inner{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sek-module{-ms-flex-item-align:center;align-self:center;width:100%;max-width:100%}[data-sek-is-nested=true] .sek-container-fluid{padding-right:0;padding-left:0}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../fonts/material-icons/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(../fonts/material-icons/MaterialIcons-Regular.woff2) format("woff2"),url(../fonts/material-icons/MaterialIcons-Regular.woff) format("woff"),url(../fonts/material-icons/MaterialIcons-Regular.ttf) format("truetype")}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'}.sek-module-placeholder{text-align:center}.sek-module-placeholder .material-icons{font-size:inherit;color:#cfcfcf}@media (min-width:767px){[data-sek-level=location] .sek-hidden-on-desktops{display:none}}@media (min-width:575px) and (max-width:768px){[data-sek-level=location] .sek-hidden-on-tablets{display:none}}@media (max-width:575px){[data-sek-level=location] .sek-hidden-on-mobiles{display:none}}
|
1 |
+
.sektion-wrapper *,.sektion-wrapper ::after,.sektion-wrapper ::before{box-sizing:border-box}.sektion-wrapper img{max-width:100%;vertical-align:middle;border-style:none}.sektion-wrapper svg:not(:root){overflow:hidden}.sektion-wrapper figure{margin:0}.sek-module-inner .sek-btn,.sek-service-font{font-family:sans-serif;letter-spacing:1px}.sek-container{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}@media (min-width:576px){.sek-container{max-width:540px}}@media (min-width:768px){.sek-container{max-width:720px}}@media (min-width:992px){.sek-container{max-width:960px}}@media (min-width:1200px){.sek-container{max-width:1140px}}.sek-container-fluid{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.sek-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.sek-container-no-padding{padding-right:0;padding-left:0;overflow-x:hidden}.sek-no-gutters{margin-right:0;margin-left:0}.sek-no-gutters>.sek-col,.sek-no-gutters>[class*=sek-col-]{padding-right:0;padding-left:0}.sek-col,.sek-col-10,.sek-col-100,.sek-col-11,.sek-col-12,.sek-col-14,.sek-col-16,.sek-col-20,.sek-col-25,.sek-col-30,.sek-col-33,.sek-col-40,.sek-col-50,.sek-col-60,.sek-col-66,.sek-col-70,.sek-col-75,.sek-col-8,.sek-col-80,.sek-col-83,.sek-col-9,.sek-col-90,.sek-col-auto,.sek-col-base{position:relative;width:100%;min-height:1px;padding-right:10px;padding-left:10px}.sek-col-base{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.sek-col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}@media (min-width:768px){.sek-col-8{-ms-flex:0 0 8.333%;flex:0 0 8.333%;max-width:8.333%}.sek-col-9{-ms-flex:0 0 9.090909%;flex:0 0 9.090909%;max-width:9.090909%}.sek-col-10{-ms-flex:0 0 10%;flex:0 0 10%;max-width:10%}.sek-col-11{-ms-flex:0 0 11.111%;flex:0 0 11.111%;max-width:11.111%}.sek-col-12{-ms-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.sek-col-14{-ms-flex:0 0 14.285%;flex:0 0 14.285%;max-width:14.285%}.sek-col-16{-ms-flex:0 0 16.666%;flex:0 0 16.666%;max-width:16.666%}.sek-col-20{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.sek-col-25{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.sek-col-30{-ms-flex:0 0 30%;flex:0 0 30%;max-width:30%}.sek-col-33{-ms-flex:0 0 33.333%;flex:0 0 33.333%;max-width:33.333%}.sek-col-40{-ms-flex:0 0 40%;flex:0 0 40%;max-width:40%}.sek-col-50{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.sek-col-60{-ms-flex:0 0 60%;flex:0 0 60%;max-width:60%}.sek-col-66{-ms-flex:0 0 66.666%;flex:0 0 66.666%;max-width:66.666%}.sek-col-70{-ms-flex:0 0 70%;flex:0 0 70%;max-width:70%}.sek-col-75{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.sek-col-80{-ms-flex:0 0 80%;flex:0 0 80%;max-width:80%}.sek-col-83{-ms-flex:0 0 83.333%;flex:0 0 83.333%;max-width:83.333%}.sek-col-90{-ms-flex:0 0 90%;flex:0 0 90%;max-width:90%}.sek-col-100{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-order-first{-ms-flex-order:-1;order:-1}.sek-order-last{-ms-flex-order:13;order:13}.sek-order-0{-ms-flex-order:0;order:0}.sek-order-1{-ms-flex-order:1;order:1}.sek-order-2{-ms-flex-order:2;order:2}.sek-order-3{-ms-flex-order:3;order:3}.sek-order-4{-ms-flex-order:4;order:4}.sek-order-5{-ms-flex-order:5;order:5}.sek-order-6{-ms-flex-order:6;order:6}.sek-order-7{-ms-flex-order:7;order:7}.sek-order-8{-ms-flex-order:8;order:8}.sek-order-9{-ms-flex-order:9;order:9}.sek-order-10{-ms-flex-order:10;order:10}.sek-order-11{-ms-flex-order:11;order:11}.sek-order-12{-ms-flex-order:12;order:12}}.sek-clearfix::after{display:block;clear:both;content:""}.sek-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sek-sr-only-focusable:active,.sek-sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.sek-embed{position:relative}.sek-embed::before{display:block;content:''}.sek-embed .sek-embed-inner,.sek-embed iframe{position:absolute;width:100%;height:100%;top:0;left:0}.sektion-wrapper{word-wrap:break-word}.sek-module .sek-module-inner ul{list-style:disc}.sek-module .sek-module-inner ol{list-style:decimal}.sek-module .sek-module-inner ol>li::before{content:none}.sek-module .sek-module-inner ol,.sek-module .sek-module-inner ul{padding:0;line-height:1.5;margin:0 0 1.5rem 1.5rem}.sek-module .sek-module-inner ol>li,.sek-module .sek-module-inner ul>li{padding:0}.sek-module .sek-module-inner li>ol,.sek-module .sek-module-inner li>ul{margin-bottom:0}.sek-module-inner .sek-btn{display:inline-block;font-weight:400;line-height:1.25em;text-align:center;white-space:normal;word-break:break-all;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5em 1em;border-radius:2px;border-width:2px;border-style:solid;font-size:1em;cursor:pointer;text-decoration:none;text-transform:none;transition:all .2s ease-in-out}.sek-module-inner .sek-btn:focus,.sek-module-inner .sek-btn:hover{text-decoration:none}.sek-module-inner .focus.sek-btn,.sek-module-inner .sek-btn:focus{outline:0;box-shadow:0 0 0 2px rgba(2,117,216,.25)}.sek-module-inner .disabled.sek-btn,.sek-module-inner .sek-btn:disabled{cursor:not-allowed;opacity:.65;box-shadow:none}.sek-module-inner .active.sek-btn,.sek-module-inner .sek-btn:active{background-image:none;box-shadow:0 0 0 2px rgba(2,117,216,.25)}a.sek-btn.disabled,fieldset[disabled] a.sek-btn{pointer-events:none}.sektion-wrapper [type=button],.sektion-wrapper [type=reset],.sektion-wrapper [type=submit],.sektion-wrapper button{-webkit-appearance:button}.sektion-wrapper [type=button]::-moz-focus-inner,.sektion-wrapper [type=reset]::-moz-focus-inner,.sektion-wrapper [type=submit]::-moz-focus-inner,.sektion-wrapper button::-moz-focus-inner{padding:0;border-style:none}.sektion-wrapper [type=button]::-moz-focus-inner .sek-btn,.sektion-wrapper [type=reset]::-moz-focus-inner .sek-btn,.sektion-wrapper [type=submit]::-moz-focus-inner .sek-btn,.sektion-wrapper button::-moz-focus-inner .sek-btn{padding:.5em 1em;border-style:solid}[type=button].sek-btn,[type=reset].sek-btn,[type=submit].sek-btn,button.sek-btn{-wekbit-appearance:none!important;background:0 0}[class*=sek__r-w]{position:relative;display:block;padding:0;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}[class*=sek__r-w]::before{display:block;content:""}.sek__r-wFP::before{padding-top:92.592593%}.sek-fp-widget{text-align:center;margin:auto!important}.sek-fp-widget .sek-fp-button-holder,.sek-fp-widget .sek-fp-text,.sek-fp-widget .sek-fp-title{width:90%;margin-left:auto;margin-right:auto}.sek-fp-widget .sek-fp-title{color:#5a5a5a;line-height:1.25em;margin-top:.625em;margin-bottom:1.25em;word-break:break-word;position:relative;font-weight:500;font-size:1.44em}.sek-fp-widget .sek-fp-title::after{content:"";position:absolute;width:1.25em;background:#5a5a5a;height:2px;top:100%;left:0;right:0;margin:.3125em auto 0;transition:all .6s ease}.sek-link-mask-p:hover .sek-fp-title::after{width:2.5em}.sek-fp-widget .sek-fp-text{color:#777;line-height:1.55em;margin:1.5em auto;word-wrap:break-word}.sek-fp-widget .sek-fp-text>a{padding:0!important;display:inline!important;line-height:1em!important}.sek-fp-widget .sek-fp-btn-link{text-transform:uppercase;margin-bottom:1.25em;white-space:normal;word-break:break-word;outline:0;background-color:#3b3b3b;color:#fff;border-color:#3b3b3b;font-size:.75em;line-height:2.5em;padding:0 2.5em}.sek-fp-widget .sek-fp-btn-link:active,.sek-fp-widget .sek-fp-btn-link:focus,.sek-fp-widget .sek-fp-btn-link:hover{color:#3b3b3b;background:0 0}.sek-fp-widget .sek-fp-thumb-wrapper{max-width:270px;margin:8px auto}.sek-fp-widget img{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-ms-transform:translate(0,0);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute;top:0;left:0;z-index:0}.js-center-images-disabled .sek-fp-widget img{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);-ms-transform:translate(-50%,-50%);top:50%;left:50%;max-width:100%}.sek-fp-widget img.h-centered{width:auto!important;max-width:none!important}.sek-fp-widget img.v-centered{height:auto!important;max-height:none!important;max-width:none!important;vertical-align:top}.sek-link-mask{position:absolute;border-color:#fff;left:0;right:0;top:0;bottom:0;overflow:hidden;z-index:1}.sek-link-mask.no-effect{border:none}.sek-link-mask::before{position:absolute;width:63%;padding-bottom:63%;content:'';z-index:1;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);border:150px solid;border-color:inherit;box-sizing:content-box;transition:all .3s ease}.round .sek-link-mask::before{border-radius:50%}.sek-link-mask-p:hover .sek-link-mask::before{-webkit-transform:translate(-50%,-50%) scale(1.4);transform:translate(-50%,-50%) scale(1.4);-webkit-transform:translate3d(-50%,-50%,0) scale(1.4);transform:translate3d(-50%,-50%,0) scale(1.4);-ms-transform:translate(-50%,-50%) scale(1.4)}.no-cssanimations .sek-link-mask{border:transparent}.no-cssanimations .sek-fp-thumb-wrapper{opacity:.7}.no-cssanimations .sek-fp-thumb-wrapper:hover{opacity:1}[data-sek-module-type=czr_image_module]{text-align:center}[data-sek-module-type=czr_image_module] img{border:0 solid #f2f2f2}[data-sek-module-type=czr_image_module] .box-shadow img{box-shadow:rgba(0,0,0,.25) 0 3px 11px 0}.sek-hover-effect-opacity img:hover{opacity:.7}.sek-hover-effect-zoom-out img:hover{-webkit-transform:scale(1.05);transform:scale(1.05)}.sek-hover-effect-zoom-in img:hover{-webkit-transform:scale(.95);transform:scale(.95)}.sek-hover-effect-move-up img:hover{-webkit-transform:translateY(-6px);transform:translateY(-6px)}.sek-hover-effect-move-down img:hover{-webkit-transform:translateY(6px);transform:translateY(6px)}.sek-hover-effect-blur img:hover{-webkit-filter:blur(2px);filter:blur(2px)}.sek-hover-effect-grayscale img:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}.sek-hover-effect-grayscale img:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray}.sek-hover-effect-reverse-grayscale img{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray}.sek-hover-effect-reverse-grayscale img:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}[data-sek-module-type=czr_divider_module]{text-align:center}[data-sek-module-type=czr_divider_module] .sek-module-inner{font-size:0;line-height:0}.sek-divider{border-top:1px solid #5a5a5a;display:inline-block;width:100%;margin-top:15px;margin-bottom:15px;font-size:1rem}.sek-spacer{height:20px}[data-sek-module-type=czr_icon_module]{text-align:center;color:#5a5a5a;font-size:15px}[data-sek-module-type=czr_icon_module] a.sek-icon,[data-sek-module-type=czr_icon_module] a.sek-icon.active,[data-sek-module-type=czr_icon_module] a.sek-icon:active,[data-sek-module-type=czr_icon_module] a.sek-icon:focus,[data-sek-module-type=czr_icon_module] a.sek-icon:hover{color:inherit}[data-sek-module-type=czr_icon_module] .box-shadow i{box-shadow:rgba(0,0,0,.25) 0 3px 11px 0}[data-sek-module-type=czr_icon_module] .sek-icon i{webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out}[data-sek-module-type=czr_icon_module] .sek-icon .fab,[data-sek-module-type=czr_icon_module] .sek-icon .far,[data-sek-module-type=czr_icon_module] .sek-icon .fas{width:auto}.sek-quote p{margin:0 0 .5em;padding:0}.sek-quote .sek-cite{font-size:13px;line-height:1.5em;font-style:inherit}.sek-quote.sek-quote-design{background:0 0;font-style:inherit;margin-right:0;margin-left:0;padding:15px 0;border:none}.sek-quote.sek-quote-design>*{padding:0;margin:0}.sek-quote.sek-quote-design::after,.sek-quote.sek-quote-design::before{display:none}.sek-quote.sek-quote-design .sek-cite{padding:0;font-weight:400}.sek-quote.sek-quote-design .sek-cite::before{display:none}.sek-quote.sek-quote-design .sek-quote-inner{color:inherit;padding-left:calc(10px + 1.3em)}.sek-quote.sek-quote-design .sek-quote-content{font-weight:400;font-size:16px;color:inherit}.sek-quote.sek-quote-design.sek-border-before{padding-left:15px;border-left:5px solid}.sek-quote.sek-quote-design.sek-border-before .sek-cite{clear:both;display:block;margin-top:1.5em;position:relative;padding-left:2.2em;padding-right:.25em}.sek-quote.sek-quote-design.sek-border-before .sek-cite::before{display:block;content:'';top:1em;position:absolute;background:0 0;width:2em;height:auto;left:0;border-top:1px solid}.sek-quote.sek-quote-design.sek-quote-icon-before{position:relative;display:-ms-flexbox;display:flex;font-size:32px}.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content :last-child{margin-bottom:.75em}.sek-quote.sek-quote-design.sek-quote-icon-before::before{content:'\f10d';color:#ccc;font-weight:900;font-style:normal;text-align:center;font-family:'Font Awesome 5 Free';-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-variant:normal;text-rendering:auto;display:-ms-flexbox;display:flex;position:static;width:auto;margin:0;left:0;position:absolute;top:0}[data-sek-module-type=czr_button_module] .sek-module-inner{text-align:center}.sek-module-inner .sek-btn{background:#020202;color:#fff;padding:.5em 1em}.sek-module-inner .sek-btn i{margin:0 8px}.sek-btn-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sek-btn.box-shadow{box-shadow:0 3px 8px rgba(0,0,0,.2)!important}.sek-btn.box-shadow.push-effect:active{-webkit-transform:translateY(2px);transform:translateY(2px)}.sek-simple-form-wrapper input[type=text],.sek-simple-form-wrapper textarea{font-size:16px;width:100%!important;padding:.4em .5em;border-radius:3px;box-sizing:border-box;outline:0;font-weight:400;max-width:100%;border:none;color:#555;background-color:#fff}.sek-simple-form-wrapper textarea{height:auto;max-height:150px}.sek-simple-form-wrapper .sek-form-field{margin-bottom:15px;clear:both}.sek-simple-form-wrapper label{font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;color:#444;font-weight:700;text-align:left;margin:0;padding:0 0 3px 0;width:auto;display:block}.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type=text],.sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea{box-shadow:0 3px 8px rgba(0,0,0,.2)!important}.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type=text],.sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea{box-shadow:0 1px 1px rgba(0,0,0,.075) inset}.sek-simple-form-wrapper #sek-form-respond{padding:20px 0}.sek-module-inner{line-height:1.5em}.sek-module-inner h1,.sek-module-inner h2,.sek-module-inner h3,.sek-module-inner h4,.sek-module-inner h5,.sek-module-inner h6,.sek-module-inner p{line-height:1.5em}.sek-module-inner p{margin:0 0 1em;padding:0}[data-sek-level=location]{clear:both}.sek-column,.sek-module,.sek-section{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sek-column-inner,.sek-module-inner{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.sek-column-inner{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sek-module{-ms-flex-item-align:center;align-self:center;width:100%;max-width:100%}[data-sek-is-nested=true] .sek-container-fluid{padding-right:0;padding-left:0}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../fonts/material-icons/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(../fonts/material-icons/MaterialIcons-Regular.woff2) format("woff2"),url(../fonts/material-icons/MaterialIcons-Regular.woff) format("woff"),url(../fonts/material-icons/MaterialIcons-Regular.ttf) format("truetype")}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:'liga';font-feature-settings:'liga'}.sek-module-placeholder{text-align:center}.sek-module-placeholder .material-icons{font-size:inherit;color:#cfcfcf}@media (min-width:767px){[data-sek-level=location] .sek-hidden-on-desktops{display:none}}@media (min-width:575px) and (max-width:768px){[data-sek-level=location] .sek-hidden-on-tablets{display:none}}@media (max-width:575px){[data-sek-level=location] .sek-hidden-on-mobiles{display:none}}
|
assets/front/js/ccat-nimble-front.js
CHANGED
@@ -1522,8 +1522,12 @@ jQuery(function($){
|
|
1522 |
/* ------------------------------------------------------------------------- */
|
1523 |
jQuery(function($){
|
1524 |
$('[data-sek-bg-parallax="true"]').parallaxBg();
|
1525 |
-
$('body').on('sek-level-refreshed
|
1526 |
-
$(this).
|
|
|
|
|
|
|
|
|
1527 |
});
|
1528 |
});
|
1529 |
|
@@ -1537,7 +1541,7 @@ jQuery( function($){
|
|
1537 |
$(this).fitText( 0.4, { minFontSize: '50px', maxFontSize: '300px' } ).data('sek-fittext-done', true );
|
1538 |
});
|
1539 |
$('.sektion-wrapper').on(
|
1540 |
-
'sek-columns-refreshed sek-modules-refreshed sek-section-added sek-
|
1541 |
'div[data-sek-level="section"]',
|
1542 |
function( evt ) {
|
1543 |
$(this).find(".sek-module-placeholder").fitText( 0.4, { minFontSize: '50px', maxFontSize: '300px' } ).data('sek-fittext-done', true );
|
1522 |
/* ------------------------------------------------------------------------- */
|
1523 |
jQuery(function($){
|
1524 |
$('[data-sek-bg-parallax="true"]').parallaxBg();
|
1525 |
+
$('body').on('sek-level-refreshed sek-section-added', function( evt ){
|
1526 |
+
if ( "true" === $(this).attr( 'data-sek-bg-parallax' ) ) {
|
1527 |
+
$(this).parallaxBg();
|
1528 |
+
} else {
|
1529 |
+
$(this).find('[data-sek-bg-parallax="true"]').parallaxBg();
|
1530 |
+
}
|
1531 |
});
|
1532 |
});
|
1533 |
|
1541 |
$(this).fitText( 0.4, { minFontSize: '50px', maxFontSize: '300px' } ).data('sek-fittext-done', true );
|
1542 |
});
|
1543 |
$('.sektion-wrapper').on(
|
1544 |
+
'sek-columns-refreshed sek-modules-refreshed sek-section-added sek-level-refreshed',
|
1545 |
'div[data-sek-level="section"]',
|
1546 |
function( evt ) {
|
1547 |
$(this).find(".sek-module-placeholder").fitText( 0.4, { minFontSize: '50px', maxFontSize: '300px' } ).data('sek-fittext-done', true );
|
assets/front/js/ccat-nimble-front.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var n="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this||{},t=n._,e=Array.prototype,a=Object.prototype,f="undefined"!=typeof Symbol?Symbol.prototype:null,i=e.push,l=e.slice,p=a.toString,o=a.hasOwnProperty,r=Array.isArray,u=Object.keys,c=Object.create,s=function(){},h=function(n){return n instanceof h?n:this instanceof h?void(this._wrapped=n):new h(n)};"undefined"==typeof exports||exports.nodeType?n._utils_=h:("undefined"!=typeof module&&!module.nodeType&&module.exports&&(exports=module.exports=h),exports._utils_=h),h.VERSION="1.9.1";var d,v=function(i,o,n){if(void 0===o)return i;switch(null==n?3:n){case 1:return function(n){return i.call(o,n)};case 3:return function(n,t,r){return i.call(o,n,t,r)};case 4:return function(n,t,r,e){return i.call(o,n,t,r,e)}}return function(){return i.apply(o,arguments)}},y=function(n,t,r){return h.iteratee!==d?h.iteratee(n,t):null==n?h.identity:h.isFunction(n)?v(n,t,r):h.isObject(n)&&!h.isArray(n)?h.matcher(n):h.property(n)};h.iteratee=d=function(n,t){return y(n,t,1/0)};var m=function(i,o){return o=null==o?i.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return i.call(this,t);case 1:return i.call(this,arguments[0],t);case 2:return i.call(this,arguments[0],arguments[1],t)}var e=Array(o+1);for(r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,i.apply(this,e)}},g=function(n){if(!h.isObject(n))return{};if(c)return c(n);s.prototype=n;var t=new s;return s.prototype=null,t},_=function(t){return function(n){return null==n?void 0:n[t]}},b=function(n,t){return null!=n&&o.call(n,t)},x=function(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0},k=Math.pow(2,53)-1,j=_("length"),w=function(n){var t=j(n);return"number"==typeof t&&0<=t&&t<=k};h.each=h.forEach=function(n,t,r){var e,i;if(t=v(t,r),w(n))for(e=0,i=n.length;e<i;e++)t(n[e],e,n);else{var o=h.keys(n);for(e=0,i=o.length;e<i;e++)t(n[o[e]],o[e],n)}return n},h.map=h.collect=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=Array(i),a=0;a<i;a++){var u=e?e[a]:a;o[a]=t(n[u],u,n)}return o};var A=function(l){return function(n,t,r,e){var i=3<=arguments.length;return function(n,t,r,e){var i=!w(n)&&h.keys(n),o=(i||n).length,a=0<l?0:o-1;for(e||(r=n[i?i[a]:a],a+=l);0<=a&&a<o;a+=l){var u=i?i[a]:a;r=t(r,n[u],u,n)}return r}(n,v(t,e,4),r,i)}};h.reduce=h.foldl=h.inject=A(1),h.reduceRight=h.foldr=A(-1),h.find=h.detect=function(n,t,r){var e=(w(n)?h.findIndex:h.findKey)(n,t,r);if(void 0!==e&&-1!==e)return n[e]},h.filter=h.select=function(n,e,t){var i=[];return e=y(e,t),h.each(n,function(n,t,r){e(n,t,r)&&i.push(n)}),i},h.reject=function(n,t,r){return h.filter(n,h.negate(y(t)),r)},h.every=h.all=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=0;o<i;o++){var a=e?e[o]:o;if(!t(n[a],a,n))return!1}return!0},h.some=h.any=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=0;o<i;o++){var a=e?e[o]:o;if(t(n[a],a,n))return!0}return!1},h.contains=h.includes=h.include=function(n,t,r,e){return w(n)||(n=h.values(n)),("number"!=typeof r||e)&&(r=0),0<=h.indexOf(n,t,r)},h.invoke=m(function(n,r,e){var i,o;return h.isFunction(r)?o=r:h.isArray(r)&&(i=r.slice(0,-1),r=r[r.length-1]),h.map(n,function(n){var t=o;if(!t){if(i&&i.length&&(n=x(n,i)),null==n)return;t=n[r]}return null==t?t:t.apply(n,e)})}),h.pluck=function(n,t){return h.map(n,h.property(t))},h.where=function(n,t){return h.filter(n,h.matcher(t))},h.findWhere=function(n,t){return h.find(n,h.matcher(t))},h.max=function(n,e,t){var r,i,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var u=0,l=(n=w(n)?n:h.values(n)).length;u<l;u++)null!=(r=n[u])&&o<r&&(o=r);else e=y(e,t),h.each(n,function(n,t,r){i=e(n,t,r),(a<i||i===-1/0&&o===-1/0)&&(o=n,a=i)});return o},h.min=function(n,e,t){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var u=0,l=(n=w(n)?n:h.values(n)).length;u<l;u++)null!=(r=n[u])&&r<o&&(o=r);else e=y(e,t),h.each(n,function(n,t,r){((i=e(n,t,r))<a||i===1/0&&o===1/0)&&(o=n,a=i)});return o},h.shuffle=function(n){return h.sample(n,1/0)},h.sample=function(n,t,r){if(null==t||r)return w(n)||(n=h.values(n)),n[h.random(n.length-1)];var e=w(n)?h.clone(n):h.values(n),i=j(e);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var u=h.random(a,o),l=e[a];e[a]=e[u],e[u]=l}return e.slice(0,t)},h.sortBy=function(n,e,t){var i=0;return e=y(e,t),h.pluck(h.map(n,function(n,t,r){return{value:n,index:i++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")};var O=function(a,t){return function(e,i,n){var o=t?[[],[]]:{};return i=y(i,n),h.each(e,function(n,t){var r=i(n,t,e);a(o,n,r)}),o}};h.groupBy=O(function(n,t,r){b(n,r)?n[r].push(t):n[r]=[t]}),h.indexBy=O(function(n,t,r){n[r]=t}),h.countBy=O(function(n,t,r){b(n,r)?n[r]++:n[r]=1});var M=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;h.toArray=function(n){return n?h.isArray(n)?l.call(n):h.isString(n)?n.match(M):w(n)?h.map(n,h.identity):h.values(n):[]},h.size=function(n){return null==n?0:w(n)?n.length:h.keys(n).length},h.partition=O(function(n,t,r){n[r?0:1].push(t)},!0),h.first=h.head=h.take=function(n,t,r){return null==n||n.length<1?null==t?void 0:[]:null==t||r?n[0]:h.initial(n,n.length-t)},h.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},h.last=function(n,t,r){return null==n||n.length<1?null==t?void 0:[]:null==t||r?n[n.length-1]:h.rest(n,Math.max(0,n.length-t))},h.rest=h.tail=h.drop=function(n,t,r){return l.call(n,null==t||r?1:t)},h.compact=function(n){return h.filter(n,Boolean)};var S=function(n,t,r,e){for(var i=(e=e||[]).length,o=0,a=j(n);o<a;o++){var u=n[o];if(w(u)&&(h.isArray(u)||h.isArguments(u)))if(t)for(var l=0,c=u.length;l<c;)e[i++]=u[l++];else S(u,t,r,e),i=e.length;else r||(e[i++]=u)}return e};h.flatten=function(n,t){return S(n,t,!1)},h.without=m(function(n,t){return h.difference(n,t)}),h.uniq=h.unique=function(n,t,r,e){h.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=y(r,e));for(var i=[],o=[],a=0,u=j(n);a<u;a++){var l=n[a],c=r?r(l,a,n):l;t&&!r?(a&&o===c||i.push(l),o=c):r?h.contains(o,c)||(o.push(c),i.push(l)):h.contains(i,l)||i.push(l)}return i},h.union=m(function(n){return h.uniq(S(n,!0,!0))}),h.intersection=function(n){for(var t=[],r=arguments.length,e=0,i=j(n);e<i;e++){var o=n[e];if(!h.contains(t,o)){var a;for(a=1;a<r&&h.contains(arguments[a],o);a++);a===r&&t.push(o)}}return t},h.difference=m(function(n,t){return t=S(t,!0,!0),h.filter(n,function(n){return!h.contains(t,n)})}),h.unzip=function(n){for(var t=n&&h.max(n,j).length||0,r=Array(t),e=0;e<t;e++)r[e]=h.pluck(n,e);return r},h.zip=m(h.unzip),h.object=function(n,t){for(var r={},e=0,i=j(n);e<i;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r};var I=function(o){return function(n,t,r){t=y(t,r);for(var e=j(n),i=0<o?0:e-1;0<=i&&i<e;i+=o)if(t(n[i],i,n))return i;return-1}};h.findIndex=I(1),h.findLastIndex=I(-1),h.sortedIndex=function(n,t,r,e){for(var i=(r=y(r,e,1))(t),o=0,a=j(n);o<a;){var u=Math.floor((o+a)/2);r(n[u])<i?o=u+1:a=u}return o};var F=function(o,a,u){return function(n,t,r){var e=0,i=j(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+i,e):i=0<=r?Math.min(r+1,i):r+i+1;else if(u&&r&&i)return n[r=u(n,t)]===t?r:-1;if(t!=t)return 0<=(r=a(l.call(n,e,i),h.isNaN))?r+e:-1;for(r=0<o?e:i-1;0<=r&&r<i;r+=o)if(n[r]===t)return r;return-1}};h.indexOf=F(1,h.findIndex,h.sortedIndex),h.lastIndexOf=F(-1,h.findLastIndex),h.range=function(n,t,r){null==t&&(t=n||0,n=0),r||(r=t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),i=Array(e),o=0;o<e;o++,n+=r)i[o]=n;return i},h.chunk=function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,i=n.length;e<i;)r.push(l.call(n,e,e+=t));return r};var z=function(n,t,r,e,i){if(!(e instanceof t))return n.apply(r,i);var o=g(n.prototype),a=n.apply(o,i);return h.isObject(a)?a:o};h.bind=m(function(t,r,e){if(!h.isFunction(t))throw new TypeError("Bind must be called on a function");var i=m(function(n){return z(t,i,r,this,e.concat(n))});return i}),h.partial=m(function(i,o){var a=h.partial.placeholder,u=function(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return z(i,u,this,this,r)};return u}),(h.partial.placeholder=h).bindAll=m(function(n,t){var r=(t=S(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=h.bind(n[e],n)}}),h.memoize=function(e,i){var o=function(n){var t=o.cache,r=""+(i?i.apply(this,arguments):n);return b(t,r)||(t[r]=e.apply(this,arguments)),t[r]};return o.cache={},o},h.delay=m(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),h.defer=h.partial(h.delay,h,1),h.throttle=function(r,e,i){var o,a,u,l,c=0;i||(i={});var s=function(){c=!1===i.leading?0:h.now(),o=null,l=r.apply(a,u),o||(a=u=null)},n=function(){var n=h.now();c||!1!==i.leading||(c=n);var t=e-(n-c);return a=this,u=arguments,t<=0||e<t?(o&&(clearTimeout(o),o=null),c=n,l=r.apply(a,u),o||(a=u=null)):o||!1===i.trailing||(o=setTimeout(s,t)),l};return n.cancel=function(){clearTimeout(o),c=0,o=a=u=null},n},h.debounce=function(r,e,i){var o,a,u=function(n,t){o=null,t&&(a=r.apply(n,t))},n=m(function(n){if(o&&clearTimeout(o),i){var t=!o;o=setTimeout(u,e),t&&(a=r.apply(this,n))}else o=h.delay(u,e,this,n);return a});return n.cancel=function(){clearTimeout(o),o=null},n},h.wrap=function(n,t){return h.partial(t,n)},h.negate=function(n){return function(){return!n.apply(this,arguments)}},h.compose=function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},h.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},h.before=function(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}},h.once=h.partial(h.before,2),h.restArguments=m;var T=!{toString:null}.propertyIsEnumerable("toString"),N=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],E=function(n,t){var r=N.length,e=n.constructor,i=h.isFunction(e)&&e.prototype||a,o="constructor";for(b(n,o)&&!h.contains(t,o)&&t.push(o);r--;)(o=N[r])in n&&n[o]!==i[o]&&!h.contains(t,o)&&t.push(o)};h.keys=function(n){if(!h.isObject(n))return[];if(u)return u(n);var t=[];for(var r in n)b(n,r)&&t.push(r);return T&&E(n,t),t},h.allKeys=function(n){if(!h.isObject(n))return[];var t=[];for(var r in n)t.push(r);return T&&E(n,t),t},h.values=function(n){for(var t=h.keys(n),r=t.length,e=Array(r),i=0;i<r;i++)e[i]=n[t[i]];return e},h.mapObject=function(n,t,r){t=y(t,r);for(var e=h.keys(n),i=e.length,o={},a=0;a<i;a++){var u=e[a];o[u]=t(n[u],u,n)}return o},h.pairs=function(n){for(var t=h.keys(n),r=t.length,e=Array(r),i=0;i<r;i++)e[i]=[t[i],n[t[i]]];return e},h.invert=function(n){for(var t={},r=h.keys(n),e=0,i=r.length;e<i;e++)t[n[r[e]]]=r[e];return t},h.functions=h.methods=function(n){var t=[];for(var r in n)h.isFunction(n[r])&&t.push(r);return t.sort()};var B=function(l,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),t<2||null==n)return n;for(var r=1;r<t;r++)for(var e=arguments[r],i=l(e),o=i.length,a=0;a<o;a++){var u=i[a];c&&void 0!==n[u]||(n[u]=e[u])}return n}};h.extend=B(h.allKeys),h.extendOwn=h.assign=B(h.keys),h.findKey=function(n,t,r){t=y(t,r);for(var e,i=h.keys(n),o=0,a=i.length;o<a;o++)if(t(n[e=i[o]],e,n))return e};var P,D,R=function(n,t,r){return t in r};h.pick=m(function(n,t){var r={},e=t[0];if(null==n)return r;h.isFunction(e)?(1<t.length&&(e=v(e,t[1])),t=h.allKeys(n)):(e=R,t=S(t,!1,!1),n=Object(n));for(var i=0,o=t.length;i<o;i++){var a=t[i],u=n[a];e(u,a,n)&&(r[a]=u)}return r}),h.omit=m(function(n,r){var t,e=r[0];return h.isFunction(e)?(e=h.negate(e),1<r.length&&(t=r[1])):(r=h.map(S(r,!1,!1),String),e=function(n,t){return!h.contains(r,t)}),h.pick(n,e,t)}),h.defaults=B(h.allKeys,!0),h.create=function(n,t){var r=g(n);return t&&h.extendOwn(r,t),r},h.clone=function(n){return h.isObject(n)?h.isArray(n)?n.slice():h.extend({},n):n},h.tap=function(n,t){return t(n),n},h.isMatch=function(n,t){var r=h.keys(t),e=r.length;if(null==n)return!e;for(var i=Object(n),o=0;o<e;o++){var a=r[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},P=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return!1;if(n!=n)return t!=t;var i=typeof n;return("function"===i||"object"===i||"object"==typeof t)&&D(n,t,r,e)},D=function(n,t,r,e){n instanceof h&&(n=n._wrapped),t instanceof h&&(t=t._wrapped);var i=p.call(n);if(i!==p.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+n==""+t;case"[object Number]":return+n!=+n?+t!=+t:0==+n?1/+n==1/t:+n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object Symbol]":return f.valueOf.call(n)===f.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof n||"object"!=typeof t)return!1;var a=n.constructor,u=t.constructor;if(a!==u&&!(h.isFunction(a)&&a instanceof a&&h.isFunction(u)&&u instanceof u)&&"constructor"in n&&"constructor"in t)return!1}e=e||[];for(var l=(r=r||[]).length;l--;)if(r[l]===n)return e[l]===t;if(r.push(n),e.push(t),o){if((l=n.length)!==t.length)return!1;for(;l--;)if(!P(n[l],t[l],r,e))return!1}else{var c,s=h.keys(n);if(l=s.length,h.keys(t).length!==l)return!1;for(;l--;)if(c=s[l],!b(t,c)||!P(n[c],t[c],r,e))return!1}return r.pop(),e.pop(),!0},h.isEqual=function(n,t){return P(n,t)},h.isEmpty=function(n){return null==n||(w(n)&&(h.isArray(n)||h.isString(n)||h.isArguments(n))?0===n.length:0===h.keys(n).length)},h.isElement=function(n){return!(!n||1!==n.nodeType)},h.isArray=r||function(n){return"[object Array]"===p.call(n)},h.isObject=function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},h.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(t){h["is"+t]=function(n){return p.call(n)==="[object "+t+"]"}}),h.isArguments(arguments)||(h.isArguments=function(n){return b(n,"callee")});var q=n.document&&n.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof q&&(h.isFunction=function(n){return"function"==typeof n||!1}),h.isFinite=function(n){return!h.isSymbol(n)&&isFinite(n)&&!isNaN(parseFloat(n))},h.isNaN=function(n){return h.isNumber(n)&&isNaN(n)},h.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"===p.call(n)},h.isNull=function(n){return null===n},h.isUndefined=function(n){return void 0===n},h.has=function(n,t){if(!h.isArray(t))return b(n,t);for(var r=t.length,e=0;e<r;e++){var i=t[e];if(null==n||!o.call(n,i))return!1;n=n[i]}return!!r},h.noConflict=function(){return n._=t,this},h.identity=function(n){return n},h.constant=function(n){return function(){return n}},h.noop=function(){},h.property=function(t){return h.isArray(t)?function(n){return x(n,t)}:_(t)},h.propertyOf=function(t){return null==t?function(){}:function(n){return h.isArray(n)?x(t,n):t[n]}},h.matcher=h.matches=function(t){return t=h.extendOwn({},t),function(n){return h.isMatch(n,t)}},h.times=function(n,t,r){var e=Array(Math.max(0,n));t=v(t,r,1);for(var i=0;i<n;i++)e[i]=t(i);return e},h.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},h.now=Date.now||function(){return(new Date).getTime()};var L={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},C=h.invert(L),K=function(t){var r=function(n){return t[n]},n="(?:"+h.keys(t).join("|")+")",e=RegExp(n),i=RegExp(n,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(i,r):n}};h.escape=K(L),h.unescape=K(C),h.result=function(n,t,r){h.isArray(t)||(t=[t]);var e=t.length;if(!e)return h.isFunction(r)?r.call(n):r;for(var i=0;i<e;i++){var o=null==n?void 0:n[t[i]];void 0===o&&(o=r,i=e),n=h.isFunction(o)?o.call(n):o}return n};var Q=0;h.uniqueId=function(n){var t=++Q+"";return n?n+t:t},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g,H=function(n){return"\\"+V[n]};h.template=function(o,n,t){!n&&t&&(n=t),n=h.defaults({},n,h.templateSettings);var r,e=RegExp([(n.escape||$).source,(n.interpolate||$).source,(n.evaluate||$).source].join("|")+"|$","g"),a=0,u="__p+='";o.replace(e,function(n,t,r,e,i){return u+=o.slice(a,i).replace(W,H),a=i+n.length,t?u+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(u+="';\n"+e+"\n__p+='"),n}),u+="';\n",n.variable||(u="with(obj||{}){\n"+u+"}\n"),u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(n.variable||"obj","_",u)}catch(n){throw n.source=u,n}var i=function(n){return r.call(this,n,h)},l=n.variable||"obj";return i.source="function("+l+"){\n"+u+"}",i},h.chain=function(n){var t=h(n);return t._chain=!0,t};var Y=function(n,t){return n._chain?h(t).chain():t};h.mixin=function(r){return h.each(h.functions(r),function(n){var t=h[n]=r[n];h.prototype[n]=function(){var n=[this._wrapped];return i.apply(n,arguments),Y(this,t.apply(h,n))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];h.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],Y(this,n)}}),h.each(["concat","join","slice"],function(n){var t=e[n];h.prototype[n]=function(){return Y(this,t.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),function(i){i.fn.fitText=function(n,t){var r=n||1,e=i.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},t);return this.each(function(){var n=i(this),t=function(){n.css("font-size",Math.max(Math.min(n.width()/(10*r),parseFloat(e.maxFontSize)),parseFloat(e.minFontSize)))};t(),i(window).on("resize.fittext orientationchange.fittext",t)})}}(jQuery),function(l,c){var r="nimbleLazyLoad",e={load_all_images_on_first_scroll:!1,excludeImg:[],threshold:200,fadeIn_options:{duration:400},delaySmartLoadEvent:0},i="smartload-skip";function t(n,t){this.element=n,this.options=l.extend({},e,t),_utils_.isArray(this.options.excludeImg)?this.options.excludeImg.push("."+i):this.options.excludeImg=["."+i],this._defaults=e,this._name=r,this.init()}t.prototype.init=function(){var t=this,r=l("[data-sek-src]:not("+this.options.excludeImg.join()+")",this.element);this.increment=1,this.timer=0,r.addClass(i).bind("sek_load_img",{},function(){t._load_img(this)}),l(c).scroll(function(n){t._better_scroll_event_handler(r,n)}),l(c).resize(_utils_.debounce(function(n){t._maybe_trigger_load(r,n)},100)),this._maybe_trigger_load(r)},t.prototype._better_scroll_event_handler=function(n,t){var r=this;this.doingAnimation||(this.doingAnimation=!0,c.requestAnimationFrame(function(){r._maybe_trigger_load(n,t),r.doingAnimation=!1}))},t.prototype._maybe_trigger_load=function(n,r){var e=this;n.filter(function(n,t){return e._is_visible(t,r)}).map(function(n,t){l(t).trigger("sek_load_img")})},t.prototype._is_visible=function(n,t){var r=l(n),e=l(c).scrollTop(),i=e+l(c).height(),o=r.offset().top,a=o+r.height(),u=this.options.threshold;return!(!t||"scroll"!=t.type||!this.options.load_all_images_on_first_scroll)||e-u<=a&&o<=i+u},t.prototype._load_img=function(n){var t=l(n),r=t.attr("data-sek-src"),e=t.attr("data-sek-srcset"),i=t.attr("data-sek-sizes"),o=l("<img />",{src:r});t.addClass("lazy-loading"),t.unbind("sek_load_img"),o.load(function(){t.removeAttr(["data-sek-src","data-sek-srcset","data-sek-sizes"].join(" ")),t.data("sek-lazy-bg")?t.css("backgroundImage","url("+r+")"):(t.attr("src",r),e&&t.attr("srcset",e),i&&t.attr("sizes",i)),t.hasClass("sek-lazy-loaded")||t.addClass("sek-lazy-loaded"),t.trigger("smartload"),t.data("sek-lazy-loaded",!0)}),o[0].complete&&o.load(),t.removeClass("lazy-loading")},l.fn[r]=function(n){return this.each(function(){l.data(this,"plugin_"+r)||l.data(this,"plugin_"+r,new t(this,n))})}}(jQuery,window),function(a,u){var r="parallaxBg",e={parallaxRatio:.5,parallaxDirection:1,parallaxOverflowHidden:!0,oncustom:[],matchMedia:"only screen and (max-width: 800px)"};function t(n,t){this.element=a(n),this.options=a.extend({},e,t,this.parseElementDataOptions()),this._defaults=e,this._name=r,this.init()}t.prototype.parseElementDataOptions=function(){return this.element.data()},t.prototype.init=function(){var t=this;this.$_document=a(document),this.$_window=a(u),this.doingAnimation=!1,_utils_.bindAll(this,"maybeParallaxMe","parallaxMe"),a(u).scroll(function(n){t.maybeParallaxMe()}),a(u).resize(_utils_.debounce(function(n){t.maybeParallaxMe()},100)),t.maybeParallaxMe()},t.prototype._is_visible=function(n){var t=this.element,r=a(u).scrollTop(),e=r+a(u).height(),i=t.offset().top,o=i+t.outerHeight();return!(!n||"scroll"!=n.type||!this.options.load_all_images_on_first_scroll)||r-0<=o&&i<=e+0},t.prototype.maybeParallaxMe=function(){var n=this;this._is_visible()&&(_utils_.isFunction(u.matchMedia)&&matchMedia(n.options.matchMedia).matches?this.element.css({"background-position-y":"","background-attachment":""}):this.doingAnimation||(this.doingAnimation=!0,u.requestAnimationFrame(function(){n.parallaxMe(),n.doingAnimation=!1})))},t.prototype.setTopPosition=function(n){n=n||0,this.element.css({"background-position-y":-1*n+"px","background-attachment":"fixed"})},t.prototype.parallaxMe=function(){var n=this.element,t=this.options.parallaxRatio,r=this.options.parallaxDirection,e=n.offset().top,i=t*r*(this.$_document.scrollTop()-e);this.setTopPosition(r*i)},a.fn[r]=function(n){return this.each(function(){a.data(this,"plugin_"+r)||a.data(this,"plugin_"+r,new t(this,n))})}}(jQuery,window),jQuery(function(n){n(".sektion-wrapper").each(function(){try{n(this).nimbleLazyLoad()}catch(n){"function"==typeof window.console.log&&console.log(n)}})}),jQuery(function(n){n('[data-sek-bg-parallax="true"]').parallaxBg(),n("body").on("sek-level-refreshed",'[data-sek-bg-parallax="true"]',function(){n(this).parallaxBg()})}),jQuery(function(e){e("body").on("click",'.menu .menu-item [href^="#"]',function(n){n.preventDefault();var t=e(this).attr("href");if(""!==(t="string"==typeof t?t.replace("#",""):"")||null!==t){var r=e('[data-sek-level="location"]').find('[id="'+t+'"]');1===r.length&&e("html, body").animate({scrollTop:r.offset().top-150},"slow")}})});
|
1 |
+
!function(){var n="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this||{},t=n._,e=Array.prototype,a=Object.prototype,f="undefined"!=typeof Symbol?Symbol.prototype:null,i=e.push,l=e.slice,p=a.toString,o=a.hasOwnProperty,r=Array.isArray,u=Object.keys,c=Object.create,s=function(){},h=function(n){return n instanceof h?n:this instanceof h?void(this._wrapped=n):new h(n)};"undefined"==typeof exports||exports.nodeType?n._utils_=h:("undefined"!=typeof module&&!module.nodeType&&module.exports&&(exports=module.exports=h),exports._utils_=h),h.VERSION="1.9.1";var d,v=function(i,o,n){if(void 0===o)return i;switch(null==n?3:n){case 1:return function(n){return i.call(o,n)};case 3:return function(n,t,r){return i.call(o,n,t,r)};case 4:return function(n,t,r,e){return i.call(o,n,t,r,e)}}return function(){return i.apply(o,arguments)}},y=function(n,t,r){return h.iteratee!==d?h.iteratee(n,t):null==n?h.identity:h.isFunction(n)?v(n,t,r):h.isObject(n)&&!h.isArray(n)?h.matcher(n):h.property(n)};h.iteratee=d=function(n,t){return y(n,t,1/0)};var m=function(i,o){return o=null==o?i.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return i.call(this,t);case 1:return i.call(this,arguments[0],t);case 2:return i.call(this,arguments[0],arguments[1],t)}var e=Array(o+1);for(r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,i.apply(this,e)}},g=function(n){if(!h.isObject(n))return{};if(c)return c(n);s.prototype=n;var t=new s;return s.prototype=null,t},_=function(t){return function(n){return null==n?void 0:n[t]}},b=function(n,t){return null!=n&&o.call(n,t)},x=function(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0},k=Math.pow(2,53)-1,j=_("length"),w=function(n){var t=j(n);return"number"==typeof t&&0<=t&&t<=k};h.each=h.forEach=function(n,t,r){var e,i;if(t=v(t,r),w(n))for(e=0,i=n.length;e<i;e++)t(n[e],e,n);else{var o=h.keys(n);for(e=0,i=o.length;e<i;e++)t(n[o[e]],o[e],n)}return n},h.map=h.collect=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=Array(i),a=0;a<i;a++){var u=e?e[a]:a;o[a]=t(n[u],u,n)}return o};var A=function(l){return function(n,t,r,e){var i=3<=arguments.length;return function(n,t,r,e){var i=!w(n)&&h.keys(n),o=(i||n).length,a=0<l?0:o-1;for(e||(r=n[i?i[a]:a],a+=l);0<=a&&a<o;a+=l){var u=i?i[a]:a;r=t(r,n[u],u,n)}return r}(n,v(t,e,4),r,i)}};h.reduce=h.foldl=h.inject=A(1),h.reduceRight=h.foldr=A(-1),h.find=h.detect=function(n,t,r){var e=(w(n)?h.findIndex:h.findKey)(n,t,r);if(void 0!==e&&-1!==e)return n[e]},h.filter=h.select=function(n,e,t){var i=[];return e=y(e,t),h.each(n,function(n,t,r){e(n,t,r)&&i.push(n)}),i},h.reject=function(n,t,r){return h.filter(n,h.negate(y(t)),r)},h.every=h.all=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=0;o<i;o++){var a=e?e[o]:o;if(!t(n[a],a,n))return!1}return!0},h.some=h.any=function(n,t,r){t=y(t,r);for(var e=!w(n)&&h.keys(n),i=(e||n).length,o=0;o<i;o++){var a=e?e[o]:o;if(t(n[a],a,n))return!0}return!1},h.contains=h.includes=h.include=function(n,t,r,e){return w(n)||(n=h.values(n)),("number"!=typeof r||e)&&(r=0),0<=h.indexOf(n,t,r)},h.invoke=m(function(n,r,e){var i,o;return h.isFunction(r)?o=r:h.isArray(r)&&(i=r.slice(0,-1),r=r[r.length-1]),h.map(n,function(n){var t=o;if(!t){if(i&&i.length&&(n=x(n,i)),null==n)return;t=n[r]}return null==t?t:t.apply(n,e)})}),h.pluck=function(n,t){return h.map(n,h.property(t))},h.where=function(n,t){return h.filter(n,h.matcher(t))},h.findWhere=function(n,t){return h.find(n,h.matcher(t))},h.max=function(n,e,t){var r,i,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var u=0,l=(n=w(n)?n:h.values(n)).length;u<l;u++)null!=(r=n[u])&&o<r&&(o=r);else e=y(e,t),h.each(n,function(n,t,r){i=e(n,t,r),(a<i||i===-1/0&&o===-1/0)&&(o=n,a=i)});return o},h.min=function(n,e,t){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var u=0,l=(n=w(n)?n:h.values(n)).length;u<l;u++)null!=(r=n[u])&&r<o&&(o=r);else e=y(e,t),h.each(n,function(n,t,r){((i=e(n,t,r))<a||i===1/0&&o===1/0)&&(o=n,a=i)});return o},h.shuffle=function(n){return h.sample(n,1/0)},h.sample=function(n,t,r){if(null==t||r)return w(n)||(n=h.values(n)),n[h.random(n.length-1)];var e=w(n)?h.clone(n):h.values(n),i=j(e);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var u=h.random(a,o),l=e[a];e[a]=e[u],e[u]=l}return e.slice(0,t)},h.sortBy=function(n,e,t){var i=0;return e=y(e,t),h.pluck(h.map(n,function(n,t,r){return{value:n,index:i++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")};var O=function(a,t){return function(e,i,n){var o=t?[[],[]]:{};return i=y(i,n),h.each(e,function(n,t){var r=i(n,t,e);a(o,n,r)}),o}};h.groupBy=O(function(n,t,r){b(n,r)?n[r].push(t):n[r]=[t]}),h.indexBy=O(function(n,t,r){n[r]=t}),h.countBy=O(function(n,t,r){b(n,r)?n[r]++:n[r]=1});var M=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;h.toArray=function(n){return n?h.isArray(n)?l.call(n):h.isString(n)?n.match(M):w(n)?h.map(n,h.identity):h.values(n):[]},h.size=function(n){return null==n?0:w(n)?n.length:h.keys(n).length},h.partition=O(function(n,t,r){n[r?0:1].push(t)},!0),h.first=h.head=h.take=function(n,t,r){return null==n||n.length<1?null==t?void 0:[]:null==t||r?n[0]:h.initial(n,n.length-t)},h.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},h.last=function(n,t,r){return null==n||n.length<1?null==t?void 0:[]:null==t||r?n[n.length-1]:h.rest(n,Math.max(0,n.length-t))},h.rest=h.tail=h.drop=function(n,t,r){return l.call(n,null==t||r?1:t)},h.compact=function(n){return h.filter(n,Boolean)};var S=function(n,t,r,e){for(var i=(e=e||[]).length,o=0,a=j(n);o<a;o++){var u=n[o];if(w(u)&&(h.isArray(u)||h.isArguments(u)))if(t)for(var l=0,c=u.length;l<c;)e[i++]=u[l++];else S(u,t,r,e),i=e.length;else r||(e[i++]=u)}return e};h.flatten=function(n,t){return S(n,t,!1)},h.without=m(function(n,t){return h.difference(n,t)}),h.uniq=h.unique=function(n,t,r,e){h.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=y(r,e));for(var i=[],o=[],a=0,u=j(n);a<u;a++){var l=n[a],c=r?r(l,a,n):l;t&&!r?(a&&o===c||i.push(l),o=c):r?h.contains(o,c)||(o.push(c),i.push(l)):h.contains(i,l)||i.push(l)}return i},h.union=m(function(n){return h.uniq(S(n,!0,!0))}),h.intersection=function(n){for(var t=[],r=arguments.length,e=0,i=j(n);e<i;e++){var o=n[e];if(!h.contains(t,o)){var a;for(a=1;a<r&&h.contains(arguments[a],o);a++);a===r&&t.push(o)}}return t},h.difference=m(function(n,t){return t=S(t,!0,!0),h.filter(n,function(n){return!h.contains(t,n)})}),h.unzip=function(n){for(var t=n&&h.max(n,j).length||0,r=Array(t),e=0;e<t;e++)r[e]=h.pluck(n,e);return r},h.zip=m(h.unzip),h.object=function(n,t){for(var r={},e=0,i=j(n);e<i;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r};var I=function(o){return function(n,t,r){t=y(t,r);for(var e=j(n),i=0<o?0:e-1;0<=i&&i<e;i+=o)if(t(n[i],i,n))return i;return-1}};h.findIndex=I(1),h.findLastIndex=I(-1),h.sortedIndex=function(n,t,r,e){for(var i=(r=y(r,e,1))(t),o=0,a=j(n);o<a;){var u=Math.floor((o+a)/2);r(n[u])<i?o=u+1:a=u}return o};var F=function(o,a,u){return function(n,t,r){var e=0,i=j(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+i,e):i=0<=r?Math.min(r+1,i):r+i+1;else if(u&&r&&i)return n[r=u(n,t)]===t?r:-1;if(t!=t)return 0<=(r=a(l.call(n,e,i),h.isNaN))?r+e:-1;for(r=0<o?e:i-1;0<=r&&r<i;r+=o)if(n[r]===t)return r;return-1}};h.indexOf=F(1,h.findIndex,h.sortedIndex),h.lastIndexOf=F(-1,h.findLastIndex),h.range=function(n,t,r){null==t&&(t=n||0,n=0),r||(r=t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),i=Array(e),o=0;o<e;o++,n+=r)i[o]=n;return i},h.chunk=function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,i=n.length;e<i;)r.push(l.call(n,e,e+=t));return r};var z=function(n,t,r,e,i){if(!(e instanceof t))return n.apply(r,i);var o=g(n.prototype),a=n.apply(o,i);return h.isObject(a)?a:o};h.bind=m(function(t,r,e){if(!h.isFunction(t))throw new TypeError("Bind must be called on a function");var i=m(function(n){return z(t,i,r,this,e.concat(n))});return i}),h.partial=m(function(i,o){var a=h.partial.placeholder,u=function(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return z(i,u,this,this,r)};return u}),(h.partial.placeholder=h).bindAll=m(function(n,t){var r=(t=S(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=h.bind(n[e],n)}}),h.memoize=function(e,i){var o=function(n){var t=o.cache,r=""+(i?i.apply(this,arguments):n);return b(t,r)||(t[r]=e.apply(this,arguments)),t[r]};return o.cache={},o},h.delay=m(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),h.defer=h.partial(h.delay,h,1),h.throttle=function(r,e,i){var o,a,u,l,c=0;i||(i={});var s=function(){c=!1===i.leading?0:h.now(),o=null,l=r.apply(a,u),o||(a=u=null)},n=function(){var n=h.now();c||!1!==i.leading||(c=n);var t=e-(n-c);return a=this,u=arguments,t<=0||e<t?(o&&(clearTimeout(o),o=null),c=n,l=r.apply(a,u),o||(a=u=null)):o||!1===i.trailing||(o=setTimeout(s,t)),l};return n.cancel=function(){clearTimeout(o),c=0,o=a=u=null},n},h.debounce=function(r,e,i){var o,a,u=function(n,t){o=null,t&&(a=r.apply(n,t))},n=m(function(n){if(o&&clearTimeout(o),i){var t=!o;o=setTimeout(u,e),t&&(a=r.apply(this,n))}else o=h.delay(u,e,this,n);return a});return n.cancel=function(){clearTimeout(o),o=null},n},h.wrap=function(n,t){return h.partial(t,n)},h.negate=function(n){return function(){return!n.apply(this,arguments)}},h.compose=function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},h.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},h.before=function(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}},h.once=h.partial(h.before,2),h.restArguments=m;var T=!{toString:null}.propertyIsEnumerable("toString"),N=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],E=function(n,t){var r=N.length,e=n.constructor,i=h.isFunction(e)&&e.prototype||a,o="constructor";for(b(n,o)&&!h.contains(t,o)&&t.push(o);r--;)(o=N[r])in n&&n[o]!==i[o]&&!h.contains(t,o)&&t.push(o)};h.keys=function(n){if(!h.isObject(n))return[];if(u)return u(n);var t=[];for(var r in n)b(n,r)&&t.push(r);return T&&E(n,t),t},h.allKeys=function(n){if(!h.isObject(n))return[];var t=[];for(var r in n)t.push(r);return T&&E(n,t),t},h.values=function(n){for(var t=h.keys(n),r=t.length,e=Array(r),i=0;i<r;i++)e[i]=n[t[i]];return e},h.mapObject=function(n,t,r){t=y(t,r);for(var e=h.keys(n),i=e.length,o={},a=0;a<i;a++){var u=e[a];o[u]=t(n[u],u,n)}return o},h.pairs=function(n){for(var t=h.keys(n),r=t.length,e=Array(r),i=0;i<r;i++)e[i]=[t[i],n[t[i]]];return e},h.invert=function(n){for(var t={},r=h.keys(n),e=0,i=r.length;e<i;e++)t[n[r[e]]]=r[e];return t},h.functions=h.methods=function(n){var t=[];for(var r in n)h.isFunction(n[r])&&t.push(r);return t.sort()};var B=function(l,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),t<2||null==n)return n;for(var r=1;r<t;r++)for(var e=arguments[r],i=l(e),o=i.length,a=0;a<o;a++){var u=i[a];c&&void 0!==n[u]||(n[u]=e[u])}return n}};h.extend=B(h.allKeys),h.extendOwn=h.assign=B(h.keys),h.findKey=function(n,t,r){t=y(t,r);for(var e,i=h.keys(n),o=0,a=i.length;o<a;o++)if(t(n[e=i[o]],e,n))return e};var P,D,R=function(n,t,r){return t in r};h.pick=m(function(n,t){var r={},e=t[0];if(null==n)return r;h.isFunction(e)?(1<t.length&&(e=v(e,t[1])),t=h.allKeys(n)):(e=R,t=S(t,!1,!1),n=Object(n));for(var i=0,o=t.length;i<o;i++){var a=t[i],u=n[a];e(u,a,n)&&(r[a]=u)}return r}),h.omit=m(function(n,r){var t,e=r[0];return h.isFunction(e)?(e=h.negate(e),1<r.length&&(t=r[1])):(r=h.map(S(r,!1,!1),String),e=function(n,t){return!h.contains(r,t)}),h.pick(n,e,t)}),h.defaults=B(h.allKeys,!0),h.create=function(n,t){var r=g(n);return t&&h.extendOwn(r,t),r},h.clone=function(n){return h.isObject(n)?h.isArray(n)?n.slice():h.extend({},n):n},h.tap=function(n,t){return t(n),n},h.isMatch=function(n,t){var r=h.keys(t),e=r.length;if(null==n)return!e;for(var i=Object(n),o=0;o<e;o++){var a=r[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},P=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return!1;if(n!=n)return t!=t;var i=typeof n;return("function"===i||"object"===i||"object"==typeof t)&&D(n,t,r,e)},D=function(n,t,r,e){n instanceof h&&(n=n._wrapped),t instanceof h&&(t=t._wrapped);var i=p.call(n);if(i!==p.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+n==""+t;case"[object Number]":return+n!=+n?+t!=+t:0==+n?1/+n==1/t:+n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object Symbol]":return f.valueOf.call(n)===f.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof n||"object"!=typeof t)return!1;var a=n.constructor,u=t.constructor;if(a!==u&&!(h.isFunction(a)&&a instanceof a&&h.isFunction(u)&&u instanceof u)&&"constructor"in n&&"constructor"in t)return!1}e=e||[];for(var l=(r=r||[]).length;l--;)if(r[l]===n)return e[l]===t;if(r.push(n),e.push(t),o){if((l=n.length)!==t.length)return!1;for(;l--;)if(!P(n[l],t[l],r,e))return!1}else{var c,s=h.keys(n);if(l=s.length,h.keys(t).length!==l)return!1;for(;l--;)if(c=s[l],!b(t,c)||!P(n[c],t[c],r,e))return!1}return r.pop(),e.pop(),!0},h.isEqual=function(n,t){return P(n,t)},h.isEmpty=function(n){return null==n||(w(n)&&(h.isArray(n)||h.isString(n)||h.isArguments(n))?0===n.length:0===h.keys(n).length)},h.isElement=function(n){return!(!n||1!==n.nodeType)},h.isArray=r||function(n){return"[object Array]"===p.call(n)},h.isObject=function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},h.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(t){h["is"+t]=function(n){return p.call(n)==="[object "+t+"]"}}),h.isArguments(arguments)||(h.isArguments=function(n){return b(n,"callee")});var q=n.document&&n.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof q&&(h.isFunction=function(n){return"function"==typeof n||!1}),h.isFinite=function(n){return!h.isSymbol(n)&&isFinite(n)&&!isNaN(parseFloat(n))},h.isNaN=function(n){return h.isNumber(n)&&isNaN(n)},h.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"===p.call(n)},h.isNull=function(n){return null===n},h.isUndefined=function(n){return void 0===n},h.has=function(n,t){if(!h.isArray(t))return b(n,t);for(var r=t.length,e=0;e<r;e++){var i=t[e];if(null==n||!o.call(n,i))return!1;n=n[i]}return!!r},h.noConflict=function(){return n._=t,this},h.identity=function(n){return n},h.constant=function(n){return function(){return n}},h.noop=function(){},h.property=function(t){return h.isArray(t)?function(n){return x(n,t)}:_(t)},h.propertyOf=function(t){return null==t?function(){}:function(n){return h.isArray(n)?x(t,n):t[n]}},h.matcher=h.matches=function(t){return t=h.extendOwn({},t),function(n){return h.isMatch(n,t)}},h.times=function(n,t,r){var e=Array(Math.max(0,n));t=v(t,r,1);for(var i=0;i<n;i++)e[i]=t(i);return e},h.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},h.now=Date.now||function(){return(new Date).getTime()};var L={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},C=h.invert(L),K=function(t){var r=function(n){return t[n]},n="(?:"+h.keys(t).join("|")+")",e=RegExp(n),i=RegExp(n,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(i,r):n}};h.escape=K(L),h.unescape=K(C),h.result=function(n,t,r){h.isArray(t)||(t=[t]);var e=t.length;if(!e)return h.isFunction(r)?r.call(n):r;for(var i=0;i<e;i++){var o=null==n?void 0:n[t[i]];void 0===o&&(o=r,i=e),n=h.isFunction(o)?o.call(n):o}return n};var Q=0;h.uniqueId=function(n){var t=++Q+"";return n?n+t:t},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g,H=function(n){return"\\"+V[n]};h.template=function(o,n,t){!n&&t&&(n=t),n=h.defaults({},n,h.templateSettings);var r,e=RegExp([(n.escape||$).source,(n.interpolate||$).source,(n.evaluate||$).source].join("|")+"|$","g"),a=0,u="__p+='";o.replace(e,function(n,t,r,e,i){return u+=o.slice(a,i).replace(W,H),a=i+n.length,t?u+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(u+="';\n"+e+"\n__p+='"),n}),u+="';\n",n.variable||(u="with(obj||{}){\n"+u+"}\n"),u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(n.variable||"obj","_",u)}catch(n){throw n.source=u,n}var i=function(n){return r.call(this,n,h)},l=n.variable||"obj";return i.source="function("+l+"){\n"+u+"}",i},h.chain=function(n){var t=h(n);return t._chain=!0,t};var Y=function(n,t){return n._chain?h(t).chain():t};h.mixin=function(r){return h.each(h.functions(r),function(n){var t=h[n]=r[n];h.prototype[n]=function(){var n=[this._wrapped];return i.apply(n,arguments),Y(this,t.apply(h,n))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];h.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],Y(this,n)}}),h.each(["concat","join","slice"],function(n){var t=e[n];h.prototype[n]=function(){return Y(this,t.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),function(i){i.fn.fitText=function(n,t){var r=n||1,e=i.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},t);return this.each(function(){var n=i(this),t=function(){n.css("font-size",Math.max(Math.min(n.width()/(10*r),parseFloat(e.maxFontSize)),parseFloat(e.minFontSize)))};t(),i(window).on("resize.fittext orientationchange.fittext",t)})}}(jQuery),function(l,c){var r="nimbleLazyLoad",e={load_all_images_on_first_scroll:!1,excludeImg:[],threshold:200,fadeIn_options:{duration:400},delaySmartLoadEvent:0},i="smartload-skip";function t(n,t){this.element=n,this.options=l.extend({},e,t),_utils_.isArray(this.options.excludeImg)?this.options.excludeImg.push("."+i):this.options.excludeImg=["."+i],this._defaults=e,this._name=r,this.init()}t.prototype.init=function(){var t=this,r=l("[data-sek-src]:not("+this.options.excludeImg.join()+")",this.element);this.increment=1,this.timer=0,r.addClass(i).bind("sek_load_img",{},function(){t._load_img(this)}),l(c).scroll(function(n){t._better_scroll_event_handler(r,n)}),l(c).resize(_utils_.debounce(function(n){t._maybe_trigger_load(r,n)},100)),this._maybe_trigger_load(r)},t.prototype._better_scroll_event_handler=function(n,t){var r=this;this.doingAnimation||(this.doingAnimation=!0,c.requestAnimationFrame(function(){r._maybe_trigger_load(n,t),r.doingAnimation=!1}))},t.prototype._maybe_trigger_load=function(n,r){var e=this;n.filter(function(n,t){return e._is_visible(t,r)}).map(function(n,t){l(t).trigger("sek_load_img")})},t.prototype._is_visible=function(n,t){var r=l(n),e=l(c).scrollTop(),i=e+l(c).height(),o=r.offset().top,a=o+r.height(),u=this.options.threshold;return!(!t||"scroll"!=t.type||!this.options.load_all_images_on_first_scroll)||e-u<=a&&o<=i+u},t.prototype._load_img=function(n){var t=l(n),r=t.attr("data-sek-src"),e=t.attr("data-sek-srcset"),i=t.attr("data-sek-sizes"),o=l("<img />",{src:r});t.addClass("lazy-loading"),t.unbind("sek_load_img"),o.load(function(){t.removeAttr(["data-sek-src","data-sek-srcset","data-sek-sizes"].join(" ")),t.data("sek-lazy-bg")?t.css("backgroundImage","url("+r+")"):(t.attr("src",r),e&&t.attr("srcset",e),i&&t.attr("sizes",i)),t.hasClass("sek-lazy-loaded")||t.addClass("sek-lazy-loaded"),t.trigger("smartload"),t.data("sek-lazy-loaded",!0)}),o[0].complete&&o.load(),t.removeClass("lazy-loading")},l.fn[r]=function(n){return this.each(function(){l.data(this,"plugin_"+r)||l.data(this,"plugin_"+r,new t(this,n))})}}(jQuery,window),function(a,u){var r="parallaxBg",e={parallaxRatio:.5,parallaxDirection:1,parallaxOverflowHidden:!0,oncustom:[],matchMedia:"only screen and (max-width: 800px)"};function t(n,t){this.element=a(n),this.options=a.extend({},e,t,this.parseElementDataOptions()),this._defaults=e,this._name=r,this.init()}t.prototype.parseElementDataOptions=function(){return this.element.data()},t.prototype.init=function(){var t=this;this.$_document=a(document),this.$_window=a(u),this.doingAnimation=!1,_utils_.bindAll(this,"maybeParallaxMe","parallaxMe"),a(u).scroll(function(n){t.maybeParallaxMe()}),a(u).resize(_utils_.debounce(function(n){t.maybeParallaxMe()},100)),t.maybeParallaxMe()},t.prototype._is_visible=function(n){var t=this.element,r=a(u).scrollTop(),e=r+a(u).height(),i=t.offset().top,o=i+t.outerHeight();return!(!n||"scroll"!=n.type||!this.options.load_all_images_on_first_scroll)||r-0<=o&&i<=e+0},t.prototype.maybeParallaxMe=function(){var n=this;this._is_visible()&&(_utils_.isFunction(u.matchMedia)&&matchMedia(n.options.matchMedia).matches?this.element.css({"background-position-y":"","background-attachment":""}):this.doingAnimation||(this.doingAnimation=!0,u.requestAnimationFrame(function(){n.parallaxMe(),n.doingAnimation=!1})))},t.prototype.setTopPosition=function(n){n=n||0,this.element.css({"background-position-y":-1*n+"px","background-attachment":"fixed"})},t.prototype.parallaxMe=function(){var n=this.element,t=this.options.parallaxRatio,r=this.options.parallaxDirection,e=n.offset().top,i=t*r*(this.$_document.scrollTop()-e);this.setTopPosition(r*i)},a.fn[r]=function(n){return this.each(function(){a.data(this,"plugin_"+r)||a.data(this,"plugin_"+r,new t(this,n))})}}(jQuery,window),jQuery(function(n){n(".sektion-wrapper").each(function(){try{n(this).nimbleLazyLoad()}catch(n){"function"==typeof window.console.log&&console.log(n)}})}),jQuery(function(t){t('[data-sek-bg-parallax="true"]').parallaxBg(),t("body").on("sek-level-refreshed sek-section-added",function(n){"true"===t(this).attr("data-sek-bg-parallax")?t(this).parallaxBg():t(this).find('[data-sek-bg-parallax="true"]').parallaxBg()})}),jQuery(function(e){e("body").on("click",'.menu .menu-item [href^="#"]',function(n){n.preventDefault();var t=e(this).attr("href");if(""!==(t="string"==typeof t?t.replace("#",""):"")||null!==t){var r=e('[data-sek-level="location"]').find('[id="'+t+'"]');1===r.length&&e("html, body").animate({scrollTop:r.offset().top-150},"slow")}})});
|
assets/preset_sections.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"intro_one" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","value":{"main_settings":{"heading_text":"Our creative Lab","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","font_size_css":{"desktop":"46px","tablet":"30px","mobile":"20px"},"color_css":"#000000","text_transform_css":"uppercase"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"10","unit":"px"}}}},"options":{"spacing":[]},"ver_ini":"1.1.0"},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","value":{"main_settings":{"content":"Helps you bring your ideas to life.","h_alignment_css":{"desktop":"center"},"autop":false},"font_settings":{"font_family_css":"[gfont]Roboto:italic","font_size_css":{"desktop":"20px","tablet":"18px","mobile":"16px"},"color_css":"#6d6d6d"}},"options":{"spacing":[]},"ver_ini":"1.1.0"}],"options":{"bg":{"bg-color":"rgba(255,255,255,0.75)","bg-color-overlay":"#000000","bg-opacity-overlay":"40"},"spacing":{"pad_marg":{"desktop":{"padding-right":"20","padding-left":"20","padding-top":"70","padding-bottom":"70"},"tablet":{"padding-top":"40","padding-bottom":"40","padding-right":"10","padding-left":"10"},"mobile":{"padding-top":"30","padding-bottom":"30"}}}},"ver_ini":"1.1.0"}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_one.jpg","bg-color-overlay":"#000000","bg-opacity-overlay":"40"},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"525px","tablet":"50%","mobile":"85%"}},"spacing":{"pad_marg":{"desktop":{"padding-top":"250","padding-bottom":"250"},"tablet":{"padding-bottom":"200","padding-top":"200"},"mobile":{"padding-top":"150","padding-bottom":"150"}}}},"ver_ini":"1.1.0"},
|
3 |
"intro_two" : {"collection":[{"id":"","level":"column","collection":[],"ver_ini":"1.1.0","width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Design your <strong>own space</strong>","h_alignment_css":{"desktop":"right","mobile":"center"},"autop":false},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","font_size_css":{"desktop":"50px","tablet":"33px"},"color_css":"#ffffff"}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.","h_alignment_css":{"desktop":"right","mobile":"justify"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","color_css":"#ffffff"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Start now"},"design":{"bg_color_css":"#c5a872","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":{"desktop":"right","mobile":"center"}},"font":{"font_family_css":"[gfont]Roboto:regular","color_css":"#ffffff","font_style_css":"italic"}}}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-left":"63"},"mobile":{"padding-left":"0"}}}}}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_two.jpg","bg-position":{"desktop":"top","tablet":"top_left","mobile":"center"},"bg-apply-overlay":true},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"575"},"spacing":{"pad_marg":{"desktop":{"padding-top":"180","padding-bottom":"180"},"tablet":{"padding-right":"20","padding-left":"20"},"mobile":{"padding-right":"10","padding-left":"10","padding-top":"150","padding-bottom":"150"}}}},"ver_ini":"1.1.0"},
|
4 |
-
"intro_three" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"We can help you<br/><strong><i>grow</i></strong> your business !","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:regular","font_size_css":{"desktop":"50px","tablet":"40px","mobile":"30px"},"color_css":"#000000"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"14"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"18px","tablet":"17px","mobile":"16px"},"color_css":"#514f4f"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more","link-to":"url","link-pick-url":{"id":"_custom_","type_label":"","title":"<span style=\"font-weight:bold\">Set a custom url</span>","url":""},"link-custom-url":"mailto:contact@youremail.com","icon":"far fa-envelope-open"},"design":{"bg_color_css":"#ff595e","bg_color_hover":"#151515","border_radius_css":{"_all_":"10px"},"h_alignment_css":"center"},"font":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"20px","mobile":"16px","tablet":"18px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-left":"20","padding-right":"20"},"mobile":{"padding-left":"0","padding-right":"0"}}}}}],"ver_ini":"1.1.0","options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_three.jpg","bg-position":{"desktop":"top","mobile":"center"},"bg-opacity-overlay":"22"},"spacing":{"pad_marg":{"desktop":{"padding-top":"200","padding-bottom":"200"},"mobile":{"padding-top":"150","padding-bottom":"150"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"600px"}}}},
|
5 |
"features_one" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Our services","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:regular","font_size_css":{"desktop":"45px","tablet":"40px","mobile":"30px"},"color_css":"#000000"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"3","margin-top":"3"}}}}},{"id":"","is_nested":true,"level":"section","collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-award","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Award winning ","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-rocket","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Performances ","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-hands-helping","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Top support","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""}],"options":{"spacing":{"pad_marg":{"desktop":{"padding-bottom":"180","padding-top":"80"},"tablet":{"padding-top":"70","padding-bottom":"130"},"mobile":{"padding-top":"30","padding-bottom":"50"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"720"}},"ver_ini":"1.1.0"}],"ver_ini":"1.1.0"}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-top":"100"},"tablet":{"padding-top":"80"},"mobile":{"padding-top":"30"}}}}},
|
6 |
"features_two" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-chart-line","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"30","padding-left":"30"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"119px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"High performances","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-award","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"35","padding-left":"35"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"231px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Industry leader","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"far fa-clock","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"30","padding-left":"30"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"119px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Delivers on time","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/features_two.jpg","bg-attachment":true,"bg-apply-overlay":true,"bg-opacity-overlay":"62"},"spacing":{"pad_marg":{"desktop":{"padding-top":"200","padding-bottom":"200"},"mobile":{"padding-top":"100","padding-bottom":"100","padding-left":"5","padding-right":"5"},"tablet":{"padding-top":"150","padding-bottom":"150","padding-left":"40","padding-right":"40"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"660"}},"ver_ini":"1.1.0"},
|
7 |
"contact_one":{"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_map_module","ver_ini":"1.1.6","value":{"address":"405 East 42nd Street, New York, NY, 10017, USA","zoom":"16","height_css":{"desktop":"588px","mobile":"336px"}}}],"ver_ini":"1.1.6","width":"","options":{"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.6","value":{"main_settings":{"heading_text":"Drop us a line","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"32px","mobile":"23px"},"color_css":"#141414"}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.6","value":{"main_settings":{"content":"Contact us for anything you want to know! We are happy to answer any question you have as quickly as possible.","h_alignment_css":{"desktop":"justify"}},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","color_css":"#333333"}}},{"id":"","level":"module","module_type":"czr_simple_form_module","ver_ini":"1.1.6","value":{"fields_design":{"borders":{"_all_":{"wght":"0px","col":"#cccccc"},"bottom":{"wght":"1px","col":"#cccccc"}},"use_inset_shadow":false,"border":{"_all_":{"wght":"1px","col":"#cccccc"}}},"form_button":{"bg_color_css":"#020202","bg_color_hover":"#151515","h_alignment_css":{"desktop":"center"},"spacing_css":{"margin-top":0.5,"padding-top":0.5,"padding-bottom":0.5,"padding-right":"2","padding-left":"2","unit":"em"}},"form_fonts":{"fl_font_family_css":"[gfont]Montserrat:regular","fl_font_weight_css":"700","btn_font_family_css":"[gfont]Montserrat:regular","btn_color_css":"#ffffff"},"form_submission":{"email_footer":""}},"options":{"spacing":{"pad_marg":{"desktop":[],"tablet":{"padding-left":"10","padding-right":"15"},"mobile":{"padding-right":"25"}}}}}],"width":"","ver_ini":"1.1.6","options":{"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10"},"tablet":{"margin-left":"10","margin-right":"10","padding-right":"20","padding-left":"20"}}},"bg":[]}}],"options":{"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"1000px"}},"spacing":{"pad_marg":{"desktop":{"padding-top":"75","padding-bottom":"75"},"tablet":{"padding-top":"40","padding-bottom":"40"}}},"breakpoint":{"reverse-col-at-breakpoint":true}},"ver_ini":"1.1.6"},
|
1 |
{
|
2 |
"intro_one" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","value":{"main_settings":{"heading_text":"Our creative Lab","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","font_size_css":{"desktop":"46px","tablet":"30px","mobile":"20px"},"color_css":"#000000","text_transform_css":"uppercase"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"10","unit":"px"}}}},"options":{"spacing":[]},"ver_ini":"1.1.0"},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","value":{"main_settings":{"content":"Helps you bring your ideas to life.","h_alignment_css":{"desktop":"center"},"autop":false},"font_settings":{"font_family_css":"[gfont]Roboto:italic","font_size_css":{"desktop":"20px","tablet":"18px","mobile":"16px"},"color_css":"#6d6d6d"}},"options":{"spacing":[]},"ver_ini":"1.1.0"}],"options":{"bg":{"bg-color":"rgba(255,255,255,0.75)","bg-color-overlay":"#000000","bg-opacity-overlay":"40"},"spacing":{"pad_marg":{"desktop":{"padding-right":"20","padding-left":"20","padding-top":"70","padding-bottom":"70"},"tablet":{"padding-top":"40","padding-bottom":"40","padding-right":"10","padding-left":"10"},"mobile":{"padding-top":"30","padding-bottom":"30"}}}},"ver_ini":"1.1.0"}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_one.jpg","bg-color-overlay":"#000000","bg-opacity-overlay":"40"},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"525px","tablet":"50%","mobile":"85%"}},"spacing":{"pad_marg":{"desktop":{"padding-top":"250","padding-bottom":"250"},"tablet":{"padding-bottom":"200","padding-top":"200"},"mobile":{"padding-top":"150","padding-bottom":"150"}}}},"ver_ini":"1.1.0"},
|
3 |
"intro_two" : {"collection":[{"id":"","level":"column","collection":[],"ver_ini":"1.1.0","width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Design your <strong>own space</strong>","h_alignment_css":{"desktop":"right","mobile":"center"},"autop":false},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","font_size_css":{"desktop":"50px","tablet":"33px"},"color_css":"#ffffff"}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor.","h_alignment_css":{"desktop":"right","mobile":"justify"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","color_css":"#ffffff"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Start now"},"design":{"bg_color_css":"#c5a872","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":{"desktop":"right","mobile":"center"}},"font":{"font_family_css":"[gfont]Roboto:regular","color_css":"#ffffff","font_style_css":"italic"}}}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-left":"63"},"mobile":{"padding-left":"0"}}}}}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_two.jpg","bg-position":{"desktop":"top","tablet":"top_left","mobile":"center"},"bg-apply-overlay":true},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"575"},"spacing":{"pad_marg":{"desktop":{"padding-top":"180","padding-bottom":"180"},"tablet":{"padding-right":"20","padding-left":"20"},"mobile":{"padding-right":"10","padding-left":"10","padding-top":"150","padding-bottom":"150"}}}},"ver_ini":"1.1.0"},
|
4 |
+
"intro_three" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"We can help you<br/><strong><i>grow</i></strong> your business !","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:regular","font_size_css":{"desktop":"50px","tablet":"40px","mobile":"30px"},"color_css":"#000000"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"14"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"18px","tablet":"17px","mobile":"16px"},"color_css":"#514f4f"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more","link-to":"url","link-pick-url":{"id":"_custom_","type_label":"","title":"<span style=\"font-weight:bold\">Set a custom url</span>","url":""},"link-custom-url":"mailto:contact@youremail.com","icon":"far fa-envelope-open"},"design":{"bg_color_css":"#ff595e","bg_color_hover":"#151515","border_radius_css":{"_all_":"10px"},"h_alignment_css":"center"},"font":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"20px","mobile":"16px","tablet":"18px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-left":"20","padding-right":"20"},"mobile":{"padding-left":"0","padding-right":"0"}}}}}],"ver_ini":"1.1.0","options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/intro_three.jpg","bg-position":{"desktop":"top","mobile":"center"},"bg-parallax":true,"bg-opacity-overlay":"22"},"spacing":{"pad_marg":{"desktop":{"padding-top":"200","padding-bottom":"200"},"mobile":{"padding-top":"150","padding-bottom":"150"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"600px"}}}},
|
5 |
"features_one" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Our services","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:regular","font_size_css":{"desktop":"45px","tablet":"40px","mobile":"30px"},"color_css":"#000000"},"spacing":{"spacing_css":{"desktop":{"margin-bottom":"3","margin-top":"3"}}}}},{"id":"","is_nested":true,"level":"section","collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-award","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Award winning ","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-rocket","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Performances ","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-hands-helping","font_size_css":{"desktop":"34px"},"color_css":"#19b934"}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Top support","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Poppins:500","font_size_css":{"desktop":"25px","tablet":"18px"}},"spacing":{"spacing_css":{"desktop":{"margin-top":"10","margin-bottom":"10"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:500","font_size_css":{"desktop":"16px","tablet":"15px","mobile":"15px"},"color_css":"#727272"}}},{"id":"","level":"module","module_type":"czr_button_module","ver_ini":"1.1.0","value":{"content":{"button_text":"Learn more"},"design":{"bg_color_css":"#19b934","bg_color_hover":"#151515","border_radius_css":"2","h_alignment_css":"center"},"font":{"font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}},"options":{"spacing":{"pad_marg":{"desktop":{"margin-top":"1","unit":"em"}}}}}],"ver_ini":"1.1.0","options":{"border":{"shadow":true},"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10","padding-top":"50","padding-bottom":"50","padding-left":"15","padding-right":"15","margin-bottom":"20"},"tablet":{"padding-top":"30","padding-bottom":"30"}}}},"width":""}],"options":{"spacing":{"pad_marg":{"desktop":{"padding-bottom":"180","padding-top":"80"},"tablet":{"padding-top":"70","padding-bottom":"130"},"mobile":{"padding-top":"30","padding-bottom":"50"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"720"}},"ver_ini":"1.1.0"}],"ver_ini":"1.1.0"}],"ver_ini":"1.1.0","options":{"spacing":{"pad_marg":{"desktop":{"padding-top":"100"},"tablet":{"padding-top":"80"},"mobile":{"padding-top":"30"}}}}},
|
6 |
"features_two" : {"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-chart-line","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"30","padding-left":"30"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"119px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"High performances","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"fas fa-award","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"35","padding-left":"35"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"231px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Industry leader","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_icon_module","ver_ini":"1.1.0","value":{"icon_settings":{"icon":"far fa-clock","font_size_css":"40px","color_css":"#ffffff"},"spacing_border":{"spacing_css":{"desktop":{"padding-top":"30","padding-bottom":"30","padding-right":"30","padding-left":"30"}},"border-type":"solid","borders":{"_all_":{"wght":"3px","col":"#ffffff"}},"border_radius_css":{"_all_":"119px"},"use_box_shadow":true}}},{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.0","value":{"main_settings":{"heading_text":"Delivers on time","heading_tag":"h3","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Lato:regular","font_size_css":{"desktop":"27px","mobile":"22px","tablet":"24px"},"color_css":"#ffffff"},"spacing":{"spacing_css":{"desktop":{"margin-top":"15","margin-bottom":"15"}}}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.0","value":{"main_settings":{"content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus.","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Montserrat:italic","font_size_css":{"desktop":"17px","mobile":"15px"},"color_css":"#ffffff"}}}],"ver_ini":"1.1.0","width":"","options":{"spacing":{"pad_marg":{"desktop":[],"mobile":{},"tablet":{"margin-bottom":"20"}}}}}],"options":{"bg":{"bg-image":"::img-path::/assets/img/section_assets/features_two.jpg","bg-attachment":true,"bg-apply-overlay":true,"bg-opacity-overlay":"62"},"spacing":{"pad_marg":{"desktop":{"padding-top":"200","padding-bottom":"200"},"mobile":{"padding-top":"100","padding-bottom":"100","padding-left":"5","padding-right":"5"},"tablet":{"padding-top":"150","padding-bottom":"150","padding-left":"40","padding-right":"40"}}},"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"960px"}},"breakpoint":{"use-custom-breakpoint":true,"custom-breakpoint":"660"}},"ver_ini":"1.1.0"},
|
7 |
"contact_one":{"collection":[{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_map_module","ver_ini":"1.1.6","value":{"address":"405 East 42nd Street, New York, NY, 10017, USA","zoom":"16","height_css":{"desktop":"588px","mobile":"336px"}}}],"ver_ini":"1.1.6","width":"","options":{"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10"}}}}},{"id":"","level":"column","collection":[{"id":"","level":"module","module_type":"czr_heading_module","ver_ini":"1.1.6","value":{"main_settings":{"heading_text":"Drop us a line","heading_tag":"h2","h_alignment_css":{"desktop":"center"}},"font_settings":{"font_family_css":"[gfont]Roboto:regular","font_size_css":{"desktop":"32px","mobile":"23px"},"color_css":"#141414"}}},{"id":"","level":"module","module_type":"czr_tiny_mce_editor_module","ver_ini":"1.1.6","value":{"main_settings":{"content":"Contact us for anything you want to know! We are happy to answer any question you have as quickly as possible.","h_alignment_css":{"desktop":"justify"}},"font_settings":{"font_family_css":"[gfont]Montserrat:regular","color_css":"#333333"}}},{"id":"","level":"module","module_type":"czr_simple_form_module","ver_ini":"1.1.6","value":{"fields_design":{"borders":{"_all_":{"wght":"0px","col":"#cccccc"},"bottom":{"wght":"1px","col":"#cccccc"}},"use_inset_shadow":false,"border":{"_all_":{"wght":"1px","col":"#cccccc"}}},"form_button":{"bg_color_css":"#020202","bg_color_hover":"#151515","h_alignment_css":{"desktop":"center"},"spacing_css":{"margin-top":0.5,"padding-top":0.5,"padding-bottom":0.5,"padding-right":"2","padding-left":"2","unit":"em"}},"form_fonts":{"fl_font_family_css":"[gfont]Montserrat:regular","fl_font_weight_css":"700","btn_font_family_css":"[gfont]Montserrat:regular","btn_color_css":"#ffffff"},"form_submission":{"email_footer":""}},"options":{"spacing":{"pad_marg":{"desktop":[],"tablet":{"padding-left":"10","padding-right":"15"},"mobile":{"padding-right":"25"}}}}}],"width":"","ver_ini":"1.1.6","options":{"spacing":{"pad_marg":{"desktop":{"margin-right":"10","margin-left":"10"},"tablet":{"margin-left":"10","margin-right":"10","padding-right":"20","padding-left":"20"}}},"bg":[]}}],"options":{"width":{"use-custom-inner-width":true,"inner-section-width":{"desktop":"1000px"}},"spacing":{"pad_marg":{"desktop":{"padding-top":"75","padding-bottom":"75"},"tablet":{"padding-top":"40","padding-bottom":"40"}}},"breakpoint":{"reverse-col-at-breakpoint":true}},"ver_ini":"1.1.6"},
|
inc/admin/nimble-admin.php
CHANGED
@@ -266,15 +266,10 @@ function sek_may_be_display_update_notice() {
|
|
266 |
);
|
267 |
?>
|
268 |
</p>
|
269 |
-
<p>
|
270 |
<?php
|
271 |
-
printf(
|
272 |
-
__( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'nimble-builder' ),
|
273 |
-
sprintf( '<strong>%s</strong>', esc_html__( 'the Nimble Builder', 'nimble-builder' ) ),
|
274 |
-
sprintf( '<a href="%1$s" target="_blank" class="czr-rating-link">★★★★★</a>', esc_url( 'wordpress.org/support/plugin/nimble-builder/reviews/?filter=5#new-post') )
|
275 |
-
);
|
276 |
?>
|
277 |
-
</p>
|
278 |
</div>
|
279 |
<?php
|
280 |
$_html = ob_get_contents();
|
266 |
);
|
267 |
?>
|
268 |
</p>
|
269 |
+
<!-- <p>
|
270 |
<?php
|
|
|
|
|
|
|
|
|
|
|
271 |
?>
|
272 |
+
</p> -->
|
273 |
</div>
|
274 |
<?php
|
275 |
$_html = ob_get_contents();
|
inc/sektions/ccat-czr-sektions.php
CHANGED
@@ -63,13 +63,17 @@ function sek_enqueue_controls_js_css() {
|
|
63 |
|
64 |
'defaultSektionSettingValue' => sek_get_default_sektions_value(),
|
65 |
|
|
|
|
|
66 |
'registeredModules' => CZR_Fmk_Base() -> registered_modules,
|
67 |
'preDropElementClass' => 'sortable-placeholder',
|
68 |
'dropSelectors' => implode(',', [
|
69 |
'.sek-drop-zone', //This is the selector for all eligible drop zones printed statically or dynamically on dragstart
|
70 |
'body',// body will not be eligible for drop, but setting the body as drop zone allows us to fire dragenter / dragover actions, like toggling the "approaching" or "close" css class to real drop zone
|
71 |
'.sek-content-preset_section-drop-zone'//between sections
|
72 |
-
])
|
|
|
|
|
73 |
)
|
74 |
)
|
75 |
);//wp_localize_script()
|
@@ -496,9 +500,32 @@ function sek_print_nimble_customizer_tmpl() {
|
|
496 |
</div>
|
497 |
</div>
|
498 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
<?php
|
500 |
}
|
501 |
|
|
|
502 |
?><?php
|
503 |
/* ------------------------------------------------------------------------- *
|
504 |
* SETUP DYNAMIC SERVER REGISTRATION FOR SETTING
|
@@ -598,6 +625,14 @@ if ( ! class_exists( 'SEK_CZR_Dyn_Register' ) ) :
|
|
598 |
}//class
|
599 |
endif;
|
600 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
601 |
?><?php
|
602 |
/*
|
603 |
* This approach has been inspired by the excellent https://github.com/xwp/wp-customize-posts
|
@@ -871,6 +906,7 @@ function sek_set_input_tmpl___section_picker( $input_id, $input_data ) {
|
|
871 |
<input data-czrtype="<?php echo $input_id; ?>" type="hidden"/>
|
872 |
<div class="sek-content-type-wrapper">
|
873 |
<?php
|
|
|
874 |
switch( $input_id ) {
|
875 |
case 'intro_sections' :
|
876 |
$content_collection = array(
|
@@ -950,7 +986,7 @@ function sek_set_input_tmpl___section_picker( $input_id, $input_data ) {
|
|
950 |
break;
|
951 |
}
|
952 |
foreach( $content_collection as $_params) {
|
953 |
-
printf('<div draggable="true" data-sek-content-type="%1$s" data-sek-content-id="%2$s" style="%3$s" title="%4$s"><div class="sek-overlay"></div></div>',
|
954 |
$_params['content-type'],
|
955 |
$_params['content-id'],
|
956 |
sprintf( 'background: url(%1$s) 50% 50% / cover no-repeat;%2$s',
|
63 |
|
64 |
'defaultSektionSettingValue' => sek_get_default_sektions_value(),
|
65 |
|
66 |
+
'userSavedSektions' => get_option(NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS),
|
67 |
+
|
68 |
'registeredModules' => CZR_Fmk_Base() -> registered_modules,
|
69 |
'preDropElementClass' => 'sortable-placeholder',
|
70 |
'dropSelectors' => implode(',', [
|
71 |
'.sek-drop-zone', //This is the selector for all eligible drop zones printed statically or dynamically on dragstart
|
72 |
'body',// body will not be eligible for drop, but setting the body as drop zone allows us to fire dragenter / dragover actions, like toggling the "approaching" or "close" css class to real drop zone
|
73 |
'.sek-content-preset_section-drop-zone'//between sections
|
74 |
+
]),
|
75 |
+
|
76 |
+
'isSavedSectionEnabled' => defined( 'NIMBLE_SAVED_SECTIONS_ENABLED' ) ? NIMBLE_SAVED_SECTIONS_ENABLED : true
|
77 |
)
|
78 |
)
|
79 |
);//wp_localize_script()
|
500 |
</div>
|
501 |
</div>
|
502 |
</script>
|
503 |
+
|
504 |
+
<script type="text/html" id="tmpl-nimble-top-save-ui">
|
505 |
+
<div id="nimble-top-save-ui" class="czr-preview-notification">
|
506 |
+
<input id="sek-saved-section-id" type="hidden" value="">
|
507 |
+
<div class="sek-section-title">
|
508 |
+
<label for="sek-saved-section-title" class="customize-control-title"><?php _e('Section title', 'nimble-builder'); ?></label>
|
509 |
+
<input id="sek-saved-section-title" type="text" value="">
|
510 |
+
</div>
|
511 |
+
<div class="sek-section-description">
|
512 |
+
<label for="sek-saved-section-description" class="customize-control-title"><?php _e('Section description', 'nimble-builder'); ?></label>
|
513 |
+
<textarea id="sek-saved-section-description" type="text" value=""></textarea>
|
514 |
+
</div>
|
515 |
+
<div class="sek-section-save">
|
516 |
+
<button class="button sek-do-save-section far fa-save" type="button" title="<?php _e('Save', 'nimble-builder'); ?>">
|
517 |
+
<?php _e('Save', 'nimble-builder'); ?><span class="screen-reader-text"><?php _e('Save', 'nimble-builder'); ?></span>
|
518 |
+
</button>
|
519 |
+
</div>
|
520 |
+
<button class="button sek-cancel-save far fa-times-circle" type="button" title="<?php _e('Cancel', 'nimble-builder'); ?>">
|
521 |
+
<?php _e('Cancel', 'nimble-builder'); ?><span class="screen-reader-text"><?php _e('Cancel', 'nimble-builder'); ?></span>
|
522 |
+
</button>
|
523 |
+
</div>
|
524 |
+
</script>
|
525 |
<?php
|
526 |
}
|
527 |
|
528 |
+
|
529 |
?><?php
|
530 |
/* ------------------------------------------------------------------------- *
|
531 |
* SETUP DYNAMIC SERVER REGISTRATION FOR SETTING
|
625 |
}//class
|
626 |
endif;
|
627 |
|
628 |
+
?><?php
|
629 |
+
add_action( 'customize_save_validation_before', '\Nimble\sek_remove_callback_wp_targeted_link_rel' );
|
630 |
+
function sek_remove_callback_wp_targeted_link_rel( $wp_customize ) {
|
631 |
+
if ( false !== has_filter( 'content_save_pre', 'wp_targeted_link_rel' ) ) {
|
632 |
+
remove_filter( 'content_save_pre', 'wp_targeted_link_rel' );
|
633 |
+
}
|
634 |
+
};
|
635 |
+
|
636 |
?><?php
|
637 |
/*
|
638 |
* This approach has been inspired by the excellent https://github.com/xwp/wp-customize-posts
|
906 |
<input data-czrtype="<?php echo $input_id; ?>" type="hidden"/>
|
907 |
<div class="sek-content-type-wrapper">
|
908 |
<?php
|
909 |
+
$content_collection = array();
|
910 |
switch( $input_id ) {
|
911 |
case 'intro_sections' :
|
912 |
$content_collection = array(
|
986 |
break;
|
987 |
}
|
988 |
foreach( $content_collection as $_params) {
|
989 |
+
printf('<div draggable="true" data-sek-section-type="content" data-sek-content-type="%1$s" data-sek-content-id="%2$s" style="%3$s" title="%4$s"><div class="sek-overlay"></div></div>',
|
990 |
$_params['content-type'],
|
991 |
$_params['content-id'],
|
992 |
sprintf( 'background: url(%1$s) 50% 50% / cover no-repeat;%2$s',
|
inc/sektions/ccat-sektions.php
CHANGED
@@ -13,6 +13,7 @@ function sek_is_dev_mode() {
|
|
13 |
if ( ! defined( 'NIMBLE_CPT' ) ) { define( 'NIMBLE_CPT' , 'nimble_post_type' ); }
|
14 |
if ( ! defined( 'NIMBLE_OPT_PREFIX_FOR_SEKTION_COLLECTION' ) ) { define( 'NIMBLE_OPT_PREFIX_FOR_SEKTION_COLLECTION' , 'nimble___' ); }
|
15 |
if ( ! defined( 'NIMBLE_OPT_NAME_FOR_GLOBAL_OPTIONS' ) ) { define( 'NIMBLE_OPT_NAME_FOR_GLOBAL_OPTIONS' , '__nimble_options__' ); }
|
|
|
16 |
if ( ! defined( 'NIMBLE_OPT_PREFIX_FOR_LEVEL_UI' ) ) { define( 'NIMBLE_OPT_PREFIX_FOR_LEVEL_UI' , '__nimble__' ); }
|
17 |
if ( !defined( 'NIMBLE_ASSETS_VERSION' ) ) {
|
18 |
define( 'NIMBLE_ASSETS_VERSION', sek_is_dev_mode() ? time() : NIMBLE_VERSION );
|
@@ -814,22 +815,20 @@ register_post_type( NIMBLE_CPT , array(
|
|
814 |
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
|
815 |
'supports' => array( 'title', 'revisions' ),
|
816 |
'capabilities' => array(
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
)
|
830 |
-
)
|
831 |
-
|
832 |
-
|
833 |
|
834 |
|
835 |
|
@@ -1004,6 +1003,147 @@ function sek_update_sek_post( $seks_data, $args = array() ) {
|
|
1004 |
}
|
1005 |
return get_post( $r );
|
1006 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1007 |
?><?php
|
1008 |
function sek_generate_css_rules_for_multidimensional_border_options( $rules, $border_settings, $border_type, $css_selectors = '' ) {
|
1009 |
if ( ! is_array( $rules ) )
|
@@ -1581,6 +1721,7 @@ function sek_register_modules() {
|
|
1581 |
'sek_features_sec_picker_module',
|
1582 |
'sek_contact_sec_picker_module',
|
1583 |
'sek_column_layouts_sec_picker_module',
|
|
|
1584 |
'sek_level_bg_module',
|
1585 |
'sek_level_border_module',
|
1586 |
'sek_level_height_module',
|
@@ -1932,6 +2073,19 @@ function sek_get_module_params_for_sek_column_layouts_sec_picker_module() {
|
|
1932 |
)
|
1933 |
);
|
1934 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1935 |
?><?php
|
1936 |
function sek_get_module_params_for_sek_level_bg_module() {
|
1937 |
return array(
|
@@ -7457,6 +7611,7 @@ if ( ! class_exists( 'SEK_Front_Construct' ) ) :
|
|
7457 |
function __construct( $params = array() ) {
|
7458 |
$this -> _schedule_front_ajax_actions();
|
7459 |
$this -> _schedule_img_import_ajax_actions();
|
|
|
7460 |
$this -> _schedule_front_and_preview_assets_printing();
|
7461 |
$this -> _schedule_front_rendering();
|
7462 |
$this -> _setup_hook_for_front_css_printing_or_enqueuing();
|
@@ -7469,7 +7624,7 @@ if ( ! class_exists( 'SEK_Front_Ajax' ) ) :
|
|
7469 |
class SEK_Front_Ajax extends SEK_Front_Construct {
|
7470 |
function _schedule_front_ajax_actions() {
|
7471 |
add_action( 'wp_ajax_sek_get_content', array( $this, 'sek_get_level_content_for_injection' ) );
|
7472 |
-
|
7473 |
$this -> ajax_action_map = array(
|
7474 |
'sek-add-section',
|
7475 |
'sek-remove-section',
|
@@ -7495,6 +7650,37 @@ if ( ! class_exists( 'SEK_Front_Ajax' ) ) :
|
|
7495 |
function _schedule_img_import_ajax_actions() {
|
7496 |
add_action( 'wp_ajax_sek_import_attachment', array( $this, 'sek_ajax_import_attachemnt' ) );
|
7497 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7498 |
function sek_get_level_content_for_injection( $params ) {
|
7499 |
if ( ! is_user_logged_in() ) {
|
7500 |
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
@@ -7677,6 +7863,19 @@ if ( ! class_exists( 'SEK_Front_Ajax' ) ) :
|
|
7677 |
}
|
7678 |
}
|
7679 |
function sek_ajax_import_attachemnt() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7680 |
$relative_path = $_POST['rel_path'];
|
7681 |
$filename = 'nimble_asset_' . basename( $relative_path );
|
7682 |
$args = array(
|
@@ -7746,6 +7945,94 @@ if ( ! class_exists( 'SEK_Front_Ajax' ) ) :
|
|
7746 |
wp_send_json_success( $new_attachment );
|
7747 |
}
|
7748 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7749 |
/*function sek_get_ui_content_for_injection( $params ) {
|
7750 |
if ( ! is_user_logged_in() ) {
|
7751 |
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
@@ -7842,7 +8129,6 @@ if ( ! class_exists( 'SEK_Front_Assets' ) ) :
|
|
7842 |
'sekFrontLocalized',
|
7843 |
array(
|
7844 |
'isDevMode' => sek_is_dev_mode(),
|
7845 |
-
'ajaxUrl' => admin_url( 'admin-ajax.php' ),
|
7846 |
'frontNonce' => array( 'id' => 'SEKFrontNonce', 'handle' => wp_create_nonce( 'sek-front-nonce' ) ),
|
7847 |
'localSeks' => sek_is_debug_mode() ? wp_json_encode( sek_get_skoped_seks() ) : ''
|
7848 |
)
|
@@ -7955,6 +8241,9 @@ if ( ! class_exists( 'SEK_Front_Assets' ) ) :
|
|
7955 |
<i data-sek-click-on="add-column" class="material-icons sek-click-on" title="<?php _e( 'Add a column', 'nimble-builder' ); ?>">view_column</i>
|
7956 |
<# } #>
|
7957 |
<i data-sek-click-on="duplicate" class="material-icons sek-click-on" title="<?php _e( 'Duplicate section', 'nimble-builder' ); ?>">filter_none</i>
|
|
|
|
|
|
|
7958 |
<i data-sek-click-on="pick-content" data-sek-content-type="module" class="material-icons sek-click-on" title="<?php _e( 'Add a module', 'nimble-builder' ); ?>">add_circle_outline</i>
|
7959 |
<i data-sek-click-on="remove" class="material-icons sek-click-on" title="<?php _e( 'Remove section', 'nimble-builder' ); ?>">delete_forever</i>
|
7960 |
</div>
|
13 |
if ( ! defined( 'NIMBLE_CPT' ) ) { define( 'NIMBLE_CPT' , 'nimble_post_type' ); }
|
14 |
if ( ! defined( 'NIMBLE_OPT_PREFIX_FOR_SEKTION_COLLECTION' ) ) { define( 'NIMBLE_OPT_PREFIX_FOR_SEKTION_COLLECTION' , 'nimble___' ); }
|
15 |
if ( ! defined( 'NIMBLE_OPT_NAME_FOR_GLOBAL_OPTIONS' ) ) { define( 'NIMBLE_OPT_NAME_FOR_GLOBAL_OPTIONS' , '__nimble_options__' ); }
|
16 |
+
if ( ! defined( 'NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS' ) ) { define( 'NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS' , 'nimble_saved_sektions' ); }
|
17 |
if ( ! defined( 'NIMBLE_OPT_PREFIX_FOR_LEVEL_UI' ) ) { define( 'NIMBLE_OPT_PREFIX_FOR_LEVEL_UI' , '__nimble__' ); }
|
18 |
if ( !defined( 'NIMBLE_ASSETS_VERSION' ) ) {
|
19 |
define( 'NIMBLE_ASSETS_VERSION', sek_is_dev_mode() ? time() : NIMBLE_VERSION );
|
815 |
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
|
816 |
'supports' => array( 'title', 'revisions' ),
|
817 |
'capabilities' => array(
|
818 |
+
'delete_posts' => 'edit_theme_options',
|
819 |
+
'delete_post' => 'edit_theme_options',
|
820 |
+
'delete_published_posts' => 'edit_theme_options',
|
821 |
+
'delete_private_posts' => 'edit_theme_options',
|
822 |
+
'delete_others_posts' => 'edit_theme_options',
|
823 |
+
'edit_post' => 'edit_theme_options',
|
824 |
+
'edit_posts' => 'edit_theme_options',
|
825 |
+
'edit_others_posts' => 'edit_theme_options',
|
826 |
+
'edit_published_posts' => 'edit_theme_options',
|
827 |
+
'read_post' => 'read',
|
828 |
+
'read_private_posts' => 'read',
|
829 |
+
'publish_posts' => 'edit_theme_options',
|
830 |
)
|
831 |
+
));
|
|
|
|
|
832 |
|
833 |
|
834 |
|
1003 |
}
|
1004 |
return get_post( $r );
|
1005 |
}
|
1006 |
+
|
1007 |
+
|
1008 |
+
|
1009 |
+
|
1010 |
+
|
1011 |
+
|
1012 |
+
|
1013 |
+
|
1014 |
+
|
1015 |
+
|
1016 |
+
/* ------------------------------------------------------------------------- *
|
1017 |
+
* SAVED SEKTIONS
|
1018 |
+
/* ------------------------------------------------------------------------- */
|
1019 |
+
register_post_type( 'nimble_saved_seks' , array(
|
1020 |
+
'labels' => array(
|
1021 |
+
'name' => __( 'Nimble saved sections', 'nimble-builder' ),
|
1022 |
+
'singular_name' => __( 'Nimble saved sections', 'nimble-builder' ),
|
1023 |
+
),
|
1024 |
+
'public' => false,
|
1025 |
+
'hierarchical' => false,
|
1026 |
+
'rewrite' => false,
|
1027 |
+
'query_var' => false,
|
1028 |
+
'delete_with_user' => false,
|
1029 |
+
'can_export' => true,
|
1030 |
+
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
|
1031 |
+
'supports' => array( 'title', 'revisions' ),
|
1032 |
+
'capabilities' => array(
|
1033 |
+
'delete_posts' => 'edit_theme_options',
|
1034 |
+
'delete_post' => 'edit_theme_options',
|
1035 |
+
'delete_published_posts' => 'edit_theme_options',
|
1036 |
+
'delete_private_posts' => 'edit_theme_options',
|
1037 |
+
'delete_others_posts' => 'edit_theme_options',
|
1038 |
+
'edit_post' => 'edit_theme_options',
|
1039 |
+
'edit_posts' => 'edit_theme_options',
|
1040 |
+
'edit_others_posts' => 'edit_theme_options',
|
1041 |
+
'edit_published_posts' => 'edit_theme_options',
|
1042 |
+
'read_post' => 'read',
|
1043 |
+
'read_private_posts' => 'read',
|
1044 |
+
'publish_posts' => 'edit_theme_options',
|
1045 |
+
)
|
1046 |
+
));
|
1047 |
+
function sek_get_saved_sektion_data( $saved_section_id ) {
|
1048 |
+
$sek_post = sek_get_saved_seks_post( $saved_section_id );
|
1049 |
+
$section_data = array();
|
1050 |
+
if ( $sek_post ) {
|
1051 |
+
$section_data_decoded = maybe_unserialize( $sek_post -> post_content );
|
1052 |
+
if ( is_array( $section_data_decoded ) && ! empty( $section_data_decoded['data'] ) && is_string( $section_data_decoded['data'] ) ) {
|
1053 |
+
$section_data = json_decode( wp_unslash( $section_data_decoded['data'], true ) );
|
1054 |
+
}
|
1055 |
+
}
|
1056 |
+
return $section_data;
|
1057 |
+
}
|
1058 |
+
|
1059 |
+
/**
|
1060 |
+
* Fetch the `nimble_saved_seks` post for a given {skope_id}
|
1061 |
+
*
|
1062 |
+
* @since 4.7.0
|
1063 |
+
*
|
1064 |
+
* @param string $stylesheet Optional. A theme object stylesheet name. Defaults to the current theme.
|
1065 |
+
* @return WP_Post|null The skope post or null if none exists.
|
1066 |
+
*/
|
1067 |
+
function sek_get_saved_seks_post( $saved_section_id ) {
|
1068 |
+
|
1069 |
+
$post = null;
|
1070 |
+
$all_saved_seks = get_option( NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS );
|
1071 |
+
$section_data = array_key_exists( $saved_section_id, $all_saved_seks ) ? $all_saved_seks[$saved_section_id] : array();
|
1072 |
+
$post_id = array_key_exists( 'post_id', $section_data ) ? $section_data['post_id'] : -1;
|
1073 |
+
if ( 0 > $post_id ) {
|
1074 |
+
return;
|
1075 |
+
}
|
1076 |
+
|
1077 |
+
if ( ! is_int( $post_id ) ) {
|
1078 |
+
error_log( __FUNCTION__ .' => post_id ! is_int() for options => ' . $saved_section_id );
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
if ( is_int( $post_id ) && $post_id > 0 && get_post( $post_id ) ) {
|
1082 |
+
$post = get_post( $post_id );
|
1083 |
+
}
|
1084 |
+
|
1085 |
+
return $post;
|
1086 |
+
}
|
1087 |
+
function sek_update_saved_seks_post( $seks_data ) {
|
1088 |
+
if ( ! is_array( $seks_data ) ) {
|
1089 |
+
error_log( 'sek_update_saved_seks_post => $seks_data is not an array' );
|
1090 |
+
return new WP_Error( 'sek_update_saved_seks_post => $seks_data is not an array');
|
1091 |
+
}
|
1092 |
+
|
1093 |
+
$seks_data = wp_parse_args( $seks_data, array(
|
1094 |
+
'title' => '',
|
1095 |
+
'description' => '',
|
1096 |
+
'id' => '',
|
1097 |
+
'type' => 'content',//in the future will be used to differentiate header, content and footer sections
|
1098 |
+
'creation_date' => date("Y-m-d H:i:s"),
|
1099 |
+
'update_date' => '',
|
1100 |
+
'data' => array(),
|
1101 |
+
'nimble_version' => NIMBLE_VERSION
|
1102 |
+
));
|
1103 |
+
|
1104 |
+
$saved_section_id = NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS . $seks_data['id'];
|
1105 |
+
|
1106 |
+
$post_data = array(
|
1107 |
+
'post_title' => $saved_section_id,
|
1108 |
+
'post_name' => sanitize_title( $saved_section_id ),
|
1109 |
+
'post_type' => 'nimble_saved_seks',
|
1110 |
+
'post_status' => 'publish',
|
1111 |
+
'post_content' => maybe_serialize( $seks_data )
|
1112 |
+
);
|
1113 |
+
$post = sek_get_saved_seks_post( $saved_section_id );
|
1114 |
+
|
1115 |
+
if ( $post ) {
|
1116 |
+
$post_data['ID'] = $post->ID;
|
1117 |
+
$r = wp_update_post( wp_slash( $post_data ), true );
|
1118 |
+
} else {
|
1119 |
+
$r = wp_insert_post( wp_slash( $post_data ), true );
|
1120 |
+
if ( ! is_wp_error( $r ) ) {
|
1121 |
+
$post_id = $r;//$r is the post ID
|
1122 |
+
|
1123 |
+
$all_saved_seks = get_option(NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS);
|
1124 |
+
$all_saved_seks = is_array( $all_saved_seks ) ? $all_saved_seks : array();
|
1125 |
+
|
1126 |
+
$all_saved_seks[ $saved_section_id ] = array(
|
1127 |
+
'post_id' => (int)$post_id,
|
1128 |
+
'title' => $seks_data['title'],
|
1129 |
+
'description' => $seks_data['description'],
|
1130 |
+
'creation_date' => $seks_data['creation_date'],
|
1131 |
+
'type' => $seks_data['type'],
|
1132 |
+
'nimble_version' => NIMBLE_VERSION
|
1133 |
+
);
|
1134 |
+
|
1135 |
+
update_option( NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS, $all_saved_seks );
|
1136 |
+
if ( 0 === count( wp_get_post_revisions( $r ) ) ) {
|
1137 |
+
wp_save_post_revision( $r );
|
1138 |
+
}
|
1139 |
+
}
|
1140 |
+
}
|
1141 |
+
|
1142 |
+
if ( is_wp_error( $r ) ) {
|
1143 |
+
return $r;
|
1144 |
+
}
|
1145 |
+
return get_post( $r );
|
1146 |
+
}
|
1147 |
?><?php
|
1148 |
function sek_generate_css_rules_for_multidimensional_border_options( $rules, $border_settings, $border_type, $css_selectors = '' ) {
|
1149 |
if ( ! is_array( $rules ) )
|
1721 |
'sek_features_sec_picker_module',
|
1722 |
'sek_contact_sec_picker_module',
|
1723 |
'sek_column_layouts_sec_picker_module',
|
1724 |
+
'sek_my_sections_sec_picker_module',
|
1725 |
'sek_level_bg_module',
|
1726 |
'sek_level_border_module',
|
1727 |
'sek_level_height_module',
|
2073 |
)
|
2074 |
);
|
2075 |
}
|
2076 |
+
|
2077 |
+
function sek_get_module_params_for_sek_my_sections_sec_picker_module() {
|
2078 |
+
return array(
|
2079 |
+
'dynamic_registration' => true,
|
2080 |
+
'module_type' => 'sek_my_sections_sec_picker_module',
|
2081 |
+
'name' => __('My sections', 'nimble-builder'),
|
2082 |
+
'tmpl' => array(
|
2083 |
+
'item-inputs' => array(
|
2084 |
+
'my_sections' => sek_get_default_section_input_params()
|
2085 |
+
)
|
2086 |
+
)
|
2087 |
+
);
|
2088 |
+
}
|
2089 |
?><?php
|
2090 |
function sek_get_module_params_for_sek_level_bg_module() {
|
2091 |
return array(
|
7611 |
function __construct( $params = array() ) {
|
7612 |
$this -> _schedule_front_ajax_actions();
|
7613 |
$this -> _schedule_img_import_ajax_actions();
|
7614 |
+
$this -> _schedule_section_saving_ajax_actions();
|
7615 |
$this -> _schedule_front_and_preview_assets_printing();
|
7616 |
$this -> _schedule_front_rendering();
|
7617 |
$this -> _setup_hook_for_front_css_printing_or_enqueuing();
|
7624 |
class SEK_Front_Ajax extends SEK_Front_Construct {
|
7625 |
function _schedule_front_ajax_actions() {
|
7626 |
add_action( 'wp_ajax_sek_get_content', array( $this, 'sek_get_level_content_for_injection' ) );
|
7627 |
+
add_action( 'wp_ajax_sek_get_preset_sections', array( $this, 'sek_get_preset_sektions' ) );
|
7628 |
$this -> ajax_action_map = array(
|
7629 |
'sek-add-section',
|
7630 |
'sek-remove-section',
|
7650 |
function _schedule_img_import_ajax_actions() {
|
7651 |
add_action( 'wp_ajax_sek_import_attachment', array( $this, 'sek_ajax_import_attachemnt' ) );
|
7652 |
}
|
7653 |
+
function _schedule_section_saving_ajax_actions() {
|
7654 |
+
add_action( 'wp_ajax_sek_save_section', array( $this, 'sek_ajax_save_section' ) );
|
7655 |
+
add_action( 'wp_ajax_sek_get_user_saved_sections', array( $this, 'sek_sek_get_user_saved_sections' ) );
|
7656 |
+
}
|
7657 |
+
function sek_get_preset_sektions() {
|
7658 |
+
$action = 'save-customize_' . get_stylesheet();
|
7659 |
+
if ( ! check_ajax_referer( $action, 'nonce', false ) ) {
|
7660 |
+
wp_send_json_error( array(
|
7661 |
+
'code' => 'invalid_nonce',
|
7662 |
+
'message' => __( 'sek_ajax_save_section => check_ajax_referer() failed.', 'nimble-builder' ),
|
7663 |
+
) );
|
7664 |
+
}
|
7665 |
+
if ( ! is_user_logged_in() ) {
|
7666 |
+
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
7667 |
+
}
|
7668 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
7669 |
+
wp_send_json_error( __FUNCTION__ . ' => user_cant_edit_theme_options');
|
7670 |
+
}
|
7671 |
+
if ( ! current_user_can( 'customize' ) ) {
|
7672 |
+
status_header( 403 );
|
7673 |
+
wp_send_json_error( __FUNCTION__ . ' => customize_not_allowed' );
|
7674 |
+
} else if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
|
7675 |
+
status_header( 405 );
|
7676 |
+
wp_send_json_error( __FUNCTION__ . ' => bad_method' );
|
7677 |
+
}
|
7678 |
+
$preset_sections = sek_get_preset_sektions();
|
7679 |
+
if ( empty( $preset_sections ) ) {
|
7680 |
+
wp_send_json_error( __FUNCTION__ . ' => no preset_sections when running sek_get_preset_sektions()' );
|
7681 |
+
}
|
7682 |
+
wp_send_json_success( $preset_sections );
|
7683 |
+
}
|
7684 |
function sek_get_level_content_for_injection( $params ) {
|
7685 |
if ( ! is_user_logged_in() ) {
|
7686 |
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
7863 |
}
|
7864 |
}
|
7865 |
function sek_ajax_import_attachemnt() {
|
7866 |
+
if ( ! is_user_logged_in() ) {
|
7867 |
+
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
7868 |
+
}
|
7869 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
7870 |
+
wp_send_json_error( __FUNCTION__ . ' => user_cant_edit_theme_options');
|
7871 |
+
}
|
7872 |
+
if ( ! current_user_can( 'customize' ) ) {
|
7873 |
+
status_header( 403 );
|
7874 |
+
wp_send_json_error( __FUNCTION__ . ' => customize_not_allowed' );
|
7875 |
+
} else if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
|
7876 |
+
status_header( 405 );
|
7877 |
+
wp_send_json_error( __FUNCTION__ . ' => bad_method' );
|
7878 |
+
}
|
7879 |
$relative_path = $_POST['rel_path'];
|
7880 |
$filename = 'nimble_asset_' . basename( $relative_path );
|
7881 |
$args = array(
|
7945 |
wp_send_json_success( $new_attachment );
|
7946 |
}
|
7947 |
}
|
7948 |
+
function sek_ajax_save_section() {
|
7949 |
+
$action = 'save-customize_' . get_stylesheet();
|
7950 |
+
if ( ! check_ajax_referer( $action, 'nonce', false ) ) {
|
7951 |
+
wp_send_json_error( array(
|
7952 |
+
'code' => 'invalid_nonce',
|
7953 |
+
'message' => __( 'sek_ajax_save_section => check_ajax_referer() failed.', 'nimble-builder' ),
|
7954 |
+
) );
|
7955 |
+
}
|
7956 |
+
if ( ! is_user_logged_in() ) {
|
7957 |
+
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
7958 |
+
}
|
7959 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
7960 |
+
wp_send_json_error( __FUNCTION__ . ' => user_cant_edit_theme_options');
|
7961 |
+
}
|
7962 |
+
if ( ! current_user_can( 'customize' ) ) {
|
7963 |
+
status_header( 403 );
|
7964 |
+
wp_send_json_error( __FUNCTION__ . ' => customize_not_allowed' );
|
7965 |
+
} else if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
|
7966 |
+
status_header( 405 );
|
7967 |
+
wp_send_json_error( __FUNCTION__ . ' => bad_method' );
|
7968 |
+
}
|
7969 |
+
if ( empty( $_POST['sek_title']) ) {
|
7970 |
+
wp_send_json_error( __FUNCTION__ . ' => missing title' );
|
7971 |
+
}
|
7972 |
+
if ( empty( $_POST['sek_id']) ) {
|
7973 |
+
wp_send_json_error( __FUNCTION__ . ' => missing sektion_id' );
|
7974 |
+
}
|
7975 |
+
if ( empty( $_POST['sek_data']) ) {
|
7976 |
+
wp_send_json_error( __FUNCTION__ . ' => missing sektion data' );
|
7977 |
+
}
|
7978 |
+
if ( ! is_string( $_POST['sek_data'] ) ) {
|
7979 |
+
wp_send_json_error( __FUNCTION__ . ' => the sektion data must be a json stringified' );
|
7980 |
+
}
|
7981 |
+
$sektion_to_save = array(
|
7982 |
+
'title' => $_POST['sek_title'],
|
7983 |
+
'description' => $_POST['sek_description'],
|
7984 |
+
'id' => $_POST['sek_id'],
|
7985 |
+
'type' => 'content',//in the future will be used to differentiate header, content and footer sections
|
7986 |
+
'creation_date' => date("Y-m-d H:i:s"),
|
7987 |
+
'update_date' => '',
|
7988 |
+
'data' => $_POST['sek_data']//<= json stringified
|
7989 |
+
);
|
7990 |
+
|
7991 |
+
$saved_section_post = sek_update_saved_seks_post( $sektion_to_save );
|
7992 |
+
if ( is_wp_error( $saved_section_post ) ) {
|
7993 |
+
wp_send_json_error( __FUNCTION__ . ' => error when invoking sek_update_saved_seks_post()' );
|
7994 |
+
} else {
|
7995 |
+
wp_send_json_success( [ 'section_post_id' => $saved_section_post -> ID ] );
|
7996 |
+
}
|
7997 |
+
}
|
7998 |
+
function sek_sek_get_user_saved_sections() {
|
7999 |
+
$action = 'save-customize_' . get_stylesheet();
|
8000 |
+
if ( ! check_ajax_referer( $action, 'nonce', false ) ) {
|
8001 |
+
wp_send_json_error( array(
|
8002 |
+
'code' => 'invalid_nonce',
|
8003 |
+
'message' => __( 'sek_ajax_save_section => check_ajax_referer() failed.', 'nimble-builder' ),
|
8004 |
+
) );
|
8005 |
+
}
|
8006 |
+
if ( ! is_user_logged_in() ) {
|
8007 |
+
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
8008 |
+
}
|
8009 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
8010 |
+
wp_send_json_error( __FUNCTION__ . ' => user_cant_edit_theme_options');
|
8011 |
+
}
|
8012 |
+
if ( ! current_user_can( 'customize' ) ) {
|
8013 |
+
status_header( 403 );
|
8014 |
+
wp_send_json_error( __FUNCTION__ . ' => customize_not_allowed' );
|
8015 |
+
} else if ( ! isset( $_SERVER['REQUEST_METHOD'] ) || 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
|
8016 |
+
status_header( 405 );
|
8017 |
+
wp_send_json_error( __FUNCTION__ . ' => bad_method' );
|
8018 |
+
}
|
8019 |
+
if ( empty( $_POST['preset_section_id']) || ! is_string( $_POST['preset_section_id'] ) ) {
|
8020 |
+
wp_send_json_error( __FUNCTION__ . ' => missing or invalid preset_section_id' );
|
8021 |
+
}
|
8022 |
+
$section_id = $_POST['preset_section_id'];
|
8023 |
+
|
8024 |
+
$section_data_decoded_from_custom_post_type = sek_get_saved_sektion_data( $section_id );
|
8025 |
+
if ( ! empty( $section_data_decoded_from_custom_post_type ) ) {
|
8026 |
+
wp_send_json_success( $section_data_decoded_from_custom_post_type );
|
8027 |
+
} else {
|
8028 |
+
$all_saved_seks = get_option( NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS );
|
8029 |
+
if ( ! is_array( $all_saved_seks ) || empty( $all_saved_seks[$section_id]) ) {
|
8030 |
+
sek_error_log( __FUNCTION__ . ' => missing section data in get_option( NIMBLE_OPT_NAME_FOR_SAVED_SEKTIONS )' );
|
8031 |
+
}
|
8032 |
+
$section_infos = $all_saved_seks[$section_id];
|
8033 |
+
wp_send_json_error( __FUNCTION__ . ' => missing post data for section title ' . $section_infos['title'] );
|
8034 |
+
}
|
8035 |
+
}
|
8036 |
/*function sek_get_ui_content_for_injection( $params ) {
|
8037 |
if ( ! is_user_logged_in() ) {
|
8038 |
wp_send_json_error( __FUNCTION__ . ' => unauthenticated' );
|
8129 |
'sekFrontLocalized',
|
8130 |
array(
|
8131 |
'isDevMode' => sek_is_dev_mode(),
|
|
|
8132 |
'frontNonce' => array( 'id' => 'SEKFrontNonce', 'handle' => wp_create_nonce( 'sek-front-nonce' ) ),
|
8133 |
'localSeks' => sek_is_debug_mode() ? wp_json_encode( sek_get_skoped_seks() ) : ''
|
8134 |
)
|
8241 |
<i data-sek-click-on="add-column" class="material-icons sek-click-on" title="<?php _e( 'Add a column', 'nimble-builder' ); ?>">view_column</i>
|
8242 |
<# } #>
|
8243 |
<i data-sek-click-on="duplicate" class="material-icons sek-click-on" title="<?php _e( 'Duplicate section', 'nimble-builder' ); ?>">filter_none</i>
|
8244 |
+
<?php if ( defined( 'NIMBLE_SAVED_SECTIONS_ENABLED' ) && NIMBLE_SAVED_SECTIONS_ENABLED ) : ?>
|
8245 |
+
<i data-sek-click-on="toggle-save-section-ui" class="sek-save far fa-save" title="<?php _e( 'Save this section', 'nimble-builder' ); ?>"></i>
|
8246 |
+
<?php endif; ?>
|
8247 |
<i data-sek-click-on="pick-content" data-sek-content-type="module" class="material-icons sek-click-on" title="<?php _e( 'Add a module', 'nimble-builder' ); ?>">add_circle_outline</i>
|
8248 |
<i data-sek-click-on="remove" class="material-icons sek-click-on" title="<?php _e( 'Remove section', 'nimble-builder' ); ?>">delete_forever</i>
|
8249 |
</div>
|
nimble-builder.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Nimble Builder
|
4 |
* Description: Drag-and-drop section builder companion of the Customizr and Hueman themes.
|
5 |
-
* Version: 1.
|
6 |
* Text Domain: nimble-builder
|
7 |
* Author: Press Customizr
|
8 |
* Author URI: https://presscustomizr.com
|
@@ -11,15 +11,15 @@
|
|
11 |
/* ------------------------------------------------------------------------- *
|
12 |
* CONSTANTS
|
13 |
/* ------------------------------------------------------------------------- */
|
14 |
-
$current_version = "1.
|
15 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
16 |
if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
|
17 |
if ( !defined( 'NIMBLE_BASE_URL' ) ) { define( 'NIMBLE_BASE_URL' , plugins_url( NIMBLE_DIR_NAME ) ); }
|
18 |
if ( !defined( 'NIMBLE_BASE_PATH' ) ) { define( 'NIMBLE_BASE_PATH' , dirname( __FILE__ ) ); }
|
19 |
if ( !defined( 'NIMBLE_MIN_PHP_VERSION' ) ) { define ( 'NIMBLE_MIN_PHP_VERSION', '5.4' ); }
|
20 |
if ( !defined( 'NIMBLE_MIN_WP_VERSION' ) ) { define ( 'NIMBLE_MIN_WP_VERSION', '4.7' ); }
|
21 |
-
if ( !
|
22 |
-
|
23 |
|
24 |
/* ------------------------------------------------------------------------- *
|
25 |
* CHECK PHP AND WP REQUIREMENTS
|
2 |
/**
|
3 |
* Plugin Name: Nimble Builder
|
4 |
* Description: Drag-and-drop section builder companion of the Customizr and Hueman themes.
|
5 |
+
* Version: 1.2.0
|
6 |
* Text Domain: nimble-builder
|
7 |
* Author: Press Customizr
|
8 |
* Author URI: https://presscustomizr.com
|
11 |
/* ------------------------------------------------------------------------- *
|
12 |
* CONSTANTS
|
13 |
/* ------------------------------------------------------------------------- */
|
14 |
+
$current_version = "1.2.0";
|
15 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
16 |
if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
|
17 |
if ( !defined( 'NIMBLE_BASE_URL' ) ) { define( 'NIMBLE_BASE_URL' , plugins_url( NIMBLE_DIR_NAME ) ); }
|
18 |
if ( !defined( 'NIMBLE_BASE_PATH' ) ) { define( 'NIMBLE_BASE_PATH' , dirname( __FILE__ ) ); }
|
19 |
if ( !defined( 'NIMBLE_MIN_PHP_VERSION' ) ) { define ( 'NIMBLE_MIN_PHP_VERSION', '5.4' ); }
|
20 |
if ( !defined( 'NIMBLE_MIN_WP_VERSION' ) ) { define ( 'NIMBLE_MIN_WP_VERSION', '4.7' ); }
|
21 |
+
if ( !defined( 'NIMBLE_PLUGIN_FILE' ) ) { define( 'NIMBLE_PLUGIN_FILE', __FILE__ ); }// Plugin Root File used register_activation_hook( NIMBLE_PLUGIN_FILE, 'nimble_install' );
|
22 |
+
if ( !defined( 'NIMBLE_SAVED_SECTIONS_ENABLED' ) ) { define ( 'NIMBLE_SAVED_SECTIONS_ENABLED', false ); }
|
23 |
|
24 |
/* ------------------------------------------------------------------------- *
|
25 |
* CHECK PHP AND WP REQUIREMENTS
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: customizer, editor, page builder, drag and drop
|
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
Tested up to: 5.0.0
|
9 |
-
Stable tag: 1.
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -45,16 +45,17 @@ You'll find an online knowledge base for the Nimble builder here : [Nimble build
|
|
45 |
The Nimble builder has been optimized to work with the Customizr and Hueman theme, but it works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
|
46 |
|
47 |
== Upgrade Notice ==
|
48 |
-
= 1.
|
49 |
-
* fixed :
|
50 |
-
* fixed :
|
51 |
-
*
|
52 |
-
* fixed : conflict with HappyForms plugin when customizing a form.
|
53 |
-
* improved : simple form module, added sender's email in the body of the message.
|
54 |
-
* improved : simple form module, animate with a scroll action to focus on the message after a send action.
|
55 |
-
* added : an option for a parallax effect on section's background image. Compatible with lazy loading.
|
56 |
|
57 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
58 |
= 1.1.9 : October 31st, 2018 =
|
59 |
* fixed : broken column width in mobiles for columns with a custom horizontal margin.
|
60 |
* fixed : conflict with Anspress plugin when uploading an image on front.
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
Tested up to: 5.0.0
|
9 |
+
Stable tag: 1.2.0
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
45 |
The Nimble builder has been optimized to work with the Customizr and Hueman theme, but it works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
|
46 |
|
47 |
== Upgrade Notice ==
|
48 |
+
= 1.2.0 =
|
49 |
+
* fixed : added compatibility patch for WordPress 5.0. Waiting for core decision on : https://core.trac.wordpress.org/ticket/45292
|
50 |
+
* fixed : parallax effect not being applied on preset section drop
|
51 |
+
* improved : image module margins are not inherited from the theme
|
|
|
|
|
|
|
|
|
52 |
|
53 |
== Changelog ==
|
54 |
+
= 1.2.0 : November 8th, 2018 =
|
55 |
+
* fixed : added compatibility patch for WordPress 5.0. Waiting for core decision on : https://core.trac.wordpress.org/ticket/45292
|
56 |
+
* fixed : parallax effect not being applied on preset section drop
|
57 |
+
* improved : image module margins are not inherited from the theme
|
58 |
+
|
59 |
= 1.1.9 : October 31st, 2018 =
|
60 |
* fixed : broken column width in mobiles for columns with a custom horizontal margin.
|
61 |
* fixed : conflict with Anspress plugin when uploading an image on front.
|