Version Description
Download this release
Release Info
| Developer | creativethemeshq |
| Plugin | |
| Version | 1.8.9.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.9.2 to 1.8.9.3
- blocksy-companion.php +1 -1
- framework/extensions/cookies-consent/extension.php +1 -1
- framework/extensions/cookies-consent/static/bundle/main.min.css +1 -1
- framework/extensions/cookies-consent/static/bundle/sync.js +100 -1
- framework/extensions/newsletter-subscribe/admin-static/bundle/sync.js +100 -1
- framework/extensions/newsletter-subscribe/admin-static/js/variables.js +73 -6
- framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php +18 -3
- framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/view.php +1 -1
- framework/extensions/newsletter-subscribe/customizer.php +169 -20
- framework/extensions/newsletter-subscribe/extension.php +1 -1
- framework/extensions/newsletter-subscribe/global.php +130 -19
- framework/extensions/newsletter-subscribe/static/bundle/main.min.css +2 -2
- framework/extensions/newsletter-subscribe/static/sass/single-block.scss +2 -1
- framework/extensions/product-reviews/extension.php +82 -7
- framework/extensions/product-reviews/metabox.php +28 -1
- framework/extensions/product-reviews/static/bundle/main-admin.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main.min.css +2 -2
- framework/extensions/product-reviews/static/bundle/sync.js +100 -1
- framework/extensions/product-reviews/static/sass/main.scss +1 -1
- framework/extensions/product-reviews/static/sass/title.scss +7 -2
- framework/extensions/trending/extension.php +1 -1
- framework/extensions/trending/static/bundle/main.min.css +1 -1
- framework/extensions/trending/static/bundle/sync.js +100 -1
- framework/extensions/widgets/extension.php +1 -1
- framework/extensions/widgets/static/bundle/main.min.css +1 -1
- framework/extensions/widgets/widgets/ct-about-me/options.php +17 -2
- framework/extensions/widgets/widgets/ct-about-me/view.php +1 -1
- framework/extensions/widgets/widgets/ct-contact-info/options.php +15 -1
- framework/extensions/widgets/widgets/ct-contact-info/view.php +1 -1
- framework/extensions/widgets/widgets/ct-posts/view.php +1 -1
- framework/extensions/widgets/widgets/ct-quote/options.php +17 -3
- framework/extensions/widgets/widgets/ct-quote/view.php +1 -1
- framework/features/conditions-manager.php +54 -0
- framework/features/demo-install/required-plugins.php +10 -0
- framework/features/demo-install/wp-importer.php +2 -0
- framework/features/header.php +8 -2
- framework/helpers/helpers.php +2 -2
- framework/theme-integration.php +12 -2
- languages/blocksy-companion.pot +760 -594
- readme.txt +18 -1
- static/bundle/dashboard.min.css +1 -1
- static/bundle/options.js +1 -1
- static/bundle/options.min.css +1 -1
- static/bundle/sticky.js +1 -1
- static/js/frontend/sticky.js +60 -15
- static/js/frontend/sticky/auto-hide.js +6 -16
- static/js/frontend/sticky/fade-slide.js +2 -15
- static/js/frontend/sticky/shrink-handle-logo.js +61 -35
- static/js/frontend/sticky/shrink-handle-middle-row.js +18 -11
- static/js/frontend/sticky/shrink-utils.js +1 -1
- static/js/frontend/sticky/shrink.js +8 -35
- static/js/options/ConditionsManager.js +46 -2
- static/js/screens/OptIn.js +3 -3
blocksy-companion.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
-
Version: 1.8.9.
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blc
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
+
Version: 1.8.9.3
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blc
|
framework/extensions/cookies-consent/extension.php
CHANGED
|
@@ -67,7 +67,7 @@ class BlocksyExtensionCookiesConsent {
|
|
| 67 |
$data['Version'],
|
| 68 |
true
|
| 69 |
);
|
| 70 |
-
});
|
| 71 |
|
| 72 |
add_action('blocksy:global-dynamic-css:enqueue', function ($args) {
|
| 73 |
blocksy_theme_get_dynamic_styles(array_merge([
|
| 67 |
$data['Version'],
|
| 68 |
true
|
| 69 |
);
|
| 70 |
+
}, 50);
|
| 71 |
|
| 72 |
add_action('blocksy:global-dynamic-css:enqueue', function ($args) {
|
| 73 |
blocksy_theme_get_dynamic_styles(array_merge([
|
framework/extensions/cookies-consent/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/cookies-consent/static/bundle/sync.js
CHANGED
|
@@ -1 +1,100 @@
|
|
| 1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=window.ctEvents},function(e,t,n){"use strict";n.r(t);var r,o=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},c=function(e,t){var n=t.forcedOutput,r=void 0!==n&&n;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return r?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return r?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")},i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",r={desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"},o=document.querySelector("style#".concat(r[n])),c=o.innerText,i="".concat(e["".concat(n,"_selector_prefix")]?"".concat(e["".concat(n,"_selector_prefix")]," "):"").concat(e.selector||":root"),a=null,l=c.match(a);0===c.trim().indexOf(i)?(a=new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)):(a=new RegExp("\\}\\s*?".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)),l||(0===(c="".concat(c," ").concat(i," { }")).trim().indexOf(i)?(a=new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)):(a=new RegExp("\\}\\s*?".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a))),o.innerText=c.replace(a,l[0].indexOf("--".concat(e.variable,":"))>-1?l[0].replace(new RegExp("--".concat(e.variable,":[\\s\\S]*?;"),"gm"),t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";")):l[0].replace(new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{"),"gm"),"".concat(i," {").concat(t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";"))))},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",r=(e.type||"").indexOf("color")>-1?t["color"===e.type?"default":e.type.split(":")[1]].color:t;"border"===(e.type||"")&&(r=t&&"none"!==t.style?"".concat(t.width,"px ").concat(t.style," ").concat(t.color.color):"none"),"spacing"===(e.type||"")&&(r=o(t)),"box-shadow"===(e.type||"")&&(r=c(t,e)),i(e,"".concat(r).concat(e.unit||"").concat(e.important?" !important":""),n)},l=function(e,t){var n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e}(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),a(e,t.desktop,"desktop"),a(e,t.tablet,"tablet"),a(e,t.mobile,"mobile")):a(e,t)};r={cookieContentColor:[{selector:".cookie-notification",variable:"color",type:"color:default"},{selector:".cookie-notification",variable:"colorHover",type:"color:hover"}],cookieBackground:{selector:".cookie-notification",variable:"backgroundColor",type:"color"},cookieButtonBackground:[{selector:".cookie-notification",variable:"buttonInitialColor",type:"color:default"},{selector:".cookie-notification",variable:"buttonHoverColor",type:"color:hover"}],cookieMaxWidth:{selector:".cookie-notification",variable:"maxWidth",unit:"px"}},wp.customize.bind("change",(function(e){return r[e.id]&&(Array.isArray(r[e.id])?r[e.id]:[r[e.id]]).map((function(t){return l(t,e())}))}));var u=n(0),s=n.n(u);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw c}}return n}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(){var e=document.createElement("div");return e.innerHTML=document.querySelector(".ct-customizer-preview-cache-container").value,e},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"id";if(t||(t=h()),t.querySelector(".ct-customizer-preview-cache [data-".concat(n,'="').concat(e,'"]'))){var r=t.querySelector(".ct-customizer-preview-cache [data-".concat(n,'="').concat(e,'"]')).innerHTML,o=document.createElement("div");return o.innerHTML=r,o}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=y({fragment_id:null,selector:null,parent_selector:null,strategy:"append",whenInserted:function(){},beforeInsert:function(e){},should_insert:!0},e);var t=document.querySelector(e.parent_selector);if(p(document.querySelectorAll("".concat(e.parent_selector," ").concat(e.selector))).map((function(e){return e.parentNode.removeChild(e)})),e.should_insert){var n=g(e.fragment_id);if(n){for(;n.firstElementChild;)if(e.beforeInsert(n.firstElementChild),"append"===e.strategy&&t.appendChild(n.firstElementChild),"firstChild"===e.strategy&&t.insertBefore(n.firstElementChild,t.firstElementChild),e.strategy.indexOf("maybeBefore")>-1){var r=e.strategy.split(":"),o=f(r,2),c=(o[0],o[1]);t.querySelector(c)?t.insertBefore(n.firstElementChild,t.querySelector(c)):t.appendChild(n.firstElementChild)}e.whenInserted()}}};function _(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var O=function(){var e=function(e){if(!document.querySelector(".cookie-notification"))return S({fragment_id:"blocksy-cookies-consent-section",selector:".cookie-notification",parent_selector:"#main-container"}),!0}(),t=document.querySelector(".cookie-notification");if(t){t.querySelector(".ct-cookies-content")&&(t.querySelector(".ct-cookies-content").innerHTML=wp.customize("cookie_consent_content")()),t.querySelector("button.ct-accept").innerHTML=wp.customize("cookie_consent_button_text")();var n=wp.customize("cookie_consent_type")();t.dataset.type=n,t.firstElementChild.classList.remove("ct-container","container"),t.firstElementChild.classList.add("type-1"===n?"container":"ct-container"),e&&setTimeout((function(){return s.a.trigger("blocksy:cookies:init")}))}};wp.customize("cookie_consent_content",(function(e){return e.bind((function(e){O()}))})),wp.customize("cookie_consent_button_text",(function(e){return e.bind((function(e){return O()}))})),wp.customize("cookie_consent_type",(function(e){return e.bind((function(e){return O()}))})),wp.customize("forms_cookie_consent_content",(function(e){return e.bind((function(e){return _(document.querySelectorAll(".gdpr-confirm-policy label")).map((function(t){return t.innerHTML=e}))}))}))}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,c=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])h(a)||!T(a)?c+=" "+a:c+=" "+s(a);return c},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var i,c={};function s(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),l(n,e,n.depth)}function a(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return v(o)||(o=l(e,o,n)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(m(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(e,r);if(i)return i;var c=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(c);if(e.showHidden&&(c=Object.getOwnPropertyNames(r)),w(r)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return p(r);if(0===c.length){if(O(r)){var a=r.name?": "+r.name:"";return e.stylize("[Function"+a+"]","special")}if(g(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(w(r))return p(r)}var u,T="",x=!1,_=["{","}"];(d(r)&&(x=!0,_=["[","]"]),O(r))&&(T=" [Function"+(r.name?": "+r.name:"")+"]");return g(r)&&(T=" "+RegExp.prototype.toString.call(r)),k(r)&&(T=" "+Date.prototype.toUTCString.call(r)),w(r)&&(T=" "+p(r)),0!==c.length||x&&0!=r.length?n<0?g(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=x?function(e,t,r,n,o){for(var i=[],c=0,s=t.length;c<s;++c)P(t,String(c))?i.push(f(e,t,r,n,String(c),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,r,n,o,!0))})),i}(e,r,n,s,c):c.map((function(t){return f(e,r,n,s,t,x)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,T,_)):_[0]+T+_[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,i){var c,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(c="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=h(r)?l(e,a.value,null):l(e,a.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(c)){if(i&&o.match(/^\d+$/))return s;(c=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=e.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=e.stylize(c,"string"))}return c+": "+s}function d(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function h(e){return null===e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return void 0===e}function g(e){return T(e)&&"[object RegExp]"===x(e)}function T(e){return"object"==typeof e&&null!==e}function k(e){return T(e)&&"[object Date]"===x(e)}function w(e){return T(e)&&("[object Error]"===x(e)||e instanceof Error)}function O(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(b(i)&&(i=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!c[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=e.pid;c[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else c[r]=function(){};return c[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=y,t.isNull=h,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=g,t.isObject=T,t.isDate=k,t.isError=w,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=r(4),t._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function E(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=R,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,c=function(){return o.apply(i,arguments)};t.apply(this,r).then((function(t){e.nextTick(c,null,t)}),(function(t){e.nextTick(E,t,c)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(2))},function(e,t){e.exports=window.ctEvents},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:c}catch(e){n=c}}();var a,u=[],l=!1,p=-1;function f(){l&&a&&(l=!1,a.length?u=a.concat(u):p=-1,u.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(a=u,u=[];++p<t;)a&&a[p].run();p=-1,t=u.length}a=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===c||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new y(e,t)),1!==u.length||l||s(d)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r.n(n);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(r,!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},l=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e},p=function(e,t){var r=t.forcedOutput,n=void 0!==r&&r;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return n?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return n?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e,t){return e(t={exports:{}},t.exports),t.exports}var y=d((function(e,t){
|
| 2 |
+
/**
|
| 3 |
+
* @license
|
| 4 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 5 |
+
* This code may only be used under the BSD style license found at
|
| 6 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 7 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 8 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 9 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 10 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 11 |
+
*/
|
| 12 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.matcher={whitespace:/\s/,whitespaceGreedy:/(\s+)/g,commentGreedy:/(\*\/)/g,boundary:/[\(\)\{\}'"@;:\s]/,stringBoundary:/['"]/},function(e){e.stylesheet="stylesheet",e.comment="comment",e.atRule="atRule",e.ruleset="ruleset",e.expression="expression",e.declaration="declaration",e.rulelist="rulelist",e.discarded="discarded"}(t.nodeType||(t.nodeType={}))}));f(y);y.matcher,y.nodeType;var h=d((function(e,t){
|
| 13 |
+
/**
|
| 14 |
+
* @license
|
| 15 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 16 |
+
* This code may only be used under the BSD style license found at
|
| 17 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 18 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 19 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 20 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 21 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 22 |
+
*/
|
| 23 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=function*e(t){switch(yield t,t.type){case y.nodeType.stylesheet:for(const r of t.rules)yield*e(r);return;case y.nodeType.ruleset:return yield*e(t.rulelist);case y.nodeType.rulelist:for(const r of t.rules)yield*e(r);return;case y.nodeType.declaration:return void(void 0!==t.value&&(yield*e(t.value)));case y.nodeType.atRule:return void(t.rulelist&&(yield*e(t.rulelist)));case y.nodeType.expression:case y.nodeType.comment:case y.nodeType.discarded:return;default:const r=t;console.error("Got a node of unknown type: "+o.a.inspect(r))}}}));f(h);h.iterateOverAst;var m=d((function(e,t){
|
| 24 |
+
/**
|
| 25 |
+
* @license
|
| 26 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 27 |
+
* This code may only be used under the BSD style license found at
|
| 28 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 29 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 30 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 31 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 32 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 33 |
+
*/
|
| 34 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeFactory=class{stylesheet(e,t){return{type:y.nodeType.stylesheet,rules:e,range:t}}atRule(e,t,r,n,o,i){return{type:y.nodeType.atRule,name:e,parameters:t,rulelist:r,nameRange:n,parametersRange:o,range:i}}comment(e,t){return{type:y.nodeType.comment,value:e,range:t}}rulelist(e,t){return{type:y.nodeType.rulelist,rules:e,range:t}}ruleset(e,t,r,n){return{type:y.nodeType.ruleset,selector:e,rulelist:t,selectorRange:r,range:n}}declaration(e,t,r,n){return{type:y.nodeType.declaration,name:e,value:t,nameRange:r,range:n}}expression(e,t){return{type:y.nodeType.expression,text:e,range:t}}discarded(e,t){return{type:y.nodeType.discarded,text:e,range:t}}}}));f(m);m.NodeFactory;var v=d((function(e,t){
|
| 35 |
+
/**
|
| 36 |
+
* @license
|
| 37 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 38 |
+
* This code may only be used under the BSD style license found at
|
| 39 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 40 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 41 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 42 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 43 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 44 |
+
*/
|
| 45 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeVisitor=class{constructor(){this.path_=[]}get path(){return this.path_}visit(e){let t;return this[e.type]&&(this.path_.push(e),t=this[e.type](e),this.path_.pop()),t}}}));f(v);v.NodeVisitor;var b=d((function(e,t){var r;
|
| 46 |
+
/**
|
| 47 |
+
* @license
|
| 48 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 49 |
+
* This code may only be used under the BSD style license found at
|
| 50 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 51 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 52 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 53 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 54 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 55 |
+
*/
|
| 56 |
+
Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.whitespace=Math.pow(2,0)]="whitespace",e[e.string=Math.pow(2,1)]="string",e[e.comment=Math.pow(2,2)]="comment",e[e.word=Math.pow(2,3)]="word",e[e.boundary=Math.pow(2,4)]="boundary",e[e.propertyBoundary=Math.pow(2,5)]="propertyBoundary",e[e.openParenthesis=Math.pow(2,6)|e.boundary]="openParenthesis",e[e.closeParenthesis=Math.pow(2,7)|e.boundary]="closeParenthesis",e[e.at=Math.pow(2,8)|e.boundary]="at",e[e.openBrace=Math.pow(2,9)|e.boundary]="openBrace",e[e.closeBrace=Math.pow(2,10)|e.propertyBoundary|e.boundary]="closeBrace",e[e.semicolon=Math.pow(2,11)|e.propertyBoundary|e.boundary]="semicolon",e[e.colon=Math.pow(2,12)|e.boundary|e.word]="colon",e[e.hyphen=Math.pow(2,13)]="hyphen",e[e.underscore=Math.pow(2,14)]="underscore"}(r=t.TokenType||(t.TokenType={}));class n{constructor(e,t,r){this.type=e,this.start=t,this.end=r,this.previous=null,this.next=null}is(e){return(this.type&e)===e}}n.type=r,t.Token=n;const o={"(":n.type.openParenthesis,")":n.type.closeParenthesis,":":n.type.colon,"@":n.type.at,"{":n.type.openBrace,"}":n.type.closeBrace,";":n.type.semicolon,"-":n.type.hyphen,_:n.type.underscore};t.boundaryTokenTypes=o}));f(b);b.TokenType,b.Token,b.boundaryTokenTypes;var g=d((function(e,t){
|
| 57 |
+
/**
|
| 58 |
+
* @license
|
| 59 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 60 |
+
* This code may only be used under the BSD style license found at
|
| 61 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 62 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 63 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 64 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 65 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 66 |
+
*/
|
| 67 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Tokenizer=class{constructor(e){this.cursorToken_=new b.Token(b.Token.type.none,0,0),this.currentToken_=null,this.cssText=e}get offset(){return this.cursorToken_.end}get currentToken(){return null==this.currentToken_&&(this.currentToken_=this.getNextToken_()),this.currentToken_}advance(){let e;return null!=this.currentToken_?(e=this.currentToken_,this.currentToken_=null):e=this.getNextToken_(),e}slice(e,t){const{start:r,end:n}=this.getRange(e,t);return this.cssText.substring(r,n)}getRange(e,t){return{start:e.start,end:(t||e).end}}trimRange({start:e,end:t}){for(;e<=t&&/\s/.test(this.cssText.charAt(e));)e++;for(;e<=t&&t>0&&/\s/.test(this.cssText.charAt(t-1));)t--;return{start:e,end:t}}flush(){const e=[];for(;this.currentToken;)e.push(this.advance());return e}getNextToken_(){const e=this.cssText[this.offset];let t;return this.currentToken_=null,this.offset>=this.cssText.length?null:(t=y.matcher.whitespace.test(e)?this.tokenizeWhitespace(this.offset):y.matcher.stringBoundary.test(e)?this.tokenizeString(this.offset):"/"===e&&"*"===this.cssText[this.offset+1]?this.tokenizeComment(this.offset):y.matcher.boundary.test(e)?this.tokenizeBoundary(this.offset):this.tokenizeWord(this.offset),t.previous=this.cursorToken_,this.cursorToken_.next=t,this.cursorToken_=t,t)}tokenizeString(e){const t=this.cssText[e];let r=!1;const n=e;let o;for(;o=this.cssText[++e];)if(r)r=!1;else{if(o===t){++e;break}"\\"===o&&(r=!0)}return new b.Token(b.Token.type.string,n,e)}tokenizeWord(e){const t=e;let r;for(;(r=this.cssText[e])&&!y.matcher.boundary.test(r);)e++;return new b.Token(b.Token.type.word,t,e)}tokenizeWhitespace(e){const t=e;y.matcher.whitespaceGreedy.lastIndex=e;const r=y.matcher.whitespaceGreedy.exec(this.cssText);return null!=r&&r.index===e&&(e=y.matcher.whitespaceGreedy.lastIndex),new b.Token(b.Token.type.whitespace,t,e)}tokenizeComment(e){const t=e;return y.matcher.commentGreedy.lastIndex=e,e=null==y.matcher.commentGreedy.exec(this.cssText)?this.cssText.length:y.matcher.commentGreedy.lastIndex,new b.Token(b.Token.type.comment,t,e)}tokenizeBoundary(e){const t=b.boundaryTokenTypes[this.cssText[e]]||b.Token.type.boundary;return new b.Token(t,e,e+1)}}}));f(g);g.Tokenizer;var T=d((function(e,t){
|
| 68 |
+
/**
|
| 69 |
+
* @license
|
| 70 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 71 |
+
* This code may only be used under the BSD style license found at
|
| 72 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 73 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 74 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 75 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 76 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 77 |
+
*/
|
| 78 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Parser=class{constructor(e=new m.NodeFactory){this.nodeFactory=e}parse(e){return this.parseStylesheet(new g.Tokenizer(e))}parseStylesheet(e){return this.nodeFactory.stylesheet(this.parseRules(e),{start:0,end:e.cssText.length})}parseRules(e){const t=[];for(;e.currentToken;){const r=this.parseRule(e);r&&t.push(r)}return t}parseRule(e){const t=e.currentToken;return null===t?null:t.is(b.Token.type.whitespace)?(e.advance(),null):t.is(b.Token.type.comment)?this.parseComment(e):t.is(b.Token.type.word)?this.parseDeclarationOrRuleset(e):t.is(b.Token.type.propertyBoundary)?this.parseUnknown(e):t.is(b.Token.type.at)?this.parseAtRule(e):this.parseUnknown(e)}parseComment(e){const t=e.advance();return null===t?null:this.nodeFactory.comment(e.slice(t),{start:t.start,end:t.end})}parseUnknown(e){const t=e.advance();let r;if(null===t)return null;for(;e.currentToken&&e.currentToken.is(b.Token.type.boundary);)r=e.advance();return this.nodeFactory.discarded(e.slice(t,r),e.getRange(t,r))}parseAtRule(e){let t=void 0,r=void 0,n=void 0,o=void 0,i=void 0;if(!e.currentToken)return null;const c=e.currentToken.start;for(;e.currentToken;)if(e.currentToken.is(b.Token.type.whitespace))e.advance();else if(!t&&e.currentToken.is(b.Token.type.at)){e.advance();const n=e.currentToken;let o;for(;e.currentToken&&e.currentToken.is(b.Token.type.word);)o=e.advance();r=e.getRange(n,o),t=e.cssText.slice(r.start,r.end)}else{if(e.currentToken.is(b.Token.type.openBrace)){n=this.parseRulelist(e);break}if(e.currentToken.is(b.Token.type.propertyBoundary)){e.advance();break}null==o?o=e.advance():i=e.advance()}if(void 0===t||void 0===r)return null;let s=void 0,a="";o&&(s=e.trimRange(e.getRange(o,i)),a=e.cssText.slice(s.start,s.end));const u=e.currentToken?e.currentToken.previous.end:e.cssText.length;return this.nodeFactory.atRule(t,a,n,r,s,{start:c,end:u})}parseRulelist(e){const t=[],r=e.currentToken.start;let n;for(e.advance();e.currentToken;){if(e.currentToken.is(b.Token.type.closeBrace)){n=e.currentToken,e.advance();break}{const r=this.parseRule(e);r&&t.push(r)}}const o=n?n.end:e.cssText.length;return this.nodeFactory.rulelist(t,{start:r,end:o})}parseDeclarationOrRuleset(e){let t=null,r=null,n=null;for(;e.currentToken;)if(e.currentToken.is(b.Token.type.whitespace))e.advance();else if(e.currentToken.is(b.Token.type.openParenthesis))for(;e.currentToken&&!e.currentToken.is(b.Token.type.closeParenthesis);)e.advance();else{if(e.currentToken.is(b.Token.type.openBrace)||e.currentToken.is(b.Token.type.propertyBoundary))break;e.currentToken.is(b.Token.type.colon)&&(n=e.currentToken),null===t?(t=e.advance(),r=t):r=e.advance()}if(null===e.currentToken)return null;if(e.currentToken.is(b.Token.type.propertyBoundary)){const o=e.getRange(t,n?n.previous:r),i=e.cssText.slice(o.start,o.end);let c=void 0;if(n&&n.next){const t=e.getRange(n.next,r),o=e.trimRange(t),i=e.cssText.slice(o.start,o.end);c=this.nodeFactory.expression(i,o)}e.currentToken.is(b.Token.type.semicolon)&&e.advance();const s=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,c,o,s)}if(n&&n===r){const n=this.parseRulelist(e);e.currentToken.is(b.Token.type.semicolon)&&e.advance();const o=e.getRange(t,r.previous),i=e.cssText.slice(o.start,o.end),c=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,n,o,c)}{const n=e.getRange(t,r),o=e.cssText.slice(n.start,n.end),i=this.parseRulelist(e),c=t.start;let s;return s=e.currentToken?e.currentToken.previous?e.currentToken.previous.end:t.end:e.cssText.length,this.nodeFactory.ruleset(o,i,n,{start:c,end:s})}}}}));f(T);T.Parser;var k=d((function(e,t){
|
| 79 |
+
/**
|
| 80 |
+
* @license
|
| 81 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 82 |
+
* This code may only be used under the BSD style license found at
|
| 83 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 84 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 85 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 86 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 87 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 88 |
+
*/
|
| 89 |
+
Object.defineProperty(t,"__esModule",{value:!0});class r extends v.NodeVisitor{stringify(e){return this.visit(e)||""}[y.nodeType.stylesheet](e){let t="";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t}[y.nodeType.atRule](e){return"@"+e.name+(e.parameters?" "+e.parameters:"")+(e.rulelist?""+this.visit(e.rulelist):";")}[y.nodeType.rulelist](e){let t="{";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t+"}"}[y.nodeType.comment](e){return""+e.value}[y.nodeType.ruleset](e){return`${e.selector}${this.visit(e.rulelist)}`}[y.nodeType.declaration](e){return null!=e.value?`${e.name}:${this.visit(e.value)};`:e.name+";"}[y.nodeType.expression](e){return""+e.text}[y.nodeType.discarded](e){return""}}t.Stringifier=r}));f(k);k.Stringifier;var w=d((function(e,t){
|
| 90 |
+
/**
|
| 91 |
+
* @license
|
| 92 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 93 |
+
* This code may only be used under the BSD style license found at
|
| 94 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 95 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 96 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 97 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 98 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 99 |
+
*/
|
| 100 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=h.iterateOverAst,t.nodeType=y.nodeType,t.NodeFactory=m.NodeFactory,t.NodeVisitor=v.NodeVisitor,t.Parser=T.Parser,t.Stringifier=k.Stringifier,t.Token=b.Token,t.Tokenizer=g.Tokenizer}));f(w);w.iterateOverAst,w.nodeType,w.NodeFactory,w.NodeVisitor;var O,x=w.Parser,_=w.Stringifier,S=(w.Token,w.Tokenizer,{desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"}),j={desktop:{ast:{}},tablet:{ast:{}},mobile:{ast:{}}},P=function(e){return e&&"[object Function]"==={}.toString.call(e)},R=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n="".concat(e["".concat(r,"_selector_prefix")]?"".concat(e["".concat(r,"_selector_prefix")]," "):"").concat(e.selector||":root"),o="--";"property"===e.variableType&&(o="");var i="".concat(o).concat(P(e.variable)?e.variable():e.variable),c=j[r].ast.rules.find((function(e){return e.selector===n})),u=j[r].ast.rules.find((function(e){var t=e.type,r=e.rulelist;return"ruleset"===t&&r.rules.length>0})),l=s({},j[r].ast,{rules:c?j[r].ast.rules.map((function(e){if(e.selector!==n)return e;if(t.indexOf("CT_CSS_SKIP_RULE")>-1)return s({},e,{rulelist:s({},e.rulelist,{rules:e.rulelist.rules.filter((function(e){return e.name!==i}))})});var r=e.rulelist.rules.find((function(e){return e.name===i}));return s({},e,{rulelist:s({},e.rulelist,{rules:r?e.rulelist.rules.map((function(e){return e.name===i?s({},e,{value:s({},e.value,{text:t})}):e})):[].concat(a(e.rulelist.rules),[s({},u.rulelist.rules[0],{name:i,value:s({},u.rulelist.rules[0].value,{text:t})})])})})})):[].concat(a(j[r].ast.rules),[s({},u,{selector:n,rulelist:s({},u.rulelist,{rules:[s({},u.rulelist.rules[0],{name:i,value:s({},u.rulelist.rules[0].value,{text:t})})]})})])}),p=new _;j[r].ast=l,document.querySelector("style#".concat(S[r])).innerText=p.stringify(l)},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.variableDescriptor,r=e.value,n=e.device,o=void 0===n?"desktop":n,i=e.customReplaceVariableInStyleTag,c=void 0===i?null:i,s=(t.type||"").indexOf("color")>-1?r["color"===t.type?"default":t.type.split(":")[1]].color:r;"border"===(t.type||"")&&(s=r&&"none"!==r.style?"".concat(r.width,"px ").concat(r.style," ").concat(r.color.color):"none",t.skip_none&&"none"===s&&(s="CT_CSS_SKIP_RULE")),"spacing"===(t.type||"")&&(s=u(r)),"box-shadow"===(t.type||"")&&(s=p(r,t)),c?c({replaceVariableInStyleTag:R,variableDescriptor:t,value:"".concat(s).concat(t.unit||"").concat(t.important?" !important":""),device:o}):R(t,"".concat(s).concat(t.unit||"").concat(t.important?" !important":""),o)};O={cookieContentColor:[{selector:".cookie-notification",variable:"color",type:"color:default"},{selector:".cookie-notification",variable:"colorHover",type:"color:hover"}],cookieBackground:{selector:".cookie-notification",variable:"backgroundColor",type:"color"},cookieButtonBackground:[{selector:".cookie-notification",variable:"buttonInitialColor",type:"color:default"},{selector:".cookie-notification",variable:"buttonHoverColor",type:"color:hover"}],cookieMaxWidth:{selector:".cookie-notification",variable:"maxWidth",unit:"px"}},Object.keys(S).map((function(e){var t=document.querySelector("style#".concat(S[e]));if(t){var r=t.innerText,n=new x,o=(new _,n.parse(r));j[e].ast=o}})),wp.customize.bind("change",(function(e){if(O[e.id]){var t=O[e.id];P(t)&&(t=t(e())),Array.isArray(t)||(t=[t]),t.map((function(t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=l(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),E({variableDescriptor:e,value:t.desktop,device:"desktop",customReplaceVariableInStyleTag:r}),E({variableDescriptor:e,value:t.tablet,device:"tablet",customReplaceVariableInStyleTag:r}),E({variableDescriptor:e,value:t.mobile,device:"mobile",customReplaceVariableInStyleTag:r})):E({variableDescriptor:e,value:t,customReplaceVariableInStyleTag:r})}(t,e())}))}}));var z=r(1),A=r.n(z);function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var c,s=e[Symbol.iterator]();!(n=(c=s.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(e,t)||I(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||I(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){if(e){if("string"==typeof e)return D(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?D(e,t):void 0}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var L=function(){var e=document.createElement("div");return e.innerHTML=document.querySelector(".ct-customizer-preview-cache-container").value,e},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"id";if(t||(t=L()),t.querySelector(".ct-customizer-preview-cache [data-".concat(r,'="').concat(e,'"]'))){var n=t.querySelector(".ct-customizer-preview-cache [data-".concat(r,'="').concat(e,'"]')).innerHTML,o=document.createElement("div");return o.innerHTML=n,o}},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=B({fragment_id:null,selector:null,parent_selector:null,strategy:"append",whenInserted:function(){},beforeInsert:function(e){},should_insert:!0},e);var t=document.querySelector(e.parent_selector);if(M(document.querySelectorAll("".concat(e.parent_selector," ").concat(e.selector))).map((function(e){return e.parentNode.removeChild(e)})),e.should_insert){var r=U(e.fragment_id);if(r){for(;r.firstElementChild;)if(e.beforeInsert(r.firstElementChild),"append"===e.strategy&&t.appendChild(r.firstElementChild),"firstChild"===e.strategy&&t.insertBefore(r.firstElementChild,t.firstElementChild),e.strategy.indexOf("maybeBefore")>-1){var n=e.strategy.split(":"),o=C(n,2),i=(o[0],o[1]);t.querySelector(i)?t.insertBefore(r.firstElementChild,t.querySelector(i)):t.appendChild(r.firstElementChild)}e.whenInserted()}}};function V(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var G=function(){var e=function(e){if(!document.querySelector(".cookie-notification"))return q({fragment_id:"blocksy-cookies-consent-section",selector:".cookie-notification",parent_selector:"#main-container"}),!0}(),t=document.querySelector(".cookie-notification");if(t){t.querySelector(".ct-cookies-content")&&(t.querySelector(".ct-cookies-content").innerHTML=wp.customize("cookie_consent_content")()),t.querySelector("button.ct-accept").innerHTML=wp.customize("cookie_consent_button_text")();var r=wp.customize("cookie_consent_type")();t.dataset.type=r,t.firstElementChild.classList.remove("ct-container","container"),t.firstElementChild.classList.add("type-1"===r?"container":"ct-container"),e&&setTimeout((function(){return A.a.trigger("blocksy:cookies:init")}))}};wp.customize("cookie_consent_content",(function(e){return e.bind((function(e){G()}))})),wp.customize("cookie_consent_button_text",(function(e){return e.bind((function(e){return G()}))})),wp.customize("cookie_consent_type",(function(e){return e.bind((function(e){return G()}))})),wp.customize("forms_cookie_consent_content",(function(e){return e.bind((function(e){return V(document.querySelectorAll(".gdpr-confirm-policy label")).map((function(t){return t.innerHTML=e}))}))}))}]);
|
framework/extensions/newsletter-subscribe/admin-static/bundle/sync.js
CHANGED
|
@@ -1 +1,100 @@
|
|
| 1 |
-
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,r){"use strict";r.r(t);var n,o=r(0),c=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},s=function(e,t){var r=t.forcedOutput,n=void 0!==r&&r;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return n?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return n?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")},i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n={desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"},o=document.querySelector("style#".concat(n[r])),c=o.innerText,s="".concat(e["".concat(r,"_selector_prefix")]?"".concat(e["".concat(r,"_selector_prefix")]," "):"").concat(e.selector||":root"),i=null,a=c.match(i);0===c.trim().indexOf(s)?(i=new RegExp("".concat(s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),a=c.match(i)):(i=new RegExp("\\}\\s*?".concat(s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),a=c.match(i)),a||(0===(c="".concat(c," ").concat(s," { }")).trim().indexOf(s)?(i=new RegExp("".concat(s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),a=c.match(i)):(i=new RegExp("\\}\\s*?".concat(s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),a=c.match(i))),o.innerText=c.replace(i,a[0].indexOf("--".concat(e.variable,":"))>-1?a[0].replace(new RegExp("--".concat(e.variable,":[\\s\\S]*?;"),"gm"),t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";")):a[0].replace(new RegExp("".concat(s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{"),"gm"),"".concat(s," {").concat(t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";"))))},a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n=(e.type||"").indexOf("color")>-1?t["color"===e.type?"default":e.type.split(":")[1]].color:t;"border"===(e.type||"")&&(n=t&&"none"!==t.style?"".concat(t.width,"px ").concat(t.style," ").concat(t.color.color):"none"),"spacing"===(e.type||"")&&(n=c(t)),"box-shadow"===(e.type||"")&&(n=s(t,e)),i(e,"".concat(n).concat(e.unit||"").concat(e.important?" !important":""),r)},l=function(e,t){var r=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,r),t=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e}(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),a(e,t.desktop,"desktop"),a(e,t.tablet,"tablet"),a(e,t.mobile,"mobile")):a(e,t)};n={newsletter_subscribe_content:[{selector:".ct-newsletter-subscribe-block",variable:"color",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"linkHoverColor",type:"color:hover"}],newsletter_subscribe_button:[{selector:".ct-newsletter-subscribe-block",variable:"buttonInitialColor",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"buttonHoverColor",type:"color:hover"}],newsletter_subscribe_background:{selector:".ct-newsletter-subscribe-block",variable:"mailchimpBackground",type:"color"},newsletter_subscribe_shadow:{selector:".ct-newsletter-subscribe-block",type:"box-shadow",variable:"box-shadow",responsive:!0},newsletter_subscribe_spacing:{selector:".ct-newsletter-subscribe-block",variable:"padding",responsive:!0,unit:"px"}},wp.customize.bind("change",(function(e){return n[e.id]&&(Array.isArray(n[e.id])?n[e.id]:[n[e.id]]).map((function(t){return l(t,e())}))})),wp.customize("newsletter_subscribe_subscribe_visibility",(function(e){return e.bind((function(e){var t=document.querySelector(".ct-newsletter-subscribe-block");Object(o.responsiveClassesFor)("newsletter_subscribe_subscribe_visibility",t)}))})),(document.body.classList.contains("single")||document.body.classList.contains("page"))&&Object(o.checkAndReplace)({id:"newsletter_subscribe_single_post_enabled",strategy:"append",parent_selector:".site-main article",selector:".ct-newsletter-subscribe-block",fragment_id:"blocksy-mailchimp-subscribe",watch:["has_newsletter_subscribe_name","newsletter_subscribe_button_text","newsletter_subscribe_title","newsletter_subscribe_text","newsletter_subscribe_name_label","newsletter_subscribe_mail_label"],whenInserted:function(){if(document.body.classList.contains("single")||document.body.classList.contains("page")){var e=document.querySelector(".ct-newsletter-subscribe-block");Object(o.responsiveClassesFor)("newsletter_subscribe_subscribe_visibility",e),"yes"!==wp.customize("has_newsletter_subscribe_name")()?(e.querySelector("[data-fields]").dataset.fields=1,e.querySelector('[name="FNAME"]').remove()):(e.querySelector("[data-fields]").dataset.fields=2,e.querySelector('[name="FNAME"]').setAttribute("placeholder","".concat(wp.customize("newsletter_subscribe_name_label")()))),e.querySelector('[name="EMAIL"]').setAttribute("placeholder","".concat(wp.customize("newsletter_subscribe_mail_label")()," *")),e.querySelector("button").innerHTML=wp.customize("newsletter_subscribe_button_text")(),e.querySelector("h3").innerHTML=wp.customize("newsletter_subscribe_title")(),e.querySelector(".ct-newsletter-subscribe-description").innerHTML=wp.customize("newsletter_subscribe_text")()}}})}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,s=n.length,i=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),u=n[r];r<s;u=n[++r])b(u)||!T(u)?i+=" "+u:i+=" "+c(u);return i},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var s,i={};function c(e,r){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function a(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&_(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return v(o)||(o=l(e,o,n)),o}var s=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(h(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(b(t))return e.stylize("null","null")}(e,r);if(s)return s;var i=Object.keys(r),c=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(r)),k(r)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return p(r);if(0===i.length){if(_(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(g(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(k(r))return p(r)}var a,T="",O=!1,x=["{","}"];(d(r)&&(O=!0,x=["[","]"]),_(r))&&(T=" [Function"+(r.name?": "+r.name:"")+"]");return g(r)&&(T=" "+RegExp.prototype.toString.call(r)),w(r)&&(T=" "+Date.prototype.toUTCString.call(r)),k(r)&&(T=" "+p(r)),0!==i.length||O&&0!=r.length?n<0?g(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),a=O?function(e,t,r,n,o){for(var s=[],i=0,c=t.length;i<c;++i)P(t,String(i))?s.push(f(e,t,r,n,String(i),!0)):s.push("");return o.forEach((function(o){o.match(/^\d+$/)||s.push(f(e,t,r,n,o,!0))})),s}(e,r,n,c,i):i.map((function(t){return f(e,r,n,c,t,O)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(a,T,x)):x[0]+T+x[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,s){var i,c,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(c=e.stylize("[Setter]","special")),P(n,o)||(i="["+o+"]"),c||(e.seen.indexOf(u.value)<0?(c=b(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(c=s?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),m(i)){if(s&&o.match(/^\d+$/))return c;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+c}function d(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function b(e){return null===e}function h(e){return"number"==typeof e}function v(e){return"string"==typeof e}function m(e){return void 0===e}function g(e){return T(e)&&"[object RegExp]"===O(e)}function T(e){return"object"==typeof e&&null!==e}function w(e){return T(e)&&"[object Date]"===O(e)}function k(e){return T(e)&&("[object Error]"===O(e)||e instanceof Error)}function _(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(m(s)&&(s=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!i[r])if(new RegExp("\\b"+r+"\\b","i").test(s)){var n=e.pid;i[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else i[r]=function(){};return i[r]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=function(e){return null==e},t.isNumber=h,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=g,t.isObject=T,t.isDate=w,t.isError=k,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=r(4),t._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function z(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=R,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var s=this,i=function(){return o.apply(s,arguments)};t.apply(this,r).then((function(t){e.nextTick(i,null,t)}),(function(t){e.nextTick(z,t,i)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(2))},function(e,t){var r,n,o=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var u,a=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?a=u.concat(a):p=-1,a.length&&d())}function d(){if(!l){var e=c(f);l=!0;for(var t=a.length;t;){for(u=a,a=[];++p<t;)u&&u[p].run();p=-1,t=a.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new y(e,t)),1!==a.length||l||c(d)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(1),s=r.n(o);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(r,!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var l=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},p=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e},f=function(e,t){var r=t.forcedOutput,n=void 0!==r&&r;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return n?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return n?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y(e,t){return e(t={exports:{}},t.exports),t.exports}var b=y((function(e,t){
|
| 2 |
+
/**
|
| 3 |
+
* @license
|
| 4 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 5 |
+
* This code may only be used under the BSD style license found at
|
| 6 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 7 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 8 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 9 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 10 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 11 |
+
*/
|
| 12 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.matcher={whitespace:/\s/,whitespaceGreedy:/(\s+)/g,commentGreedy:/(\*\/)/g,boundary:/[\(\)\{\}'"@;:\s]/,stringBoundary:/['"]/},function(e){e.stylesheet="stylesheet",e.comment="comment",e.atRule="atRule",e.ruleset="ruleset",e.expression="expression",e.declaration="declaration",e.rulelist="rulelist",e.discarded="discarded"}(t.nodeType||(t.nodeType={}))}));d(b);b.matcher,b.nodeType;var h=y((function(e,t){
|
| 13 |
+
/**
|
| 14 |
+
* @license
|
| 15 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 16 |
+
* This code may only be used under the BSD style license found at
|
| 17 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 18 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 19 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 20 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 21 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 22 |
+
*/
|
| 23 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=function*e(t){switch(yield t,t.type){case b.nodeType.stylesheet:for(const r of t.rules)yield*e(r);return;case b.nodeType.ruleset:return yield*e(t.rulelist);case b.nodeType.rulelist:for(const r of t.rules)yield*e(r);return;case b.nodeType.declaration:return void(void 0!==t.value&&(yield*e(t.value)));case b.nodeType.atRule:return void(t.rulelist&&(yield*e(t.rulelist)));case b.nodeType.expression:case b.nodeType.comment:case b.nodeType.discarded:return;default:const r=t;console.error("Got a node of unknown type: "+s.a.inspect(r))}}}));d(h);h.iterateOverAst;var v=y((function(e,t){
|
| 24 |
+
/**
|
| 25 |
+
* @license
|
| 26 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 27 |
+
* This code may only be used under the BSD style license found at
|
| 28 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 29 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 30 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 31 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 32 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 33 |
+
*/
|
| 34 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeFactory=class{stylesheet(e,t){return{type:b.nodeType.stylesheet,rules:e,range:t}}atRule(e,t,r,n,o,s){return{type:b.nodeType.atRule,name:e,parameters:t,rulelist:r,nameRange:n,parametersRange:o,range:s}}comment(e,t){return{type:b.nodeType.comment,value:e,range:t}}rulelist(e,t){return{type:b.nodeType.rulelist,rules:e,range:t}}ruleset(e,t,r,n){return{type:b.nodeType.ruleset,selector:e,rulelist:t,selectorRange:r,range:n}}declaration(e,t,r,n){return{type:b.nodeType.declaration,name:e,value:t,nameRange:r,range:n}}expression(e,t){return{type:b.nodeType.expression,text:e,range:t}}discarded(e,t){return{type:b.nodeType.discarded,text:e,range:t}}}}));d(v);v.NodeFactory;var m=y((function(e,t){
|
| 35 |
+
/**
|
| 36 |
+
* @license
|
| 37 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 38 |
+
* This code may only be used under the BSD style license found at
|
| 39 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 40 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 41 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 42 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 43 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 44 |
+
*/
|
| 45 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeVisitor=class{constructor(){this.path_=[]}get path(){return this.path_}visit(e){let t;return this[e.type]&&(this.path_.push(e),t=this[e.type](e),this.path_.pop()),t}}}));d(m);m.NodeVisitor;var g=y((function(e,t){var r;
|
| 46 |
+
/**
|
| 47 |
+
* @license
|
| 48 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 49 |
+
* This code may only be used under the BSD style license found at
|
| 50 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 51 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 52 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 53 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 54 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 55 |
+
*/
|
| 56 |
+
Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.whitespace=Math.pow(2,0)]="whitespace",e[e.string=Math.pow(2,1)]="string",e[e.comment=Math.pow(2,2)]="comment",e[e.word=Math.pow(2,3)]="word",e[e.boundary=Math.pow(2,4)]="boundary",e[e.propertyBoundary=Math.pow(2,5)]="propertyBoundary",e[e.openParenthesis=Math.pow(2,6)|e.boundary]="openParenthesis",e[e.closeParenthesis=Math.pow(2,7)|e.boundary]="closeParenthesis",e[e.at=Math.pow(2,8)|e.boundary]="at",e[e.openBrace=Math.pow(2,9)|e.boundary]="openBrace",e[e.closeBrace=Math.pow(2,10)|e.propertyBoundary|e.boundary]="closeBrace",e[e.semicolon=Math.pow(2,11)|e.propertyBoundary|e.boundary]="semicolon",e[e.colon=Math.pow(2,12)|e.boundary|e.word]="colon",e[e.hyphen=Math.pow(2,13)]="hyphen",e[e.underscore=Math.pow(2,14)]="underscore"}(r=t.TokenType||(t.TokenType={}));class n{constructor(e,t,r){this.type=e,this.start=t,this.end=r,this.previous=null,this.next=null}is(e){return(this.type&e)===e}}n.type=r,t.Token=n;const o={"(":n.type.openParenthesis,")":n.type.closeParenthesis,":":n.type.colon,"@":n.type.at,"{":n.type.openBrace,"}":n.type.closeBrace,";":n.type.semicolon,"-":n.type.hyphen,_:n.type.underscore};t.boundaryTokenTypes=o}));d(g);g.TokenType,g.Token,g.boundaryTokenTypes;var T=y((function(e,t){
|
| 57 |
+
/**
|
| 58 |
+
* @license
|
| 59 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 60 |
+
* This code may only be used under the BSD style license found at
|
| 61 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 62 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 63 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 64 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 65 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 66 |
+
*/
|
| 67 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Tokenizer=class{constructor(e){this.cursorToken_=new g.Token(g.Token.type.none,0,0),this.currentToken_=null,this.cssText=e}get offset(){return this.cursorToken_.end}get currentToken(){return null==this.currentToken_&&(this.currentToken_=this.getNextToken_()),this.currentToken_}advance(){let e;return null!=this.currentToken_?(e=this.currentToken_,this.currentToken_=null):e=this.getNextToken_(),e}slice(e,t){const{start:r,end:n}=this.getRange(e,t);return this.cssText.substring(r,n)}getRange(e,t){return{start:e.start,end:(t||e).end}}trimRange({start:e,end:t}){for(;e<=t&&/\s/.test(this.cssText.charAt(e));)e++;for(;e<=t&&t>0&&/\s/.test(this.cssText.charAt(t-1));)t--;return{start:e,end:t}}flush(){const e=[];for(;this.currentToken;)e.push(this.advance());return e}getNextToken_(){const e=this.cssText[this.offset];let t;return this.currentToken_=null,this.offset>=this.cssText.length?null:(t=b.matcher.whitespace.test(e)?this.tokenizeWhitespace(this.offset):b.matcher.stringBoundary.test(e)?this.tokenizeString(this.offset):"/"===e&&"*"===this.cssText[this.offset+1]?this.tokenizeComment(this.offset):b.matcher.boundary.test(e)?this.tokenizeBoundary(this.offset):this.tokenizeWord(this.offset),t.previous=this.cursorToken_,this.cursorToken_.next=t,this.cursorToken_=t,t)}tokenizeString(e){const t=this.cssText[e];let r=!1;const n=e;let o;for(;o=this.cssText[++e];)if(r)r=!1;else{if(o===t){++e;break}"\\"===o&&(r=!0)}return new g.Token(g.Token.type.string,n,e)}tokenizeWord(e){const t=e;let r;for(;(r=this.cssText[e])&&!b.matcher.boundary.test(r);)e++;return new g.Token(g.Token.type.word,t,e)}tokenizeWhitespace(e){const t=e;b.matcher.whitespaceGreedy.lastIndex=e;const r=b.matcher.whitespaceGreedy.exec(this.cssText);return null!=r&&r.index===e&&(e=b.matcher.whitespaceGreedy.lastIndex),new g.Token(g.Token.type.whitespace,t,e)}tokenizeComment(e){const t=e;return b.matcher.commentGreedy.lastIndex=e,e=null==b.matcher.commentGreedy.exec(this.cssText)?this.cssText.length:b.matcher.commentGreedy.lastIndex,new g.Token(g.Token.type.comment,t,e)}tokenizeBoundary(e){const t=g.boundaryTokenTypes[this.cssText[e]]||g.Token.type.boundary;return new g.Token(t,e,e+1)}}}));d(T);T.Tokenizer;var w=y((function(e,t){
|
| 68 |
+
/**
|
| 69 |
+
* @license
|
| 70 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 71 |
+
* This code may only be used under the BSD style license found at
|
| 72 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 73 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 74 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 75 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 76 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 77 |
+
*/
|
| 78 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Parser=class{constructor(e=new v.NodeFactory){this.nodeFactory=e}parse(e){return this.parseStylesheet(new T.Tokenizer(e))}parseStylesheet(e){return this.nodeFactory.stylesheet(this.parseRules(e),{start:0,end:e.cssText.length})}parseRules(e){const t=[];for(;e.currentToken;){const r=this.parseRule(e);r&&t.push(r)}return t}parseRule(e){const t=e.currentToken;return null===t?null:t.is(g.Token.type.whitespace)?(e.advance(),null):t.is(g.Token.type.comment)?this.parseComment(e):t.is(g.Token.type.word)?this.parseDeclarationOrRuleset(e):t.is(g.Token.type.propertyBoundary)?this.parseUnknown(e):t.is(g.Token.type.at)?this.parseAtRule(e):this.parseUnknown(e)}parseComment(e){const t=e.advance();return null===t?null:this.nodeFactory.comment(e.slice(t),{start:t.start,end:t.end})}parseUnknown(e){const t=e.advance();let r;if(null===t)return null;for(;e.currentToken&&e.currentToken.is(g.Token.type.boundary);)r=e.advance();return this.nodeFactory.discarded(e.slice(t,r),e.getRange(t,r))}parseAtRule(e){let t=void 0,r=void 0,n=void 0,o=void 0,s=void 0;if(!e.currentToken)return null;const i=e.currentToken.start;for(;e.currentToken;)if(e.currentToken.is(g.Token.type.whitespace))e.advance();else if(!t&&e.currentToken.is(g.Token.type.at)){e.advance();const n=e.currentToken;let o;for(;e.currentToken&&e.currentToken.is(g.Token.type.word);)o=e.advance();r=e.getRange(n,o),t=e.cssText.slice(r.start,r.end)}else{if(e.currentToken.is(g.Token.type.openBrace)){n=this.parseRulelist(e);break}if(e.currentToken.is(g.Token.type.propertyBoundary)){e.advance();break}null==o?o=e.advance():s=e.advance()}if(void 0===t||void 0===r)return null;let c=void 0,u="";o&&(c=e.trimRange(e.getRange(o,s)),u=e.cssText.slice(c.start,c.end));const a=e.currentToken?e.currentToken.previous.end:e.cssText.length;return this.nodeFactory.atRule(t,u,n,r,c,{start:i,end:a})}parseRulelist(e){const t=[],r=e.currentToken.start;let n;for(e.advance();e.currentToken;){if(e.currentToken.is(g.Token.type.closeBrace)){n=e.currentToken,e.advance();break}{const r=this.parseRule(e);r&&t.push(r)}}const o=n?n.end:e.cssText.length;return this.nodeFactory.rulelist(t,{start:r,end:o})}parseDeclarationOrRuleset(e){let t=null,r=null,n=null;for(;e.currentToken;)if(e.currentToken.is(g.Token.type.whitespace))e.advance();else if(e.currentToken.is(g.Token.type.openParenthesis))for(;e.currentToken&&!e.currentToken.is(g.Token.type.closeParenthesis);)e.advance();else{if(e.currentToken.is(g.Token.type.openBrace)||e.currentToken.is(g.Token.type.propertyBoundary))break;e.currentToken.is(g.Token.type.colon)&&(n=e.currentToken),null===t?(t=e.advance(),r=t):r=e.advance()}if(null===e.currentToken)return null;if(e.currentToken.is(g.Token.type.propertyBoundary)){const o=e.getRange(t,n?n.previous:r),s=e.cssText.slice(o.start,o.end);let i=void 0;if(n&&n.next){const t=e.getRange(n.next,r),o=e.trimRange(t),s=e.cssText.slice(o.start,o.end);i=this.nodeFactory.expression(s,o)}e.currentToken.is(g.Token.type.semicolon)&&e.advance();const c=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(s,i,o,c)}if(n&&n===r){const n=this.parseRulelist(e);e.currentToken.is(g.Token.type.semicolon)&&e.advance();const o=e.getRange(t,r.previous),s=e.cssText.slice(o.start,o.end),i=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(s,n,o,i)}{const n=e.getRange(t,r),o=e.cssText.slice(n.start,n.end),s=this.parseRulelist(e),i=t.start;let c;return c=e.currentToken?e.currentToken.previous?e.currentToken.previous.end:t.end:e.cssText.length,this.nodeFactory.ruleset(o,s,n,{start:i,end:c})}}}}));d(w);w.Parser;var k=y((function(e,t){
|
| 79 |
+
/**
|
| 80 |
+
* @license
|
| 81 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 82 |
+
* This code may only be used under the BSD style license found at
|
| 83 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 84 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 85 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 86 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 87 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 88 |
+
*/
|
| 89 |
+
Object.defineProperty(t,"__esModule",{value:!0});class r extends m.NodeVisitor{stringify(e){return this.visit(e)||""}[b.nodeType.stylesheet](e){let t="";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t}[b.nodeType.atRule](e){return"@"+e.name+(e.parameters?" "+e.parameters:"")+(e.rulelist?""+this.visit(e.rulelist):";")}[b.nodeType.rulelist](e){let t="{";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t+"}"}[b.nodeType.comment](e){return""+e.value}[b.nodeType.ruleset](e){return`${e.selector}${this.visit(e.rulelist)}`}[b.nodeType.declaration](e){return null!=e.value?`${e.name}:${this.visit(e.value)};`:e.name+";"}[b.nodeType.expression](e){return""+e.text}[b.nodeType.discarded](e){return""}}t.Stringifier=r}));d(k);k.Stringifier;var _=y((function(e,t){
|
| 90 |
+
/**
|
| 91 |
+
* @license
|
| 92 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 93 |
+
* This code may only be used under the BSD style license found at
|
| 94 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 95 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 96 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 97 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 98 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 99 |
+
*/
|
| 100 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=h.iterateOverAst,t.nodeType=b.nodeType,t.NodeFactory=v.NodeFactory,t.NodeVisitor=m.NodeVisitor,t.Parser=w.Parser,t.Stringifier=k.Stringifier,t.Token=g.Token,t.Tokenizer=T.Tokenizer}));d(_);_.iterateOverAst,_.nodeType,_.NodeFactory,_.NodeVisitor;var O,x=_.Parser,S=_.Stringifier,j=(_.Token,_.Tokenizer,{desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"}),P={desktop:{ast:{}},tablet:{ast:{}},mobile:{ast:{}}},R=function(e){return e&&"[object Function]"==={}.toString.call(e)},z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n="".concat(e["".concat(r,"_selector_prefix")]?"".concat(e["".concat(r,"_selector_prefix")]," "):"").concat(e.selector||":root"),o="--";"property"===e.variableType&&(o="");var s="".concat(o).concat(R(e.variable)?e.variable():e.variable),i=P[r].ast.rules.find((function(e){return e.selector===n})),c=P[r].ast.rules.find((function(e){var t=e.type,r=e.rulelist;return"ruleset"===t&&r.rules.length>0})),l=u({},P[r].ast,{rules:i?P[r].ast.rules.map((function(e){if(e.selector!==n)return e;if(t.indexOf("CT_CSS_SKIP_RULE")>-1)return u({},e,{rulelist:u({},e.rulelist,{rules:e.rulelist.rules.filter((function(e){return e.name!==s}))})});var r=e.rulelist.rules.find((function(e){return e.name===s}));return u({},e,{rulelist:u({},e.rulelist,{rules:r?e.rulelist.rules.map((function(e){return e.name===s?u({},e,{value:u({},e.value,{text:t})}):e})):[].concat(a(e.rulelist.rules),[u({},c.rulelist.rules[0],{name:s,value:u({},c.rulelist.rules[0].value,{text:t})})])})})})):[].concat(a(P[r].ast.rules),[u({},c,{selector:n,rulelist:u({},c.rulelist,{rules:[u({},c.rulelist.rules[0],{name:s,value:u({},c.rulelist.rules[0].value,{text:t})})]})})])}),p=new S;P[r].ast=l,document.querySelector("style#".concat(j[r])).innerText=p.stringify(l)},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.variableDescriptor,r=e.value,n=e.device,o=void 0===n?"desktop":n,s=e.customReplaceVariableInStyleTag,i=void 0===s?null:s,c=(t.type||"").indexOf("color")>-1?r["color"===t.type?"default":t.type.split(":")[1]].color:r;"border"===(t.type||"")&&(c=r&&"none"!==r.style?"".concat(r.width,"px ").concat(r.style," ").concat(r.color.color):"none",t.skip_none&&"none"===c&&(c="CT_CSS_SKIP_RULE")),"spacing"===(t.type||"")&&(c=l(r)),"box-shadow"===(t.type||"")&&(c=f(r,t)),i?i({replaceVariableInStyleTag:z,variableDescriptor:t,value:"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),device:o}):z(t,"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),o)};function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}O=F(F({newsletter_subscribe_title_color:{selector:".ct-newsletter-subscribe-block",variable:"heading-color",type:"color:default",responsive:!0},newsletter_subscribe_content:[{selector:".ct-newsletter-subscribe-block",variable:"color",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"linkHoverColor",type:"color:hover"}],newsletter_subscribe_button:[{selector:".ct-newsletter-subscribe-block",variable:"buttonInitialColor",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"buttonHoverColor",type:"color:hover"}],newsletter_subscribe_input_font_color:[{selector:".ct-newsletter-subscribe-block",variable:"form-text-initial-color",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"form-text-focus-color",type:"color:focus"}],newsletter_subscribe_border_color:[{selector:".ct-newsletter-subscribe-block",variable:"form-field-border-initial-color",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"form-field-border-focus-color",type:"color:focus"}],newsletter_subscribe_input_background:[{selector:".ct-newsletter-subscribe-block",variable:"form-field-initial-background",type:"color:default"},{selector:".ct-newsletter-subscribe-block",variable:"form-field-focus-background",type:"color:focus"}]},Object(n.handleBackgroundOptionFor)({id:"newsletter_subscribe_container_background",selector:".ct-newsletter-subscribe-block",responsive:!0})),{},{newsletter_subscribe_container_border:{selector:".ct-newsletter-subscribe-block",variable:"newsletter-container-border",type:"border",responsive:!0,skip_none:!0},newsletter_subscribe_shadow:{selector:".ct-newsletter-subscribe-block",type:"box-shadow",variable:"box-shadow",responsive:!0},newsletter_subscribe_container_spacing:{selector:".ct-newsletter-subscribe-block",type:"spacing",variable:"padding",responsive:!0},newsletter_subscribe_container_border_radius:{selector:".ct-newsletter-subscribe-block",type:"spacing",variable:"border-radius",responsive:!0}}),Object.keys(j).map((function(e){var t=document.querySelector("style#".concat(j[e]));if(t){var r=t.innerText,n=new x,o=(new S,n.parse(r));P[e].ast=o}})),wp.customize.bind("change",(function(e){if(O[e.id]){var t=O[e.id];R(t)&&(t=t(e())),Array.isArray(t)||(t=[t]),t.map((function(t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=p(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),E({variableDescriptor:e,value:t.desktop,device:"desktop",customReplaceVariableInStyleTag:r}),E({variableDescriptor:e,value:t.tablet,device:"tablet",customReplaceVariableInStyleTag:r}),E({variableDescriptor:e,value:t.mobile,device:"mobile",customReplaceVariableInStyleTag:r})):E({variableDescriptor:e,value:t,customReplaceVariableInStyleTag:r})}(t,e())}))}})),wp.customize("newsletter_subscribe_subscribe_visibility",(function(e){return e.bind((function(e){var t=document.querySelector(".ct-newsletter-subscribe-block");Object(n.responsiveClassesFor)("newsletter_subscribe_subscribe_visibility",t)}))})),(document.body.classList.contains("single")||document.body.classList.contains("page"))&&Object(n.checkAndReplace)({id:"newsletter_subscribe_single_post_enabled",strategy:"append",parent_selector:".site-main article",selector:".ct-newsletter-subscribe-block",fragment_id:"blocksy-mailchimp-subscribe",watch:["has_newsletter_subscribe_name","newsletter_subscribe_button_text","newsletter_subscribe_title","newsletter_subscribe_text","newsletter_subscribe_name_label","newsletter_subscribe_mail_label"],whenInserted:function(){if(document.body.classList.contains("single")||document.body.classList.contains("page")){var e=document.querySelector(".ct-newsletter-subscribe-block");Object(n.responsiveClassesFor)("newsletter_subscribe_subscribe_visibility",e),"yes"!==wp.customize("has_newsletter_subscribe_name")()?(e.querySelector("[data-fields]").dataset.fields=1,e.querySelector('[name="FNAME"]').remove()):(e.querySelector("[data-fields]").dataset.fields=2,e.querySelector('[name="FNAME"]').setAttribute("placeholder","".concat(wp.customize("newsletter_subscribe_name_label")()))),e.querySelector('[name="EMAIL"]').setAttribute("placeholder","".concat(wp.customize("newsletter_subscribe_mail_label")()," *")),e.querySelector("button").innerHTML=wp.customize("newsletter_subscribe_button_text")(),e.querySelector("h3").innerHTML=wp.customize("newsletter_subscribe_title")(),e.querySelector(".ct-newsletter-subscribe-description").innerHTML=wp.customize("newsletter_subscribe_text")()}}})}]);
|
framework/extensions/newsletter-subscribe/admin-static/js/variables.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
| 1 |
import { handleVariablesFor } from 'customizer-sync-helpers'
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
handleVariablesFor({
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
newsletter_subscribe_content: [
|
| 5 |
{
|
| 6 |
selector: '.ct-newsletter-subscribe-block',
|
|
@@ -29,10 +39,60 @@ handleVariablesFor({
|
|
| 29 |
},
|
| 30 |
],
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
selector: '.ct-newsletter-subscribe-block',
|
| 34 |
-
variable: '
|
| 35 |
-
type: '
|
|
|
|
|
|
|
| 36 |
},
|
| 37 |
|
| 38 |
newsletter_subscribe_shadow: {
|
|
@@ -42,10 +102,17 @@ handleVariablesFor({
|
|
| 42 |
responsive: true,
|
| 43 |
},
|
| 44 |
|
| 45 |
-
|
| 46 |
selector: '.ct-newsletter-subscribe-block',
|
|
|
|
| 47 |
variable: 'padding',
|
| 48 |
-
responsive: true
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
},
|
| 51 |
})
|
| 1 |
import { handleVariablesFor } from 'customizer-sync-helpers'
|
| 2 |
+
import {
|
| 3 |
+
handleBackgroundOptionFor,
|
| 4 |
+
} from 'blocksy-customizer-sync'
|
| 5 |
|
| 6 |
handleVariablesFor({
|
| 7 |
+
newsletter_subscribe_title_color: {
|
| 8 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 9 |
+
variable: 'heading-color',
|
| 10 |
+
type: 'color:default',
|
| 11 |
+
responsive: true,
|
| 12 |
+
},
|
| 13 |
+
|
| 14 |
newsletter_subscribe_content: [
|
| 15 |
{
|
| 16 |
selector: '.ct-newsletter-subscribe-block',
|
| 39 |
},
|
| 40 |
],
|
| 41 |
|
| 42 |
+
newsletter_subscribe_input_font_color: [
|
| 43 |
+
{
|
| 44 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 45 |
+
variable: 'form-text-initial-color',
|
| 46 |
+
type: 'color:default',
|
| 47 |
+
},
|
| 48 |
+
|
| 49 |
+
{
|
| 50 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 51 |
+
variable: 'form-text-focus-color',
|
| 52 |
+
type: 'color:focus',
|
| 53 |
+
},
|
| 54 |
+
],
|
| 55 |
+
|
| 56 |
+
newsletter_subscribe_border_color: [
|
| 57 |
+
{
|
| 58 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 59 |
+
variable: 'form-field-border-initial-color',
|
| 60 |
+
type: 'color:default',
|
| 61 |
+
},
|
| 62 |
+
|
| 63 |
+
{
|
| 64 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 65 |
+
variable: 'form-field-border-focus-color',
|
| 66 |
+
type: 'color:focus',
|
| 67 |
+
},
|
| 68 |
+
],
|
| 69 |
+
|
| 70 |
+
newsletter_subscribe_input_background: [
|
| 71 |
+
{
|
| 72 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 73 |
+
variable: 'form-field-initial-background',
|
| 74 |
+
type: 'color:default',
|
| 75 |
+
},
|
| 76 |
+
|
| 77 |
+
{
|
| 78 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 79 |
+
variable: 'form-field-focus-background',
|
| 80 |
+
type: 'color:focus',
|
| 81 |
+
},
|
| 82 |
+
],
|
| 83 |
+
|
| 84 |
+
...handleBackgroundOptionFor({
|
| 85 |
+
id: 'newsletter_subscribe_container_background',
|
| 86 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 87 |
+
responsive: true,
|
| 88 |
+
}),
|
| 89 |
+
|
| 90 |
+
newsletter_subscribe_container_border: {
|
| 91 |
selector: '.ct-newsletter-subscribe-block',
|
| 92 |
+
variable: 'newsletter-container-border',
|
| 93 |
+
type: 'border',
|
| 94 |
+
responsive: true,
|
| 95 |
+
skip_none: true,
|
| 96 |
},
|
| 97 |
|
| 98 |
newsletter_subscribe_shadow: {
|
| 102 |
responsive: true,
|
| 103 |
},
|
| 104 |
|
| 105 |
+
newsletter_subscribe_container_spacing: {
|
| 106 |
selector: '.ct-newsletter-subscribe-block',
|
| 107 |
+
type: 'spacing',
|
| 108 |
variable: 'padding',
|
| 109 |
+
responsive: true
|
| 110 |
+
},
|
| 111 |
+
|
| 112 |
+
newsletter_subscribe_container_border_radius: {
|
| 113 |
+
selector: '.ct-newsletter-subscribe-block',
|
| 114 |
+
type: 'spacing',
|
| 115 |
+
variable: 'border-radius',
|
| 116 |
+
responsive: true
|
| 117 |
},
|
| 118 |
})
|
framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php
CHANGED
|
@@ -18,12 +18,27 @@ $options = [
|
|
| 18 |
'disableRevertButton' => true,
|
| 19 |
],
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
'newsletter_subscribe_text' => [
|
| 22 |
-
'label' => __( '
|
| 23 |
-
'type' => '
|
| 24 |
-
'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
|
| 25 |
'design' => 'inline',
|
|
|
|
|
|
|
| 26 |
'disableRevertButton' => true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
|
| 29 |
'newsletter_subscribe_list_id_source' => [
|
| 18 |
'disableRevertButton' => true,
|
| 19 |
],
|
| 20 |
|
| 21 |
+
// 'newsletter_subscribe_text' => [
|
| 22 |
+
// 'label' => __( 'Message', 'blc' ),
|
| 23 |
+
// 'type' => 'textarea',
|
| 24 |
+
// 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
|
| 25 |
+
// 'design' => 'inline',
|
| 26 |
+
// 'disableRevertButton' => true,
|
| 27 |
+
// ],
|
| 28 |
+
|
| 29 |
'newsletter_subscribe_text' => [
|
| 30 |
+
'label' => __( 'Text', 'blc' ),
|
| 31 |
+
'type' => 'wp-editor',
|
|
|
|
| 32 |
'design' => 'inline',
|
| 33 |
+
'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
|
| 34 |
+
'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
|
| 35 |
'disableRevertButton' => true,
|
| 36 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 37 |
+
|
| 38 |
+
'mediaButtons' => false,
|
| 39 |
+
'tinymce' => [
|
| 40 |
+
'toolbar1' => 'bold,italic,link,undo,redo',
|
| 41 |
+
],
|
| 42 |
],
|
| 43 |
|
| 44 |
'newsletter_subscribe_list_id_source' => [
|
framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/view.php
CHANGED
|
@@ -13,7 +13,7 @@ $title = blocksy_default_akg( 'title', $atts, __( 'Newsletter', 'blc' ) );
|
|
| 13 |
|
| 14 |
|
| 15 |
// Message
|
| 16 |
-
$message = blocksy_default_akg( 'newsletter_subscribe_text', $atts, __( 'Enter your email address below to subscribe to our newsletter', 'blc' )
|
| 17 |
|
| 18 |
// Button text
|
| 19 |
$button_text = blocksy_default_akg( 'newsletter_subscribe_button_text', $atts, __( 'Subscribe', 'blc' ) );
|
| 13 |
|
| 14 |
|
| 15 |
// Message
|
| 16 |
+
$message = do_shortcode(blocksy_default_akg( 'newsletter_subscribe_text', $atts, __( 'Enter your email address below to subscribe to our newsletter', 'blc' )));
|
| 17 |
|
| 18 |
// Button text
|
| 19 |
$button_text = blocksy_default_akg( 'newsletter_subscribe_button_text', $atts, __( 'Subscribe', 'blc' ) );
|
framework/extensions/newsletter-subscribe/customizer.php
CHANGED
|
@@ -24,7 +24,7 @@ $options = [
|
|
| 24 |
],
|
| 25 |
|
| 26 |
'newsletter_subscribe_text' => [
|
| 27 |
-
'label' => __( '
|
| 28 |
'type' => 'textarea',
|
| 29 |
'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
|
| 30 |
'design' => 'block',
|
|
@@ -148,8 +148,29 @@ $options = [
|
|
| 148 |
'type' => 'tab',
|
| 149 |
'options' => [
|
| 150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
'newsletter_subscribe_content' => [
|
| 152 |
-
'label' => __( '
|
| 153 |
'type' => 'ct-color-picker',
|
| 154 |
'design' => 'inline',
|
| 155 |
'setting' => [ 'transport' => 'postMessage' ],
|
|
@@ -179,19 +200,20 @@ $options = [
|
|
| 179 |
],
|
| 180 |
],
|
| 181 |
|
| 182 |
-
'
|
| 183 |
-
'label' => __( '
|
| 184 |
'type' => 'ct-color-picker',
|
| 185 |
'design' => 'inline',
|
|
|
|
| 186 |
'setting' => [ 'transport' => 'postMessage' ],
|
| 187 |
|
| 188 |
'value' => [
|
| 189 |
'default' => [
|
| 190 |
-
'color' => '
|
| 191 |
],
|
| 192 |
|
| 193 |
-
'
|
| 194 |
-
'color' => '
|
| 195 |
],
|
| 196 |
],
|
| 197 |
|
|
@@ -199,17 +221,19 @@ $options = [
|
|
| 199 |
[
|
| 200 |
'title' => __( 'Initial', 'blc' ),
|
| 201 |
'id' => 'default',
|
|
|
|
| 202 |
],
|
| 203 |
|
| 204 |
[
|
| 205 |
-
'title' => __( '
|
| 206 |
-
'id' => '
|
|
|
|
| 207 |
],
|
| 208 |
],
|
| 209 |
],
|
| 210 |
|
| 211 |
-
'
|
| 212 |
-
'label' => __( '
|
| 213 |
'type' => 'ct-color-picker',
|
| 214 |
'design' => 'inline',
|
| 215 |
'setting' => [ 'transport' => 'postMessage' ],
|
|
@@ -218,30 +242,128 @@ $options = [
|
|
| 218 |
'default' => [
|
| 219 |
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 220 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
],
|
| 222 |
|
| 223 |
'pickers' => [
|
| 224 |
[
|
| 225 |
'title' => __( 'Initial', 'blc' ),
|
| 226 |
'id' => 'default',
|
| 227 |
-
'inherit' => '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
],
|
| 229 |
],
|
| 230 |
],
|
| 231 |
|
| 232 |
-
|
| 233 |
-
'
|
| 234 |
-
'
|
| 235 |
-
'
|
| 236 |
-
'
|
| 237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
'responsive' => true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
'divider' => 'top',
|
| 240 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
],
|
| 242 |
|
| 243 |
'newsletter_subscribe_shadow' => [
|
| 244 |
-
'label' => __( 'Shadow', 'blocksy' ),
|
| 245 |
'type' => 'ct-box-shadow',
|
| 246 |
'responsive' => true,
|
| 247 |
'divider' => 'top',
|
|
@@ -258,6 +380,33 @@ $options = [
|
|
| 258 |
],
|
| 259 |
])
|
| 260 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
],
|
| 262 |
],
|
| 263 |
],
|
| 24 |
],
|
| 25 |
|
| 26 |
'newsletter_subscribe_text' => [
|
| 27 |
+
'label' => __( 'Description', 'blc' ),
|
| 28 |
'type' => 'textarea',
|
| 29 |
'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
|
| 30 |
'design' => 'block',
|
| 148 |
'type' => 'tab',
|
| 149 |
'options' => [
|
| 150 |
|
| 151 |
+
'newsletter_subscribe_title_color' => [
|
| 152 |
+
'label' => __( 'Title Color', 'blc' ),
|
| 153 |
+
'type' => 'ct-color-picker',
|
| 154 |
+
'design' => 'inline',
|
| 155 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 156 |
+
|
| 157 |
+
'value' => [
|
| 158 |
+
'default' => [
|
| 159 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 160 |
+
],
|
| 161 |
+
],
|
| 162 |
+
|
| 163 |
+
'pickers' => [
|
| 164 |
+
[
|
| 165 |
+
'title' => __( 'Initial', 'blc' ),
|
| 166 |
+
'id' => 'default',
|
| 167 |
+
'inherit' => 'var(--heading-color, var(--heading-3-color, var(--headings-color)))'
|
| 168 |
+
],
|
| 169 |
+
],
|
| 170 |
+
],
|
| 171 |
+
|
| 172 |
'newsletter_subscribe_content' => [
|
| 173 |
+
'label' => __( 'Description Color', 'blc' ),
|
| 174 |
'type' => 'ct-color-picker',
|
| 175 |
'design' => 'inline',
|
| 176 |
'setting' => [ 'transport' => 'postMessage' ],
|
| 200 |
],
|
| 201 |
],
|
| 202 |
|
| 203 |
+
'newsletter_subscribe_input_font_color' => [
|
| 204 |
+
'label' => __( 'Input Font Color', 'blc' ),
|
| 205 |
'type' => 'ct-color-picker',
|
| 206 |
'design' => 'inline',
|
| 207 |
+
'divider' => 'top',
|
| 208 |
'setting' => [ 'transport' => 'postMessage' ],
|
| 209 |
|
| 210 |
'value' => [
|
| 211 |
'default' => [
|
| 212 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 213 |
],
|
| 214 |
|
| 215 |
+
'focus' => [
|
| 216 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 217 |
],
|
| 218 |
],
|
| 219 |
|
| 221 |
[
|
| 222 |
'title' => __( 'Initial', 'blc' ),
|
| 223 |
'id' => 'default',
|
| 224 |
+
'inherit' => 'var(--form-text-initial-color, var(--color))'
|
| 225 |
],
|
| 226 |
|
| 227 |
[
|
| 228 |
+
'title' => __( 'Focus', 'blc' ),
|
| 229 |
+
'id' => 'focus',
|
| 230 |
+
'inherit' => 'var(--form-text-focus-color, var(--color))'
|
| 231 |
],
|
| 232 |
],
|
| 233 |
],
|
| 234 |
|
| 235 |
+
'newsletter_subscribe_border_color' => [
|
| 236 |
+
'label' => __( 'Input Border Color', 'blc' ),
|
| 237 |
'type' => 'ct-color-picker',
|
| 238 |
'design' => 'inline',
|
| 239 |
'setting' => [ 'transport' => 'postMessage' ],
|
| 242 |
'default' => [
|
| 243 |
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 244 |
],
|
| 245 |
+
|
| 246 |
+
'focus' => [
|
| 247 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
| 248 |
+
],
|
| 249 |
],
|
| 250 |
|
| 251 |
'pickers' => [
|
| 252 |
[
|
| 253 |
'title' => __( 'Initial', 'blc' ),
|
| 254 |
'id' => 'default',
|
| 255 |
+
'inherit' => 'var(--form-field-border-initial-color)'
|
| 256 |
+
],
|
| 257 |
+
|
| 258 |
+
[
|
| 259 |
+
'title' => __( 'Focus', 'blc' ),
|
| 260 |
+
'id' => 'focus',
|
| 261 |
+
'inherit' => 'var(--form-field-border-focus-color)'
|
| 262 |
],
|
| 263 |
],
|
| 264 |
],
|
| 265 |
|
| 266 |
+
blocksy_rand_md5() => [
|
| 267 |
+
'type' => 'ct-condition',
|
| 268 |
+
'condition' => ['forms_type' => 'classic-forms'],
|
| 269 |
+
'values_source' => 'global',
|
| 270 |
+
'options' => [
|
| 271 |
+
|
| 272 |
+
'newsletter_subscribe_input_background' => [
|
| 273 |
+
'label' => __( 'Input Background Color', 'blc' ),
|
| 274 |
+
'type' => 'ct-color-picker',
|
| 275 |
+
'design' => 'inline',
|
| 276 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 277 |
+
|
| 278 |
+
'value' => [
|
| 279 |
+
'default' => [
|
| 280 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword(),
|
| 281 |
+
],
|
| 282 |
+
|
| 283 |
+
'focus' => [
|
| 284 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword(),
|
| 285 |
+
],
|
| 286 |
+
],
|
| 287 |
+
|
| 288 |
+
'pickers' => [
|
| 289 |
+
[
|
| 290 |
+
'title' => __( 'Initial', 'blc' ),
|
| 291 |
+
'id' => 'default',
|
| 292 |
+
],
|
| 293 |
+
|
| 294 |
+
[
|
| 295 |
+
'title' => __( 'Focus', 'blc' ),
|
| 296 |
+
'id' => 'focus',
|
| 297 |
+
],
|
| 298 |
+
],
|
| 299 |
+
],
|
| 300 |
+
|
| 301 |
+
],
|
| 302 |
+
],
|
| 303 |
+
|
| 304 |
+
'newsletter_subscribe_button' => [
|
| 305 |
+
'label' => __( 'Button Color', 'blc' ),
|
| 306 |
+
'type' => 'ct-color-picker',
|
| 307 |
+
'design' => 'inline',
|
| 308 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 309 |
+
|
| 310 |
+
'value' => [
|
| 311 |
+
'default' => [
|
| 312 |
+
'color' => 'var(--paletteColor1)',
|
| 313 |
+
],
|
| 314 |
+
|
| 315 |
+
'hover' => [
|
| 316 |
+
'color' => 'var(--paletteColor2)',
|
| 317 |
+
],
|
| 318 |
+
],
|
| 319 |
+
|
| 320 |
+
'pickers' => [
|
| 321 |
+
[
|
| 322 |
+
'title' => __( 'Initial', 'blc' ),
|
| 323 |
+
'id' => 'default',
|
| 324 |
+
],
|
| 325 |
+
|
| 326 |
+
[
|
| 327 |
+
'title' => __( 'Hover', 'blc' ),
|
| 328 |
+
'id' => 'hover',
|
| 329 |
+
],
|
| 330 |
+
],
|
| 331 |
+
],
|
| 332 |
+
|
| 333 |
+
'newsletter_subscribe_container_background' => [
|
| 334 |
+
'label' => __( 'Container Background', 'blc' ),
|
| 335 |
+
'type' => 'ct-background',
|
| 336 |
+
'design' => 'block:right',
|
| 337 |
'responsive' => true,
|
| 338 |
+
'divider' => 'top:full',
|
| 339 |
+
'sync' => 'live',
|
| 340 |
+
'value' => blocksy_background_default_value([
|
| 341 |
+
'backgroundColor' => [
|
| 342 |
+
'default' => [
|
| 343 |
+
'color' => '#ffffff',
|
| 344 |
+
],
|
| 345 |
+
],
|
| 346 |
+
])
|
| 347 |
+
],
|
| 348 |
+
|
| 349 |
+
'newsletter_subscribe_container_border' => [
|
| 350 |
+
'label' => __( 'Container Border', 'blc' ),
|
| 351 |
+
'type' => 'ct-border',
|
| 352 |
+
'sync' => 'live',
|
| 353 |
+
'design' => 'block',
|
| 354 |
'divider' => 'top',
|
| 355 |
+
'value' => [
|
| 356 |
+
'width' => 1,
|
| 357 |
+
'style' => 'none',
|
| 358 |
+
'color' => [
|
| 359 |
+
'color' => 'var(--paletteColor5)',
|
| 360 |
+
],
|
| 361 |
+
],
|
| 362 |
+
'responsive' => true,
|
| 363 |
],
|
| 364 |
|
| 365 |
'newsletter_subscribe_shadow' => [
|
| 366 |
+
'label' => __( 'Container Shadow', 'blocksy' ),
|
| 367 |
'type' => 'ct-box-shadow',
|
| 368 |
'responsive' => true,
|
| 369 |
'divider' => 'top',
|
| 380 |
],
|
| 381 |
])
|
| 382 |
],
|
| 383 |
+
|
| 384 |
+
'newsletter_subscribe_container_spacing' => [
|
| 385 |
+
'label' => __( 'Container Inner Spacing', 'blc' ),
|
| 386 |
+
'type' => 'ct-spacing',
|
| 387 |
+
'divider' => 'top',
|
| 388 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 389 |
+
'value' => blocksy_spacing_value([
|
| 390 |
+
'linked' => true,
|
| 391 |
+
'top' => '30px',
|
| 392 |
+
'left' => '30px',
|
| 393 |
+
'right' => '30px',
|
| 394 |
+
'bottom' => '30px',
|
| 395 |
+
]),
|
| 396 |
+
'responsive' => true
|
| 397 |
+
],
|
| 398 |
+
|
| 399 |
+
'newsletter_subscribe_container_border_radius' => [
|
| 400 |
+
'label' => __( 'Container Border Radius', 'blc' ),
|
| 401 |
+
'type' => 'ct-spacing',
|
| 402 |
+
'divider' => 'top',
|
| 403 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 404 |
+
'value' => blocksy_spacing_value([
|
| 405 |
+
'linked' => true,
|
| 406 |
+
]),
|
| 407 |
+
'responsive' => true
|
| 408 |
+
],
|
| 409 |
+
|
| 410 |
],
|
| 411 |
],
|
| 412 |
],
|
framework/extensions/newsletter-subscribe/extension.php
CHANGED
|
@@ -84,7 +84,7 @@ class BlocksyExtensionNewsletterSubscribe {
|
|
| 84 |
['ct-main-styles'],
|
| 85 |
$data['Version']
|
| 86 |
);
|
| 87 |
-
});
|
| 88 |
|
| 89 |
add_filter('blocksy:frontend:dynamic-js-chunks', function ($chunks) {
|
| 90 |
$chunks[] = [
|
| 84 |
['ct-main-styles'],
|
| 85 |
$data['Version']
|
| 86 |
);
|
| 87 |
+
}, 50);
|
| 88 |
|
| 89 |
add_filter('blocksy:frontend:dynamic-js-chunks', function ($chunks) {
|
| 90 |
$chunks[] = [
|
framework/extensions/newsletter-subscribe/global.php
CHANGED
|
@@ -1,6 +1,21 @@
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 5 |
'value' => get_theme_mod('newsletter_subscribe_content'),
|
| 6 |
'default' => [
|
|
@@ -42,27 +57,105 @@ blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
|
| 42 |
]);
|
| 43 |
|
| 44 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 45 |
-
'value' => get_theme_mod('
|
| 46 |
-
'default' => [
|
|
|
|
|
|
|
|
|
|
| 47 |
'css' => $css,
|
| 48 |
'variables' => [
|
| 49 |
'default' => [
|
| 50 |
'selector' => '.ct-newsletter-subscribe-block',
|
| 51 |
-
'variable' => '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
],
|
| 53 |
],
|
| 54 |
]);
|
| 55 |
|
| 56 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 57 |
-
'value' => get_theme_mod('
|
| 58 |
-
'default' => [
|
|
|
|
|
|
|
|
|
|
| 59 |
'css' => $css,
|
| 60 |
'variables' => [
|
| 61 |
'default' => [
|
| 62 |
'selector' => '.ct-newsletter-subscribe-block',
|
| 63 |
-
'variable' => '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
],
|
| 65 |
],
|
|
|
|
|
|
|
| 66 |
]);
|
| 67 |
|
| 68 |
blc_call_fn(['fn' => 'blocksy_output_box_shadow'], [
|
|
@@ -87,16 +180,34 @@ blc_call_fn(['fn' => 'blocksy_output_box_shadow'], [
|
|
| 87 |
'responsive' => true
|
| 88 |
]);
|
| 89 |
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
'
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
|
|
|
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
+
$forms_type = get_theme_mod('forms_type', 'classic-forms');
|
| 4 |
+
|
| 5 |
+
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 6 |
+
'value' => get_theme_mod('newsletter_subscribe_title_color'),
|
| 7 |
+
'default' => [
|
| 8 |
+
'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ],
|
| 9 |
+
],
|
| 10 |
+
'css' => $css,
|
| 11 |
+
'variables' => [
|
| 12 |
+
'default' => [
|
| 13 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 14 |
+
'variable' => 'heading-color'
|
| 15 |
+
],
|
| 16 |
+
],
|
| 17 |
+
]);
|
| 18 |
+
|
| 19 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 20 |
'value' => get_theme_mod('newsletter_subscribe_content'),
|
| 21 |
'default' => [
|
| 57 |
]);
|
| 58 |
|
| 59 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 60 |
+
'value' => get_theme_mod('newsletter_subscribe_input_font_color'),
|
| 61 |
+
'default' => [
|
| 62 |
+
'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ],
|
| 63 |
+
'focus' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ],
|
| 64 |
+
],
|
| 65 |
'css' => $css,
|
| 66 |
'variables' => [
|
| 67 |
'default' => [
|
| 68 |
'selector' => '.ct-newsletter-subscribe-block',
|
| 69 |
+
'variable' => 'form-text-initial-color'
|
| 70 |
+
],
|
| 71 |
+
|
| 72 |
+
'focus' => [
|
| 73 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 74 |
+
'variable' => 'form-text-focus-color'
|
| 75 |
],
|
| 76 |
],
|
| 77 |
]);
|
| 78 |
|
| 79 |
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 80 |
+
'value' => get_theme_mod('newsletter_subscribe_border_color'),
|
| 81 |
+
'default' => [
|
| 82 |
+
'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ],
|
| 83 |
+
'focus' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ],
|
| 84 |
+
],
|
| 85 |
'css' => $css,
|
| 86 |
'variables' => [
|
| 87 |
'default' => [
|
| 88 |
'selector' => '.ct-newsletter-subscribe-block',
|
| 89 |
+
'variable' => 'form-field-border-initial-color'
|
| 90 |
+
],
|
| 91 |
+
|
| 92 |
+
'focus' => [
|
| 93 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 94 |
+
'variable' => 'form-field-border-focus-color'
|
| 95 |
+
],
|
| 96 |
+
],
|
| 97 |
+
]);
|
| 98 |
+
|
| 99 |
+
if ($forms_type !== 'classic-forms' || is_customize_preview()) {
|
| 100 |
+
blc_call_fn(['fn' => 'blocksy_output_colors'], [
|
| 101 |
+
'value' => get_theme_mod('newsletter_subscribe_input_background'),
|
| 102 |
+
'default' => [
|
| 103 |
+
'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword() ],
|
| 104 |
+
'focus' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword() ],
|
| 105 |
+
],
|
| 106 |
+
'css' => $css,
|
| 107 |
+
'variables' => [
|
| 108 |
+
'default' => [
|
| 109 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 110 |
+
'variable' => 'form-field-initial-background'
|
| 111 |
+
],
|
| 112 |
+
|
| 113 |
+
'focus' => [
|
| 114 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 115 |
+
'variable' => 'form-field-focus-background'
|
| 116 |
+
],
|
| 117 |
+
],
|
| 118 |
+
]);
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
blc_call_fn(['fn' => 'blocksy_output_background_css'], [
|
| 122 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 123 |
+
'css' => $css,
|
| 124 |
+
'tablet_css' => $tablet_css,
|
| 125 |
+
'mobile_css' => $mobile_css,
|
| 126 |
+
'value' => get_theme_mod(
|
| 127 |
+
'newsletter_subscribe_container_background',
|
| 128 |
+
blc_call_fn([
|
| 129 |
+
'fn' => 'blocksy_background_default_value',
|
| 130 |
+
'default' => null
|
| 131 |
+
], [
|
| 132 |
+
'backgroundColor' => [
|
| 133 |
+
'default' => [
|
| 134 |
+
'color' => '#ffffff'
|
| 135 |
+
],
|
| 136 |
+
],
|
| 137 |
+
])
|
| 138 |
+
),
|
| 139 |
+
'responsive' => true,
|
| 140 |
+
]);
|
| 141 |
+
|
| 142 |
+
blc_call_fn(['fn' => 'blocksy_output_border'], [
|
| 143 |
+
'css' => $css,
|
| 144 |
+
'tablet_css' => $tablet_css,
|
| 145 |
+
'mobile_css' => $mobile_css,
|
| 146 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 147 |
+
'variableName' => 'newsletter-container-border',
|
| 148 |
+
'value' => get_theme_mod('newsletter_subscribe_container_border'),
|
| 149 |
+
'skip_none' => true,
|
| 150 |
+
'default' => [
|
| 151 |
+
'width' => 1,
|
| 152 |
+
'style' => 'none',
|
| 153 |
+
'color' => [
|
| 154 |
+
'color' => 'var(--paletteColor5)',
|
| 155 |
],
|
| 156 |
],
|
| 157 |
+
'responsive' => true,
|
| 158 |
+
'skip_none' => true
|
| 159 |
]);
|
| 160 |
|
| 161 |
blc_call_fn(['fn' => 'blocksy_output_box_shadow'], [
|
| 180 |
'responsive' => true
|
| 181 |
]);
|
| 182 |
|
| 183 |
+
blc_call_fn(['fn' => 'blocksy_output_spacing'], [
|
| 184 |
+
'css' => $css,
|
| 185 |
+
'tablet_css' => $tablet_css,
|
| 186 |
+
'mobile_css' => $mobile_css,
|
| 187 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 188 |
+
'property' => 'padding',
|
| 189 |
+
'value' => get_theme_mod(
|
| 190 |
+
'newsletter_subscribe_container_spacing',
|
| 191 |
+
blocksy_spacing_value([
|
| 192 |
+
'linked' => true,
|
| 193 |
+
'top' => '30px',
|
| 194 |
+
'left' => '30px',
|
| 195 |
+
'right' => '30px',
|
| 196 |
+
'bottom' => '30px',
|
| 197 |
+
])
|
| 198 |
+
)
|
| 199 |
+
]);
|
| 200 |
|
| 201 |
+
blc_call_fn(['fn' => 'blocksy_output_spacing'], [
|
| 202 |
+
'css' => $css,
|
| 203 |
+
'tablet_css' => $tablet_css,
|
| 204 |
+
'mobile_css' => $mobile_css,
|
| 205 |
+
'selector' => '.ct-newsletter-subscribe-block',
|
| 206 |
+
'property' => 'border-radius',
|
| 207 |
+
'value' => get_theme_mod(
|
| 208 |
+
'newsletter_subscribe_container_border_radius',
|
| 209 |
+
blocksy_spacing_value([
|
| 210 |
+
'linked' => true,
|
| 211 |
+
])
|
| 212 |
+
)
|
| 213 |
+
]);
|
framework/extensions/newsletter-subscribe/static/bundle/main.min.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
.ct-widget-inner{border-radius:3px}.ct-widget-inner[data-alignment='center']{text-align:center}.ct-widget-inner[data-alignment='right']{text-align:right}.ct-newsletter-subscribe-widget-form>*:not(:first-child){margin-top:10px}[class*="ct-newsletter-subscribe"] form [data-fields]{display:grid;grid-column-gap:15px;grid-row-gap:15px}@media (min-width: 690px){[class*="ct-newsletter-subscribe"] form [data-fields='1']{grid-template-columns:65% 1fr}}@media (min-width: 690px){[class*="ct-newsletter-subscribe"] form [data-fields='2']{grid-template-columns:32.5% 32.5% 1fr}}[class*="ct-newsletter-subscribe"] form button{width:100%;--padding: 0 15px;--buttonMinHeight: var(--form-field-height, 40px)}[class*="ct-newsletter-subscribe"] form .ct-newsletter-subscribe-description:not(:empty){margin-bottom:1.5em}[class*="ct-newsletter-subscribe"] form .ct-newsletter-subscribe-message,[class*="ct-newsletter-subscribe"] form .gdpr-confirm-policy{margin-top:15px;margin-bottom:0}.ct-newsletter-subscribe-block,.ct-newsletter-subscribe-widget [data-container='boxed']{padding:var(--padding, 30px);
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
.ct-widget-inner{border-radius:3px}.ct-widget-inner[data-alignment='center']{text-align:center}.ct-widget-inner[data-alignment='right']{text-align:right}.ct-newsletter-subscribe-widget-form>*:not(:first-child){margin-top:10px}[class*="ct-newsletter-subscribe"] form [data-fields]{display:grid;grid-column-gap:15px;grid-row-gap:15px}@media (min-width: 690px){[class*="ct-newsletter-subscribe"] form [data-fields='1']{grid-template-columns:65% 1fr}}@media (min-width: 690px){[class*="ct-newsletter-subscribe"] form [data-fields='2']{grid-template-columns:32.5% 32.5% 1fr}}[class*="ct-newsletter-subscribe"] form button{width:100%;--padding: 0 15px;--buttonMinHeight: var(--form-field-height, 40px)}[class*="ct-newsletter-subscribe"] form .ct-newsletter-subscribe-description:not(:empty){margin-bottom:1.5em}[class*="ct-newsletter-subscribe"] form .ct-newsletter-subscribe-message,[class*="ct-newsletter-subscribe"] form .gdpr-confirm-policy{margin-top:15px;margin-bottom:0}.ct-newsletter-subscribe-block,.ct-newsletter-subscribe-widget [data-container='boxed']{padding:var(--padding, 30px);box-shadow:var(--box-shadow, 0px 12px 18px -6px rgba(34,56,101,0.04))}.ct-newsletter-subscribe-block{margin-top:60px;text-align:center;color:var(--color);border:var(--newsletter-container-border, none);border-radius:var(--border-radius, 0px);--linkInitialColor: var(--color)}.ct-newsletter-subscribe-block>*:first-child{margin-top:20px}.ct-newsletter-subscribe-block>*:last-child{margin-bottom:20px}.ct-newsletter-subscribe-block>h3{--fontSize: 25px}.ct-newsletter-subscribe-block form{max-width:550px;margin:0 auto}@media (min-width: 690px){.ct-newsletter-subscribe-block form{width:85%}}form[class*='ct-newsletter-subscribe'] .button{--buttonFontWeight: 600}.ct-newsletter-subscribe-message{display:none;font-size:16px}.ct-newsletter-subscribe-message a{text-decoration:underline}.subscribe-error .ct-newsletter-subscribe-message{display:block;font-size:14px;color:#e42b2b}.subscribe-success button.button,.subscribe-success input[type='text'],.subscribe-success input[type='email'],.subscribe-success .gdpr-confirm-policy,.subscribe-success .ct-newsletter-subscribe-description{display:none}.subscribe-success .ct-newsletter-subscribe-message{display:block}
|
framework/extensions/newsletter-subscribe/static/sass/single-block.scss
CHANGED
|
@@ -39,7 +39,6 @@
|
|
| 39 |
.ct-newsletter-subscribe-block,
|
| 40 |
.ct-newsletter-subscribe-widget [data-container='boxed'] {
|
| 41 |
padding: var(--padding, 30px);
|
| 42 |
-
background: var(--backgroundColor, #fff);
|
| 43 |
box-shadow: var(--box-shadow, 0px 12px 18px -6px rgba(34, 56, 101, 0.04));
|
| 44 |
}
|
| 45 |
|
|
@@ -49,6 +48,8 @@
|
|
| 49 |
margin-top: 60px;
|
| 50 |
text-align: center;
|
| 51 |
color: var(--color);
|
|
|
|
|
|
|
| 52 |
--linkInitialColor: var(--color);
|
| 53 |
|
| 54 |
> * {
|
| 39 |
.ct-newsletter-subscribe-block,
|
| 40 |
.ct-newsletter-subscribe-widget [data-container='boxed'] {
|
| 41 |
padding: var(--padding, 30px);
|
|
|
|
| 42 |
box-shadow: var(--box-shadow, 0px 12px 18px -6px rgba(34, 56, 101, 0.04));
|
| 43 |
}
|
| 44 |
|
| 48 |
margin-top: 60px;
|
| 49 |
text-align: center;
|
| 50 |
color: var(--color);
|
| 51 |
+
border: var(--newsletter-container-border, none);
|
| 52 |
+
border-radius: var(--border-radius, 0px);
|
| 53 |
--linkInitialColor: var(--color);
|
| 54 |
|
| 55 |
> * {
|
framework/extensions/product-reviews/extension.php
CHANGED
|
@@ -19,13 +19,15 @@ class BlocksyExtensionProductReviews {
|
|
| 19 |
get_the_ID()
|
| 20 |
);
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
$maybe_schema = blocksy_schema_org_definitions('itemReviewed', [
|
| 23 |
'to_merge' => [
|
| 24 |
-
'itemtype' => "https://schema.org/" .
|
| 25 |
-
'product_review_entity',
|
| 26 |
-
$atts,
|
| 27 |
-
'Thing'
|
| 28 |
-
)
|
| 29 |
]
|
| 30 |
]);
|
| 31 |
|
|
@@ -33,11 +35,84 @@ class BlocksyExtensionProductReviews {
|
|
| 33 |
return;
|
| 34 |
}
|
| 35 |
|
| 36 |
-
echo '<div ' . $maybe_schema . '>';
|
| 37 |
echo '<meta itemprop="name" content="' . get_the_title() . '">';
|
| 38 |
if (get_the_post_thumbnail_url()) {
|
| 39 |
echo '<meta itemprop="image" content="' . get_the_post_thumbnail_url() . '">';
|
| 40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
);
|
| 43 |
|
|
@@ -205,7 +280,7 @@ class BlocksyExtensionProductReviews {
|
|
| 205 |
['ct-main-styles'],
|
| 206 |
$data['Version']
|
| 207 |
);
|
| 208 |
-
});
|
| 209 |
|
| 210 |
add_filter('blocksy_single_posts_post_elements_start', function ($options, $prefix) {
|
| 211 |
if ($prefix !== 'blc-product-review_single') {
|
| 19 |
get_the_ID()
|
| 20 |
);
|
| 21 |
|
| 22 |
+
$product_review_entity = blocksy_akg(
|
| 23 |
+
'product_review_entity',
|
| 24 |
+
$atts,
|
| 25 |
+
'Thing'
|
| 26 |
+
);
|
| 27 |
+
|
| 28 |
$maybe_schema = blocksy_schema_org_definitions('itemReviewed', [
|
| 29 |
'to_merge' => [
|
| 30 |
+
'itemtype' => "https://schema.org/" . $product_review_entity
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
]
|
| 32 |
]);
|
| 33 |
|
| 35 |
return;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
echo '<div class="ct-item-review-meta" ' . $maybe_schema . '>';
|
| 39 |
echo '<meta itemprop="name" content="' . get_the_title() . '">';
|
| 40 |
if (get_the_post_thumbnail_url()) {
|
| 41 |
echo '<meta itemprop="image" content="' . get_the_post_thumbnail_url() . '">';
|
| 42 |
}
|
| 43 |
+
|
| 44 |
+
$product_description = blocksy_akg('product_description', $atts, '');
|
| 45 |
+
|
| 46 |
+
if (! empty($product_description)) {
|
| 47 |
+
echo blocksy_html_tag('meta', [
|
| 48 |
+
'itemprop' => 'description',
|
| 49 |
+
'content' => strip_tags($product_description)
|
| 50 |
+
]);
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
if ($product_review_entity === 'Product') {
|
| 54 |
+
$product_entity_sku = blocksy_akg('product_entity_sku', $atts, '');
|
| 55 |
+
$product_entity_brand = blocksy_akg('product_entity_brand', $atts, '');
|
| 56 |
+
$product_entity_price = blocksy_akg('product_entity_price', $atts, '');
|
| 57 |
+
|
| 58 |
+
if (! empty($product_entity_sku)) {
|
| 59 |
+
echo blocksy_html_tag('meta', [
|
| 60 |
+
'itemprop' => 'sku',
|
| 61 |
+
'content' => $product_entity_sku
|
| 62 |
+
]);
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
if (! empty($product_entity_brand)) {
|
| 66 |
+
echo blocksy_html_tag(
|
| 67 |
+
'div',
|
| 68 |
+
[
|
| 69 |
+
'itemprop' => 'brand',
|
| 70 |
+
'itemscope' => '',
|
| 71 |
+
'itemtype' => 'https://schema.org/Brand'
|
| 72 |
+
],
|
| 73 |
+
blocksy_html_tag(
|
| 74 |
+
'meta',
|
| 75 |
+
[
|
| 76 |
+
'itemprop' => 'name',
|
| 77 |
+
'content' => $product_entity_brand
|
| 78 |
+
]
|
| 79 |
+
)
|
| 80 |
+
);
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
$product_link = blocksy_akg('product_link', $atts, '#');
|
| 84 |
+
|
| 85 |
+
$offers_contents = '';
|
| 86 |
+
|
| 87 |
+
if (! empty($product_link)) {
|
| 88 |
+
$offers_contents .= blocksy_html_tag('link', [
|
| 89 |
+
'itemprop' => 'url',
|
| 90 |
+
'href' => $product_link
|
| 91 |
+
]);
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
$offers_contents .= blocksy_html_tag('meta', [
|
| 95 |
+
'itemprop' => 'availability',
|
| 96 |
+
'content' => 'https://schema.org/InStock'
|
| 97 |
+
]);
|
| 98 |
+
|
| 99 |
+
if (! empty($product_entity_price)) {
|
| 100 |
+
$offers_contents .= blocksy_html_tag('meta', [
|
| 101 |
+
'itemprop' => 'price',
|
| 102 |
+
'content' => $product_entity_price
|
| 103 |
+
]);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
echo blocksy_html_tag(
|
| 107 |
+
'div',
|
| 108 |
+
[
|
| 109 |
+
'itemprop' => 'offers',
|
| 110 |
+
'itemscope' => '',
|
| 111 |
+
'itemtype' => 'https://schema.org/Offer'
|
| 112 |
+
],
|
| 113 |
+
$offers_contents
|
| 114 |
+
);
|
| 115 |
+
}
|
| 116 |
}
|
| 117 |
);
|
| 118 |
|
| 280 |
['ct-main-styles'],
|
| 281 |
$data['Version']
|
| 282 |
);
|
| 283 |
+
}, 50);
|
| 284 |
|
| 285 |
add_filter('blocksy_single_posts_post_elements_start', function ($options, $prefix) {
|
| 286 |
if ($prefix !== 'blc-product-review_single') {
|
framework/extensions/product-reviews/metabox.php
CHANGED
|
@@ -15,6 +15,7 @@ $options = [
|
|
| 15 |
'choices' => blocksy_ordered_keys(
|
| 16 |
[
|
| 17 |
'Thing' => __( 'Default', 'blc' ),
|
|
|
|
| 18 |
'Book' => __( 'Book', 'blc' ),
|
| 19 |
// 'Course' => __( 'Course', 'blc' ),
|
| 20 |
'CreativeWorkSeason' => __( 'Creative Work Season', 'blc' ),
|
|
@@ -29,7 +30,6 @@ $options = [
|
|
| 29 |
'MusicPlaylist' => __( 'Music Playlist', 'blc' ),
|
| 30 |
'MusicRecording' => __( 'Music Recording', 'blc' ),
|
| 31 |
'Organization' => __( 'Organization', 'blc' ),
|
| 32 |
-
// 'Product' => __( 'Product', 'blc' ),
|
| 33 |
// 'Recipe' => __( 'Recipe', 'blc' ),
|
| 34 |
// 'SoftwareApplication' => __( 'Software Application', 'blc' ),
|
| 35 |
]
|
|
@@ -44,6 +44,33 @@ $options = [
|
|
| 44 |
),
|
| 45 |
],
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
blocksy_rand_md5() => [
|
| 48 |
'type' => 'ct-divider',
|
| 49 |
],
|
| 15 |
'choices' => blocksy_ordered_keys(
|
| 16 |
[
|
| 17 |
'Thing' => __( 'Default', 'blc' ),
|
| 18 |
+
'Product' => __( 'Product', 'blc' ),
|
| 19 |
'Book' => __( 'Book', 'blc' ),
|
| 20 |
// 'Course' => __( 'Course', 'blc' ),
|
| 21 |
'CreativeWorkSeason' => __( 'Creative Work Season', 'blc' ),
|
| 30 |
'MusicPlaylist' => __( 'Music Playlist', 'blc' ),
|
| 31 |
'MusicRecording' => __( 'Music Recording', 'blc' ),
|
| 32 |
'Organization' => __( 'Organization', 'blc' ),
|
|
|
|
| 33 |
// 'Recipe' => __( 'Recipe', 'blc' ),
|
| 34 |
// 'SoftwareApplication' => __( 'Software Application', 'blc' ),
|
| 35 |
]
|
| 44 |
),
|
| 45 |
],
|
| 46 |
|
| 47 |
+
blocksy_rand_md5() => [
|
| 48 |
+
'type' => 'ct-condition',
|
| 49 |
+
'condition' => ['product_review_entity' => 'Product'],
|
| 50 |
+
'options' => [
|
| 51 |
+
'product_entity_price' => [
|
| 52 |
+
'type' => 'text',
|
| 53 |
+
'label' => __('Product Price', 'blc'),
|
| 54 |
+
'design' => 'inline',
|
| 55 |
+
'value' => '',
|
| 56 |
+
],
|
| 57 |
+
|
| 58 |
+
'product_entity_sku' => [
|
| 59 |
+
'type' => 'text',
|
| 60 |
+
'label' => __('Product SKU', 'blc'),
|
| 61 |
+
'design' => 'inline',
|
| 62 |
+
'value' => ''
|
| 63 |
+
],
|
| 64 |
+
|
| 65 |
+
'product_entity_brand' => [
|
| 66 |
+
'type' => 'text',
|
| 67 |
+
'label' => __('Product Brand', 'blc'),
|
| 68 |
+
'design' => 'inline',
|
| 69 |
+
'value' => ''
|
| 70 |
+
],
|
| 71 |
+
]
|
| 72 |
+
],
|
| 73 |
+
|
| 74 |
blocksy_rand_md5() => [
|
| 75 |
'type' => 'ct-divider',
|
| 76 |
],
|
framework/extensions/product-reviews/static/bundle/main-admin.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main.min.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
.ct-product-hero .flexy-container{overflow:hidden}@media (max-width: 999.98px){.ct-product-hero .flexy-pills{--thumbs-spacing: 10px}}@media (min-width: 1000px){.ct-product-hero .flexy-pills{max-width:70%;margin:-8% auto 0 auto;--thumbs-spacing: 20px}}.ct-product-hero .flexy-pills ol{margin:0 calc(var(--thumbs-spacing) * -1)}.ct-product-hero .flexy-pills li{padding-top:var(--thumbs-spacing);padding-left:var(--thumbs-spacing);padding-right:var(--thumbs-spacing)}.ct-product-hero .flexy-pills li img{width:100%;border-radius:3px;border-radius:2px;border:3px solid #fff}.ct-product-hero .
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
.ct-product-hero .flexy-container{overflow:hidden}@media (max-width: 999.98px){.ct-product-hero .flexy-pills{--thumbs-spacing: 10px}}@media (min-width: 1000px){.ct-product-hero .flexy-pills{max-width:70%;margin:-8% auto 0 auto;--thumbs-spacing: 20px}}.ct-product-hero .flexy-pills ol{margin:0 calc(var(--thumbs-spacing) * -1)}.ct-product-hero .flexy-pills li{padding-top:var(--thumbs-spacing);padding-left:var(--thumbs-spacing);padding-right:var(--thumbs-spacing)}.ct-product-hero .flexy-pills li img{width:100%;border-radius:3px;border-radius:2px;border:3px solid #fff}.ct-product-hero .hero-section:not(:first-child){margin-top:var(--margin-bottom, 40px)}.ct-product-hero .ct-item-review-meta{display:none;visibility:hidden}.ct-product-scores{display:grid;grid-column-gap:25px;grid-row-gap:25px;margin:0 auto;max-width:var(--product-scores-width, 800px)}@media (min-width: 690px){.ct-product-scores{grid-template-columns:2fr 1fr}}.ct-product-scores:not(:last-child){margin-bottom:60px}.ct-product-scores li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 20px;background:rgba(243,243,243,0.5);border-radius:2px}.ct-product-scores li:hover{background:#f3f3f3}.ct-product-scores li>span{font-size:15px;font-weight:500}.ct-overall-score{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;color:var(--overall-score-text-color, #fff);border-radius:2px;background:var(--overall-score-box-background, #1A202C)}.ct-overall-score .ct-average-score{font-size:55px;font-weight:800;line-height:normal;margin-bottom:10px}.ct-overall-score .ct-score-label{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0.02em;margin:15px 0 0 0}.ct-overall-score-layer{display:flex;flex-wrap:wrap;align-items:center}.ct-overall-score-layer .ct-score-label,.ct-overall-score-layer .ct-average-score{font-size:14px;font-weight:600}.ct-overall-score-layer .ct-average-score{margin:0 5px;-webkit-margin-end:auto;margin-inline-end:auto}.ct-overall-score-layer .star-rating{margin:3px 0}.ct-product-actions-group{display:flex;align-items:center;justify-content:center}.ct-product-actions-group:not(:last-child){margin-bottom:60px}.ct-product-actions-group .ct-button:not(:last-child){-webkit-margin-end:25px;margin-inline-end:25px}.ct-product-actions-group .ct-icon-container{color:inherit;-webkit-margin-start:10px;margin-inline-start:10px}.ct-product-description:not(:last-child){margin-bottom:60px}.ct-product-info{display:grid;grid-template-columns:var(--grid-template-columns);grid-column-gap:40px;grid-row-gap:40px;border-top:1px solid #ececec;padding-top:var(--content-vertical-spacing, 60px)}@media (min-width: 1000px){.ct-product-info{--grid-template-columns: 1.5fr 1fr 1fr}}@media (min-width: 690px) and (max-width: 999.98px){.ct-product-info{--grid-template-columns: 1fr 1fr}}.ct-product-info li{position:relative;-webkit-padding-start:22px;padding-inline-start:22px}.ct-product-info .ct-icon-container{position:absolute;left:0;top:0.4em;opacity:0.8;--icon-size: 13px}@media (min-width: 690px) and (max-width: 999.98px){.ct-specs{grid-column:1/-1}}.ct-specs ul{display:grid;grid-column-gap:40px}@media (min-width: 690px){.ct-specs ul{grid-template-columns:repeat(2, 1fr)}}.ct-product-hero{padding-top:var(--content-vertical-spacing, 60px)}.ct-product-hero .ct-container{padding-bottom:var(--content-vertical-spacing, 60px);border-bottom:1px solid #ececec}.ct-product-hero ul{--listIndent: 0;--listStyleType: none;--content-spacing: 0}
|
framework/extensions/product-reviews/static/bundle/sync.js
CHANGED
|
@@ -1 +1,100 @@
|
|
| 1 |
-
!function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,o){"use strict";o.r(t);var r,n=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},c=function(e,t){var o=t.forcedOutput,r=void 0!==o&&o;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return r?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return r?"none":"CT_CSS_SKIP_RULE";var n=[];return e.inset&&n.push("inset"),n.push("".concat(e.h_offset,"px")),n.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(n.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&n.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(n.push("".concat(e.blur,"px")),n.push("".concat(e.spread,"px"))),n.push(e.color.color),n.join(" ")},a=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",r={desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"},n=document.querySelector("style#".concat(r[o])),c=n.innerText,a="".concat(e["".concat(o,"_selector_prefix")]?"".concat(e["".concat(o,"_selector_prefix")]," "):"").concat(e.selector||":root"),i=null,l=c.match(i);0===c.trim().indexOf(a)?(i=new RegExp("".concat(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(i)):(i=new RegExp("\\}\\s*?".concat(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(i)),l||(0===(c="".concat(c," ").concat(a," { }")).trim().indexOf(a)?(i=new RegExp("".concat(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(i)):(i=new RegExp("\\}\\s*?".concat(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(i))),n.innerText=c.replace(i,l[0].indexOf("--".concat(e.variable,":"))>-1?l[0].replace(new RegExp("--".concat(e.variable,":[\\s\\S]*?;"),"gm"),t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";")):l[0].replace(new RegExp("".concat(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{"),"gm"),"".concat(a," {").concat(t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";"))))},i=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",r=(e.type||"").indexOf("color")>-1?t["color"===e.type?"default":e.type.split(":")[1]].color:t;"border"===(e.type||"")&&(r=t&&"none"!==t.style?"".concat(t.width,"px ").concat(t.style," ").concat(t.color.color):"none"),"spacing"===(e.type||"")&&(r=n(t)),"box-shadow"===(e.type||"")&&(r=c(t,e)),a(e,"".concat(r).concat(e.unit||"").concat(e.important?" !important":""),o)},l=function(e,t){var o=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,o),t=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e}(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),i(e,t.desktop,"desktop"),i(e,t.tablet,"tablet"),i(e,t.mobile,"mobile")):i(e,t)},s=o(0);function p(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var u,d="blc-product-review_single";p(r={},"".concat(d,"_product_scores_width"),{selector:Object(s.applyPrefixFor)(".ct-product-scores",d),variable:"product-scores-width",unit:"px"}),p(r,"".concat(d,"_star_rating_color"),[{selector:Object(s.applyPrefixFor)(".ct-product-scores",d),variable:"star-rating-initial-color",type:"color:default"},{selector:Object(s.applyPrefixFor)(".ct-product-scores",d),variable:"star-rating-inactive-color",type:"color:inactive"}]),p(r,"".concat(d,"_overall_score_text"),[{selector:Object(s.applyPrefixFor)(".ct-product-scores",d),variable:"overall-score-text-color",type:"color:default"}]),p(r,"".concat(d,"_overall_score_backgroud"),[{selector:Object(s.applyPrefixFor)(".ct-product-scores",d),variable:"overall-score-box-background",type:"color:default"}]),u=r,wp.customize.bind("change",(function(e){return u[e.id]&&(Array.isArray(u[e.id])?u[e.id]:[u[e.id]]).map((function(t){return l(t,e())}))}))}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])h(a)||!m(a)?s+=" "+a:s+=" "+c(a);return s},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var i,s={};function c(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),T(n.showHidden)&&(n.showHidden=!1),T(n.depth)&&(n.depth=2),T(n.colors)&&(n.colors=!1),T(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),l(n,e,n.depth)}function a(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function u(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&x(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return v(o)||(o=l(e,o,n)),o}var i=function(e,t){if(T(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(e,r);if(i)return i;var s=Object.keys(r),c=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),w(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(r);if(0===s.length){if(x(r)){var a=r.name?": "+r.name:"";return e.stylize("[Function"+a+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(w(r))return p(r)}var u,m="",O=!1,_=["{","}"];(d(r)&&(O=!0,_=["[","]"]),x(r))&&(m=" [Function"+(r.name?": "+r.name:"")+"]");return b(r)&&(m=" "+RegExp.prototype.toString.call(r)),k(r)&&(m=" "+Date.prototype.toUTCString.call(r)),w(r)&&(m=" "+p(r)),0!==s.length||O&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=O?function(e,t,r,n,o){for(var i=[],s=0,c=t.length;s<c;++s)P(t,String(s))?i.push(f(e,t,r,n,String(s),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,r,n,o,!0))})),i}(e,r,n,c,s):s.map((function(t){return f(e,r,n,c,t,O)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,m,_)):_[0]+m+_[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,i){var s,c,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(c=e.stylize("[Setter]","special")),P(n,o)||(s="["+o+"]"),c||(e.seen.indexOf(a.value)<0?(c=h(r)?l(e,a.value,null):l(e,a.value,r-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),T(s)){if(i&&o.match(/^\d+$/))return c;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function d(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function h(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function T(e){return void 0===e}function b(e){return m(e)&&"[object RegExp]"===O(e)}function m(e){return"object"==typeof e&&null!==e}function k(e){return m(e)&&"[object Date]"===O(e)}function w(e){return m(e)&&("[object Error]"===O(e)||e instanceof Error)}function x(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(T(i)&&(i=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!s[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=e.pid;s[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else s[r]=function(){};return s[r]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=y,t.isNull=h,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=T,t.isRegExp=b,t.isObject=m,t.isDate=k,t.isError=w,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=r(4),t._extend=function(e,t){if(!t||!m(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function z(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=R,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,s=function(){return o.apply(i,arguments)};t.apply(this,r).then((function(t){e.nextTick(s,null,t)}),(function(t){e.nextTick(z,t,s)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(2))},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var a,u=[],l=!1,p=-1;function f(){l&&a&&(l=!1,a.length?u=a.concat(u):p=-1,u.length&&d())}function d(){if(!l){var e=c(f);l=!0;for(var t=u.length;t;){for(a=u,u=[];++p<t;)a&&a[p].run();p=-1,t=u.length}a=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new y(e,t)),1!==u.length||l||c(d)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},l=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e},p=function(e,t){var r=t.forcedOutput,n=void 0!==r&&r;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return n?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return n?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e,t){return e(t={exports:{}},t.exports),t.exports}var y=d((function(e,t){
|
| 2 |
+
/**
|
| 3 |
+
* @license
|
| 4 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 5 |
+
* This code may only be used under the BSD style license found at
|
| 6 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 7 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 8 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 9 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 10 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 11 |
+
*/
|
| 12 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.matcher={whitespace:/\s/,whitespaceGreedy:/(\s+)/g,commentGreedy:/(\*\/)/g,boundary:/[\(\)\{\}'"@;:\s]/,stringBoundary:/['"]/},function(e){e.stylesheet="stylesheet",e.comment="comment",e.atRule="atRule",e.ruleset="ruleset",e.expression="expression",e.declaration="declaration",e.rulelist="rulelist",e.discarded="discarded"}(t.nodeType||(t.nodeType={}))}));f(y);y.matcher,y.nodeType;var h=d((function(e,t){
|
| 13 |
+
/**
|
| 14 |
+
* @license
|
| 15 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 16 |
+
* This code may only be used under the BSD style license found at
|
| 17 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 18 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 19 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 20 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 21 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 22 |
+
*/
|
| 23 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=function*e(t){switch(yield t,t.type){case y.nodeType.stylesheet:for(const r of t.rules)yield*e(r);return;case y.nodeType.ruleset:return yield*e(t.rulelist);case y.nodeType.rulelist:for(const r of t.rules)yield*e(r);return;case y.nodeType.declaration:return void(void 0!==t.value&&(yield*e(t.value)));case y.nodeType.atRule:return void(t.rulelist&&(yield*e(t.rulelist)));case y.nodeType.expression:case y.nodeType.comment:case y.nodeType.discarded:return;default:const r=t;console.error("Got a node of unknown type: "+o.a.inspect(r))}}}));f(h);h.iterateOverAst;var g=d((function(e,t){
|
| 24 |
+
/**
|
| 25 |
+
* @license
|
| 26 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 27 |
+
* This code may only be used under the BSD style license found at
|
| 28 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 29 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 30 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 31 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 32 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 33 |
+
*/
|
| 34 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeFactory=class{stylesheet(e,t){return{type:y.nodeType.stylesheet,rules:e,range:t}}atRule(e,t,r,n,o,i){return{type:y.nodeType.atRule,name:e,parameters:t,rulelist:r,nameRange:n,parametersRange:o,range:i}}comment(e,t){return{type:y.nodeType.comment,value:e,range:t}}rulelist(e,t){return{type:y.nodeType.rulelist,rules:e,range:t}}ruleset(e,t,r,n){return{type:y.nodeType.ruleset,selector:e,rulelist:t,selectorRange:r,range:n}}declaration(e,t,r,n){return{type:y.nodeType.declaration,name:e,value:t,nameRange:r,range:n}}expression(e,t){return{type:y.nodeType.expression,text:e,range:t}}discarded(e,t){return{type:y.nodeType.discarded,text:e,range:t}}}}));f(g);g.NodeFactory;var v=d((function(e,t){
|
| 35 |
+
/**
|
| 36 |
+
* @license
|
| 37 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 38 |
+
* This code may only be used under the BSD style license found at
|
| 39 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 40 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 41 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 42 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 43 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 44 |
+
*/
|
| 45 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeVisitor=class{constructor(){this.path_=[]}get path(){return this.path_}visit(e){let t;return this[e.type]&&(this.path_.push(e),t=this[e.type](e),this.path_.pop()),t}}}));f(v);v.NodeVisitor;var T=d((function(e,t){var r;
|
| 46 |
+
/**
|
| 47 |
+
* @license
|
| 48 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 49 |
+
* This code may only be used under the BSD style license found at
|
| 50 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 51 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 52 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 53 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 54 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 55 |
+
*/
|
| 56 |
+
Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.whitespace=Math.pow(2,0)]="whitespace",e[e.string=Math.pow(2,1)]="string",e[e.comment=Math.pow(2,2)]="comment",e[e.word=Math.pow(2,3)]="word",e[e.boundary=Math.pow(2,4)]="boundary",e[e.propertyBoundary=Math.pow(2,5)]="propertyBoundary",e[e.openParenthesis=Math.pow(2,6)|e.boundary]="openParenthesis",e[e.closeParenthesis=Math.pow(2,7)|e.boundary]="closeParenthesis",e[e.at=Math.pow(2,8)|e.boundary]="at",e[e.openBrace=Math.pow(2,9)|e.boundary]="openBrace",e[e.closeBrace=Math.pow(2,10)|e.propertyBoundary|e.boundary]="closeBrace",e[e.semicolon=Math.pow(2,11)|e.propertyBoundary|e.boundary]="semicolon",e[e.colon=Math.pow(2,12)|e.boundary|e.word]="colon",e[e.hyphen=Math.pow(2,13)]="hyphen",e[e.underscore=Math.pow(2,14)]="underscore"}(r=t.TokenType||(t.TokenType={}));class n{constructor(e,t,r){this.type=e,this.start=t,this.end=r,this.previous=null,this.next=null}is(e){return(this.type&e)===e}}n.type=r,t.Token=n;const o={"(":n.type.openParenthesis,")":n.type.closeParenthesis,":":n.type.colon,"@":n.type.at,"{":n.type.openBrace,"}":n.type.closeBrace,";":n.type.semicolon,"-":n.type.hyphen,_:n.type.underscore};t.boundaryTokenTypes=o}));f(T);T.TokenType,T.Token,T.boundaryTokenTypes;var b=d((function(e,t){
|
| 57 |
+
/**
|
| 58 |
+
* @license
|
| 59 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 60 |
+
* This code may only be used under the BSD style license found at
|
| 61 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 62 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 63 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 64 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 65 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 66 |
+
*/
|
| 67 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Tokenizer=class{constructor(e){this.cursorToken_=new T.Token(T.Token.type.none,0,0),this.currentToken_=null,this.cssText=e}get offset(){return this.cursorToken_.end}get currentToken(){return null==this.currentToken_&&(this.currentToken_=this.getNextToken_()),this.currentToken_}advance(){let e;return null!=this.currentToken_?(e=this.currentToken_,this.currentToken_=null):e=this.getNextToken_(),e}slice(e,t){const{start:r,end:n}=this.getRange(e,t);return this.cssText.substring(r,n)}getRange(e,t){return{start:e.start,end:(t||e).end}}trimRange({start:e,end:t}){for(;e<=t&&/\s/.test(this.cssText.charAt(e));)e++;for(;e<=t&&t>0&&/\s/.test(this.cssText.charAt(t-1));)t--;return{start:e,end:t}}flush(){const e=[];for(;this.currentToken;)e.push(this.advance());return e}getNextToken_(){const e=this.cssText[this.offset];let t;return this.currentToken_=null,this.offset>=this.cssText.length?null:(t=y.matcher.whitespace.test(e)?this.tokenizeWhitespace(this.offset):y.matcher.stringBoundary.test(e)?this.tokenizeString(this.offset):"/"===e&&"*"===this.cssText[this.offset+1]?this.tokenizeComment(this.offset):y.matcher.boundary.test(e)?this.tokenizeBoundary(this.offset):this.tokenizeWord(this.offset),t.previous=this.cursorToken_,this.cursorToken_.next=t,this.cursorToken_=t,t)}tokenizeString(e){const t=this.cssText[e];let r=!1;const n=e;let o;for(;o=this.cssText[++e];)if(r)r=!1;else{if(o===t){++e;break}"\\"===o&&(r=!0)}return new T.Token(T.Token.type.string,n,e)}tokenizeWord(e){const t=e;let r;for(;(r=this.cssText[e])&&!y.matcher.boundary.test(r);)e++;return new T.Token(T.Token.type.word,t,e)}tokenizeWhitespace(e){const t=e;y.matcher.whitespaceGreedy.lastIndex=e;const r=y.matcher.whitespaceGreedy.exec(this.cssText);return null!=r&&r.index===e&&(e=y.matcher.whitespaceGreedy.lastIndex),new T.Token(T.Token.type.whitespace,t,e)}tokenizeComment(e){const t=e;return y.matcher.commentGreedy.lastIndex=e,e=null==y.matcher.commentGreedy.exec(this.cssText)?this.cssText.length:y.matcher.commentGreedy.lastIndex,new T.Token(T.Token.type.comment,t,e)}tokenizeBoundary(e){const t=T.boundaryTokenTypes[this.cssText[e]]||T.Token.type.boundary;return new T.Token(t,e,e+1)}}}));f(b);b.Tokenizer;var m=d((function(e,t){
|
| 68 |
+
/**
|
| 69 |
+
* @license
|
| 70 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 71 |
+
* This code may only be used under the BSD style license found at
|
| 72 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 73 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 74 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 75 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 76 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 77 |
+
*/
|
| 78 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Parser=class{constructor(e=new g.NodeFactory){this.nodeFactory=e}parse(e){return this.parseStylesheet(new b.Tokenizer(e))}parseStylesheet(e){return this.nodeFactory.stylesheet(this.parseRules(e),{start:0,end:e.cssText.length})}parseRules(e){const t=[];for(;e.currentToken;){const r=this.parseRule(e);r&&t.push(r)}return t}parseRule(e){const t=e.currentToken;return null===t?null:t.is(T.Token.type.whitespace)?(e.advance(),null):t.is(T.Token.type.comment)?this.parseComment(e):t.is(T.Token.type.word)?this.parseDeclarationOrRuleset(e):t.is(T.Token.type.propertyBoundary)?this.parseUnknown(e):t.is(T.Token.type.at)?this.parseAtRule(e):this.parseUnknown(e)}parseComment(e){const t=e.advance();return null===t?null:this.nodeFactory.comment(e.slice(t),{start:t.start,end:t.end})}parseUnknown(e){const t=e.advance();let r;if(null===t)return null;for(;e.currentToken&&e.currentToken.is(T.Token.type.boundary);)r=e.advance();return this.nodeFactory.discarded(e.slice(t,r),e.getRange(t,r))}parseAtRule(e){let t=void 0,r=void 0,n=void 0,o=void 0,i=void 0;if(!e.currentToken)return null;const s=e.currentToken.start;for(;e.currentToken;)if(e.currentToken.is(T.Token.type.whitespace))e.advance();else if(!t&&e.currentToken.is(T.Token.type.at)){e.advance();const n=e.currentToken;let o;for(;e.currentToken&&e.currentToken.is(T.Token.type.word);)o=e.advance();r=e.getRange(n,o),t=e.cssText.slice(r.start,r.end)}else{if(e.currentToken.is(T.Token.type.openBrace)){n=this.parseRulelist(e);break}if(e.currentToken.is(T.Token.type.propertyBoundary)){e.advance();break}null==o?o=e.advance():i=e.advance()}if(void 0===t||void 0===r)return null;let c=void 0,a="";o&&(c=e.trimRange(e.getRange(o,i)),a=e.cssText.slice(c.start,c.end));const u=e.currentToken?e.currentToken.previous.end:e.cssText.length;return this.nodeFactory.atRule(t,a,n,r,c,{start:s,end:u})}parseRulelist(e){const t=[],r=e.currentToken.start;let n;for(e.advance();e.currentToken;){if(e.currentToken.is(T.Token.type.closeBrace)){n=e.currentToken,e.advance();break}{const r=this.parseRule(e);r&&t.push(r)}}const o=n?n.end:e.cssText.length;return this.nodeFactory.rulelist(t,{start:r,end:o})}parseDeclarationOrRuleset(e){let t=null,r=null,n=null;for(;e.currentToken;)if(e.currentToken.is(T.Token.type.whitespace))e.advance();else if(e.currentToken.is(T.Token.type.openParenthesis))for(;e.currentToken&&!e.currentToken.is(T.Token.type.closeParenthesis);)e.advance();else{if(e.currentToken.is(T.Token.type.openBrace)||e.currentToken.is(T.Token.type.propertyBoundary))break;e.currentToken.is(T.Token.type.colon)&&(n=e.currentToken),null===t?(t=e.advance(),r=t):r=e.advance()}if(null===e.currentToken)return null;if(e.currentToken.is(T.Token.type.propertyBoundary)){const o=e.getRange(t,n?n.previous:r),i=e.cssText.slice(o.start,o.end);let s=void 0;if(n&&n.next){const t=e.getRange(n.next,r),o=e.trimRange(t),i=e.cssText.slice(o.start,o.end);s=this.nodeFactory.expression(i,o)}e.currentToken.is(T.Token.type.semicolon)&&e.advance();const c=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,s,o,c)}if(n&&n===r){const n=this.parseRulelist(e);e.currentToken.is(T.Token.type.semicolon)&&e.advance();const o=e.getRange(t,r.previous),i=e.cssText.slice(o.start,o.end),s=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,n,o,s)}{const n=e.getRange(t,r),o=e.cssText.slice(n.start,n.end),i=this.parseRulelist(e),s=t.start;let c;return c=e.currentToken?e.currentToken.previous?e.currentToken.previous.end:t.end:e.cssText.length,this.nodeFactory.ruleset(o,i,n,{start:s,end:c})}}}}));f(m);m.Parser;var k=d((function(e,t){
|
| 79 |
+
/**
|
| 80 |
+
* @license
|
| 81 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 82 |
+
* This code may only be used under the BSD style license found at
|
| 83 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 84 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 85 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 86 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 87 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 88 |
+
*/
|
| 89 |
+
Object.defineProperty(t,"__esModule",{value:!0});class r extends v.NodeVisitor{stringify(e){return this.visit(e)||""}[y.nodeType.stylesheet](e){let t="";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t}[y.nodeType.atRule](e){return"@"+e.name+(e.parameters?" "+e.parameters:"")+(e.rulelist?""+this.visit(e.rulelist):";")}[y.nodeType.rulelist](e){let t="{";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t+"}"}[y.nodeType.comment](e){return""+e.value}[y.nodeType.ruleset](e){return`${e.selector}${this.visit(e.rulelist)}`}[y.nodeType.declaration](e){return null!=e.value?`${e.name}:${this.visit(e.value)};`:e.name+";"}[y.nodeType.expression](e){return""+e.text}[y.nodeType.discarded](e){return""}}t.Stringifier=r}));f(k);k.Stringifier;var w=d((function(e,t){
|
| 90 |
+
/**
|
| 91 |
+
* @license
|
| 92 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 93 |
+
* This code may only be used under the BSD style license found at
|
| 94 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 95 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 96 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 97 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 98 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 99 |
+
*/
|
| 100 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=h.iterateOverAst,t.nodeType=y.nodeType,t.NodeFactory=g.NodeFactory,t.NodeVisitor=v.NodeVisitor,t.Parser=m.Parser,t.Stringifier=k.Stringifier,t.Token=T.Token,t.Tokenizer=b.Tokenizer}));f(w);w.iterateOverAst,w.nodeType,w.NodeFactory,w.NodeVisitor;var x,O=w.Parser,_=w.Stringifier,S=(w.Token,w.Tokenizer,{desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"}),j={desktop:{ast:{}},tablet:{ast:{}},mobile:{ast:{}}},P=function(e){return e&&"[object Function]"==={}.toString.call(e)},R=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n="".concat(e["".concat(r,"_selector_prefix")]?"".concat(e["".concat(r,"_selector_prefix")]," "):"").concat(e.selector||":root"),o="--";"property"===e.variableType&&(o="");var i="".concat(o).concat(P(e.variable)?e.variable():e.variable),s=j[r].ast.rules.find((function(e){return e.selector===n})),u=j[r].ast.rules.find((function(e){var t=e.type,r=e.rulelist;return"ruleset"===t&&r.rules.length>0})),l=c({},j[r].ast,{rules:s?j[r].ast.rules.map((function(e){if(e.selector!==n)return e;if(t.indexOf("CT_CSS_SKIP_RULE")>-1)return c({},e,{rulelist:c({},e.rulelist,{rules:e.rulelist.rules.filter((function(e){return e.name!==i}))})});var r=e.rulelist.rules.find((function(e){return e.name===i}));return c({},e,{rulelist:c({},e.rulelist,{rules:r?e.rulelist.rules.map((function(e){return e.name===i?c({},e,{value:c({},e.value,{text:t})}):e})):[].concat(a(e.rulelist.rules),[c({},u.rulelist.rules[0],{name:i,value:c({},u.rulelist.rules[0].value,{text:t})})])})})})):[].concat(a(j[r].ast.rules),[c({},u,{selector:n,rulelist:c({},u.rulelist,{rules:[c({},u.rulelist.rules[0],{name:i,value:c({},u.rulelist.rules[0].value,{text:t})})]})})])}),p=new _;j[r].ast=l,document.querySelector("style#".concat(S[r])).innerText=p.stringify(l)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.variableDescriptor,r=e.value,n=e.device,o=void 0===n?"desktop":n,i=e.customReplaceVariableInStyleTag,s=void 0===i?null:i,c=(t.type||"").indexOf("color")>-1?r["color"===t.type?"default":t.type.split(":")[1]].color:r;"border"===(t.type||"")&&(c=r&&"none"!==r.style?"".concat(r.width,"px ").concat(r.style," ").concat(r.color.color):"none",t.skip_none&&"none"===c&&(c="CT_CSS_SKIP_RULE")),"spacing"===(t.type||"")&&(c=u(r)),"box-shadow"===(t.type||"")&&(c=p(r,t)),s?s({replaceVariableInStyleTag:R,variableDescriptor:t,value:"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),device:o}):R(t,"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),o)},F=r(0);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var M,D="blc-product-review_single";E(x={},"".concat(D,"_product_scores_width"),{selector:Object(F.applyPrefixFor)(".ct-product-scores",D),variable:"product-scores-width",unit:"px"}),E(x,"".concat(D,"_star_rating_color"),[{selector:Object(F.applyPrefixFor)(".ct-product-scores",D),variable:"star-rating-initial-color",type:"color:default"},{selector:Object(F.applyPrefixFor)(".ct-product-scores",D),variable:"star-rating-inactive-color",type:"color:inactive"}]),E(x,"".concat(D,"_overall_score_text"),[{selector:Object(F.applyPrefixFor)(".ct-product-scores",D),variable:"overall-score-text-color",type:"color:default"}]),E(x,"".concat(D,"_overall_score_backgroud"),[{selector:Object(F.applyPrefixFor)(".ct-product-scores",D),variable:"overall-score-box-background",type:"color:default"}]),M=x,Object.keys(S).map((function(e){var t=document.querySelector("style#".concat(S[e]));if(t){var r=t.innerText,n=new O,o=(new _,n.parse(r));j[e].ast=o}})),wp.customize.bind("change",(function(e){if(M[e.id]){var t=M[e.id];P(t)&&(t=t(e())),Array.isArray(t)||(t=[t]),t.map((function(t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=l(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),z({variableDescriptor:e,value:t.desktop,device:"desktop",customReplaceVariableInStyleTag:r}),z({variableDescriptor:e,value:t.tablet,device:"tablet",customReplaceVariableInStyleTag:r}),z({variableDescriptor:e,value:t.mobile,device:"mobile",customReplaceVariableInStyleTag:r})):z({variableDescriptor:e,value:t,customReplaceVariableInStyleTag:r})}(t,e())}))}}))}]);
|
framework/extensions/product-reviews/static/sass/main.scss
CHANGED
|
@@ -18,6 +18,6 @@
|
|
| 18 |
--listIndent: 0;
|
| 19 |
// --listItemSpacing: 0;
|
| 20 |
--listStyleType: none;
|
| 21 |
-
--
|
| 22 |
}
|
| 23 |
}
|
| 18 |
--listIndent: 0;
|
| 19 |
// --listItemSpacing: 0;
|
| 20 |
--listStyleType: none;
|
| 21 |
+
--content-spacing: 0;
|
| 22 |
}
|
| 23 |
}
|
framework/extensions/product-reviews/static/sass/title.scss
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
.ct-product-hero {
|
| 2 |
|
| 3 |
-
.
|
| 4 |
-
margin-top: var(--margin-bottom, 40px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
}
|
| 1 |
.ct-product-hero {
|
| 2 |
|
| 3 |
+
.hero-section:not(:first-child) {
|
| 4 |
+
margin-top: var(--margin-bottom, 40px);
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.ct-item-review-meta {
|
| 8 |
+
display: none;
|
| 9 |
+
visibility: hidden;
|
| 10 |
}
|
| 11 |
}
|
framework/extensions/trending/extension.php
CHANGED
|
@@ -19,7 +19,7 @@ class BlocksyExtensionTrending
|
|
| 19 |
[ 'ct-main-styles' ],
|
| 20 |
$data['Version']
|
| 21 |
);
|
| 22 |
-
} );
|
| 23 |
add_filter( 'blocksy:frontend:dynamic-js-chunks', function ( $chunks ) {
|
| 24 |
$chunks[] = [
|
| 25 |
'id' => 'blocksy_ext_trending',
|
| 19 |
[ 'ct-main-styles' ],
|
| 20 |
$data['Version']
|
| 21 |
);
|
| 22 |
+
}, 50 );
|
| 23 |
add_filter( 'blocksy:frontend:dynamic-js-chunks', function ( $chunks ) {
|
| 24 |
$chunks[] = [
|
| 25 |
'id' => 'blocksy_ext_trending',
|
framework/extensions/trending/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/trending/static/bundle/sync.js
CHANGED
|
@@ -1 +1,100 @@
|
|
| 1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,n){"use strict";n.r(t);var o,r=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},c=function(e,t){var n=t.forcedOutput,o=void 0!==n&&n;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return o?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return o?"none":"CT_CSS_SKIP_RULE";var r=[];return e.inset&&r.push("inset"),r.push("".concat(e.h_offset,"px")),r.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(r.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&r.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(r.push("".concat(e.blur,"px")),r.push("".concat(e.spread,"px"))),r.push(e.color.color),r.join(" ")},i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",o={desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"},r=document.querySelector("style#".concat(o[n])),c=r.innerText,i="".concat(e["".concat(n,"_selector_prefix")]?"".concat(e["".concat(n,"_selector_prefix")]," "):"").concat(e.selector||":root"),a=null,l=c.match(a);0===c.trim().indexOf(i)?(a=new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)):(a=new RegExp("\\}\\s*?".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)),l||(0===(c="".concat(c," ").concat(i," { }")).trim().indexOf(i)?(a=new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a)):(a=new RegExp("\\}\\s*?".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{[\\s\\S]*?}"),"gm"),l=c.match(a))),r.innerText=c.replace(a,l[0].indexOf("--".concat(e.variable,":"))>-1?l[0].replace(new RegExp("--".concat(e.variable,":[\\s\\S]*?;"),"gm"),t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";")):l[0].replace(new RegExp("".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"\\s?{"),"gm"),"".concat(i," {").concat(t.indexOf("CT_CSS_SKIP_RULE")>-1||t.indexOf(e.variable)>-1?"":"--".concat(e.variable,": ").concat(t,";"))))},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",o=(e.type||"").indexOf("color")>-1?t["color"===e.type?"default":e.type.split(":")[1]].color:t;"border"===(e.type||"")&&(o=t&&"none"!==t.style?"".concat(t.width,"px ").concat(t.style," ").concat(t.color.color):"none"),"spacing"===(e.type||"")&&(o=r(t)),"box-shadow"===(e.type||"")&&(o=c(t,e)),i(e,"".concat(o).concat(e.unit||"").concat(e.important?" !important":""),n)},l=function(e,t){var n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e}(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),a(e,t.desktop,"desktop"),a(e,t.tablet,"tablet"),a(e,t.mobile,"mobile")):a(e,t)},s=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o=u(u({trendingBlockContainerSpacing:{selector:".ct-trending-block",variable:"padding",responsive:!0,unit:""}},Object(s.typographyOption)({id:"trendingBlockPostsFont",selector:".ct-trending-block .ct-item-title"})),{},{trendingBlockFontColor:[{selector:".ct-trending-block",variable:"color",type:"color:default",responsive:!0},{selector:".ct-trending-block",variable:"linkHoverColor",type:"color:hover",responsive:!0}]},Object(s.handleBackgroundOptionFor)({id:"trending_block_background",selector:".ct-trending-block",responsive:!0})),wp.customize.bind("change",(function(e){return o[e.id]&&(Array.isArray(o[e.id])?o[e.id]:[o[e.id]]).map((function(t){return l(t,e())}))})),wp.customize("trending_block_visibility",(function(e){return e.bind((function(e){return Object(s.responsiveClassesFor)("trending_block_visibility",document.querySelector(".ct-trending-block"))}))})),wp.customize("trending_block_label",(function(e){return e.bind((function(e){var t=document.querySelector(".ct-trending-block .ct-block-title");if(t){var n=t.innerHTML.split("<svg");n[0]=e,t.innerHTML=n.join("<svg")}}))}))}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t){e.exports=window.blocksyCustomizerSync},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),u=n[r];r<i;u=n[++r])h(u)||!m(u)?s+=" "+u:s+=" "+c(u);return s},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var i,s={};function c(e,r){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function a(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=l(e,o,n)),o}var i=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(e,r);if(i)return i;var s=Object.keys(r),c=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),w(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(r);if(0===s.length){if(O(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(T(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(w(r))return p(r)}var a,m="",x=!1,_=["{","}"];(d(r)&&(x=!0,_=["[","]"]),O(r))&&(m=" [Function"+(r.name?": "+r.name:"")+"]");return T(r)&&(m=" "+RegExp.prototype.toString.call(r)),k(r)&&(m=" "+Date.prototype.toUTCString.call(r)),w(r)&&(m=" "+p(r)),0!==s.length||x&&0!=r.length?n<0?T(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),a=x?function(e,t,r,n,o){for(var i=[],s=0,c=t.length;s<c;++s)P(t,String(s))?i.push(f(e,t,r,n,String(s),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,r,n,o,!0))})),i}(e,r,n,c,s):s.map((function(t){return f(e,r,n,c,t,x)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(a,m,_)):_[0]+m+_[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o,i){var s,c,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(c=e.stylize("[Setter]","special")),P(n,o)||(s="["+o+"]"),c||(e.seen.indexOf(u.value)<0?(c=h(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),v(s)){if(i&&o.match(/^\d+$/))return c;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function d(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function h(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function v(e){return void 0===e}function T(e){return m(e)&&"[object RegExp]"===x(e)}function m(e){return"object"==typeof e&&null!==e}function k(e){return m(e)&&"[object Date]"===x(e)}function w(e){return m(e)&&("[object Error]"===x(e)||e instanceof Error)}function O(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(v(i)&&(i=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!s[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=e.pid;s[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else s[r]=function(){};return s[r]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=y,t.isNull=h,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=T,t.isObject=m,t.isDate=k,t.isError=w,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",S(),t.format.apply(t,arguments))},t.inherits=r(4),t._extend=function(e,t){if(!t||!m(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function z(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=R,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var o=r.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,s=function(){return o.apply(i,arguments)};t.apply(this,r).then((function(t){e.nextTick(s,null,t)}),(function(t){e.nextTick(z,t,s)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(2))},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,a=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?a=u.concat(a):p=-1,a.length&&d())}function d(){if(!l){var e=c(f);l=!0;for(var t=a.length;t;){for(u=a,a=[];++p<t;)u&&u[p].run();p=-1,t=a.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new y(e,t)),1!==a.length||l||c(d)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var a=function(e){if([e.top,e.right,e.bottom,e.left].reduce((function(e,t){return!!e&&!("auto"!==t&&t&&t.toString().match(/\d/g))}),!0))return"CT_CSS_SKIP_RULE";var t=["auto"!==e.top&&e.top.toString().match(/\d/g)?e.top:0,"auto"!==e.right&&e.right.toString().match(/\d/g)?e.right:0,"auto"!==e.bottom&&e.bottom.toString().match(/\d/g)?e.bottom:0,"auto"!==e.left&&e.left.toString().match(/\d/g)?e.left:0];return t[0]===t[1]&&t[0]===t[2]&&t[0]===t[3]?t[0]:t[0]===t[2]&&t[1]===t[3]?"".concat(t[0]," ").concat(t[3]):t.join(" ")},l=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&Object.keys(e).indexOf("desktop")>-1?t?e:e.desktop:t?{desktop:e,tablet:e,mobile:e}:e},p=function(e,t){var r=t.forcedOutput,n=void 0!==r&&r;if("CT_CSS_SKIP_RULE"===e)return"CT_CSS_SKIP_RULE";if("none"===e)return"none";if(!e.enable)return n?"none":"CT_CSS_SKIP_RULE";if(0===parseFloat(e.blur)&&0===parseFloat(e.spread)&&0===parseFloat(e.v_offset)&&0===parseFloat(e.h_offset))return n?"none":"CT_CSS_SKIP_RULE";var o=[];return e.inset&&o.push("inset"),o.push("".concat(e.h_offset,"px")),o.push("".concat(e.v_offset,"px")),0!==parseFloat(e.blur)&&(o.push("".concat(e.blur,"px")),0!==parseFloat(e.spread)&&o.push("".concat(e.spread,"px"))),0===parseFloat(e.blur)&&0!==parseFloat(e.spread)&&(o.push("".concat(e.blur,"px")),o.push("".concat(e.spread,"px"))),o.push(e.color.color),o.join(" ")};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e,t){return e(t={exports:{}},t.exports),t.exports}var y=d((function(e,t){
|
| 2 |
+
/**
|
| 3 |
+
* @license
|
| 4 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 5 |
+
* This code may only be used under the BSD style license found at
|
| 6 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 7 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 8 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 9 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 10 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 11 |
+
*/
|
| 12 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.matcher={whitespace:/\s/,whitespaceGreedy:/(\s+)/g,commentGreedy:/(\*\/)/g,boundary:/[\(\)\{\}'"@;:\s]/,stringBoundary:/['"]/},function(e){e.stylesheet="stylesheet",e.comment="comment",e.atRule="atRule",e.ruleset="ruleset",e.expression="expression",e.declaration="declaration",e.rulelist="rulelist",e.discarded="discarded"}(t.nodeType||(t.nodeType={}))}));f(y);y.matcher,y.nodeType;var h=d((function(e,t){
|
| 13 |
+
/**
|
| 14 |
+
* @license
|
| 15 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 16 |
+
* This code may only be used under the BSD style license found at
|
| 17 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 18 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 19 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 20 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 21 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 22 |
+
*/
|
| 23 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=function*e(t){switch(yield t,t.type){case y.nodeType.stylesheet:for(const r of t.rules)yield*e(r);return;case y.nodeType.ruleset:return yield*e(t.rulelist);case y.nodeType.rulelist:for(const r of t.rules)yield*e(r);return;case y.nodeType.declaration:return void(void 0!==t.value&&(yield*e(t.value)));case y.nodeType.atRule:return void(t.rulelist&&(yield*e(t.rulelist)));case y.nodeType.expression:case y.nodeType.comment:case y.nodeType.discarded:return;default:const r=t;console.error("Got a node of unknown type: "+o.a.inspect(r))}}}));f(h);h.iterateOverAst;var g=d((function(e,t){
|
| 24 |
+
/**
|
| 25 |
+
* @license
|
| 26 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 27 |
+
* This code may only be used under the BSD style license found at
|
| 28 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 29 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 30 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 31 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 32 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 33 |
+
*/
|
| 34 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeFactory=class{stylesheet(e,t){return{type:y.nodeType.stylesheet,rules:e,range:t}}atRule(e,t,r,n,o,i){return{type:y.nodeType.atRule,name:e,parameters:t,rulelist:r,nameRange:n,parametersRange:o,range:i}}comment(e,t){return{type:y.nodeType.comment,value:e,range:t}}rulelist(e,t){return{type:y.nodeType.rulelist,rules:e,range:t}}ruleset(e,t,r,n){return{type:y.nodeType.ruleset,selector:e,rulelist:t,selectorRange:r,range:n}}declaration(e,t,r,n){return{type:y.nodeType.declaration,name:e,value:t,nameRange:r,range:n}}expression(e,t){return{type:y.nodeType.expression,text:e,range:t}}discarded(e,t){return{type:y.nodeType.discarded,text:e,range:t}}}}));f(g);g.NodeFactory;var b=d((function(e,t){
|
| 35 |
+
/**
|
| 36 |
+
* @license
|
| 37 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 38 |
+
* This code may only be used under the BSD style license found at
|
| 39 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 40 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 41 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 42 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 43 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 44 |
+
*/
|
| 45 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.NodeVisitor=class{constructor(){this.path_=[]}get path(){return this.path_}visit(e){let t;return this[e.type]&&(this.path_.push(e),t=this[e.type](e),this.path_.pop()),t}}}));f(b);b.NodeVisitor;var v=d((function(e,t){var r;
|
| 46 |
+
/**
|
| 47 |
+
* @license
|
| 48 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 49 |
+
* This code may only be used under the BSD style license found at
|
| 50 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 51 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 52 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 53 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 54 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 55 |
+
*/
|
| 56 |
+
Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.whitespace=Math.pow(2,0)]="whitespace",e[e.string=Math.pow(2,1)]="string",e[e.comment=Math.pow(2,2)]="comment",e[e.word=Math.pow(2,3)]="word",e[e.boundary=Math.pow(2,4)]="boundary",e[e.propertyBoundary=Math.pow(2,5)]="propertyBoundary",e[e.openParenthesis=Math.pow(2,6)|e.boundary]="openParenthesis",e[e.closeParenthesis=Math.pow(2,7)|e.boundary]="closeParenthesis",e[e.at=Math.pow(2,8)|e.boundary]="at",e[e.openBrace=Math.pow(2,9)|e.boundary]="openBrace",e[e.closeBrace=Math.pow(2,10)|e.propertyBoundary|e.boundary]="closeBrace",e[e.semicolon=Math.pow(2,11)|e.propertyBoundary|e.boundary]="semicolon",e[e.colon=Math.pow(2,12)|e.boundary|e.word]="colon",e[e.hyphen=Math.pow(2,13)]="hyphen",e[e.underscore=Math.pow(2,14)]="underscore"}(r=t.TokenType||(t.TokenType={}));class n{constructor(e,t,r){this.type=e,this.start=t,this.end=r,this.previous=null,this.next=null}is(e){return(this.type&e)===e}}n.type=r,t.Token=n;const o={"(":n.type.openParenthesis,")":n.type.closeParenthesis,":":n.type.colon,"@":n.type.at,"{":n.type.openBrace,"}":n.type.closeBrace,";":n.type.semicolon,"-":n.type.hyphen,_:n.type.underscore};t.boundaryTokenTypes=o}));f(v);v.TokenType,v.Token,v.boundaryTokenTypes;var T=d((function(e,t){
|
| 57 |
+
/**
|
| 58 |
+
* @license
|
| 59 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 60 |
+
* This code may only be used under the BSD style license found at
|
| 61 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 62 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 63 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 64 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 65 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 66 |
+
*/
|
| 67 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Tokenizer=class{constructor(e){this.cursorToken_=new v.Token(v.Token.type.none,0,0),this.currentToken_=null,this.cssText=e}get offset(){return this.cursorToken_.end}get currentToken(){return null==this.currentToken_&&(this.currentToken_=this.getNextToken_()),this.currentToken_}advance(){let e;return null!=this.currentToken_?(e=this.currentToken_,this.currentToken_=null):e=this.getNextToken_(),e}slice(e,t){const{start:r,end:n}=this.getRange(e,t);return this.cssText.substring(r,n)}getRange(e,t){return{start:e.start,end:(t||e).end}}trimRange({start:e,end:t}){for(;e<=t&&/\s/.test(this.cssText.charAt(e));)e++;for(;e<=t&&t>0&&/\s/.test(this.cssText.charAt(t-1));)t--;return{start:e,end:t}}flush(){const e=[];for(;this.currentToken;)e.push(this.advance());return e}getNextToken_(){const e=this.cssText[this.offset];let t;return this.currentToken_=null,this.offset>=this.cssText.length?null:(t=y.matcher.whitespace.test(e)?this.tokenizeWhitespace(this.offset):y.matcher.stringBoundary.test(e)?this.tokenizeString(this.offset):"/"===e&&"*"===this.cssText[this.offset+1]?this.tokenizeComment(this.offset):y.matcher.boundary.test(e)?this.tokenizeBoundary(this.offset):this.tokenizeWord(this.offset),t.previous=this.cursorToken_,this.cursorToken_.next=t,this.cursorToken_=t,t)}tokenizeString(e){const t=this.cssText[e];let r=!1;const n=e;let o;for(;o=this.cssText[++e];)if(r)r=!1;else{if(o===t){++e;break}"\\"===o&&(r=!0)}return new v.Token(v.Token.type.string,n,e)}tokenizeWord(e){const t=e;let r;for(;(r=this.cssText[e])&&!y.matcher.boundary.test(r);)e++;return new v.Token(v.Token.type.word,t,e)}tokenizeWhitespace(e){const t=e;y.matcher.whitespaceGreedy.lastIndex=e;const r=y.matcher.whitespaceGreedy.exec(this.cssText);return null!=r&&r.index===e&&(e=y.matcher.whitespaceGreedy.lastIndex),new v.Token(v.Token.type.whitespace,t,e)}tokenizeComment(e){const t=e;return y.matcher.commentGreedy.lastIndex=e,e=null==y.matcher.commentGreedy.exec(this.cssText)?this.cssText.length:y.matcher.commentGreedy.lastIndex,new v.Token(v.Token.type.comment,t,e)}tokenizeBoundary(e){const t=v.boundaryTokenTypes[this.cssText[e]]||v.Token.type.boundary;return new v.Token(t,e,e+1)}}}));f(T);T.Tokenizer;var m=d((function(e,t){
|
| 68 |
+
/**
|
| 69 |
+
* @license
|
| 70 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 71 |
+
* This code may only be used under the BSD style license found at
|
| 72 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 73 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 74 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 75 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 76 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 77 |
+
*/
|
| 78 |
+
Object.defineProperty(t,"__esModule",{value:!0});t.Parser=class{constructor(e=new g.NodeFactory){this.nodeFactory=e}parse(e){return this.parseStylesheet(new T.Tokenizer(e))}parseStylesheet(e){return this.nodeFactory.stylesheet(this.parseRules(e),{start:0,end:e.cssText.length})}parseRules(e){const t=[];for(;e.currentToken;){const r=this.parseRule(e);r&&t.push(r)}return t}parseRule(e){const t=e.currentToken;return null===t?null:t.is(v.Token.type.whitespace)?(e.advance(),null):t.is(v.Token.type.comment)?this.parseComment(e):t.is(v.Token.type.word)?this.parseDeclarationOrRuleset(e):t.is(v.Token.type.propertyBoundary)?this.parseUnknown(e):t.is(v.Token.type.at)?this.parseAtRule(e):this.parseUnknown(e)}parseComment(e){const t=e.advance();return null===t?null:this.nodeFactory.comment(e.slice(t),{start:t.start,end:t.end})}parseUnknown(e){const t=e.advance();let r;if(null===t)return null;for(;e.currentToken&&e.currentToken.is(v.Token.type.boundary);)r=e.advance();return this.nodeFactory.discarded(e.slice(t,r),e.getRange(t,r))}parseAtRule(e){let t=void 0,r=void 0,n=void 0,o=void 0,i=void 0;if(!e.currentToken)return null;const s=e.currentToken.start;for(;e.currentToken;)if(e.currentToken.is(v.Token.type.whitespace))e.advance();else if(!t&&e.currentToken.is(v.Token.type.at)){e.advance();const n=e.currentToken;let o;for(;e.currentToken&&e.currentToken.is(v.Token.type.word);)o=e.advance();r=e.getRange(n,o),t=e.cssText.slice(r.start,r.end)}else{if(e.currentToken.is(v.Token.type.openBrace)){n=this.parseRulelist(e);break}if(e.currentToken.is(v.Token.type.propertyBoundary)){e.advance();break}null==o?o=e.advance():i=e.advance()}if(void 0===t||void 0===r)return null;let c=void 0,u="";o&&(c=e.trimRange(e.getRange(o,i)),u=e.cssText.slice(c.start,c.end));const a=e.currentToken?e.currentToken.previous.end:e.cssText.length;return this.nodeFactory.atRule(t,u,n,r,c,{start:s,end:a})}parseRulelist(e){const t=[],r=e.currentToken.start;let n;for(e.advance();e.currentToken;){if(e.currentToken.is(v.Token.type.closeBrace)){n=e.currentToken,e.advance();break}{const r=this.parseRule(e);r&&t.push(r)}}const o=n?n.end:e.cssText.length;return this.nodeFactory.rulelist(t,{start:r,end:o})}parseDeclarationOrRuleset(e){let t=null,r=null,n=null;for(;e.currentToken;)if(e.currentToken.is(v.Token.type.whitespace))e.advance();else if(e.currentToken.is(v.Token.type.openParenthesis))for(;e.currentToken&&!e.currentToken.is(v.Token.type.closeParenthesis);)e.advance();else{if(e.currentToken.is(v.Token.type.openBrace)||e.currentToken.is(v.Token.type.propertyBoundary))break;e.currentToken.is(v.Token.type.colon)&&(n=e.currentToken),null===t?(t=e.advance(),r=t):r=e.advance()}if(null===e.currentToken)return null;if(e.currentToken.is(v.Token.type.propertyBoundary)){const o=e.getRange(t,n?n.previous:r),i=e.cssText.slice(o.start,o.end);let s=void 0;if(n&&n.next){const t=e.getRange(n.next,r),o=e.trimRange(t),i=e.cssText.slice(o.start,o.end);s=this.nodeFactory.expression(i,o)}e.currentToken.is(v.Token.type.semicolon)&&e.advance();const c=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,s,o,c)}if(n&&n===r){const n=this.parseRulelist(e);e.currentToken.is(v.Token.type.semicolon)&&e.advance();const o=e.getRange(t,r.previous),i=e.cssText.slice(o.start,o.end),s=e.trimRange(e.getRange(t,e.currentToken&&e.currentToken.previous||r));return this.nodeFactory.declaration(i,n,o,s)}{const n=e.getRange(t,r),o=e.cssText.slice(n.start,n.end),i=this.parseRulelist(e),s=t.start;let c;return c=e.currentToken?e.currentToken.previous?e.currentToken.previous.end:t.end:e.cssText.length,this.nodeFactory.ruleset(o,i,n,{start:s,end:c})}}}}));f(m);m.Parser;var k=d((function(e,t){
|
| 79 |
+
/**
|
| 80 |
+
* @license
|
| 81 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 82 |
+
* This code may only be used under the BSD style license found at
|
| 83 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 84 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 85 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 86 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 87 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 88 |
+
*/
|
| 89 |
+
Object.defineProperty(t,"__esModule",{value:!0});class r extends b.NodeVisitor{stringify(e){return this.visit(e)||""}[y.nodeType.stylesheet](e){let t="";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t}[y.nodeType.atRule](e){return"@"+e.name+(e.parameters?" "+e.parameters:"")+(e.rulelist?""+this.visit(e.rulelist):";")}[y.nodeType.rulelist](e){let t="{";for(let r=0;r<e.rules.length;++r)t+=this.visit(e.rules[r]);return t+"}"}[y.nodeType.comment](e){return""+e.value}[y.nodeType.ruleset](e){return`${e.selector}${this.visit(e.rulelist)}`}[y.nodeType.declaration](e){return null!=e.value?`${e.name}:${this.visit(e.value)};`:e.name+";"}[y.nodeType.expression](e){return""+e.text}[y.nodeType.discarded](e){return""}}t.Stringifier=r}));f(k);k.Stringifier;var w=d((function(e,t){
|
| 90 |
+
/**
|
| 91 |
+
* @license
|
| 92 |
+
* Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
| 93 |
+
* This code may only be used under the BSD style license found at
|
| 94 |
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
| 95 |
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
| 96 |
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
| 97 |
+
* Google as part of the polymer project is also subject to an additional IP
|
| 98 |
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
| 99 |
+
*/
|
| 100 |
+
Object.defineProperty(t,"__esModule",{value:!0}),t.iterateOverAst=h.iterateOverAst,t.nodeType=y.nodeType,t.NodeFactory=g.NodeFactory,t.NodeVisitor=b.NodeVisitor,t.Parser=m.Parser,t.Stringifier=k.Stringifier,t.Token=v.Token,t.Tokenizer=T.Tokenizer}));f(w);w.iterateOverAst,w.nodeType,w.NodeFactory,w.NodeVisitor;var O,x=w.Parser,_=w.Stringifier,j=(w.Token,w.Tokenizer,{desktop:"ct-main-styles-inline-css",tablet:"ct-main-styles-tablet-inline-css",mobile:"ct-main-styles-mobile-inline-css"}),S={desktop:{ast:{}},tablet:{ast:{}},mobile:{ast:{}}},P=function(e){return e&&"[object Function]"==={}.toString.call(e)},R=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n="".concat(e["".concat(r,"_selector_prefix")]?"".concat(e["".concat(r,"_selector_prefix")]," "):"").concat(e.selector||":root"),o="--";"property"===e.variableType&&(o="");var i="".concat(o).concat(P(e.variable)?e.variable():e.variable),s=S[r].ast.rules.find((function(e){return e.selector===n})),a=S[r].ast.rules.find((function(e){var t=e.type,r=e.rulelist;return"ruleset"===t&&r.rules.length>0})),l=c({},S[r].ast,{rules:s?S[r].ast.rules.map((function(e){if(e.selector!==n)return e;if(t.indexOf("CT_CSS_SKIP_RULE")>-1)return c({},e,{rulelist:c({},e.rulelist,{rules:e.rulelist.rules.filter((function(e){return e.name!==i}))})});var r=e.rulelist.rules.find((function(e){return e.name===i}));return c({},e,{rulelist:c({},e.rulelist,{rules:r?e.rulelist.rules.map((function(e){return e.name===i?c({},e,{value:c({},e.value,{text:t})}):e})):[].concat(u(e.rulelist.rules),[c({},a.rulelist.rules[0],{name:i,value:c({},a.rulelist.rules[0].value,{text:t})})])})})})):[].concat(u(S[r].ast.rules),[c({},a,{selector:n,rulelist:c({},a.rulelist,{rules:[c({},a.rulelist.rules[0],{name:i,value:c({},a.rulelist.rules[0].value,{text:t})})]})})])}),p=new _;S[r].ast=l,document.querySelector("style#".concat(j[r])).innerText=p.stringify(l)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.variableDescriptor,r=e.value,n=e.device,o=void 0===n?"desktop":n,i=e.customReplaceVariableInStyleTag,s=void 0===i?null:i,c=(t.type||"").indexOf("color")>-1?r["color"===t.type?"default":t.type.split(":")[1]].color:r;"border"===(t.type||"")&&(c=r&&"none"!==r.style?"".concat(r.width,"px ").concat(r.style," ").concat(r.color.color):"none",t.skip_none&&"none"===c&&(c="CT_CSS_SKIP_RULE")),"spacing"===(t.type||"")&&(c=a(r)),"box-shadow"===(t.type||"")&&(c=p(r,t)),s?s({replaceVariableInStyleTag:R,variableDescriptor:t,value:"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),device:o}):R(t,"".concat(c).concat(t.unit||"").concat(t.important?" !important":""),o)},F=r(0);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}O=M(M({trendingBlockContainerSpacing:{selector:".ct-trending-block",variable:"padding",responsive:!0,unit:""}},Object(F.typographyOption)({id:"trendingBlockPostsFont",selector:".ct-trending-block .ct-item-title"})),{},{trendingBlockFontColor:[{selector:".ct-trending-block",variable:"color",type:"color:default",responsive:!0},{selector:".ct-trending-block",variable:"linkHoverColor",type:"color:hover",responsive:!0}]},Object(F.handleBackgroundOptionFor)({id:"trending_block_background",selector:".ct-trending-block",responsive:!0})),Object.keys(j).map((function(e){var t=document.querySelector("style#".concat(j[e]));if(t){var r=t.innerText,n=new x,o=(new _,n.parse(r));S[e].ast=o}})),wp.customize.bind("change",(function(e){if(O[e.id]){var t=O[e.id];P(t)&&(t=t(e())),Array.isArray(t)||(t=[t]),t.map((function(t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t;t=e.extractValue?e.extractValue(t):t,e.whenDone&&e.whenDone(t,n),t=l(t,!!e.responsive),e.responsive?(e.enabled&&"no"===!wp.customize(e.enabled)()&&(t.mobile="0"+(e.unit?"":"px"),t.tablet="0"+(e.unit?"":"px"),t.desktop="0"+(e.unit?"":"px")),z({variableDescriptor:e,value:t.desktop,device:"desktop",customReplaceVariableInStyleTag:r}),z({variableDescriptor:e,value:t.tablet,device:"tablet",customReplaceVariableInStyleTag:r}),z({variableDescriptor:e,value:t.mobile,device:"mobile",customReplaceVariableInStyleTag:r})):z({variableDescriptor:e,value:t,customReplaceVariableInStyleTag:r})}(t,e())}))}})),wp.customize("trending_block_visibility",(function(e){return e.bind((function(e){return Object(F.responsiveClassesFor)("trending_block_visibility",document.querySelector(".ct-trending-block"))}))})),wp.customize("trending_block_label",(function(e){return e.bind((function(e){var t=document.querySelector(".ct-trending-block .ct-block-title");if(t){var r=t.innerHTML.split("<svg");r[0]=e,t.innerHTML=r.join("<svg")}}))}))}]);
|
framework/extensions/widgets/extension.php
CHANGED
|
@@ -31,6 +31,6 @@ class BlocksyExtensionWidgets {
|
|
| 31 |
],
|
| 32 |
$data['Version']
|
| 33 |
);
|
| 34 |
-
});
|
| 35 |
}
|
| 36 |
}
|
| 31 |
],
|
| 32 |
$data['Version']
|
| 33 |
);
|
| 34 |
+
}, 50);
|
| 35 |
}
|
| 36 |
}
|
framework/extensions/widgets/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/widgets/widgets/ct-about-me/options.php
CHANGED
|
@@ -85,12 +85,27 @@ $options = [
|
|
| 85 |
'disableRevertButton' => true,
|
| 86 |
],
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
'about_text' => [
|
| 89 |
'label' => __( 'Description', 'blc' ),
|
| 90 |
-
'type' => '
|
| 91 |
-
'value' => '',
|
| 92 |
'design' => 'inline',
|
|
|
|
|
|
|
| 93 |
'disableRevertButton' => true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
],
|
| 95 |
],
|
| 96 |
],
|
| 85 |
'disableRevertButton' => true,
|
| 86 |
],
|
| 87 |
|
| 88 |
+
// 'about_text' => [
|
| 89 |
+
// 'label' => __( 'Description', 'blc' ),
|
| 90 |
+
// 'type' => 'textarea',
|
| 91 |
+
// 'value' => '',
|
| 92 |
+
// 'design' => 'inline',
|
| 93 |
+
// 'disableRevertButton' => true,
|
| 94 |
+
// ],
|
| 95 |
+
|
| 96 |
'about_text' => [
|
| 97 |
'label' => __( 'Description', 'blc' ),
|
| 98 |
+
'type' => 'wp-editor',
|
|
|
|
| 99 |
'design' => 'inline',
|
| 100 |
+
'value' => __( 'Sample text', 'blc' ),
|
| 101 |
+
'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
|
| 102 |
'disableRevertButton' => true,
|
| 103 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 104 |
+
|
| 105 |
+
'mediaButtons' => false,
|
| 106 |
+
'tinymce' => [
|
| 107 |
+
'toolbar1' => 'bold,italic,link,undo,redo',
|
| 108 |
+
],
|
| 109 |
],
|
| 110 |
],
|
| 111 |
],
|
framework/extensions/widgets/widgets/ct-about-me/view.php
CHANGED
|
@@ -38,7 +38,7 @@ $image_output = blc_call_fn(['fn' => 'blocksy_image'], [
|
|
| 38 |
]);
|
| 39 |
|
| 40 |
$about_name = blocksy_default_akg('about_name', $atts, __('John Doe', 'blc'));
|
| 41 |
-
$about_text = blocksy_default_akg('about_text', $atts, '');
|
| 42 |
|
| 43 |
if ($about_source === 'from_wp') {
|
| 44 |
if (! $user_id) {
|
| 38 |
]);
|
| 39 |
|
| 40 |
$about_name = blocksy_default_akg('about_name', $atts, __('John Doe', 'blc'));
|
| 41 |
+
$about_text = do_shortcode(blocksy_default_akg('about_text', $atts, ''));
|
| 42 |
|
| 43 |
if ($about_source === 'from_wp') {
|
| 44 |
if (! $user_id) {
|
framework/extensions/widgets/widgets/ct-contact-info/options.php
CHANGED
|
@@ -19,11 +19,25 @@ $options = [
|
|
| 19 |
'disableRevertButton' => true,
|
| 20 |
],
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
'contact_text' => [
|
| 23 |
'label' => __( 'Text', 'blc' ),
|
| 24 |
-
'type' => '
|
| 25 |
'design' => 'inline',
|
|
|
|
| 26 |
'disableRevertButton' => true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
|
| 29 |
'contact_information' => [
|
| 19 |
'disableRevertButton' => true,
|
| 20 |
],
|
| 21 |
|
| 22 |
+
// 'contact_text' => [
|
| 23 |
+
// 'label' => __( 'Text', 'blc' ),
|
| 24 |
+
// 'type' => 'textarea',
|
| 25 |
+
// 'design' => 'inline',
|
| 26 |
+
// 'disableRevertButton' => true,
|
| 27 |
+
// ],
|
| 28 |
+
|
| 29 |
'contact_text' => [
|
| 30 |
'label' => __( 'Text', 'blc' ),
|
| 31 |
+
'type' => 'wp-editor',
|
| 32 |
'design' => 'inline',
|
| 33 |
+
'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
|
| 34 |
'disableRevertButton' => true,
|
| 35 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 36 |
+
|
| 37 |
+
'mediaButtons' => false,
|
| 38 |
+
'tinymce' => [
|
| 39 |
+
'toolbar1' => 'bold,italic,link,undo,redo',
|
| 40 |
+
],
|
| 41 |
],
|
| 42 |
|
| 43 |
'contact_information' => [
|
framework/extensions/widgets/widgets/ct-contact-info/view.php
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
$title = blocksy_default_akg( 'title', $atts, __( 'Contact Info', 'blc' ) );
|
| 13 |
|
| 14 |
// Text
|
| 15 |
-
$text = blocksy_default_akg( 'contact_text', $atts, '' );
|
| 16 |
|
| 17 |
$contact_information = blocksy_default_akg(
|
| 18 |
'contact_information',
|
| 12 |
$title = blocksy_default_akg( 'title', $atts, __( 'Contact Info', 'blc' ) );
|
| 13 |
|
| 14 |
// Text
|
| 15 |
+
$text = do_shortcode(blocksy_default_akg( 'contact_text', $atts, '' ));
|
| 16 |
|
| 17 |
$contact_information = blocksy_default_akg(
|
| 18 |
'contact_information',
|
framework/extensions/widgets/widgets/ct-posts/view.php
CHANGED
|
@@ -217,7 +217,7 @@ echo $before_title . wp_kses_post( $title ) . $after_title;
|
|
| 217 |
|
| 218 |
<?php if ( $has_comments && get_comments_number() > 0 ) { ?>
|
| 219 |
<span>
|
| 220 |
-
<?php echo wp_kses_post( get_comments_number_text( '', '1 Comment', '% Comments' ) ); ?>
|
| 221 |
</span>
|
| 222 |
<?php } ?>
|
| 223 |
</div>
|
| 217 |
|
| 218 |
<?php if ( $has_comments && get_comments_number() > 0 ) { ?>
|
| 219 |
<span>
|
| 220 |
+
<?php echo wp_kses_post( get_comments_number_text( '', __( '1 Comment', 'blc' ), __( '% Comments', 'blc' ) ) ); ?>
|
| 221 |
</span>
|
| 222 |
<?php } ?>
|
| 223 |
</div>
|
framework/extensions/widgets/widgets/ct-quote/options.php
CHANGED
|
@@ -19,12 +19,26 @@ $options = [
|
|
| 19 |
'disableRevertButton' => true,
|
| 20 |
],
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
'quote_text' => [
|
| 23 |
-
'label' => __( '
|
| 24 |
-
'type' => '
|
| 25 |
-
'value' => '',
|
| 26 |
'design' => 'inline',
|
|
|
|
| 27 |
'disableRevertButton' => true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
],
|
| 29 |
|
| 30 |
'quote_author' => [
|
| 19 |
'disableRevertButton' => true,
|
| 20 |
],
|
| 21 |
|
| 22 |
+
// 'quote_text' => [
|
| 23 |
+
// 'label' => __( 'Quote text', 'blc' ),
|
| 24 |
+
// 'type' => 'textarea',
|
| 25 |
+
// 'value' => '',
|
| 26 |
+
// 'design' => 'inline',
|
| 27 |
+
// 'disableRevertButton' => true,
|
| 28 |
+
// ],
|
| 29 |
+
|
| 30 |
'quote_text' => [
|
| 31 |
+
'label' => __( 'Text', 'blc' ),
|
| 32 |
+
'type' => 'wp-editor',
|
|
|
|
| 33 |
'design' => 'inline',
|
| 34 |
+
'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
|
| 35 |
'disableRevertButton' => true,
|
| 36 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
| 37 |
+
|
| 38 |
+
'mediaButtons' => false,
|
| 39 |
+
'tinymce' => [
|
| 40 |
+
'toolbar1' => 'bold,italic,link,undo,redo',
|
| 41 |
+
],
|
| 42 |
],
|
| 43 |
|
| 44 |
'quote_author' => [
|
framework/extensions/widgets/widgets/ct-quote/view.php
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
$title = blocksy_default_akg( 'title', $atts, __( 'Quote', 'blc' ) );
|
| 13 |
|
| 14 |
// Quote text
|
| 15 |
-
$quote_text = blocksy_default_akg( 'quote_text', $atts, '' );
|
| 16 |
|
| 17 |
// Quote author
|
| 18 |
$quote_author = blocksy_default_akg( 'quote_author', $atts, __( 'John Doe', 'blc' ) );
|
| 12 |
$title = blocksy_default_akg( 'title', $atts, __( 'Quote', 'blc' ) );
|
| 13 |
|
| 14 |
// Quote text
|
| 15 |
+
$quote_text = do_shortcode(blocksy_default_akg( 'quote_text', $atts, '' ));
|
| 16 |
|
| 17 |
// Quote author
|
| 18 |
$quote_author = blocksy_default_akg( 'quote_author', $atts, __( 'John Doe', 'blc' ) );
|
framework/features/conditions-manager.php
CHANGED
|
@@ -150,6 +150,29 @@ class ConditionsManager {
|
|
| 150 |
return !is_user_logged_in();
|
| 151 |
}
|
| 152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
if (strpos($rule['rule'], 'user_role_') !== false) {
|
| 154 |
if (! is_user_logged_in()) {
|
| 155 |
return false;
|
|
@@ -177,6 +200,14 @@ class ConditionsManager {
|
|
| 177 |
));
|
| 178 |
}
|
| 179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
if (
|
| 181 |
$rule['rule'] === 'post_ids'
|
| 182 |
||
|
|
@@ -322,6 +353,19 @@ class ConditionsManager {
|
|
| 322 |
$post_type_object->labels->singular_name
|
| 323 |
)
|
| 324 |
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
}
|
| 326 |
|
| 327 |
return array_merge([
|
|
@@ -512,6 +556,16 @@ class ConditionsManager {
|
|
| 512 |
'title' => __('User Roles', 'blc'),
|
| 513 |
'rules' => $this->get_user_roles_rules()
|
| 514 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 515 |
],
|
| 516 |
|
| 517 |
(
|
| 150 |
return !is_user_logged_in();
|
| 151 |
}
|
| 152 |
|
| 153 |
+
if ($rule['rule'] === 'user_post_author_id') {
|
| 154 |
+
global $post;
|
| 155 |
+
|
| 156 |
+
if (
|
| 157 |
+
$post
|
| 158 |
+
&&
|
| 159 |
+
$post->post_author
|
| 160 |
+
&&
|
| 161 |
+
isset($rule['payload'])
|
| 162 |
+
&&
|
| 163 |
+
isset($rule['payload']['user_id'])
|
| 164 |
+
) {
|
| 165 |
+
$user_id = $rule['payload']['user_id'];
|
| 166 |
+
$post_author = intval($post->post_author);
|
| 167 |
+
|
| 168 |
+
if ($user_id === 'current_user') {
|
| 169 |
+
return $post_author === intval(get_current_user_id());
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
return intval($user_id) === $post_author;
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
if (strpos($rule['rule'], 'user_role_') !== false) {
|
| 177 |
if (! is_user_logged_in()) {
|
| 178 |
return false;
|
| 200 |
));
|
| 201 |
}
|
| 202 |
|
| 203 |
+
if (strpos($rule['rule'], 'post_type_taxonomy_') !== false) {
|
| 204 |
+
return is_tax(str_replace(
|
| 205 |
+
'post_type_taxonomy_',
|
| 206 |
+
'',
|
| 207 |
+
$rule['rule']
|
| 208 |
+
));
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
if (
|
| 212 |
$rule['rule'] === 'post_ids'
|
| 213 |
||
|
| 353 |
$post_type_object->labels->singular_name
|
| 354 |
)
|
| 355 |
];
|
| 356 |
+
|
| 357 |
+
$taxonomies = get_object_taxonomies($custom_post_type);
|
| 358 |
+
|
| 359 |
+
foreach ($taxonomies as $single_taxonomy) {
|
| 360 |
+
$cpts[] = [
|
| 361 |
+
'id' => 'post_type_taxonomy_' . $single_taxonomy,
|
| 362 |
+
'title' => sprintf(
|
| 363 |
+
__('%s %s Taxonomy', 'blc'),
|
| 364 |
+
$post_type_object->labels->singular_name,
|
| 365 |
+
get_taxonomy($single_taxonomy)->label
|
| 366 |
+
)
|
| 367 |
+
];
|
| 368 |
+
}
|
| 369 |
}
|
| 370 |
|
| 371 |
return array_merge([
|
| 556 |
'title' => __('User Roles', 'blc'),
|
| 557 |
'rules' => $this->get_user_roles_rules()
|
| 558 |
],
|
| 559 |
+
|
| 560 |
+
[
|
| 561 |
+
'title' => __('Other', 'blc'),
|
| 562 |
+
'rules' => [
|
| 563 |
+
[
|
| 564 |
+
'id' => 'user_post_author_id',
|
| 565 |
+
'title' => __('Post Author', 'blc')
|
| 566 |
+
]
|
| 567 |
+
]
|
| 568 |
+
],
|
| 569 |
],
|
| 570 |
|
| 571 |
(
|
framework/features/demo-install/required-plugins.php
CHANGED
|
@@ -52,6 +52,16 @@ class DemoInstallPluginsInstaller {
|
|
| 52 |
$plugins_manager = Plugin::instance()->demo->get_plugins_manager();
|
| 53 |
|
| 54 |
foreach ($plugins as $single_plugin) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
if ($this->has_streaming) {
|
| 56 |
Plugin::instance()->demo->emit_sse_message([
|
| 57 |
'action' => 'install_plugin',
|
| 52 |
$plugins_manager = Plugin::instance()->demo->get_plugins_manager();
|
| 53 |
|
| 54 |
foreach ($plugins as $single_plugin) {
|
| 55 |
+
if ($single_plugin === 'stackable-ultimate-gutenberg-blocks') {
|
| 56 |
+
$stackable_pro_status = $plugins_manager->get_plugin_status(
|
| 57 |
+
'stackable-ultimate-gutenberg-blocks-premium'
|
| 58 |
+
);
|
| 59 |
+
|
| 60 |
+
if ($stackable_pro_status === 'active') {
|
| 61 |
+
continue;
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
if ($this->has_streaming) {
|
| 66 |
Plugin::instance()->demo->emit_sse_message([
|
| 67 |
'action' => 'install_plugin',
|
framework/features/demo-install/wp-importer.php
CHANGED
|
@@ -1088,6 +1088,8 @@ class Blocksy_WP_Import extends WP_Importer {
|
|
| 1088 |
// extract the file name and extension from the url
|
| 1089 |
$file_name = basename( $url );
|
| 1090 |
|
|
|
|
|
|
|
| 1091 |
// get placeholder file in the upload dir with a unique, sanitized filename
|
| 1092 |
$upload = wp_upload_bits( $file_name, 0, '', $post['upload_date'] );
|
| 1093 |
if ( $upload['error'] )
|
| 1088 |
// extract the file name and extension from the url
|
| 1089 |
$file_name = basename( $url );
|
| 1090 |
|
| 1091 |
+
add_filter('https_ssl_verify', '__return_false');
|
| 1092 |
+
|
| 1093 |
// get placeholder file in the upload dir with a unique, sanitized filename
|
| 1094 |
$upload = wp_upload_bits( $file_name, 0, '', $post['upload_date'] );
|
| 1095 |
if ( $upload['error'] )
|
framework/features/header.php
CHANGED
|
@@ -184,8 +184,14 @@ class HeaderAdditions {
|
|
| 184 |
);
|
| 185 |
|
| 186 |
add_filter('blocksy:general:body-header-attr', function ($attr) {
|
| 187 |
-
|
| 188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
}
|
| 190 |
|
| 191 |
return $attr;
|
| 184 |
);
|
| 185 |
|
| 186 |
add_filter('blocksy:general:body-header-attr', function ($attr) {
|
| 187 |
+
$sticky_result = $this->current_screen_has_sticky();
|
| 188 |
+
|
| 189 |
+
if ($sticky_result) {
|
| 190 |
+
$attr .= ':sticky';
|
| 191 |
+
|
| 192 |
+
if ($sticky_result['effect'] === 'auto-hide') {
|
| 193 |
+
$attr .= ':auto';
|
| 194 |
+
}
|
| 195 |
}
|
| 196 |
|
| 197 |
return $attr;
|
framework/helpers/helpers.php
CHANGED
|
@@ -122,7 +122,7 @@ function blc_get_contacts_output($args = []) {
|
|
| 122 |
<div class="contact-info">
|
| 123 |
<?php if (! empty(blocksy_akg('title', $single_layer, ''))) { ?>
|
| 124 |
<span class="contact-title">
|
| 125 |
-
<?php echo
|
| 126 |
</span>
|
| 127 |
<?php } ?>
|
| 128 |
|
|
@@ -132,7 +132,7 @@ function blc_get_contacts_output($args = []) {
|
|
| 132 |
<a href="<?php echo blocksy_akg('link', $single_layer, '') ?>" <?php echo $data_target ?>>
|
| 133 |
<?php } ?>
|
| 134 |
|
| 135 |
-
<?php echo blocksy_akg('content', $single_layer, '') ?>
|
| 136 |
|
| 137 |
<?php if (! empty(blocksy_akg('link', $single_layer, ''))) { ?>
|
| 138 |
</a>
|
| 122 |
<div class="contact-info">
|
| 123 |
<?php if (! empty(blocksy_akg('title', $single_layer, ''))) { ?>
|
| 124 |
<span class="contact-title">
|
| 125 |
+
<?php echo do_shortcode(blocksy_akg('title', $single_layer, '')) ?>
|
| 126 |
</span>
|
| 127 |
<?php } ?>
|
| 128 |
|
| 132 |
<a href="<?php echo blocksy_akg('link', $single_layer, '') ?>" <?php echo $data_target ?>>
|
| 133 |
<?php } ?>
|
| 134 |
|
| 135 |
+
<?php echo do_shortcode(blocksy_akg('content', $single_layer, '')) ?>
|
| 136 |
|
| 137 |
<?php if (! empty(blocksy_akg('link', $single_layer, ''))) { ?>
|
| 138 |
</a>
|
framework/theme-integration.php
CHANGED
|
@@ -166,9 +166,19 @@ class ThemeIntegration {
|
|
| 166 |
$languages = blocksy_get_all_i18n_languages();
|
| 167 |
}
|
| 168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
wp_send_json_success([
|
| 170 |
'taxonomies' => $terms,
|
| 171 |
-
'languages' => $languages
|
|
|
|
| 172 |
]);
|
| 173 |
});
|
| 174 |
|
|
@@ -391,7 +401,7 @@ class ThemeIntegration {
|
|
| 391 |
$data['Version']
|
| 392 |
);
|
| 393 |
*/
|
| 394 |
-
});
|
| 395 |
|
| 396 |
add_action(
|
| 397 |
'customize_preview_init',
|
| 166 |
$languages = blocksy_get_all_i18n_languages();
|
| 167 |
}
|
| 168 |
|
| 169 |
+
$users = [];
|
| 170 |
+
|
| 171 |
+
foreach (get_users() as $user) {
|
| 172 |
+
$users[] = [
|
| 173 |
+
'id' => $user->ID,
|
| 174 |
+
'name' => $user->user_nicename
|
| 175 |
+
];
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
wp_send_json_success([
|
| 179 |
'taxonomies' => $terms,
|
| 180 |
+
'languages' => $languages,
|
| 181 |
+
'users' => $users
|
| 182 |
]);
|
| 183 |
});
|
| 184 |
|
| 401 |
$data['Version']
|
| 402 |
);
|
| 403 |
*/
|
| 404 |
+
}, 50);
|
| 405 |
|
| 406 |
add_action(
|
| 407 |
'customize_preview_init',
|
languages/blocksy-companion.pot
CHANGED
|
@@ -69,8 +69,8 @@ msgstr ""
|
|
| 69 |
|
| 70 |
#: framework/extensions-manager.php:269,
|
| 71 |
#: build_tmp/build/framework/extensions-manager.php:269,
|
| 72 |
-
#: framework/premium/extensions/custom-fonts/extension.php:
|
| 73 |
-
#: build_tmp/build/framework/premium/extensions/custom-fonts/extension.php:
|
| 74 |
msgid "Custom Fonts"
|
| 75 |
msgstr ""
|
| 76 |
|
|
@@ -83,8 +83,8 @@ msgstr ""
|
|
| 83 |
|
| 84 |
#: framework/extensions-manager.php:281,
|
| 85 |
#: build_tmp/build/framework/extensions-manager.php:281,
|
| 86 |
-
#: framework/premium/extensions/local-google-fonts/extension.php:
|
| 87 |
-
#: build_tmp/build/framework/premium/extensions/local-google-fonts/extension.php:
|
| 88 |
msgid "Local Google Fonts"
|
| 89 |
msgstr ""
|
| 90 |
|
|
@@ -336,18 +336,18 @@ msgstr ""
|
|
| 336 |
|
| 337 |
#: framework/features/conditions-manager.php:358,
|
| 338 |
#: build_tmp/build/framework/features/conditions-manager.php:358,
|
| 339 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:280,
|
| 340 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:288,
|
| 341 |
#: framework/premium/features/content-blocks/hooks-manager.php:296,
|
| 342 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 343 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 344 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 345 |
-
#:
|
| 346 |
-
#:
|
| 347 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:296,
|
| 348 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 349 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 350 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
|
|
|
|
|
|
| 351 |
msgid "Single Post"
|
| 352 |
msgstr ""
|
| 353 |
|
|
@@ -424,9 +424,9 @@ msgstr ""
|
|
| 424 |
#: framework/features/conditions-manager.php:469,
|
| 425 |
#: build_tmp/build/framework/features/conditions-manager.php:469,
|
| 426 |
#: framework/premium/features/premium-header/items/search-input/options.php:45,
|
| 427 |
-
#: framework/premium/features/premium-header/items/search-input/view.php:
|
| 428 |
#: build_tmp/build/framework/premium/features/premium-header/items/search-input/options.php:45,
|
| 429 |
-
#: build_tmp/build/framework/premium/features/premium-header/items/search-input/view.php:
|
| 430 |
msgid "Search"
|
| 431 |
msgstr ""
|
| 432 |
|
|
@@ -470,8 +470,8 @@ msgstr ""
|
|
| 470 |
msgid "Language"
|
| 471 |
msgstr ""
|
| 472 |
|
| 473 |
-
#: framework/features/demo-install.php:
|
| 474 |
-
#: build_tmp/build/framework/features/demo-install.php:
|
| 475 |
msgid ""
|
| 476 |
"Your PHP installation doesn't have support for XML. Please install the "
|
| 477 |
"<i>xml</i> or <i>simplexml</i> PHP extension in order to be able to install "
|
|
@@ -581,6 +581,7 @@ msgstr ""
|
|
| 581 |
|
| 582 |
#: framework/extensions/cookies-consent/customizer.php:18,
|
| 583 |
#: framework/extensions/newsletter-subscribe/customizer.php:12,
|
|
|
|
| 584 |
#: framework/extensions/product-reviews/metabox.php:6,
|
| 585 |
#: framework/extensions/trending/customizer.php:109,
|
| 586 |
#: framework/premium/extensions/mega-menu/options.php:6,
|
|
@@ -589,6 +590,7 @@ msgstr ""
|
|
| 589 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:164,
|
| 590 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:18,
|
| 591 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:12,
|
|
|
|
| 592 |
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:6,
|
| 593 |
#: build_tmp/build/framework/extensions/trending/customizer.php:109,
|
| 594 |
#: framework/features/header/items/account/options.php:51,
|
|
@@ -703,10 +705,10 @@ msgid "Forever"
|
|
| 703 |
msgstr ""
|
| 704 |
|
| 705 |
#: framework/extensions/cookies-consent/customizer.php:65,
|
| 706 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:178,
|
| 707 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:186,
|
| 708 |
#: framework/premium/features/content-blocks/hooks-manager.php:194,
|
| 709 |
#: framework/premium/features/content-blocks/hooks-manager.php:202,
|
|
|
|
|
|
|
| 710 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:65,
|
| 711 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:72,
|
| 712 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:101,
|
|
@@ -715,10 +717,10 @@ msgstr ""
|
|
| 715 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:185,
|
| 716 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:213,
|
| 717 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:241,
|
| 718 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:178,
|
| 719 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:186,
|
| 720 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:194,
|
| 721 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:202,
|
|
|
|
|
|
|
| 722 |
#: framework/premium/features/premium-header/items/contacts/options.php:55,
|
| 723 |
#: framework/premium/features/premium-header/items/contacts/options.php:81,
|
| 724 |
#: framework/premium/features/premium-header/items/contacts/options.php:108,
|
|
@@ -765,7 +767,8 @@ msgstr ""
|
|
| 765 |
|
| 766 |
#: framework/extensions/cookies-consent/customizer.php:90,
|
| 767 |
#: framework/extensions/newsletter-subscribe/customizer.php:147,
|
| 768 |
-
#: framework/extensions/
|
|
|
|
| 769 |
#: framework/premium/extensions/mega-menu/options.php:514,
|
| 770 |
#: framework/premium/extensions/shortcuts/customizer.php:757,
|
| 771 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:81,
|
|
@@ -773,7 +776,8 @@ msgstr ""
|
|
| 773 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:279,
|
| 774 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:90,
|
| 775 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:147,
|
| 776 |
-
#: build_tmp/build/framework/extensions/
|
|
|
|
| 777 |
#: framework/features/header/items/account/options.php:497,
|
| 778 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:120,
|
| 779 |
#: framework/premium/features/content-blocks/options/popup.php:342,
|
|
@@ -803,12 +807,12 @@ msgid "Design"
|
|
| 803 |
msgstr ""
|
| 804 |
|
| 805 |
#: framework/extensions/cookies-consent/customizer.php:95,
|
| 806 |
-
#: framework/extensions/trending/customizer.php:
|
| 807 |
#: framework/premium/extensions/mega-menu/options.php:794,
|
| 808 |
#: framework/premium/extensions/shortcuts/customizer.php:773,
|
| 809 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:86,
|
| 810 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:95,
|
| 811 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 812 |
#: framework/features/header/items/account/options.php:808,
|
| 813 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:794,
|
| 814 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:773,
|
|
@@ -849,7 +853,7 @@ msgstr ""
|
|
| 849 |
#: framework/extensions/newsletter-subscribe/customizer.php:169,
|
| 850 |
#: framework/extensions/newsletter-subscribe/customizer.php:200,
|
| 851 |
#: framework/extensions/newsletter-subscribe/customizer.php:225,
|
| 852 |
-
#: framework/extensions/trending/customizer.php:
|
| 853 |
#: framework/premium/extensions/mega-menu/options.php:760,
|
| 854 |
#: framework/premium/extensions/mega-menu/options.php:807,
|
| 855 |
#: framework/premium/extensions/mega-menu/options.php:826,
|
|
@@ -865,7 +869,7 @@ msgstr ""
|
|
| 865 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:169,
|
| 866 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:200,
|
| 867 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:225,
|
| 868 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 869 |
#: framework/features/header/items/account/options.php:561,
|
| 870 |
#: framework/features/header/items/account/options.php:593,
|
| 871 |
#: framework/features/header/items/account/options.php:623,
|
|
@@ -990,7 +994,7 @@ msgstr ""
|
|
| 990 |
#: framework/extensions/cookies-consent/customizer.php:147,
|
| 991 |
#: framework/extensions/newsletter-subscribe/customizer.php:175,
|
| 992 |
#: framework/extensions/newsletter-subscribe/customizer.php:205,
|
| 993 |
-
#: framework/extensions/trending/customizer.php:
|
| 994 |
#: framework/premium/extensions/mega-menu/options.php:765,
|
| 995 |
#: framework/premium/extensions/shortcuts/customizer.php:797,
|
| 996 |
#: framework/premium/extensions/shortcuts/customizer.php:829,
|
|
@@ -1000,7 +1004,7 @@ msgstr ""
|
|
| 1000 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:147,
|
| 1001 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:175,
|
| 1002 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:205,
|
| 1003 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1004 |
#: framework/features/header/items/account/options.php:567,
|
| 1005 |
#: framework/features/header/items/account/options.php:598,
|
| 1006 |
#: framework/features/header/items/account/options.php:628,
|
|
@@ -1249,19 +1253,21 @@ msgid "List Source"
|
|
| 1249 |
msgstr ""
|
| 1250 |
|
| 1251 |
#: framework/extensions/newsletter-subscribe/customizer.php:49,
|
|
|
|
| 1252 |
#: framework/features/header/header-options.php:71,
|
| 1253 |
#: framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:38,
|
| 1254 |
#: framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:105,
|
| 1255 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:49,
|
|
|
|
| 1256 |
#: build_tmp/build/framework/features/header/header-options.php:71,
|
| 1257 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:173,
|
| 1258 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:198,
|
| 1259 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 1260 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:38,
|
| 1261 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:105,
|
| 1262 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:173,
|
| 1263 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:198,
|
| 1264 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 1265 |
msgid "Default"
|
| 1266 |
msgstr ""
|
| 1267 |
|
|
@@ -1373,7 +1379,7 @@ msgstr ""
|
|
| 1373 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:126,
|
| 1374 |
#: framework/premium/features/content-blocks/options/404.php:140,
|
| 1375 |
#: framework/premium/features/content-blocks/options/header.php:166,
|
| 1376 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 1377 |
#: framework/premium/features/content-blocks/options/popup.php:321,
|
| 1378 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:45,
|
| 1379 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:107,
|
|
@@ -1388,7 +1394,7 @@ msgstr ""
|
|
| 1388 |
#: framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:43,
|
| 1389 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:140,
|
| 1390 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:166,
|
| 1391 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 1392 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:321,
|
| 1393 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:144,
|
| 1394 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:43
|
|
@@ -1396,7 +1402,7 @@ msgid "Visibility"
|
|
| 1396 |
msgstr ""
|
| 1397 |
|
| 1398 |
#: framework/extensions/newsletter-subscribe/customizer.php:137,
|
| 1399 |
-
#: framework/extensions/trending/customizer.php:
|
| 1400 |
#: framework/features/header/header-options.php:89,
|
| 1401 |
#: framework/features/header/header-options.php:171,
|
| 1402 |
#: framework/premium/extensions/shortcuts/customizer.php:59,
|
|
@@ -1413,14 +1419,14 @@ msgstr ""
|
|
| 1413 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:71,
|
| 1414 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:219,
|
| 1415 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:137,
|
| 1416 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1417 |
#: build_tmp/build/framework/features/header/header-options.php:89,
|
| 1418 |
#: build_tmp/build/framework/features/header/header-options.php:171,
|
| 1419 |
#: framework/features/header/items/account/options.php:228,
|
| 1420 |
#: framework/features/header/items/account/options.php:434,
|
| 1421 |
#: framework/premium/features/content-blocks/options/404.php:151,
|
| 1422 |
#: framework/premium/features/content-blocks/options/header.php:177,
|
| 1423 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 1424 |
#: framework/premium/features/content-blocks/options/popup.php:332,
|
| 1425 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:59,
|
| 1426 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:121,
|
|
@@ -1442,7 +1448,7 @@ msgstr ""
|
|
| 1442 |
#: build_tmp/build/framework/features/header/items/account/options.php:434,
|
| 1443 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:151,
|
| 1444 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:177,
|
| 1445 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 1446 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:332,
|
| 1447 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:157,
|
| 1448 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:56,
|
|
@@ -1451,7 +1457,7 @@ msgid "Desktop"
|
|
| 1451 |
msgstr ""
|
| 1452 |
|
| 1453 |
#: framework/extensions/newsletter-subscribe/customizer.php:138,
|
| 1454 |
-
#: framework/extensions/trending/customizer.php:
|
| 1455 |
#: framework/premium/extensions/shortcuts/customizer.php:60,
|
| 1456 |
#: framework/premium/extensions/shortcuts/customizer.php:122,
|
| 1457 |
#: framework/premium/extensions/shortcuts/customizer.php:184,
|
|
@@ -1466,13 +1472,13 @@ msgstr ""
|
|
| 1466 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:72,
|
| 1467 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:220,
|
| 1468 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:138,
|
| 1469 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1470 |
#: framework/features/header/items/account/options.php:229,
|
| 1471 |
#: framework/features/header/items/account/options.php:435,
|
| 1472 |
#: framework/features/header/items/account/options.php:1077,
|
| 1473 |
#: framework/premium/features/content-blocks/options/404.php:152,
|
| 1474 |
#: framework/premium/features/content-blocks/options/header.php:178,
|
| 1475 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 1476 |
#: framework/premium/features/content-blocks/options/popup.php:333,
|
| 1477 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:60,
|
| 1478 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:122,
|
|
@@ -1495,7 +1501,7 @@ msgstr ""
|
|
| 1495 |
#: build_tmp/build/framework/features/header/items/account/options.php:1077,
|
| 1496 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:152,
|
| 1497 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:178,
|
| 1498 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 1499 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:333,
|
| 1500 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:158,
|
| 1501 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:57,
|
|
@@ -1504,7 +1510,7 @@ msgid "Tablet"
|
|
| 1504 |
msgstr ""
|
| 1505 |
|
| 1506 |
#: framework/extensions/newsletter-subscribe/customizer.php:139,
|
| 1507 |
-
#: framework/extensions/trending/customizer.php:
|
| 1508 |
#: framework/features/header/header-options.php:91,
|
| 1509 |
#: framework/features/header/header-options.php:173,
|
| 1510 |
#: framework/premium/extensions/shortcuts/customizer.php:61,
|
|
@@ -1521,7 +1527,7 @@ msgstr ""
|
|
| 1521 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:73,
|
| 1522 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:221,
|
| 1523 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:139,
|
| 1524 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1525 |
#: build_tmp/build/framework/features/header/header-options.php:91,
|
| 1526 |
#: build_tmp/build/framework/features/header/header-options.php:173,
|
| 1527 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:117,
|
|
@@ -1530,7 +1536,7 @@ msgstr ""
|
|
| 1530 |
#: framework/features/header/items/account/options.php:1078,
|
| 1531 |
#: framework/premium/features/content-blocks/options/404.php:153,
|
| 1532 |
#: framework/premium/features/content-blocks/options/header.php:179,
|
| 1533 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 1534 |
#: framework/premium/features/content-blocks/options/popup.php:334,
|
| 1535 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:61,
|
| 1536 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:123,
|
|
@@ -1555,7 +1561,7 @@ msgstr ""
|
|
| 1555 |
#: build_tmp/build/framework/features/header/items/account/options.php:1078,
|
| 1556 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:153,
|
| 1557 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:179,
|
| 1558 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 1559 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:334,
|
| 1560 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:159,
|
| 1561 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:58,
|
|
@@ -1570,9 +1576,9 @@ msgid "Content Color"
|
|
| 1570 |
msgstr ""
|
| 1571 |
|
| 1572 |
#: framework/extensions/newsletter-subscribe/customizer.php:233,
|
| 1573 |
-
#: framework/extensions/trending/customizer.php:
|
| 1574 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:233,
|
| 1575 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1576 |
msgid "Container Inner Spacing"
|
| 1577 |
msgstr ""
|
| 1578 |
|
|
@@ -1646,15 +1652,15 @@ msgid "Customizer ➝ Single Posts"
|
|
| 1646 |
msgstr ""
|
| 1647 |
|
| 1648 |
#: framework/extensions/product-reviews/config.php:4,
|
| 1649 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1650 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1651 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1652 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1653 |
#: build_tmp/build/framework/extensions/product-reviews/config.php:4,
|
| 1654 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1655 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1656 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1657 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1658 |
msgid "Product Reviews"
|
| 1659 |
msgstr ""
|
| 1660 |
|
|
@@ -1666,194 +1672,326 @@ msgid ""
|
|
| 1666 |
"affiliate links to direct your readers to the purchase page."
|
| 1667 |
msgstr ""
|
| 1668 |
|
| 1669 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1670 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1671 |
msgid "Read More Button"
|
| 1672 |
msgstr ""
|
| 1673 |
|
| 1674 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1675 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1676 |
msgid "Product Review"
|
| 1677 |
msgstr ""
|
| 1678 |
|
| 1679 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1680 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1681 |
msgid "Parent Product Review"
|
| 1682 |
msgstr ""
|
| 1683 |
|
| 1684 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1685 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1686 |
msgid "All Reviews"
|
| 1687 |
msgstr ""
|
| 1688 |
|
| 1689 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1690 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1691 |
msgid "View Product Review"
|
| 1692 |
msgstr ""
|
| 1693 |
|
| 1694 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1695 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1696 |
msgid "Add New Product Review"
|
| 1697 |
msgstr ""
|
| 1698 |
|
| 1699 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1700 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1701 |
msgid "Add New Review"
|
| 1702 |
msgstr ""
|
| 1703 |
|
| 1704 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1705 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1706 |
msgid "Edit Product Review"
|
| 1707 |
msgstr ""
|
| 1708 |
|
| 1709 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1710 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1711 |
msgid "Update Product Review"
|
| 1712 |
msgstr ""
|
| 1713 |
|
| 1714 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1715 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1716 |
msgid "Search Product Review"
|
| 1717 |
msgstr ""
|
| 1718 |
|
| 1719 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1720 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1721 |
msgid "Not Found"
|
| 1722 |
msgstr ""
|
| 1723 |
|
| 1724 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1725 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1726 |
msgid "Not found in Trash"
|
| 1727 |
msgstr ""
|
| 1728 |
|
| 1729 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1730 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1731 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1732 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1733 |
msgid "Categories"
|
| 1734 |
msgstr ""
|
| 1735 |
|
| 1736 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1737 |
#: framework/extensions/trending/customizer.php:35,
|
| 1738 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1739 |
#: build_tmp/build/framework/extensions/trending/customizer.php:35,
|
| 1740 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:37,
|
| 1741 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:37
|
| 1742 |
msgid "Category"
|
| 1743 |
msgstr ""
|
| 1744 |
|
| 1745 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1746 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1747 |
msgid "Search Category"
|
| 1748 |
msgstr ""
|
| 1749 |
|
| 1750 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1751 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1752 |
msgid "All Categories"
|
| 1753 |
msgstr ""
|
| 1754 |
|
| 1755 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1756 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1757 |
msgid "Parent Category"
|
| 1758 |
msgstr ""
|
| 1759 |
|
| 1760 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1761 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1762 |
msgid "Parent Category:"
|
| 1763 |
msgstr ""
|
| 1764 |
|
| 1765 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1766 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1767 |
msgid "Edit Category"
|
| 1768 |
msgstr ""
|
| 1769 |
|
| 1770 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1771 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1772 |
msgid "Update Category"
|
| 1773 |
msgstr ""
|
| 1774 |
|
| 1775 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1776 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1777 |
msgid "Add New Category"
|
| 1778 |
msgstr ""
|
| 1779 |
|
| 1780 |
-
#: framework/extensions/product-reviews/extension.php:
|
| 1781 |
-
#: build_tmp/build/framework/extensions/product-reviews/extension.php:
|
| 1782 |
msgid "New Category Name"
|
| 1783 |
msgstr ""
|
| 1784 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1785 |
#: framework/extensions/product-reviews/helpers.php:30,
|
| 1786 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1787 |
#: build_tmp/build/framework/extensions/product-reviews/helpers.php:30,
|
| 1788 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1789 |
msgid "Rating"
|
| 1790 |
msgstr ""
|
| 1791 |
|
| 1792 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1793 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1794 |
msgid "Gallery"
|
| 1795 |
msgstr ""
|
| 1796 |
|
| 1797 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1798 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1799 |
msgid "Affiliate Button Label"
|
| 1800 |
msgstr ""
|
| 1801 |
|
| 1802 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1803 |
-
#: framework/extensions/product-reviews/views/single-top.php:
|
| 1804 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1805 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:
|
| 1806 |
msgid "Buy Now"
|
| 1807 |
msgstr ""
|
| 1808 |
|
| 1809 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1810 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1811 |
msgid "Affiliate Link"
|
| 1812 |
msgstr ""
|
| 1813 |
|
| 1814 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1815 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1816 |
msgid "Open Link In New Tab"
|
| 1817 |
msgstr ""
|
| 1818 |
|
| 1819 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1820 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1821 |
msgid "Read More Button Label"
|
| 1822 |
msgstr ""
|
| 1823 |
|
| 1824 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1825 |
-
#: framework/extensions/product-reviews/views/single-top.php:
|
| 1826 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1827 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:
|
| 1828 |
msgid "Read More"
|
| 1829 |
msgstr ""
|
| 1830 |
|
| 1831 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1832 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1833 |
-
msgid "
|
| 1834 |
msgstr ""
|
| 1835 |
|
| 1836 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1837 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1838 |
msgid "Scores"
|
| 1839 |
msgstr ""
|
| 1840 |
|
| 1841 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1842 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1843 |
msgid "Product specs"
|
| 1844 |
msgstr ""
|
| 1845 |
|
| 1846 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1847 |
-
#: framework/extensions/product-reviews/views/single-top.php:
|
| 1848 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1849 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:
|
| 1850 |
msgid "Pros"
|
| 1851 |
msgstr ""
|
| 1852 |
|
| 1853 |
-
#: framework/extensions/product-reviews/metabox.php:
|
| 1854 |
-
#: framework/extensions/product-reviews/views/single-top.php:
|
| 1855 |
-
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:
|
| 1856 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:
|
| 1857 |
msgid "Cons"
|
| 1858 |
msgstr ""
|
| 1859 |
|
|
@@ -1909,14 +2047,19 @@ msgid "Module Title"
|
|
| 1909 |
msgstr ""
|
| 1910 |
|
| 1911 |
#: framework/extensions/trending/customizer.php:117,
|
| 1912 |
-
#: framework/extensions/trending/helpers.php:
|
| 1913 |
#: build_tmp/build/framework/extensions/trending/customizer.php:117,
|
| 1914 |
-
#: build_tmp/build/framework/extensions/trending/helpers.php:
|
| 1915 |
msgid "Trending now"
|
| 1916 |
msgstr ""
|
| 1917 |
|
| 1918 |
-
#: framework/extensions/trending/customizer.php:
|
| 1919 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1920 |
#: framework/extensions/widgets/widgets/ct-about-me/options.php:37,
|
| 1921 |
#: framework/extensions/widgets/widgets/ct-advertisement/options.php:23,
|
| 1922 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:149,
|
|
@@ -1928,15 +2071,15 @@ msgstr ""
|
|
| 1928 |
msgid "Source"
|
| 1929 |
msgstr ""
|
| 1930 |
|
| 1931 |
-
#: framework/extensions/trending/customizer.php:
|
| 1932 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1933 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:154,
|
| 1934 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:154
|
| 1935 |
msgid "Taxonomies"
|
| 1936 |
msgstr ""
|
| 1937 |
|
| 1938 |
-
#: framework/extensions/trending/customizer.php:
|
| 1939 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1940 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:155,
|
| 1941 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:174,
|
| 1942 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:155,
|
|
@@ -1944,60 +2087,60 @@ msgstr ""
|
|
| 1944 |
msgid "Custom Query"
|
| 1945 |
msgstr ""
|
| 1946 |
|
| 1947 |
-
#: framework/extensions/trending/customizer.php:
|
| 1948 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1949 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:243,
|
| 1950 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:243
|
| 1951 |
msgid "Posts ID"
|
| 1952 |
msgstr ""
|
| 1953 |
|
| 1954 |
-
#: framework/extensions/trending/customizer.php:
|
| 1955 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1956 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:247,
|
| 1957 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:247
|
| 1958 |
msgid "Separate posts ID by comma. How to find the %spost ID%s."
|
| 1959 |
msgstr ""
|
| 1960 |
|
| 1961 |
-
#: framework/extensions/trending/customizer.php:
|
| 1962 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1963 |
msgid "Trending From"
|
| 1964 |
msgstr ""
|
| 1965 |
|
| 1966 |
-
#: framework/extensions/trending/customizer.php:
|
| 1967 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1968 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:213,
|
| 1969 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:213
|
| 1970 |
msgid "All Time"
|
| 1971 |
msgstr ""
|
| 1972 |
|
| 1973 |
-
#: framework/extensions/trending/customizer.php:
|
| 1974 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1975 |
msgid "Last 24 Hours"
|
| 1976 |
msgstr ""
|
| 1977 |
|
| 1978 |
-
#: framework/extensions/trending/customizer.php:
|
| 1979 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1980 |
msgid "Last 7 Days"
|
| 1981 |
msgstr ""
|
| 1982 |
|
| 1983 |
-
#: framework/extensions/trending/customizer.php:
|
| 1984 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1985 |
msgid "Last Month"
|
| 1986 |
msgstr ""
|
| 1987 |
|
| 1988 |
-
#: framework/extensions/trending/customizer.php:
|
| 1989 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1990 |
msgid "Container Visibility"
|
| 1991 |
msgstr ""
|
| 1992 |
|
| 1993 |
-
#: framework/extensions/trending/customizer.php:
|
| 1994 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 1995 |
msgid "Posts Font"
|
| 1996 |
msgstr ""
|
| 1997 |
|
| 1998 |
-
#: framework/extensions/trending/customizer.php:
|
| 1999 |
#: framework/premium/extensions/shortcuts/customizer.php:890,
|
| 2000 |
-
#: build_tmp/build/framework/extensions/trending/customizer.php:
|
| 2001 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:890
|
| 2002 |
msgid "Container Background"
|
| 2003 |
msgstr ""
|
|
@@ -2013,9 +2156,9 @@ msgstr ""
|
|
| 2013 |
#: framework/features/header/account-modal.php:47,
|
| 2014 |
#: build_tmp/build/framework/features/header/account-modal.php:47,
|
| 2015 |
#: framework/features/header/items/account/options.php:481,
|
| 2016 |
-
#: framework/features/header/items/account/views/logout.php:
|
| 2017 |
#: build_tmp/build/framework/features/header/items/account/options.php:481,
|
| 2018 |
-
#: build_tmp/build/framework/features/header/items/account/views/logout.php:
|
| 2019 |
msgid "Login"
|
| 2020 |
msgstr ""
|
| 2021 |
|
|
@@ -2100,11 +2243,11 @@ msgstr ""
|
|
| 2100 |
#: framework/premium/extensions/shortcuts/customizer.php:742,
|
| 2101 |
#: build_tmp/build/framework/features/header/header-options.php:144,
|
| 2102 |
#: framework/premium/features/content-blocks/options/header.php:142,
|
| 2103 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 2104 |
#: framework/premium/features/content-blocks/options/popup.php:279,
|
| 2105 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:742,
|
| 2106 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:142,
|
| 2107 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 2108 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:279
|
| 2109 |
#: framework/premium/extensions/sidebars/static/js/SettingsManager.js:44
|
| 2110 |
#: framework/premium/static/js/footer/EditConditions.js:97
|
|
@@ -2154,6 +2297,8 @@ msgstr ""
|
|
| 2154 |
#: framework/extensions/widgets/widgets/ct-socials/options.php:94,
|
| 2155 |
#: framework/features/header/items/account/options.php:124,
|
| 2156 |
#: framework/features/header/items/account/options.php:349,
|
|
|
|
|
|
|
| 2157 |
#: framework/premium/features/content-blocks/options/popup.php:162,
|
| 2158 |
#: framework/premium/features/content-blocks/options/popup.php:418,
|
| 2159 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:705,
|
|
@@ -2163,6 +2308,8 @@ msgstr ""
|
|
| 2163 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-socials/options.php:94,
|
| 2164 |
#: build_tmp/build/framework/features/header/items/account/options.php:124,
|
| 2165 |
#: build_tmp/build/framework/features/header/items/account/options.php:349,
|
|
|
|
|
|
|
| 2166 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:162,
|
| 2167 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:418,
|
| 2168 |
#: build_tmp/build/framework/premium/features/premium-header/items/contacts/options.php:277
|
|
@@ -2221,56 +2368,56 @@ msgstr ""
|
|
| 2221 |
msgid "Up"
|
| 2222 |
msgstr ""
|
| 2223 |
|
| 2224 |
-
#: framework/premium/features/content-blocks.php:
|
| 2225 |
-
#: framework/premium/features/content-blocks.php:
|
| 2226 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2227 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2228 |
msgid "Content Blocks"
|
| 2229 |
msgstr ""
|
| 2230 |
|
| 2231 |
-
#: framework/premium/features/content-blocks.php:
|
| 2232 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2233 |
msgid "Content Block"
|
| 2234 |
msgstr ""
|
| 2235 |
|
| 2236 |
-
#: framework/premium/features/content-blocks.php:
|
| 2237 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2238 |
msgid "Add New"
|
| 2239 |
msgstr ""
|
| 2240 |
|
| 2241 |
-
#: framework/premium/features/content-blocks.php:
|
| 2242 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2243 |
msgid "Add New Content Block"
|
| 2244 |
msgstr ""
|
| 2245 |
|
| 2246 |
-
#: framework/premium/features/content-blocks.php:
|
| 2247 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2248 |
msgid "Edit Content Block"
|
| 2249 |
msgstr ""
|
| 2250 |
|
| 2251 |
-
#: framework/premium/features/content-blocks.php:
|
| 2252 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2253 |
#: framework/premium/static/js/hooks/CreateHook.js:32
|
| 2254 |
msgid "New Content Block"
|
| 2255 |
msgstr ""
|
| 2256 |
|
| 2257 |
-
#: framework/premium/features/content-blocks.php:
|
| 2258 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2259 |
msgid "View Content Block"
|
| 2260 |
msgstr ""
|
| 2261 |
|
| 2262 |
-
#: framework/premium/features/content-blocks.php:
|
| 2263 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2264 |
msgid "Search Content Blocks"
|
| 2265 |
msgstr ""
|
| 2266 |
|
| 2267 |
-
#: framework/premium/features/content-blocks.php:
|
| 2268 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2269 |
msgid "Nothing found"
|
| 2270 |
msgstr ""
|
| 2271 |
|
| 2272 |
-
#: framework/premium/features/content-blocks.php:
|
| 2273 |
-
#: build_tmp/build/framework/premium/features/content-blocks.php:
|
| 2274 |
msgid "Nothing found in Trash"
|
| 2275 |
msgstr ""
|
| 2276 |
|
|
@@ -2303,11 +2450,11 @@ msgstr ""
|
|
| 2303 |
#: build_tmp/build/framework/premium/features/premium-header.php:158,
|
| 2304 |
#: framework/features/header/items/account/options.php:123,
|
| 2305 |
#: framework/features/header/items/account/options.php:348,
|
| 2306 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 2307 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:420,
|
| 2308 |
#: build_tmp/build/framework/features/header/items/account/options.php:123,
|
| 2309 |
#: build_tmp/build/framework/features/header/items/account/options.php:348,
|
| 2310 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 2311 |
msgid "Icon"
|
| 2312 |
msgstr ""
|
| 2313 |
|
|
@@ -2397,13 +2544,8 @@ msgstr ""
|
|
| 2397 |
msgid "Thank you for subscribing!"
|
| 2398 |
msgstr ""
|
| 2399 |
|
| 2400 |
-
#: framework/extensions/product-reviews/views/single-top.php:
|
| 2401 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:
|
| 2402 |
-
msgid "Overall Score"
|
| 2403 |
-
msgstr ""
|
| 2404 |
-
|
| 2405 |
-
#: framework/extensions/product-reviews/views/single-top.php:212,
|
| 2406 |
-
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:212
|
| 2407 |
msgid "Specs"
|
| 2408 |
msgstr ""
|
| 2409 |
|
|
@@ -2548,7 +2690,9 @@ msgid ""
|
|
| 2548 |
msgstr ""
|
| 2549 |
|
| 2550 |
#: framework/premium/extensions/mega-menu/config.php:9,
|
| 2551 |
-
#:
|
|
|
|
|
|
|
| 2552 |
#: framework/extensions/newsletter-subscribe/dashboard-static/js/hooks/useActivationWithRequirements.js:60
|
| 2553 |
#: framework/extensions/product-reviews/static/js/EditSettings.js:30
|
| 2554 |
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:96
|
|
@@ -2651,11 +2795,11 @@ msgstr ""
|
|
| 2651 |
#: framework/premium/extensions/mega-menu/options.php:406,
|
| 2652 |
#: framework/premium/features/content-blocks/options/404.php:104,
|
| 2653 |
#: framework/premium/features/content-blocks/options/header.php:108,
|
| 2654 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 2655 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:406,
|
| 2656 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:104,
|
| 2657 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:108,
|
| 2658 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 2659 |
msgid "Disabled"
|
| 2660 |
msgstr ""
|
| 2661 |
|
|
@@ -2814,11 +2958,6 @@ msgstr ""
|
|
| 2814 |
msgid "Icon Color"
|
| 2815 |
msgstr ""
|
| 2816 |
|
| 2817 |
-
#: framework/premium/extensions/mega-menu/options.php:770,
|
| 2818 |
-
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:770
|
| 2819 |
-
msgid "Active"
|
| 2820 |
-
msgstr ""
|
| 2821 |
-
|
| 2822 |
#: framework/premium/extensions/post-types-extra/config.php:4,
|
| 2823 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/config.php:4
|
| 2824 |
msgid "Post Types Extra"
|
|
@@ -3013,17 +3152,17 @@ msgstr ""
|
|
| 3013 |
|
| 3014 |
#: framework/premium/extensions/shortcuts/customizer.php:640,
|
| 3015 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
|
| 3016 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3017 |
#: framework/features/header/items/account/options.php:261,
|
| 3018 |
#: framework/features/header/items/account/options.php:467,
|
| 3019 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 3020 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:640,
|
| 3021 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
|
| 3022 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3023 |
#: framework/premium/extensions/woocommerce-extra/header-items/wish-list/options.php:100,
|
| 3024 |
#: build_tmp/build/framework/features/header/items/account/options.php:261,
|
| 3025 |
#: build_tmp/build/framework/features/header/items/account/options.php:467,
|
| 3026 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 3027 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/header-items/wish-list/options.php:100
|
| 3028 |
msgid "Bottom"
|
| 3029 |
msgstr ""
|
|
@@ -3272,11 +3411,11 @@ msgid "Position"
|
|
| 3272 |
msgstr ""
|
| 3273 |
|
| 3274 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
|
| 3275 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3276 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 3277 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
|
| 3278 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3279 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 3280 |
msgid "Top"
|
| 3281 |
msgstr ""
|
| 3282 |
|
|
@@ -3290,13 +3429,13 @@ msgstr ""
|
|
| 3290 |
msgid "Floating Cart Visibility"
|
| 3291 |
msgstr ""
|
| 3292 |
|
| 3293 |
-
#: framework/premium/extensions/woocommerce-extra/helpers.php:
|
| 3294 |
-
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/helpers.php:
|
| 3295 |
msgid "Go to product page"
|
| 3296 |
msgstr ""
|
| 3297 |
|
| 3298 |
-
#: framework/premium/extensions/woocommerce-extra/helpers.php:
|
| 3299 |
-
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/helpers.php:
|
| 3300 |
msgid "Filter"
|
| 3301 |
msgstr ""
|
| 3302 |
|
|
@@ -3617,627 +3756,641 @@ msgstr ""
|
|
| 3617 |
#: framework/premium/features/content-blocks/hooks-manager.php:154,
|
| 3618 |
#: framework/premium/features/content-blocks/hooks-manager.php:162,
|
| 3619 |
#: framework/premium/features/content-blocks/hooks-manager.php:170,
|
|
|
|
|
|
|
| 3620 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:146,
|
| 3621 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:154,
|
| 3622 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:162,
|
| 3623 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:170
|
|
|
|
|
|
|
| 3624 |
msgid "Page/post title"
|
| 3625 |
msgstr ""
|
| 3626 |
|
| 3627 |
#: framework/premium/features/content-blocks/hooks-manager.php:153,
|
| 3628 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3629 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:153,
|
| 3630 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3631 |
msgid "Before title"
|
| 3632 |
msgstr ""
|
| 3633 |
|
| 3634 |
#: framework/premium/features/content-blocks/hooks-manager.php:161,
|
| 3635 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3636 |
-
|
| 3637 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:230
|
| 3638 |
-
msgid "After title"
|
| 3639 |
msgstr ""
|
| 3640 |
|
| 3641 |
#: framework/premium/features/content-blocks/hooks-manager.php:169,
|
| 3642 |
-
#:
|
| 3643 |
-
|
|
|
|
|
|
|
| 3644 |
msgstr ""
|
| 3645 |
|
| 3646 |
#: framework/premium/features/content-blocks/hooks-manager.php:177,
|
| 3647 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:177
|
| 3648 |
-
msgid "
|
| 3649 |
msgstr ""
|
| 3650 |
|
| 3651 |
#: framework/premium/features/content-blocks/hooks-manager.php:185,
|
| 3652 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3653 |
-
|
| 3654 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:287
|
| 3655 |
-
msgid "Top content"
|
| 3656 |
msgstr ""
|
| 3657 |
|
| 3658 |
#: framework/premium/features/content-blocks/hooks-manager.php:193,
|
| 3659 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3660 |
-
|
| 3661 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:309
|
| 3662 |
-
msgid "Bottom content"
|
| 3663 |
msgstr ""
|
| 3664 |
|
| 3665 |
#: framework/premium/features/content-blocks/hooks-manager.php:201,
|
| 3666 |
-
#:
|
| 3667 |
-
|
|
|
|
|
|
|
| 3668 |
msgstr ""
|
| 3669 |
|
| 3670 |
#: framework/premium/features/content-blocks/hooks-manager.php:209,
|
| 3671 |
-
#:
|
| 3672 |
-
|
|
|
|
|
|
|
| 3673 |
msgstr ""
|
| 3674 |
|
| 3675 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:210,
|
| 3676 |
#: framework/premium/features/content-blocks/hooks-manager.php:217,
|
| 3677 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3678 |
-
|
| 3679 |
-
|
| 3680 |
-
|
| 3681 |
-
#:
|
| 3682 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3683 |
-
|
| 3684 |
-
|
| 3685 |
-
|
| 3686 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3687 |
msgid "Comments"
|
| 3688 |
msgstr ""
|
| 3689 |
|
| 3690 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3691 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3692 |
msgid "Top comments"
|
| 3693 |
msgstr ""
|
| 3694 |
|
| 3695 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3696 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3697 |
msgid "Bottom comments"
|
| 3698 |
msgstr ""
|
| 3699 |
|
| 3700 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3701 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3702 |
msgid "After comments"
|
| 3703 |
msgstr ""
|
| 3704 |
|
| 3705 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3706 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 3707 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3708 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 3709 |
msgid "Before"
|
| 3710 |
msgstr ""
|
| 3711 |
|
| 3712 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3713 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3714 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3715 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3716 |
msgid "Loop"
|
| 3717 |
msgstr ""
|
| 3718 |
|
| 3719 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3720 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 3721 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3722 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 3723 |
msgid "After"
|
| 3724 |
msgstr ""
|
| 3725 |
|
| 3726 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3727 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3728 |
msgid "Start"
|
| 3729 |
msgstr ""
|
| 3730 |
|
| 3731 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3732 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3733 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3734 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3735 |
msgid "Loop card"
|
| 3736 |
msgstr ""
|
| 3737 |
|
| 3738 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3739 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3740 |
msgid "End"
|
| 3741 |
msgstr ""
|
| 3742 |
|
| 3743 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3744 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3745 |
msgid "After certain number of blocks"
|
| 3746 |
msgstr ""
|
| 3747 |
|
| 3748 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3749 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3750 |
msgid "Before certain number of headings"
|
| 3751 |
msgstr ""
|
| 3752 |
|
| 3753 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3754 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3755 |
msgid "Login form start"
|
| 3756 |
msgstr ""
|
| 3757 |
|
| 3758 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3759 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3760 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3761 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3762 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3763 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3764 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3765 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3766 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3767 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3768 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3769 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3770 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3771 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3772 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3773 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3774 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3775 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3776 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3777 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3778 |
msgid "Auth forms"
|
| 3779 |
msgstr ""
|
| 3780 |
|
| 3781 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3782 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3783 |
msgid "Login form end"
|
| 3784 |
msgstr ""
|
| 3785 |
|
| 3786 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3787 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3788 |
msgid "Login form modal start"
|
| 3789 |
msgstr ""
|
| 3790 |
|
| 3791 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3792 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3793 |
msgid "Login form modal end"
|
| 3794 |
msgstr ""
|
| 3795 |
|
| 3796 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3797 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3798 |
msgid "Register form start"
|
| 3799 |
msgstr ""
|
| 3800 |
|
| 3801 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3802 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3803 |
msgid "Register form end"
|
| 3804 |
msgstr ""
|
| 3805 |
|
| 3806 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3807 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3808 |
msgid "Register form modal start"
|
| 3809 |
msgstr ""
|
| 3810 |
|
| 3811 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3812 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3813 |
msgid "Register form modal end"
|
| 3814 |
msgstr ""
|
| 3815 |
|
| 3816 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3817 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3818 |
msgid "Lost password form modal start"
|
| 3819 |
msgstr ""
|
| 3820 |
|
| 3821 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3822 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3823 |
msgid "Lost password form modal end"
|
| 3824 |
msgstr ""
|
| 3825 |
|
| 3826 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3827 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3828 |
msgid "Before main content"
|
| 3829 |
msgstr ""
|
| 3830 |
|
| 3831 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3832 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3833 |
msgid "After main content"
|
| 3834 |
msgstr ""
|
| 3835 |
|
| 3836 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3837 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3838 |
msgid "WooCommerce Global"
|
| 3839 |
msgstr ""
|
| 3840 |
|
| 3841 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3842 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3843 |
msgid "Archive description"
|
| 3844 |
msgstr ""
|
| 3845 |
|
| 3846 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3847 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3848 |
msgid "Before shop loop"
|
| 3849 |
msgstr ""
|
| 3850 |
|
| 3851 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3852 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3853 |
msgid "Before shop loop item title"
|
| 3854 |
msgstr ""
|
| 3855 |
|
| 3856 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3857 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3858 |
msgid "After shop loop item title"
|
| 3859 |
msgstr ""
|
| 3860 |
|
| 3861 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3862 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3863 |
msgid "Before shop loop item price"
|
| 3864 |
msgstr ""
|
| 3865 |
|
| 3866 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3867 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3868 |
msgid "After shop loop item price"
|
| 3869 |
msgstr ""
|
| 3870 |
|
| 3871 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3872 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3873 |
msgid "After shop loop"
|
| 3874 |
msgstr ""
|
| 3875 |
|
| 3876 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3877 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3878 |
msgid "WooCommerce Archive"
|
| 3879 |
msgstr ""
|
| 3880 |
|
| 3881 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3882 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3883 |
msgid "Before single product"
|
| 3884 |
msgstr ""
|
| 3885 |
|
| 3886 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3887 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3888 |
msgid "Product meta start"
|
| 3889 |
msgstr ""
|
| 3890 |
|
| 3891 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3892 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3893 |
msgid "Product meta end"
|
| 3894 |
msgstr ""
|
| 3895 |
|
| 3896 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3897 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3898 |
msgid "Share"
|
| 3899 |
msgstr ""
|
| 3900 |
|
| 3901 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3902 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3903 |
msgid "After single product"
|
| 3904 |
msgstr ""
|
| 3905 |
|
| 3906 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3907 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3908 |
msgid "Before single product excerpt"
|
| 3909 |
msgstr ""
|
| 3910 |
|
| 3911 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3912 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3913 |
msgid "After single product excerpt"
|
| 3914 |
msgstr ""
|
| 3915 |
|
| 3916 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3917 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3918 |
msgid "Before single product tabs"
|
| 3919 |
msgstr ""
|
| 3920 |
|
| 3921 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3922 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3923 |
msgid "After single product tabs"
|
| 3924 |
msgstr ""
|
| 3925 |
|
| 3926 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 3927 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 3928 |
msgid "WooCommerce Product"
|
| 3929 |
msgstr ""
|
| 3930 |
|
| 3931 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:520,
|
| 3932 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:520
|
| 3933 |
-
msgid "Cart is empty"
|
| 3934 |
-
msgstr ""
|
| 3935 |
-
|
| 3936 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:524,
|
| 3937 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:524
|
| 3938 |
-
msgid "Before cart"
|
| 3939 |
-
msgstr ""
|
| 3940 |
-
|
| 3941 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:528,
|
| 3942 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:528
|
| 3943 |
-
msgid "Before cart table"
|
| 3944 |
-
msgstr ""
|
| 3945 |
-
|
| 3946 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:532,
|
| 3947 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:532
|
| 3948 |
-
msgid "Before cart contents"
|
| 3949 |
-
msgstr ""
|
| 3950 |
-
|
| 3951 |
#: framework/premium/features/content-blocks/hooks-manager.php:536,
|
| 3952 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:536
|
| 3953 |
-
msgid "Cart
|
| 3954 |
msgstr ""
|
| 3955 |
|
| 3956 |
#: framework/premium/features/content-blocks/hooks-manager.php:540,
|
| 3957 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:540
|
| 3958 |
-
msgid "
|
| 3959 |
msgstr ""
|
| 3960 |
|
| 3961 |
#: framework/premium/features/content-blocks/hooks-manager.php:544,
|
| 3962 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:544
|
| 3963 |
-
msgid "
|
| 3964 |
msgstr ""
|
| 3965 |
|
| 3966 |
#: framework/premium/features/content-blocks/hooks-manager.php:548,
|
| 3967 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:548
|
| 3968 |
-
msgid "
|
| 3969 |
msgstr ""
|
| 3970 |
|
| 3971 |
#: framework/premium/features/content-blocks/hooks-manager.php:552,
|
| 3972 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:552
|
| 3973 |
-
msgid "
|
| 3974 |
msgstr ""
|
| 3975 |
|
| 3976 |
#: framework/premium/features/content-blocks/hooks-manager.php:556,
|
| 3977 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:556
|
| 3978 |
-
msgid "
|
| 3979 |
msgstr ""
|
| 3980 |
|
| 3981 |
#: framework/premium/features/content-blocks/hooks-manager.php:560,
|
| 3982 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:560
|
| 3983 |
-
msgid "
|
| 3984 |
msgstr ""
|
| 3985 |
|
| 3986 |
#: framework/premium/features/content-blocks/hooks-manager.php:564,
|
| 3987 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:564
|
| 3988 |
-
msgid "Cart
|
| 3989 |
msgstr ""
|
| 3990 |
|
| 3991 |
#: framework/premium/features/content-blocks/hooks-manager.php:568,
|
| 3992 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:568
|
| 3993 |
-
msgid "
|
| 3994 |
msgstr ""
|
| 3995 |
|
| 3996 |
#: framework/premium/features/content-blocks/hooks-manager.php:572,
|
| 3997 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:572
|
| 3998 |
-
msgid "
|
| 3999 |
msgstr ""
|
| 4000 |
|
| 4001 |
#: framework/premium/features/content-blocks/hooks-manager.php:576,
|
| 4002 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:576
|
| 4003 |
-
msgid "
|
| 4004 |
msgstr ""
|
| 4005 |
|
| 4006 |
#: framework/premium/features/content-blocks/hooks-manager.php:580,
|
| 4007 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:580
|
| 4008 |
-
msgid "
|
| 4009 |
msgstr ""
|
| 4010 |
|
| 4011 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4012 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4013 |
-
msgid "
|
| 4014 |
msgstr ""
|
| 4015 |
|
| 4016 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4017 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4018 |
-
msgid "
|
| 4019 |
msgstr ""
|
| 4020 |
|
| 4021 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4022 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4023 |
-
msgid "
|
| 4024 |
msgstr ""
|
| 4025 |
|
| 4026 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4027 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4028 |
-
msgid "
|
| 4029 |
msgstr ""
|
| 4030 |
|
| 4031 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4032 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4033 |
-
msgid "
|
| 4034 |
msgstr ""
|
| 4035 |
|
| 4036 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4037 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4038 |
-
msgid "
|
| 4039 |
msgstr ""
|
| 4040 |
|
| 4041 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4042 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4043 |
-
msgid "
|
| 4044 |
msgstr ""
|
| 4045 |
|
| 4046 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4047 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4048 |
-
msgid "Before
|
| 4049 |
msgstr ""
|
| 4050 |
|
| 4051 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4052 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4053 |
-
msgid "
|
| 4054 |
msgstr ""
|
| 4055 |
|
| 4056 |
#: framework/premium/features/content-blocks/hooks-manager.php:626,
|
| 4057 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:626
|
| 4058 |
-
msgid "After
|
| 4059 |
msgstr ""
|
| 4060 |
|
| 4061 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4062 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4063 |
-
msgid "
|
| 4064 |
msgstr ""
|
| 4065 |
|
| 4066 |
#: framework/premium/features/content-blocks/hooks-manager.php:634,
|
| 4067 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:634
|
| 4068 |
-
msgid "Before checkout
|
| 4069 |
msgstr ""
|
| 4070 |
|
| 4071 |
#: framework/premium/features/content-blocks/hooks-manager.php:638,
|
| 4072 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:638
|
| 4073 |
-
msgid "
|
| 4074 |
msgstr ""
|
| 4075 |
|
| 4076 |
#: framework/premium/features/content-blocks/hooks-manager.php:642,
|
| 4077 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:642
|
| 4078 |
-
msgid "
|
| 4079 |
msgstr ""
|
| 4080 |
|
| 4081 |
#: framework/premium/features/content-blocks/hooks-manager.php:646,
|
| 4082 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:646
|
| 4083 |
-
msgid "
|
| 4084 |
msgstr ""
|
| 4085 |
|
| 4086 |
#: framework/premium/features/content-blocks/hooks-manager.php:650,
|
| 4087 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:650
|
| 4088 |
-
msgid "
|
| 4089 |
msgstr ""
|
| 4090 |
|
| 4091 |
#: framework/premium/features/content-blocks/hooks-manager.php:654,
|
| 4092 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:654
|
| 4093 |
-
msgid "
|
| 4094 |
msgstr ""
|
| 4095 |
|
| 4096 |
#: framework/premium/features/content-blocks/hooks-manager.php:658,
|
| 4097 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:658
|
| 4098 |
-
msgid "
|
| 4099 |
msgstr ""
|
| 4100 |
|
| 4101 |
#: framework/premium/features/content-blocks/hooks-manager.php:662,
|
| 4102 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:662
|
| 4103 |
-
msgid "
|
| 4104 |
msgstr ""
|
| 4105 |
|
| 4106 |
#: framework/premium/features/content-blocks/hooks-manager.php:666,
|
| 4107 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:666
|
| 4108 |
-
msgid "
|
| 4109 |
msgstr ""
|
| 4110 |
|
| 4111 |
#: framework/premium/features/content-blocks/hooks-manager.php:670,
|
| 4112 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:670
|
| 4113 |
-
msgid "
|
| 4114 |
msgstr ""
|
| 4115 |
|
| 4116 |
#: framework/premium/features/content-blocks/hooks-manager.php:674,
|
| 4117 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:674
|
| 4118 |
-
msgid "
|
| 4119 |
msgstr ""
|
| 4120 |
|
| 4121 |
#: framework/premium/features/content-blocks/hooks-manager.php:678,
|
| 4122 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:678
|
| 4123 |
-
msgid "Review order before
|
| 4124 |
msgstr ""
|
| 4125 |
|
| 4126 |
#: framework/premium/features/content-blocks/hooks-manager.php:682,
|
| 4127 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:682
|
| 4128 |
-
msgid "Review order
|
| 4129 |
msgstr ""
|
| 4130 |
|
| 4131 |
#: framework/premium/features/content-blocks/hooks-manager.php:686,
|
| 4132 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:686
|
| 4133 |
-
msgid "Review order
|
| 4134 |
msgstr ""
|
| 4135 |
|
| 4136 |
#: framework/premium/features/content-blocks/hooks-manager.php:690,
|
| 4137 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:690
|
| 4138 |
-
msgid "Review order after
|
| 4139 |
msgstr ""
|
| 4140 |
|
| 4141 |
#: framework/premium/features/content-blocks/hooks-manager.php:694,
|
| 4142 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:694
|
| 4143 |
-
msgid "
|
| 4144 |
msgstr ""
|
| 4145 |
|
| 4146 |
#: framework/premium/features/content-blocks/hooks-manager.php:698,
|
| 4147 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4148 |
msgid "After checkout form"
|
| 4149 |
msgstr ""
|
| 4150 |
|
| 4151 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4152 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4153 |
msgid "WooCommerce Checkout"
|
| 4154 |
msgstr ""
|
| 4155 |
|
| 4156 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4157 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4158 |
msgid "Before my account"
|
| 4159 |
msgstr ""
|
| 4160 |
|
| 4161 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4162 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4163 |
msgid "Before account navigation"
|
| 4164 |
msgstr ""
|
| 4165 |
|
| 4166 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4167 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4168 |
msgid "Account navigation"
|
| 4169 |
msgstr ""
|
| 4170 |
|
| 4171 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4172 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4173 |
msgid "After account navigation"
|
| 4174 |
msgstr ""
|
| 4175 |
|
| 4176 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4177 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4178 |
msgid "Account content"
|
| 4179 |
msgstr ""
|
| 4180 |
|
| 4181 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4182 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4183 |
msgid "Account dashboard"
|
| 4184 |
msgstr ""
|
| 4185 |
|
| 4186 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4187 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4188 |
msgid "After my account"
|
| 4189 |
msgstr ""
|
| 4190 |
|
| 4191 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4192 |
#: framework/features/header/items/account/options.php:17,
|
| 4193 |
#: framework/features/header/items/account/options.php:18,
|
| 4194 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4195 |
#: build_tmp/build/framework/features/header/items/account/options.php:17,
|
| 4196 |
#: build_tmp/build/framework/features/header/items/account/options.php:18
|
| 4197 |
msgid "WooCommerce Account"
|
| 4198 |
msgstr ""
|
| 4199 |
|
| 4200 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4201 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4202 |
msgid "WP footer"
|
| 4203 |
msgstr ""
|
| 4204 |
|
| 4205 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:740,
|
| 4206 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:748,
|
| 4207 |
#: framework/premium/features/content-blocks/hooks-manager.php:756,
|
| 4208 |
-
#:
|
| 4209 |
-
#:
|
| 4210 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:756
|
|
|
|
|
|
|
| 4211 |
msgid "Footer"
|
| 4212 |
msgstr ""
|
| 4213 |
|
| 4214 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4215 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4216 |
msgid "Footer before"
|
| 4217 |
msgstr ""
|
| 4218 |
|
| 4219 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4220 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4221 |
msgid "Footer after"
|
| 4222 |
msgstr ""
|
| 4223 |
|
| 4224 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4225 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4226 |
msgid "Custom Hook (%s)"
|
| 4227 |
msgstr ""
|
| 4228 |
|
| 4229 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4230 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 4231 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4232 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 4233 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:87
|
| 4234 |
msgid "After Block Number"
|
| 4235 |
msgstr ""
|
| 4236 |
|
| 4237 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:
|
| 4238 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 4239 |
-
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:
|
| 4240 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 4241 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:106
|
| 4242 |
msgid "Before Heading Number"
|
| 4243 |
msgstr ""
|
|
@@ -4794,6 +4947,14 @@ msgstr ""
|
|
| 4794 |
msgid "Excerpt Lenght"
|
| 4795 |
msgstr ""
|
| 4796 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4797 |
#: framework/extensions/widgets/widgets/ct-quote/options.php:18,
|
| 4798 |
#: framework/extensions/widgets/widgets/ct-quote/view.php:12,
|
| 4799 |
#: framework/extensions/widgets/widgets/ct-quote/widget.php:13,
|
|
@@ -5193,66 +5354,66 @@ msgstr ""
|
|
| 5193 |
msgid "Account header icon"
|
| 5194 |
msgstr ""
|
| 5195 |
|
| 5196 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5197 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5198 |
msgid "You have no %s fields declared for this custom post type."
|
| 5199 |
msgstr ""
|
| 5200 |
|
| 5201 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5202 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5203 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5204 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5205 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5206 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5207 |
msgid "Field"
|
| 5208 |
msgstr ""
|
| 5209 |
|
| 5210 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5211 |
#: framework/premium/features/premium-header/items/language-switcher/options.php:60,
|
| 5212 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5213 |
#: build_tmp/build/framework/premium/features/premium-header/items/language-switcher/options.php:60
|
| 5214 |
msgid "Label"
|
| 5215 |
msgstr ""
|
| 5216 |
|
| 5217 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5218 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5219 |
msgid "Fallback"
|
| 5220 |
msgstr ""
|
| 5221 |
|
| 5222 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5223 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5224 |
msgid "%s Field"
|
| 5225 |
msgstr ""
|
| 5226 |
|
| 5227 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5228 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5229 |
msgid "%s %s Font"
|
| 5230 |
msgstr ""
|
| 5231 |
|
| 5232 |
-
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5233 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:
|
| 5234 |
msgid "%s %s Color"
|
| 5235 |
msgstr ""
|
| 5236 |
|
| 5237 |
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:9,
|
| 5238 |
-
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5239 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:9,
|
| 5240 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5241 |
msgid "Read Time"
|
| 5242 |
msgstr ""
|
| 5243 |
|
| 5244 |
-
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5245 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5246 |
msgid " min"
|
| 5247 |
msgstr ""
|
| 5248 |
|
| 5249 |
-
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5250 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:
|
| 5251 |
msgid " mins"
|
| 5252 |
msgstr ""
|
| 5253 |
|
| 5254 |
-
#: framework/premium/extensions/post-types-extra/includes/filtering.php:
|
| 5255 |
-
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering.php:
|
| 5256 |
msgid "All"
|
| 5257 |
msgstr ""
|
| 5258 |
|
|
@@ -5292,7 +5453,7 @@ msgstr ""
|
|
| 5292 |
|
| 5293 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:28,
|
| 5294 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:28
|
| 5295 |
-
msgid "Show Wishlist
|
| 5296 |
msgstr ""
|
| 5297 |
|
| 5298 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:34,
|
|
@@ -5407,125 +5568,119 @@ msgstr ""
|
|
| 5407 |
|
| 5408 |
#: framework/premium/features/content-blocks/options/404.php:19,
|
| 5409 |
#: framework/premium/features/content-blocks/options/header.php:19,
|
| 5410 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5411 |
#: framework/premium/features/content-blocks/options/popup.php:25,
|
| 5412 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:19,
|
| 5413 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:19,
|
| 5414 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5415 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:25
|
| 5416 |
msgid "Other"
|
| 5417 |
msgstr ""
|
| 5418 |
|
| 5419 |
#: framework/premium/features/content-blocks/options/404.php:33,
|
| 5420 |
#: framework/premium/features/content-blocks/options/header.php:35,
|
| 5421 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5422 |
#: framework/premium/features/content-blocks/options/popup.php:42,
|
| 5423 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:33,
|
| 5424 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:35,
|
| 5425 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5426 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:42
|
| 5427 |
msgid "Container Structure"
|
| 5428 |
msgstr ""
|
| 5429 |
|
| 5430 |
#: framework/premium/features/content-blocks/options/404.php:59,
|
| 5431 |
#: framework/premium/features/content-blocks/options/header.php:63,
|
| 5432 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5433 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:59,
|
| 5434 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:63,
|
| 5435 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5436 |
msgid "Narrow Width"
|
| 5437 |
msgstr ""
|
| 5438 |
|
| 5439 |
#: framework/premium/features/content-blocks/options/404.php:64,
|
| 5440 |
#: framework/premium/features/content-blocks/options/header.php:68,
|
| 5441 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5442 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:64,
|
| 5443 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:68,
|
| 5444 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5445 |
msgid "Normal Width"
|
| 5446 |
msgstr ""
|
| 5447 |
|
| 5448 |
#: framework/premium/features/content-blocks/options/404.php:70,
|
| 5449 |
#: framework/premium/features/content-blocks/options/header.php:74,
|
| 5450 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5451 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:70,
|
| 5452 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:74,
|
| 5453 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5454 |
msgid "Content Area Style"
|
| 5455 |
msgstr ""
|
| 5456 |
|
| 5457 |
#: framework/premium/features/content-blocks/options/404.php:84,
|
| 5458 |
#: framework/premium/features/content-blocks/options/header.php:88,
|
| 5459 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5460 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:84,
|
| 5461 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:88,
|
| 5462 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5463 |
msgid "Content Area Vertical Spacing"
|
| 5464 |
msgstr ""
|
| 5465 |
|
| 5466 |
#: framework/premium/features/content-blocks/options/404.php:95,
|
| 5467 |
#: framework/premium/features/content-blocks/options/header.php:99,
|
| 5468 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5469 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:95,
|
| 5470 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:99,
|
| 5471 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5472 |
msgid "Top & Bottom"
|
| 5473 |
msgstr ""
|
| 5474 |
|
| 5475 |
#: framework/premium/features/content-blocks/options/404.php:98,
|
| 5476 |
#: framework/premium/features/content-blocks/options/header.php:102,
|
| 5477 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5478 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:98,
|
| 5479 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:102,
|
| 5480 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5481 |
msgid "Only Top"
|
| 5482 |
msgstr ""
|
| 5483 |
|
| 5484 |
#: framework/premium/features/content-blocks/options/404.php:101,
|
| 5485 |
#: framework/premium/features/content-blocks/options/header.php:105,
|
| 5486 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5487 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:101,
|
| 5488 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:105,
|
| 5489 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5490 |
msgid "Only Bottom"
|
| 5491 |
msgstr ""
|
| 5492 |
|
| 5493 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5494 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5495 |
msgid "Location & Priority"
|
| 5496 |
msgstr ""
|
| 5497 |
|
| 5498 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5499 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5500 |
-
#: framework/premium/static/js/options/MultipleLocationsSelect.js:47
|
| 5501 |
-
msgid "Select location"
|
| 5502 |
-
msgstr ""
|
| 5503 |
-
|
| 5504 |
-
#: framework/premium/features/content-blocks/options/hook.php:176,
|
| 5505 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:176
|
| 5506 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:72
|
| 5507 |
msgid "Custom Hook"
|
| 5508 |
msgstr ""
|
| 5509 |
|
| 5510 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5511 |
#: framework/premium/features/content-blocks/options/popup.php:296,
|
| 5512 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5513 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:296
|
| 5514 |
msgid "Expiration Date/Time"
|
| 5515 |
msgstr ""
|
| 5516 |
|
| 5517 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5518 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5519 |
msgid "Block Position"
|
| 5520 |
msgstr ""
|
| 5521 |
|
| 5522 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5523 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5524 |
msgid "Fixed"
|
| 5525 |
msgstr ""
|
| 5526 |
|
| 5527 |
-
#: framework/premium/features/content-blocks/options/hook.php:
|
| 5528 |
-
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:
|
| 5529 |
msgid "Location"
|
| 5530 |
msgstr ""
|
| 5531 |
|
|
@@ -6064,7 +6219,7 @@ msgstr ""
|
|
| 6064 |
#: framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js:208
|
| 6065 |
#: framework/premium/extensions/mega-menu/static/js/SettingsManager.js:221
|
| 6066 |
#: framework/premium/extensions/sidebars/static/js/SettingsManager.js:101
|
| 6067 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6068 |
#: framework/premium/static/js/footer/EditConditions.js:143
|
| 6069 |
msgid "Save Settings"
|
| 6070 |
msgstr ""
|
|
@@ -6371,61 +6526,72 @@ msgid ""
|
|
| 6371 |
"recommended image size is 18px wide by 18px tall."
|
| 6372 |
msgstr ""
|
| 6373 |
|
| 6374 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6375 |
msgid "Plugin Details"
|
| 6376 |
msgstr ""
|
| 6377 |
|
| 6378 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6379 |
msgid "Plugin Name"
|
| 6380 |
msgstr ""
|
| 6381 |
|
| 6382 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6383 |
msgid "Plugin Description"
|
| 6384 |
msgstr ""
|
| 6385 |
|
| 6386 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6387 |
msgid "Plugin Thumbnail URL"
|
| 6388 |
msgstr ""
|
| 6389 |
|
| 6390 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6391 |
msgid "Choose File"
|
| 6392 |
msgstr ""
|
| 6393 |
|
| 6394 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6395 |
msgid ""
|
| 6396 |
"You can insert the link to a self hosted image or upload one. The "
|
| 6397 |
"recommended image size is 256px wide by 256px tall."
|
| 6398 |
msgstr ""
|
| 6399 |
|
| 6400 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6401 |
msgid "Hide Account Menu Item"
|
| 6402 |
msgstr ""
|
| 6403 |
|
| 6404 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6405 |
msgid "Hide Starter Sites Tab"
|
| 6406 |
msgstr ""
|
| 6407 |
|
| 6408 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6409 |
msgid "Hide Useful Plugins Tab"
|
| 6410 |
msgstr ""
|
| 6411 |
|
| 6412 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6413 |
msgid "Hide Changelog Tab"
|
| 6414 |
msgstr ""
|
| 6415 |
|
| 6416 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6417 |
msgid "Hide Support Section"
|
| 6418 |
msgstr ""
|
| 6419 |
|
| 6420 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6421 |
msgid "Hide Beta Updates Section"
|
| 6422 |
msgstr ""
|
| 6423 |
|
| 6424 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6425 |
msgid "Hide White Label Extension"
|
| 6426 |
msgstr ""
|
| 6427 |
|
| 6428 |
-
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:
|
| 6429 |
msgid ""
|
| 6430 |
"Please note that the white label extension will be hidden if this option is "
|
| 6431 |
"enabled. In order to bring it back you have to hit the SHIFT key and click "
|
|
@@ -6536,7 +6702,7 @@ msgstr ""
|
|
| 6536 |
#: framework/premium/static/js/footer/PanelsManager.js:211
|
| 6537 |
#: framework/premium/static/js/hooks/CodeEditor.js:60
|
| 6538 |
#: static/js/header/PanelsManager.js:215
|
| 6539 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6540 |
msgid "Cancel"
|
| 6541 |
msgstr ""
|
| 6542 |
|
|
@@ -6673,18 +6839,22 @@ msgstr ""
|
|
| 6673 |
msgid "Add New Location"
|
| 6674 |
msgstr ""
|
| 6675 |
|
| 6676 |
-
#: framework/premium/static/js/
|
| 6677 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6678 |
msgid "Blocksy Local Google Fonts"
|
| 6679 |
msgstr ""
|
| 6680 |
|
| 6681 |
-
#: framework/premium/static/js/typography/kadence.js:
|
| 6682 |
-
#: framework/premium/static/js/typography/stackable.js:
|
| 6683 |
msgid "Blocksy Typekit"
|
| 6684 |
msgstr ""
|
| 6685 |
|
| 6686 |
-
#: framework/premium/static/js/typography/kadence.js:
|
| 6687 |
-
#: framework/premium/static/js/typography/stackable.js:
|
| 6688 |
msgid "Blocksy Custom Fonts"
|
| 6689 |
msgstr ""
|
| 6690 |
|
|
@@ -6736,15 +6906,11 @@ msgstr ""
|
|
| 6736 |
msgid "Join Facebook Community"
|
| 6737 |
msgstr ""
|
| 6738 |
|
| 6739 |
-
#: static/js/helpers/useActivationAction.js:
|
| 6740 |
-
msgid "Hurry up, we have a 10% off discount now 🤩"
|
| 6741 |
-
msgstr ""
|
| 6742 |
-
|
| 6743 |
-
#: static/js/helpers/useActivationAction.js:120
|
| 6744 |
msgid "Free vs Pro"
|
| 6745 |
msgstr ""
|
| 6746 |
|
| 6747 |
-
#: static/js/helpers/useActivationAction.js:
|
| 6748 |
msgid "Upgrade Now"
|
| 6749 |
msgstr ""
|
| 6750 |
|
|
@@ -6794,75 +6960,71 @@ msgstr ""
|
|
| 6794 |
msgid "Select page"
|
| 6795 |
msgstr ""
|
| 6796 |
|
| 6797 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6798 |
-
msgid "Export Customizations"
|
| 6799 |
-
msgstr ""
|
| 6800 |
-
|
| 6801 |
-
#: static/js/options/CustomizerOptionsManager.js:108
|
| 6802 |
msgid "Import Options"
|
| 6803 |
msgstr ""
|
| 6804 |
|
| 6805 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6806 |
msgid "Easily import the theme customizer settings."
|
| 6807 |
msgstr ""
|
| 6808 |
|
| 6809 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6810 |
msgid "Click or drop to upload a file..."
|
| 6811 |
msgstr ""
|
| 6812 |
|
| 6813 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6814 |
msgid "Import Customizations"
|
| 6815 |
msgstr ""
|
| 6816 |
|
| 6817 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6818 |
msgid "Copy Options"
|
| 6819 |
msgstr ""
|
| 6820 |
|
| 6821 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6822 |
msgid "Copy and import your customizations from parent or child theme."
|
| 6823 |
msgstr ""
|
| 6824 |
|
| 6825 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6826 |
msgid "Copy From Parent Theme"
|
| 6827 |
msgstr ""
|
| 6828 |
|
| 6829 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6830 |
msgid "Copy From Child Theme"
|
| 6831 |
msgstr ""
|
| 6832 |
|
| 6833 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6834 |
msgid ""
|
| 6835 |
"You are about to copy all the settings from your parent theme into the child "
|
| 6836 |
"theme. Are you sure you want to continue?"
|
| 6837 |
msgstr ""
|
| 6838 |
|
| 6839 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6840 |
msgid ""
|
| 6841 |
"You are about to copy all the settings from your child theme into the parent "
|
| 6842 |
"theme. Are you sure you want to continue?"
|
| 6843 |
msgstr ""
|
| 6844 |
|
| 6845 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6846 |
msgid "Yes, I am sure"
|
| 6847 |
msgstr ""
|
| 6848 |
|
| 6849 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6850 |
msgid "Export Settings"
|
| 6851 |
msgstr ""
|
| 6852 |
|
| 6853 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6854 |
msgid "Choose what set of settings you want to export."
|
| 6855 |
msgstr ""
|
| 6856 |
|
| 6857 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6858 |
msgid "Customizer settings"
|
| 6859 |
msgstr ""
|
| 6860 |
|
| 6861 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6862 |
msgid "Widgets settings"
|
| 6863 |
msgstr ""
|
| 6864 |
|
| 6865 |
-
#: static/js/options/CustomizerOptionsManager.js:
|
| 6866 |
msgid "Export"
|
| 6867 |
msgstr ""
|
| 6868 |
|
|
@@ -6874,6 +7036,10 @@ msgstr ""
|
|
| 6874 |
msgid "Easily export the theme customizer settings."
|
| 6875 |
msgstr ""
|
| 6876 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6877 |
#: static/js/options/DisplayCondition.js:18
|
| 6878 |
msgid "Transparent Header Display Conditions"
|
| 6879 |
msgstr ""
|
| 69 |
|
| 70 |
#: framework/extensions-manager.php:269,
|
| 71 |
#: build_tmp/build/framework/extensions-manager.php:269,
|
| 72 |
+
#: framework/premium/extensions/custom-fonts/extension.php:145,
|
| 73 |
+
#: build_tmp/build/framework/premium/extensions/custom-fonts/extension.php:145
|
| 74 |
msgid "Custom Fonts"
|
| 75 |
msgstr ""
|
| 76 |
|
| 83 |
|
| 84 |
#: framework/extensions-manager.php:281,
|
| 85 |
#: build_tmp/build/framework/extensions-manager.php:281,
|
| 86 |
+
#: framework/premium/extensions/local-google-fonts/extension.php:155,
|
| 87 |
+
#: build_tmp/build/framework/premium/extensions/local-google-fonts/extension.php:155
|
| 88 |
msgid "Local Google Fonts"
|
| 89 |
msgstr ""
|
| 90 |
|
| 336 |
|
| 337 |
#: framework/features/conditions-manager.php:358,
|
| 338 |
#: build_tmp/build/framework/features/conditions-manager.php:358,
|
|
|
|
|
|
|
| 339 |
#: framework/premium/features/content-blocks/hooks-manager.php:296,
|
| 340 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:304,
|
| 341 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:312,
|
| 342 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:319,
|
| 343 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:326,
|
| 344 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:334,
|
| 345 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:296,
|
| 346 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:304,
|
| 347 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:312,
|
| 348 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:319,
|
| 349 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:326,
|
| 350 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:334
|
| 351 |
msgid "Single Post"
|
| 352 |
msgstr ""
|
| 353 |
|
| 424 |
#: framework/features/conditions-manager.php:469,
|
| 425 |
#: build_tmp/build/framework/features/conditions-manager.php:469,
|
| 426 |
#: framework/premium/features/premium-header/items/search-input/options.php:45,
|
| 427 |
+
#: framework/premium/features/premium-header/items/search-input/view.php:70,
|
| 428 |
#: build_tmp/build/framework/premium/features/premium-header/items/search-input/options.php:45,
|
| 429 |
+
#: build_tmp/build/framework/premium/features/premium-header/items/search-input/view.php:70
|
| 430 |
msgid "Search"
|
| 431 |
msgstr ""
|
| 432 |
|
| 470 |
msgid "Language"
|
| 471 |
msgstr ""
|
| 472 |
|
| 473 |
+
#: framework/features/demo-install.php:233,
|
| 474 |
+
#: build_tmp/build/framework/features/demo-install.php:233
|
| 475 |
msgid ""
|
| 476 |
"Your PHP installation doesn't have support for XML. Please install the "
|
| 477 |
"<i>xml</i> or <i>simplexml</i> PHP extension in order to be able to install "
|
| 581 |
|
| 582 |
#: framework/extensions/cookies-consent/customizer.php:18,
|
| 583 |
#: framework/extensions/newsletter-subscribe/customizer.php:12,
|
| 584 |
+
#: framework/extensions/product-reviews/extension.php:222,
|
| 585 |
#: framework/extensions/product-reviews/metabox.php:6,
|
| 586 |
#: framework/extensions/trending/customizer.php:109,
|
| 587 |
#: framework/premium/extensions/mega-menu/options.php:6,
|
| 590 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:164,
|
| 591 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:18,
|
| 592 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:12,
|
| 593 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:222,
|
| 594 |
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:6,
|
| 595 |
#: build_tmp/build/framework/extensions/trending/customizer.php:109,
|
| 596 |
#: framework/features/header/items/account/options.php:51,
|
| 705 |
msgstr ""
|
| 706 |
|
| 707 |
#: framework/extensions/cookies-consent/customizer.php:65,
|
|
|
|
|
|
|
| 708 |
#: framework/premium/features/content-blocks/hooks-manager.php:194,
|
| 709 |
#: framework/premium/features/content-blocks/hooks-manager.php:202,
|
| 710 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:210,
|
| 711 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:218,
|
| 712 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:65,
|
| 713 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:72,
|
| 714 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:101,
|
| 717 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:185,
|
| 718 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:213,
|
| 719 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:241,
|
|
|
|
|
|
|
| 720 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:194,
|
| 721 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:202,
|
| 722 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:210,
|
| 723 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:218,
|
| 724 |
#: framework/premium/features/premium-header/items/contacts/options.php:55,
|
| 725 |
#: framework/premium/features/premium-header/items/contacts/options.php:81,
|
| 726 |
#: framework/premium/features/premium-header/items/contacts/options.php:108,
|
| 767 |
|
| 768 |
#: framework/extensions/cookies-consent/customizer.php:90,
|
| 769 |
#: framework/extensions/newsletter-subscribe/customizer.php:147,
|
| 770 |
+
#: framework/extensions/product-reviews/extension.php:262,
|
| 771 |
+
#: framework/extensions/trending/customizer.php:314,
|
| 772 |
#: framework/premium/extensions/mega-menu/options.php:514,
|
| 773 |
#: framework/premium/extensions/shortcuts/customizer.php:757,
|
| 774 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:81,
|
| 776 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:279,
|
| 777 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:90,
|
| 778 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:147,
|
| 779 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:262,
|
| 780 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:314,
|
| 781 |
#: framework/features/header/items/account/options.php:497,
|
| 782 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:120,
|
| 783 |
#: framework/premium/features/content-blocks/options/popup.php:342,
|
| 807 |
msgstr ""
|
| 808 |
|
| 809 |
#: framework/extensions/cookies-consent/customizer.php:95,
|
| 810 |
+
#: framework/extensions/trending/customizer.php:329,
|
| 811 |
#: framework/premium/extensions/mega-menu/options.php:794,
|
| 812 |
#: framework/premium/extensions/shortcuts/customizer.php:773,
|
| 813 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:86,
|
| 814 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:95,
|
| 815 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:329,
|
| 816 |
#: framework/features/header/items/account/options.php:808,
|
| 817 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:794,
|
| 818 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:773,
|
| 853 |
#: framework/extensions/newsletter-subscribe/customizer.php:169,
|
| 854 |
#: framework/extensions/newsletter-subscribe/customizer.php:200,
|
| 855 |
#: framework/extensions/newsletter-subscribe/customizer.php:225,
|
| 856 |
+
#: framework/extensions/trending/customizer.php:347,
|
| 857 |
#: framework/premium/extensions/mega-menu/options.php:760,
|
| 858 |
#: framework/premium/extensions/mega-menu/options.php:807,
|
| 859 |
#: framework/premium/extensions/mega-menu/options.php:826,
|
| 869 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:169,
|
| 870 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:200,
|
| 871 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:225,
|
| 872 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:347,
|
| 873 |
#: framework/features/header/items/account/options.php:561,
|
| 874 |
#: framework/features/header/items/account/options.php:593,
|
| 875 |
#: framework/features/header/items/account/options.php:623,
|
| 994 |
#: framework/extensions/cookies-consent/customizer.php:147,
|
| 995 |
#: framework/extensions/newsletter-subscribe/customizer.php:175,
|
| 996 |
#: framework/extensions/newsletter-subscribe/customizer.php:205,
|
| 997 |
+
#: framework/extensions/trending/customizer.php:353,
|
| 998 |
#: framework/premium/extensions/mega-menu/options.php:765,
|
| 999 |
#: framework/premium/extensions/shortcuts/customizer.php:797,
|
| 1000 |
#: framework/premium/extensions/shortcuts/customizer.php:829,
|
| 1004 |
#: build_tmp/build/framework/extensions/cookies-consent/customizer.php:147,
|
| 1005 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:175,
|
| 1006 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:205,
|
| 1007 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:353,
|
| 1008 |
#: framework/features/header/items/account/options.php:567,
|
| 1009 |
#: framework/features/header/items/account/options.php:598,
|
| 1010 |
#: framework/features/header/items/account/options.php:628,
|
| 1253 |
msgstr ""
|
| 1254 |
|
| 1255 |
#: framework/extensions/newsletter-subscribe/customizer.php:49,
|
| 1256 |
+
#: framework/extensions/product-reviews/metabox.php:17,
|
| 1257 |
#: framework/features/header/header-options.php:71,
|
| 1258 |
#: framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:38,
|
| 1259 |
#: framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:105,
|
| 1260 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:49,
|
| 1261 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:17,
|
| 1262 |
#: build_tmp/build/framework/features/header/header-options.php:71,
|
| 1263 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:173,
|
| 1264 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:198,
|
| 1265 |
+
#: framework/premium/features/content-blocks/options/hook.php:289,
|
| 1266 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:38,
|
| 1267 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php:105,
|
| 1268 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:173,
|
| 1269 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:198,
|
| 1270 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:289
|
| 1271 |
msgid "Default"
|
| 1272 |
msgstr ""
|
| 1273 |
|
| 1379 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:126,
|
| 1380 |
#: framework/premium/features/content-blocks/options/404.php:140,
|
| 1381 |
#: framework/premium/features/content-blocks/options/header.php:166,
|
| 1382 |
+
#: framework/premium/features/content-blocks/options/hook.php:325,
|
| 1383 |
#: framework/premium/features/content-blocks/options/popup.php:321,
|
| 1384 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:45,
|
| 1385 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:107,
|
| 1394 |
#: framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:43,
|
| 1395 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:140,
|
| 1396 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:166,
|
| 1397 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:325,
|
| 1398 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:321,
|
| 1399 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:144,
|
| 1400 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:43
|
| 1402 |
msgstr ""
|
| 1403 |
|
| 1404 |
#: framework/extensions/newsletter-subscribe/customizer.php:137,
|
| 1405 |
+
#: framework/extensions/trending/customizer.php:259,
|
| 1406 |
#: framework/features/header/header-options.php:89,
|
| 1407 |
#: framework/features/header/header-options.php:171,
|
| 1408 |
#: framework/premium/extensions/shortcuts/customizer.php:59,
|
| 1419 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:71,
|
| 1420 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:219,
|
| 1421 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:137,
|
| 1422 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:259,
|
| 1423 |
#: build_tmp/build/framework/features/header/header-options.php:89,
|
| 1424 |
#: build_tmp/build/framework/features/header/header-options.php:171,
|
| 1425 |
#: framework/features/header/items/account/options.php:228,
|
| 1426 |
#: framework/features/header/items/account/options.php:434,
|
| 1427 |
#: framework/premium/features/content-blocks/options/404.php:151,
|
| 1428 |
#: framework/premium/features/content-blocks/options/header.php:177,
|
| 1429 |
+
#: framework/premium/features/content-blocks/options/hook.php:336,
|
| 1430 |
#: framework/premium/features/content-blocks/options/popup.php:332,
|
| 1431 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:59,
|
| 1432 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:121,
|
| 1448 |
#: build_tmp/build/framework/features/header/items/account/options.php:434,
|
| 1449 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:151,
|
| 1450 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:177,
|
| 1451 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:336,
|
| 1452 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:332,
|
| 1453 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:157,
|
| 1454 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:56,
|
| 1457 |
msgstr ""
|
| 1458 |
|
| 1459 |
#: framework/extensions/newsletter-subscribe/customizer.php:138,
|
| 1460 |
+
#: framework/extensions/trending/customizer.php:260,
|
| 1461 |
#: framework/premium/extensions/shortcuts/customizer.php:60,
|
| 1462 |
#: framework/premium/extensions/shortcuts/customizer.php:122,
|
| 1463 |
#: framework/premium/extensions/shortcuts/customizer.php:184,
|
| 1472 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:72,
|
| 1473 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:220,
|
| 1474 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:138,
|
| 1475 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:260,
|
| 1476 |
#: framework/features/header/items/account/options.php:229,
|
| 1477 |
#: framework/features/header/items/account/options.php:435,
|
| 1478 |
#: framework/features/header/items/account/options.php:1077,
|
| 1479 |
#: framework/premium/features/content-blocks/options/404.php:152,
|
| 1480 |
#: framework/premium/features/content-blocks/options/header.php:178,
|
| 1481 |
+
#: framework/premium/features/content-blocks/options/hook.php:337,
|
| 1482 |
#: framework/premium/features/content-blocks/options/popup.php:333,
|
| 1483 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:60,
|
| 1484 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:122,
|
| 1501 |
#: build_tmp/build/framework/features/header/items/account/options.php:1077,
|
| 1502 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:152,
|
| 1503 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:178,
|
| 1504 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:337,
|
| 1505 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:333,
|
| 1506 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:158,
|
| 1507 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:57,
|
| 1510 |
msgstr ""
|
| 1511 |
|
| 1512 |
#: framework/extensions/newsletter-subscribe/customizer.php:139,
|
| 1513 |
+
#: framework/extensions/trending/customizer.php:261,
|
| 1514 |
#: framework/features/header/header-options.php:91,
|
| 1515 |
#: framework/features/header/header-options.php:173,
|
| 1516 |
#: framework/premium/extensions/shortcuts/customizer.php:61,
|
| 1527 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:73,
|
| 1528 |
#: framework/premium/extensions/woocommerce-extra/offcanvas-filter.php:221,
|
| 1529 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:139,
|
| 1530 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:261,
|
| 1531 |
#: build_tmp/build/framework/features/header/header-options.php:91,
|
| 1532 |
#: build_tmp/build/framework/features/header/header-options.php:173,
|
| 1533 |
#: framework/extensions/widgets/widgets/ct-contact-info/options.php:117,
|
| 1536 |
#: framework/features/header/items/account/options.php:1078,
|
| 1537 |
#: framework/premium/features/content-blocks/options/404.php:153,
|
| 1538 |
#: framework/premium/features/content-blocks/options/header.php:179,
|
| 1539 |
+
#: framework/premium/features/content-blocks/options/hook.php:338,
|
| 1540 |
#: framework/premium/features/content-blocks/options/popup.php:334,
|
| 1541 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:61,
|
| 1542 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:123,
|
| 1561 |
#: build_tmp/build/framework/features/header/items/account/options.php:1078,
|
| 1562 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:153,
|
| 1563 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:179,
|
| 1564 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:338,
|
| 1565 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:334,
|
| 1566 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering/customizer.php:159,
|
| 1567 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/read-progress/customizer.php:58,
|
| 1576 |
msgstr ""
|
| 1577 |
|
| 1578 |
#: framework/extensions/newsletter-subscribe/customizer.php:233,
|
| 1579 |
+
#: framework/extensions/trending/customizer.php:377,
|
| 1580 |
#: build_tmp/build/framework/extensions/newsletter-subscribe/customizer.php:233,
|
| 1581 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:377
|
| 1582 |
msgid "Container Inner Spacing"
|
| 1583 |
msgstr ""
|
| 1584 |
|
| 1652 |
msgstr ""
|
| 1653 |
|
| 1654 |
#: framework/extensions/product-reviews/config.php:4,
|
| 1655 |
+
#: framework/extensions/product-reviews/extension.php:359,
|
| 1656 |
+
#: framework/extensions/product-reviews/extension.php:360,
|
| 1657 |
+
#: framework/extensions/product-reviews/extension.php:363,
|
| 1658 |
+
#: framework/extensions/product-reviews/extension.php:365,
|
| 1659 |
#: build_tmp/build/framework/extensions/product-reviews/config.php:4,
|
| 1660 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:359,
|
| 1661 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:360,
|
| 1662 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:363,
|
| 1663 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:365
|
| 1664 |
msgid "Product Reviews"
|
| 1665 |
msgstr ""
|
| 1666 |
|
| 1672 |
"affiliate links to direct your readers to the purchase page."
|
| 1673 |
msgstr ""
|
| 1674 |
|
| 1675 |
+
#: framework/extensions/product-reviews/extension.php:158,
|
| 1676 |
+
#: framework/extensions/product-reviews/views/single-top.php:128,
|
| 1677 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:158,
|
| 1678 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:128
|
| 1679 |
+
msgid "Overall Score"
|
| 1680 |
+
msgstr ""
|
| 1681 |
+
|
| 1682 |
+
#: framework/extensions/product-reviews/extension.php:216,
|
| 1683 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:216
|
| 1684 |
+
msgid "Review Summary"
|
| 1685 |
+
msgstr ""
|
| 1686 |
+
|
| 1687 |
+
#: framework/extensions/product-reviews/extension.php:227,
|
| 1688 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:227
|
| 1689 |
+
msgid "Scores Box Width"
|
| 1690 |
+
msgstr ""
|
| 1691 |
+
|
| 1692 |
+
#: framework/extensions/product-reviews/extension.php:237,
|
| 1693 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:237
|
| 1694 |
msgid "Read More Button"
|
| 1695 |
msgstr ""
|
| 1696 |
|
| 1697 |
+
#: framework/extensions/product-reviews/extension.php:248,
|
| 1698 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:248
|
| 1699 |
+
msgid "Buy Now Button"
|
| 1700 |
+
msgstr ""
|
| 1701 |
+
|
| 1702 |
+
#: framework/extensions/product-reviews/extension.php:267,
|
| 1703 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:267
|
| 1704 |
+
msgid "Star Rating Color"
|
| 1705 |
+
msgstr ""
|
| 1706 |
+
|
| 1707 |
+
#: framework/extensions/product-reviews/extension.php:284,
|
| 1708 |
+
#: framework/extensions/product-reviews/extension.php:312,
|
| 1709 |
+
#: framework/extensions/product-reviews/extension.php:333,
|
| 1710 |
+
#: framework/premium/extensions/mega-menu/options.php:770,
|
| 1711 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:284,
|
| 1712 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:312,
|
| 1713 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:333,
|
| 1714 |
+
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:770
|
| 1715 |
+
msgid "Active"
|
| 1716 |
+
msgstr ""
|
| 1717 |
+
|
| 1718 |
+
#: framework/extensions/product-reviews/extension.php:290,
|
| 1719 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:290
|
| 1720 |
+
msgid "Inactive"
|
| 1721 |
+
msgstr ""
|
| 1722 |
+
|
| 1723 |
+
#: framework/extensions/product-reviews/extension.php:298,
|
| 1724 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:298
|
| 1725 |
+
msgid "Overll Score Text"
|
| 1726 |
+
msgstr ""
|
| 1727 |
+
|
| 1728 |
+
#: framework/extensions/product-reviews/extension.php:320,
|
| 1729 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:320
|
| 1730 |
+
msgid "Overll Score Background"
|
| 1731 |
+
msgstr ""
|
| 1732 |
+
|
| 1733 |
+
#: framework/extensions/product-reviews/extension.php:364,
|
| 1734 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:364
|
| 1735 |
msgid "Product Review"
|
| 1736 |
msgstr ""
|
| 1737 |
|
| 1738 |
+
#: framework/extensions/product-reviews/extension.php:366,
|
| 1739 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:366
|
| 1740 |
msgid "Parent Product Review"
|
| 1741 |
msgstr ""
|
| 1742 |
|
| 1743 |
+
#: framework/extensions/product-reviews/extension.php:367,
|
| 1744 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:367
|
| 1745 |
msgid "All Reviews"
|
| 1746 |
msgstr ""
|
| 1747 |
|
| 1748 |
+
#: framework/extensions/product-reviews/extension.php:368,
|
| 1749 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:368
|
| 1750 |
msgid "View Product Review"
|
| 1751 |
msgstr ""
|
| 1752 |
|
| 1753 |
+
#: framework/extensions/product-reviews/extension.php:369,
|
| 1754 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:369
|
| 1755 |
msgid "Add New Product Review"
|
| 1756 |
msgstr ""
|
| 1757 |
|
| 1758 |
+
#: framework/extensions/product-reviews/extension.php:370,
|
| 1759 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:370
|
| 1760 |
msgid "Add New Review"
|
| 1761 |
msgstr ""
|
| 1762 |
|
| 1763 |
+
#: framework/extensions/product-reviews/extension.php:371,
|
| 1764 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:371
|
| 1765 |
msgid "Edit Product Review"
|
| 1766 |
msgstr ""
|
| 1767 |
|
| 1768 |
+
#: framework/extensions/product-reviews/extension.php:372,
|
| 1769 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:372
|
| 1770 |
msgid "Update Product Review"
|
| 1771 |
msgstr ""
|
| 1772 |
|
| 1773 |
+
#: framework/extensions/product-reviews/extension.php:373,
|
| 1774 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:373
|
| 1775 |
msgid "Search Product Review"
|
| 1776 |
msgstr ""
|
| 1777 |
|
| 1778 |
+
#: framework/extensions/product-reviews/extension.php:374,
|
| 1779 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:374
|
| 1780 |
msgid "Not Found"
|
| 1781 |
msgstr ""
|
| 1782 |
|
| 1783 |
+
#: framework/extensions/product-reviews/extension.php:375,
|
| 1784 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:375
|
| 1785 |
msgid "Not found in Trash"
|
| 1786 |
msgstr ""
|
| 1787 |
|
| 1788 |
+
#: framework/extensions/product-reviews/extension.php:409,
|
| 1789 |
+
#: framework/extensions/product-reviews/extension.php:419,
|
| 1790 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:409,
|
| 1791 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:419
|
| 1792 |
msgid "Categories"
|
| 1793 |
msgstr ""
|
| 1794 |
|
| 1795 |
+
#: framework/extensions/product-reviews/extension.php:410,
|
| 1796 |
#: framework/extensions/trending/customizer.php:35,
|
| 1797 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:410,
|
| 1798 |
#: build_tmp/build/framework/extensions/trending/customizer.php:35,
|
| 1799 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:37,
|
| 1800 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:37
|
| 1801 |
msgid "Category"
|
| 1802 |
msgstr ""
|
| 1803 |
|
| 1804 |
+
#: framework/extensions/product-reviews/extension.php:411,
|
| 1805 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:411
|
| 1806 |
msgid "Search Category"
|
| 1807 |
msgstr ""
|
| 1808 |
|
| 1809 |
+
#: framework/extensions/product-reviews/extension.php:412,
|
| 1810 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:412
|
| 1811 |
msgid "All Categories"
|
| 1812 |
msgstr ""
|
| 1813 |
|
| 1814 |
+
#: framework/extensions/product-reviews/extension.php:413,
|
| 1815 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:413
|
| 1816 |
msgid "Parent Category"
|
| 1817 |
msgstr ""
|
| 1818 |
|
| 1819 |
+
#: framework/extensions/product-reviews/extension.php:414,
|
| 1820 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:414
|
| 1821 |
msgid "Parent Category:"
|
| 1822 |
msgstr ""
|
| 1823 |
|
| 1824 |
+
#: framework/extensions/product-reviews/extension.php:415,
|
| 1825 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:415
|
| 1826 |
msgid "Edit Category"
|
| 1827 |
msgstr ""
|
| 1828 |
|
| 1829 |
+
#: framework/extensions/product-reviews/extension.php:416,
|
| 1830 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:416
|
| 1831 |
msgid "Update Category"
|
| 1832 |
msgstr ""
|
| 1833 |
|
| 1834 |
+
#: framework/extensions/product-reviews/extension.php:417,
|
| 1835 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:417
|
| 1836 |
msgid "Add New Category"
|
| 1837 |
msgstr ""
|
| 1838 |
|
| 1839 |
+
#: framework/extensions/product-reviews/extension.php:418,
|
| 1840 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:418
|
| 1841 |
msgid "New Category Name"
|
| 1842 |
msgstr ""
|
| 1843 |
|
| 1844 |
+
#. translators: %s is the theme name.
|
| 1845 |
+
#. translators: %s is the theme name.
|
| 1846 |
+
#: framework/extensions/product-reviews/extension.php:437,
|
| 1847 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:437
|
| 1848 |
+
msgid "%s Settings"
|
| 1849 |
+
msgstr ""
|
| 1850 |
+
|
| 1851 |
+
#: framework/extensions/product-reviews/extension.php:438,
|
| 1852 |
+
#: build_tmp/build/framework/extensions/product-reviews/extension.php:438
|
| 1853 |
+
msgid "Blocksy"
|
| 1854 |
+
msgstr ""
|
| 1855 |
+
|
| 1856 |
#: framework/extensions/product-reviews/helpers.php:30,
|
| 1857 |
+
#: framework/extensions/product-reviews/metabox.php:130,
|
| 1858 |
#: build_tmp/build/framework/extensions/product-reviews/helpers.php:30,
|
| 1859 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:130
|
| 1860 |
msgid "Rating"
|
| 1861 |
msgstr ""
|
| 1862 |
|
| 1863 |
+
#: framework/extensions/product-reviews/metabox.php:10,
|
| 1864 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:10
|
| 1865 |
+
msgid "Review Entity"
|
| 1866 |
+
msgstr ""
|
| 1867 |
+
|
| 1868 |
+
#: framework/extensions/product-reviews/metabox.php:18,
|
| 1869 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:18
|
| 1870 |
+
msgid "Book"
|
| 1871 |
+
msgstr ""
|
| 1872 |
+
|
| 1873 |
+
#: framework/extensions/product-reviews/metabox.php:20,
|
| 1874 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:20
|
| 1875 |
+
msgid "Creative Work Season"
|
| 1876 |
+
msgstr ""
|
| 1877 |
+
|
| 1878 |
+
#: framework/extensions/product-reviews/metabox.php:21,
|
| 1879 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:21
|
| 1880 |
+
msgid "Creative Work Series"
|
| 1881 |
+
msgstr ""
|
| 1882 |
+
|
| 1883 |
+
#: framework/extensions/product-reviews/metabox.php:22,
|
| 1884 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:22
|
| 1885 |
+
msgid "Episode"
|
| 1886 |
+
msgstr ""
|
| 1887 |
+
|
| 1888 |
+
#: framework/extensions/product-reviews/metabox.php:24,
|
| 1889 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:24
|
| 1890 |
+
msgid "Game"
|
| 1891 |
+
msgstr ""
|
| 1892 |
+
|
| 1893 |
+
#: framework/extensions/product-reviews/metabox.php:26,
|
| 1894 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:26
|
| 1895 |
+
msgid "Local Business"
|
| 1896 |
+
msgstr ""
|
| 1897 |
+
|
| 1898 |
+
#: framework/extensions/product-reviews/metabox.php:27,
|
| 1899 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:27
|
| 1900 |
+
msgid "Media Object"
|
| 1901 |
+
msgstr ""
|
| 1902 |
+
|
| 1903 |
+
#: framework/extensions/product-reviews/metabox.php:28,
|
| 1904 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:28
|
| 1905 |
+
msgid "Movie"
|
| 1906 |
+
msgstr ""
|
| 1907 |
+
|
| 1908 |
+
#: framework/extensions/product-reviews/metabox.php:29,
|
| 1909 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:29
|
| 1910 |
+
msgid "Music Playlist"
|
| 1911 |
+
msgstr ""
|
| 1912 |
+
|
| 1913 |
+
#: framework/extensions/product-reviews/metabox.php:30,
|
| 1914 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:30
|
| 1915 |
+
msgid "Music Recording"
|
| 1916 |
+
msgstr ""
|
| 1917 |
+
|
| 1918 |
+
#: framework/extensions/product-reviews/metabox.php:31,
|
| 1919 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:31
|
| 1920 |
+
msgid "Organization"
|
| 1921 |
+
msgstr ""
|
| 1922 |
+
|
| 1923 |
+
#: framework/extensions/product-reviews/metabox.php:38,
|
| 1924 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:38
|
| 1925 |
+
msgid ""
|
| 1926 |
+
"More info about review entity and how to choose the right one can be found "
|
| 1927 |
+
"%shere%s."
|
| 1928 |
+
msgstr ""
|
| 1929 |
+
|
| 1930 |
+
#: framework/extensions/product-reviews/metabox.php:53,
|
| 1931 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:53
|
| 1932 |
msgid "Gallery"
|
| 1933 |
msgstr ""
|
| 1934 |
|
| 1935 |
+
#: framework/extensions/product-reviews/metabox.php:64,
|
| 1936 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:64
|
| 1937 |
msgid "Affiliate Button Label"
|
| 1938 |
msgstr ""
|
| 1939 |
|
| 1940 |
+
#: framework/extensions/product-reviews/metabox.php:66,
|
| 1941 |
+
#: framework/extensions/product-reviews/views/single-top.php:145,
|
| 1942 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:66,
|
| 1943 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:145
|
| 1944 |
msgid "Buy Now"
|
| 1945 |
msgstr ""
|
| 1946 |
|
| 1947 |
+
#: framework/extensions/product-reviews/metabox.php:71,
|
| 1948 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:71
|
| 1949 |
msgid "Affiliate Link"
|
| 1950 |
msgstr ""
|
| 1951 |
|
| 1952 |
+
#: framework/extensions/product-reviews/metabox.php:77,
|
| 1953 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:77
|
| 1954 |
msgid "Open Link In New Tab"
|
| 1955 |
msgstr ""
|
| 1956 |
|
| 1957 |
+
#: framework/extensions/product-reviews/metabox.php:99,
|
| 1958 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:99
|
| 1959 |
msgid "Read More Button Label"
|
| 1960 |
msgstr ""
|
| 1961 |
|
| 1962 |
+
#: framework/extensions/product-reviews/metabox.php:101,
|
| 1963 |
+
#: framework/extensions/product-reviews/views/single-top.php:151,
|
| 1964 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:101,
|
| 1965 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:151
|
| 1966 |
msgid "Read More"
|
| 1967 |
msgstr ""
|
| 1968 |
|
| 1969 |
+
#: framework/extensions/product-reviews/metabox.php:121,
|
| 1970 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:121
|
| 1971 |
+
msgid "Short Description"
|
| 1972 |
msgstr ""
|
| 1973 |
|
| 1974 |
+
#: framework/extensions/product-reviews/metabox.php:136,
|
| 1975 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:136
|
| 1976 |
msgid "Scores"
|
| 1977 |
msgstr ""
|
| 1978 |
|
| 1979 |
+
#: framework/extensions/product-reviews/metabox.php:176,
|
| 1980 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:176
|
| 1981 |
msgid "Product specs"
|
| 1982 |
msgstr ""
|
| 1983 |
|
| 1984 |
+
#: framework/extensions/product-reviews/metabox.php:201,
|
| 1985 |
+
#: framework/extensions/product-reviews/views/single-top.php:247,
|
| 1986 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:201,
|
| 1987 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:247
|
| 1988 |
msgid "Pros"
|
| 1989 |
msgstr ""
|
| 1990 |
|
| 1991 |
+
#: framework/extensions/product-reviews/metabox.php:221,
|
| 1992 |
+
#: framework/extensions/product-reviews/views/single-top.php:270,
|
| 1993 |
+
#: build_tmp/build/framework/extensions/product-reviews/metabox.php:221,
|
| 1994 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:270
|
| 1995 |
msgid "Cons"
|
| 1996 |
msgstr ""
|
| 1997 |
|
| 2047 |
msgstr ""
|
| 2048 |
|
| 2049 |
#: framework/extensions/trending/customizer.php:117,
|
| 2050 |
+
#: framework/extensions/trending/helpers.php:218,
|
| 2051 |
#: build_tmp/build/framework/extensions/trending/customizer.php:117,
|
| 2052 |
+
#: build_tmp/build/framework/extensions/trending/helpers.php:218
|
| 2053 |
msgid "Trending now"
|
| 2054 |
msgstr ""
|
| 2055 |
|
| 2056 |
+
#: framework/extensions/trending/customizer.php:122,
|
| 2057 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:122
|
| 2058 |
+
msgid "Module Title Tag"
|
| 2059 |
+
msgstr ""
|
| 2060 |
+
|
| 2061 |
+
#: framework/extensions/trending/customizer.php:169,
|
| 2062 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:169,
|
| 2063 |
#: framework/extensions/widgets/widgets/ct-about-me/options.php:37,
|
| 2064 |
#: framework/extensions/widgets/widgets/ct-advertisement/options.php:23,
|
| 2065 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:149,
|
| 2071 |
msgid "Source"
|
| 2072 |
msgstr ""
|
| 2073 |
|
| 2074 |
+
#: framework/extensions/trending/customizer.php:174,
|
| 2075 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:174,
|
| 2076 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:154,
|
| 2077 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:154
|
| 2078 |
msgid "Taxonomies"
|
| 2079 |
msgstr ""
|
| 2080 |
|
| 2081 |
+
#: framework/extensions/trending/customizer.php:175,
|
| 2082 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:175,
|
| 2083 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:155,
|
| 2084 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:174,
|
| 2085 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:155,
|
| 2087 |
msgid "Custom Query"
|
| 2088 |
msgstr ""
|
| 2089 |
|
| 2090 |
+
#: framework/extensions/trending/customizer.php:198,
|
| 2091 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:198,
|
| 2092 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:243,
|
| 2093 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:243
|
| 2094 |
msgid "Posts ID"
|
| 2095 |
msgstr ""
|
| 2096 |
|
| 2097 |
+
#: framework/extensions/trending/customizer.php:202,
|
| 2098 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:202,
|
| 2099 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:247,
|
| 2100 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:247
|
| 2101 |
msgid "Separate posts ID by comma. How to find the %spost ID%s."
|
| 2102 |
msgstr ""
|
| 2103 |
|
| 2104 |
+
#: framework/extensions/trending/customizer.php:218,
|
| 2105 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:218
|
| 2106 |
msgid "Trending From"
|
| 2107 |
msgstr ""
|
| 2108 |
|
| 2109 |
+
#: framework/extensions/trending/customizer.php:227,
|
| 2110 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:227,
|
| 2111 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:213,
|
| 2112 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-posts/options.php:213
|
| 2113 |
msgid "All Time"
|
| 2114 |
msgstr ""
|
| 2115 |
|
| 2116 |
+
#: framework/extensions/trending/customizer.php:228,
|
| 2117 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:228
|
| 2118 |
msgid "Last 24 Hours"
|
| 2119 |
msgstr ""
|
| 2120 |
|
| 2121 |
+
#: framework/extensions/trending/customizer.php:229,
|
| 2122 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:229
|
| 2123 |
msgid "Last 7 Days"
|
| 2124 |
msgstr ""
|
| 2125 |
|
| 2126 |
+
#: framework/extensions/trending/customizer.php:230,
|
| 2127 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:230
|
| 2128 |
msgid "Last Month"
|
| 2129 |
msgstr ""
|
| 2130 |
|
| 2131 |
+
#: framework/extensions/trending/customizer.php:247,
|
| 2132 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:247
|
| 2133 |
msgid "Container Visibility"
|
| 2134 |
msgstr ""
|
| 2135 |
|
| 2136 |
+
#: framework/extensions/trending/customizer.php:320,
|
| 2137 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:320
|
| 2138 |
msgid "Posts Font"
|
| 2139 |
msgstr ""
|
| 2140 |
|
| 2141 |
+
#: framework/extensions/trending/customizer.php:361,
|
| 2142 |
#: framework/premium/extensions/shortcuts/customizer.php:890,
|
| 2143 |
+
#: build_tmp/build/framework/extensions/trending/customizer.php:361,
|
| 2144 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:890
|
| 2145 |
msgid "Container Background"
|
| 2146 |
msgstr ""
|
| 2156 |
#: framework/features/header/account-modal.php:47,
|
| 2157 |
#: build_tmp/build/framework/features/header/account-modal.php:47,
|
| 2158 |
#: framework/features/header/items/account/options.php:481,
|
| 2159 |
+
#: framework/features/header/items/account/views/logout.php:3,
|
| 2160 |
#: build_tmp/build/framework/features/header/items/account/options.php:481,
|
| 2161 |
+
#: build_tmp/build/framework/features/header/items/account/views/logout.php:3
|
| 2162 |
msgid "Login"
|
| 2163 |
msgstr ""
|
| 2164 |
|
| 2243 |
#: framework/premium/extensions/shortcuts/customizer.php:742,
|
| 2244 |
#: build_tmp/build/framework/features/header/header-options.php:144,
|
| 2245 |
#: framework/premium/features/content-blocks/options/header.php:142,
|
| 2246 |
+
#: framework/premium/features/content-blocks/options/hook.php:236,
|
| 2247 |
#: framework/premium/features/content-blocks/options/popup.php:279,
|
| 2248 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:742,
|
| 2249 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:142,
|
| 2250 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:236,
|
| 2251 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:279
|
| 2252 |
#: framework/premium/extensions/sidebars/static/js/SettingsManager.js:44
|
| 2253 |
#: framework/premium/static/js/footer/EditConditions.js:97
|
| 2297 |
#: framework/extensions/widgets/widgets/ct-socials/options.php:94,
|
| 2298 |
#: framework/features/header/items/account/options.php:124,
|
| 2299 |
#: framework/features/header/items/account/options.php:349,
|
| 2300 |
+
#: framework/premium/features/content-blocks/options/hook.php:9,
|
| 2301 |
+
#: framework/premium/features/content-blocks/options/hook.php:158,
|
| 2302 |
#: framework/premium/features/content-blocks/options/popup.php:162,
|
| 2303 |
#: framework/premium/features/content-blocks/options/popup.php:418,
|
| 2304 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:705,
|
| 2308 |
#: build_tmp/build/framework/extensions/widgets/widgets/ct-socials/options.php:94,
|
| 2309 |
#: build_tmp/build/framework/features/header/items/account/options.php:124,
|
| 2310 |
#: build_tmp/build/framework/features/header/items/account/options.php:349,
|
| 2311 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:9,
|
| 2312 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:158,
|
| 2313 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:162,
|
| 2314 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:418,
|
| 2315 |
#: build_tmp/build/framework/premium/features/premium-header/items/contacts/options.php:277
|
| 2368 |
msgid "Up"
|
| 2369 |
msgstr ""
|
| 2370 |
|
| 2371 |
+
#: framework/premium/features/content-blocks.php:616,
|
| 2372 |
+
#: framework/premium/features/content-blocks.php:622,
|
| 2373 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:616,
|
| 2374 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:622
|
| 2375 |
msgid "Content Blocks"
|
| 2376 |
msgstr ""
|
| 2377 |
|
| 2378 |
+
#: framework/premium/features/content-blocks.php:617,
|
| 2379 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:617
|
| 2380 |
msgid "Content Block"
|
| 2381 |
msgstr ""
|
| 2382 |
|
| 2383 |
+
#: framework/premium/features/content-blocks.php:618,
|
| 2384 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:618
|
| 2385 |
msgid "Add New"
|
| 2386 |
msgstr ""
|
| 2387 |
|
| 2388 |
+
#: framework/premium/features/content-blocks.php:619,
|
| 2389 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:619
|
| 2390 |
msgid "Add New Content Block"
|
| 2391 |
msgstr ""
|
| 2392 |
|
| 2393 |
+
#: framework/premium/features/content-blocks.php:620,
|
| 2394 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:620
|
| 2395 |
msgid "Edit Content Block"
|
| 2396 |
msgstr ""
|
| 2397 |
|
| 2398 |
+
#: framework/premium/features/content-blocks.php:621,
|
| 2399 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:621
|
| 2400 |
#: framework/premium/static/js/hooks/CreateHook.js:32
|
| 2401 |
msgid "New Content Block"
|
| 2402 |
msgstr ""
|
| 2403 |
|
| 2404 |
+
#: framework/premium/features/content-blocks.php:623,
|
| 2405 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:623
|
| 2406 |
msgid "View Content Block"
|
| 2407 |
msgstr ""
|
| 2408 |
|
| 2409 |
+
#: framework/premium/features/content-blocks.php:624,
|
| 2410 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:624
|
| 2411 |
msgid "Search Content Blocks"
|
| 2412 |
msgstr ""
|
| 2413 |
|
| 2414 |
+
#: framework/premium/features/content-blocks.php:625,
|
| 2415 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:625
|
| 2416 |
msgid "Nothing found"
|
| 2417 |
msgstr ""
|
| 2418 |
|
| 2419 |
+
#: framework/premium/features/content-blocks.php:626,
|
| 2420 |
+
#: build_tmp/build/framework/premium/features/content-blocks.php:626
|
| 2421 |
msgid "Nothing found in Trash"
|
| 2422 |
msgstr ""
|
| 2423 |
|
| 2450 |
#: build_tmp/build/framework/premium/features/premium-header.php:158,
|
| 2451 |
#: framework/features/header/items/account/options.php:123,
|
| 2452 |
#: framework/features/header/items/account/options.php:348,
|
| 2453 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:441,
|
| 2454 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:420,
|
| 2455 |
#: build_tmp/build/framework/features/header/items/account/options.php:123,
|
| 2456 |
#: build_tmp/build/framework/features/header/items/account/options.php:348,
|
| 2457 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:441
|
| 2458 |
msgid "Icon"
|
| 2459 |
msgstr ""
|
| 2460 |
|
| 2544 |
msgid "Thank you for subscribing!"
|
| 2545 |
msgstr ""
|
| 2546 |
|
| 2547 |
+
#: framework/extensions/product-reviews/views/single-top.php:223,
|
| 2548 |
+
#: build_tmp/build/framework/extensions/product-reviews/views/single-top.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2549 |
msgid "Specs"
|
| 2550 |
msgstr ""
|
| 2551 |
|
| 2690 |
msgstr ""
|
| 2691 |
|
| 2692 |
#: framework/premium/extensions/mega-menu/config.php:9,
|
| 2693 |
+
#: framework/premium/extensions/shortcuts/config.php:12,
|
| 2694 |
+
#: build_tmp/build/framework/premium/extensions/mega-menu/config.php:9,
|
| 2695 |
+
#: build_tmp/build/framework/premium/extensions/shortcuts/config.php:12
|
| 2696 |
#: framework/extensions/newsletter-subscribe/dashboard-static/js/hooks/useActivationWithRequirements.js:60
|
| 2697 |
#: framework/extensions/product-reviews/static/js/EditSettings.js:30
|
| 2698 |
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:96
|
| 2795 |
#: framework/premium/extensions/mega-menu/options.php:406,
|
| 2796 |
#: framework/premium/features/content-blocks/options/404.php:104,
|
| 2797 |
#: framework/premium/features/content-blocks/options/header.php:108,
|
| 2798 |
+
#: framework/premium/features/content-blocks/options/hook.php:113,
|
| 2799 |
#: build_tmp/build/framework/premium/extensions/mega-menu/options.php:406,
|
| 2800 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:104,
|
| 2801 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:108,
|
| 2802 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:113
|
| 2803 |
msgid "Disabled"
|
| 2804 |
msgstr ""
|
| 2805 |
|
| 2958 |
msgid "Icon Color"
|
| 2959 |
msgstr ""
|
| 2960 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2961 |
#: framework/premium/extensions/post-types-extra/config.php:4,
|
| 2962 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/config.php:4
|
| 2963 |
msgid "Post Types Extra"
|
| 3152 |
|
| 3153 |
#: framework/premium/extensions/shortcuts/customizer.php:640,
|
| 3154 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
|
| 3155 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:333,
|
| 3156 |
#: framework/features/header/items/account/options.php:261,
|
| 3157 |
#: framework/features/header/items/account/options.php:467,
|
| 3158 |
+
#: framework/premium/features/content-blocks/options/hook.php:307,
|
| 3159 |
#: build_tmp/build/framework/premium/extensions/shortcuts/customizer.php:640,
|
| 3160 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
|
| 3161 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:333,
|
| 3162 |
#: framework/premium/extensions/woocommerce-extra/header-items/wish-list/options.php:100,
|
| 3163 |
#: build_tmp/build/framework/features/header/items/account/options.php:261,
|
| 3164 |
#: build_tmp/build/framework/features/header/items/account/options.php:467,
|
| 3165 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:307,
|
| 3166 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/header-items/wish-list/options.php:100
|
| 3167 |
msgid "Bottom"
|
| 3168 |
msgstr ""
|
| 3411 |
msgstr ""
|
| 3412 |
|
| 3413 |
#: framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
|
| 3414 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:295,
|
| 3415 |
+
#: framework/premium/features/content-blocks/options/hook.php:306,
|
| 3416 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
|
| 3417 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:295,
|
| 3418 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:306
|
| 3419 |
msgid "Top"
|
| 3420 |
msgstr ""
|
| 3421 |
|
| 3429 |
msgid "Floating Cart Visibility"
|
| 3430 |
msgstr ""
|
| 3431 |
|
| 3432 |
+
#: framework/premium/extensions/woocommerce-extra/helpers.php:102,
|
| 3433 |
+
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/helpers.php:102
|
| 3434 |
msgid "Go to product page"
|
| 3435 |
msgstr ""
|
| 3436 |
|
| 3437 |
+
#: framework/premium/extensions/woocommerce-extra/helpers.php:322,
|
| 3438 |
+
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/helpers.php:322
|
| 3439 |
msgid "Filter"
|
| 3440 |
msgstr ""
|
| 3441 |
|
| 3756 |
#: framework/premium/features/content-blocks/hooks-manager.php:154,
|
| 3757 |
#: framework/premium/features/content-blocks/hooks-manager.php:162,
|
| 3758 |
#: framework/premium/features/content-blocks/hooks-manager.php:170,
|
| 3759 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:178,
|
| 3760 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:186,
|
| 3761 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:146,
|
| 3762 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:154,
|
| 3763 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:162,
|
| 3764 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:170,
|
| 3765 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:178,
|
| 3766 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:186
|
| 3767 |
msgid "Page/post title"
|
| 3768 |
msgstr ""
|
| 3769 |
|
| 3770 |
#: framework/premium/features/content-blocks/hooks-manager.php:153,
|
| 3771 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:239,
|
| 3772 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:153,
|
| 3773 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:239
|
| 3774 |
msgid "Before title"
|
| 3775 |
msgstr ""
|
| 3776 |
|
| 3777 |
#: framework/premium/features/content-blocks/hooks-manager.php:161,
|
| 3778 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:161
|
| 3779 |
+
msgid "Before post meta"
|
|
|
|
|
|
|
| 3780 |
msgstr ""
|
| 3781 |
|
| 3782 |
#: framework/premium/features/content-blocks/hooks-manager.php:169,
|
| 3783 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:246,
|
| 3784 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:169,
|
| 3785 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:246
|
| 3786 |
+
msgid "After title"
|
| 3787 |
msgstr ""
|
| 3788 |
|
| 3789 |
#: framework/premium/features/content-blocks/hooks-manager.php:177,
|
| 3790 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:177
|
| 3791 |
+
msgid "After post meta"
|
| 3792 |
msgstr ""
|
| 3793 |
|
| 3794 |
#: framework/premium/features/content-blocks/hooks-manager.php:185,
|
| 3795 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:185
|
| 3796 |
+
msgid "After section"
|
|
|
|
|
|
|
| 3797 |
msgstr ""
|
| 3798 |
|
| 3799 |
#: framework/premium/features/content-blocks/hooks-manager.php:193,
|
| 3800 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:193
|
| 3801 |
+
msgid "Before content"
|
|
|
|
|
|
|
| 3802 |
msgstr ""
|
| 3803 |
|
| 3804 |
#: framework/premium/features/content-blocks/hooks-manager.php:201,
|
| 3805 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:303,
|
| 3806 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:201,
|
| 3807 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:303
|
| 3808 |
+
msgid "Top content"
|
| 3809 |
msgstr ""
|
| 3810 |
|
| 3811 |
#: framework/premium/features/content-blocks/hooks-manager.php:209,
|
| 3812 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:325,
|
| 3813 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:209,
|
| 3814 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:325
|
| 3815 |
+
msgid "Bottom content"
|
| 3816 |
msgstr ""
|
| 3817 |
|
|
|
|
| 3818 |
#: framework/premium/features/content-blocks/hooks-manager.php:217,
|
| 3819 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:217
|
| 3820 |
+
msgid "After content"
|
| 3821 |
+
msgstr ""
|
| 3822 |
+
|
| 3823 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:225,
|
| 3824 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:225
|
| 3825 |
+
msgid "Before comments"
|
| 3826 |
+
msgstr ""
|
| 3827 |
+
|
| 3828 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:226,
|
| 3829 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:233,
|
| 3830 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:240,
|
| 3831 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:247,
|
| 3832 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:254,
|
| 3833 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:261,
|
| 3834 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:226,
|
| 3835 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:233,
|
| 3836 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:240,
|
| 3837 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:247,
|
| 3838 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:254,
|
| 3839 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:261
|
| 3840 |
msgid "Comments"
|
| 3841 |
msgstr ""
|
| 3842 |
|
| 3843 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:232,
|
| 3844 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:232
|
| 3845 |
msgid "Top comments"
|
| 3846 |
msgstr ""
|
| 3847 |
|
| 3848 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:253,
|
| 3849 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:253
|
| 3850 |
msgid "Bottom comments"
|
| 3851 |
msgstr ""
|
| 3852 |
|
| 3853 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:260,
|
| 3854 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:260
|
| 3855 |
msgid "After comments"
|
| 3856 |
msgstr ""
|
| 3857 |
|
| 3858 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:267,
|
| 3859 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:453,
|
| 3860 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:267,
|
| 3861 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:453
|
| 3862 |
msgid "Before"
|
| 3863 |
msgstr ""
|
| 3864 |
|
| 3865 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:268,
|
| 3866 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:275,
|
| 3867 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:268,
|
| 3868 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:275
|
| 3869 |
msgid "Loop"
|
| 3870 |
msgstr ""
|
| 3871 |
|
| 3872 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:274,
|
| 3873 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:464,
|
| 3874 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:274,
|
| 3875 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:464
|
| 3876 |
msgid "After"
|
| 3877 |
msgstr ""
|
| 3878 |
|
| 3879 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:281,
|
| 3880 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:281
|
| 3881 |
msgid "Start"
|
| 3882 |
msgstr ""
|
| 3883 |
|
| 3884 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:282,
|
| 3885 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:289,
|
| 3886 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:282,
|
| 3887 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:289
|
| 3888 |
msgid "Loop card"
|
| 3889 |
msgstr ""
|
| 3890 |
|
| 3891 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:288,
|
| 3892 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:288
|
| 3893 |
msgid "End"
|
| 3894 |
msgstr ""
|
| 3895 |
|
| 3896 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:311,
|
| 3897 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:311
|
| 3898 |
msgid "After certain number of blocks"
|
| 3899 |
msgstr ""
|
| 3900 |
|
| 3901 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:318,
|
| 3902 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:318
|
| 3903 |
msgid "Before certain number of headings"
|
| 3904 |
msgstr ""
|
| 3905 |
|
| 3906 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:341,
|
| 3907 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:341
|
| 3908 |
msgid "Login form start"
|
| 3909 |
msgstr ""
|
| 3910 |
|
| 3911 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:342,
|
| 3912 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:349,
|
| 3913 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:356,
|
| 3914 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:363,
|
| 3915 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:370,
|
| 3916 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:377,
|
| 3917 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:384,
|
| 3918 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:391,
|
| 3919 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:398,
|
| 3920 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:405,
|
| 3921 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:342,
|
| 3922 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:349,
|
| 3923 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:356,
|
| 3924 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:363,
|
| 3925 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:370,
|
| 3926 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:377,
|
| 3927 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:384,
|
| 3928 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:391,
|
| 3929 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:398,
|
| 3930 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:405
|
| 3931 |
msgid "Auth forms"
|
| 3932 |
msgstr ""
|
| 3933 |
|
| 3934 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:348,
|
| 3935 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:348
|
| 3936 |
msgid "Login form end"
|
| 3937 |
msgstr ""
|
| 3938 |
|
| 3939 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:355,
|
| 3940 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:355
|
| 3941 |
msgid "Login form modal start"
|
| 3942 |
msgstr ""
|
| 3943 |
|
| 3944 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:362,
|
| 3945 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:362
|
| 3946 |
msgid "Login form modal end"
|
| 3947 |
msgstr ""
|
| 3948 |
|
| 3949 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:369,
|
| 3950 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:369
|
| 3951 |
msgid "Register form start"
|
| 3952 |
msgstr ""
|
| 3953 |
|
| 3954 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:376,
|
| 3955 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:376
|
| 3956 |
msgid "Register form end"
|
| 3957 |
msgstr ""
|
| 3958 |
|
| 3959 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:383,
|
| 3960 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:383
|
| 3961 |
msgid "Register form modal start"
|
| 3962 |
msgstr ""
|
| 3963 |
|
| 3964 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:390,
|
| 3965 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:390
|
| 3966 |
msgid "Register form modal end"
|
| 3967 |
msgstr ""
|
| 3968 |
|
| 3969 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:397,
|
| 3970 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:397
|
| 3971 |
msgid "Lost password form modal start"
|
| 3972 |
msgstr ""
|
| 3973 |
|
| 3974 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:404,
|
| 3975 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:404
|
| 3976 |
msgid "Lost password form modal end"
|
| 3977 |
msgstr ""
|
| 3978 |
|
| 3979 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:412,
|
| 3980 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:412
|
| 3981 |
msgid "Before main content"
|
| 3982 |
msgstr ""
|
| 3983 |
|
| 3984 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:418,
|
| 3985 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:418
|
| 3986 |
msgid "After main content"
|
| 3987 |
msgstr ""
|
| 3988 |
|
| 3989 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:421,
|
| 3990 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:421
|
| 3991 |
msgid "WooCommerce Global"
|
| 3992 |
msgstr ""
|
| 3993 |
|
| 3994 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:426,
|
| 3995 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:426
|
| 3996 |
msgid "Archive description"
|
| 3997 |
msgstr ""
|
| 3998 |
|
| 3999 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:431,
|
| 4000 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:431
|
| 4001 |
msgid "Before shop loop"
|
| 4002 |
msgstr ""
|
| 4003 |
|
| 4004 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:448,
|
| 4005 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:448
|
| 4006 |
msgid "Before shop loop item title"
|
| 4007 |
msgstr ""
|
| 4008 |
|
| 4009 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:453,
|
| 4010 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:453
|
| 4011 |
msgid "After shop loop item title"
|
| 4012 |
msgstr ""
|
| 4013 |
|
| 4014 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:458,
|
| 4015 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:458
|
| 4016 |
msgid "Before shop loop item price"
|
| 4017 |
msgstr ""
|
| 4018 |
|
| 4019 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:463,
|
| 4020 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:463
|
| 4021 |
msgid "After shop loop item price"
|
| 4022 |
msgstr ""
|
| 4023 |
|
| 4024 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:468,
|
| 4025 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:468
|
| 4026 |
msgid "After shop loop"
|
| 4027 |
msgstr ""
|
| 4028 |
|
| 4029 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:470,
|
| 4030 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:470
|
| 4031 |
msgid "WooCommerce Archive"
|
| 4032 |
msgstr ""
|
| 4033 |
|
| 4034 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:475,
|
| 4035 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:475
|
| 4036 |
msgid "Before single product"
|
| 4037 |
msgstr ""
|
| 4038 |
|
| 4039 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:493,
|
| 4040 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:493
|
| 4041 |
msgid "Product meta start"
|
| 4042 |
msgstr ""
|
| 4043 |
|
| 4044 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:497,
|
| 4045 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:497
|
| 4046 |
msgid "Product meta end"
|
| 4047 |
msgstr ""
|
| 4048 |
|
| 4049 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:501,
|
| 4050 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:501
|
| 4051 |
msgid "Share"
|
| 4052 |
msgstr ""
|
| 4053 |
|
| 4054 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:505,
|
| 4055 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:505
|
| 4056 |
msgid "After single product"
|
| 4057 |
msgstr ""
|
| 4058 |
|
| 4059 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:511,
|
| 4060 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:511
|
| 4061 |
msgid "Before single product excerpt"
|
| 4062 |
msgstr ""
|
| 4063 |
|
| 4064 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:516,
|
| 4065 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:516
|
| 4066 |
msgid "After single product excerpt"
|
| 4067 |
msgstr ""
|
| 4068 |
|
| 4069 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:521,
|
| 4070 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:521
|
| 4071 |
msgid "Before single product tabs"
|
| 4072 |
msgstr ""
|
| 4073 |
|
| 4074 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:527,
|
| 4075 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:527
|
| 4076 |
msgid "After single product tabs"
|
| 4077 |
msgstr ""
|
| 4078 |
|
| 4079 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:531,
|
| 4080 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:531
|
| 4081 |
msgid "WooCommerce Product"
|
| 4082 |
msgstr ""
|
| 4083 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4084 |
#: framework/premium/features/content-blocks/hooks-manager.php:536,
|
| 4085 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:536
|
| 4086 |
+
msgid "Cart is empty"
|
| 4087 |
msgstr ""
|
| 4088 |
|
| 4089 |
#: framework/premium/features/content-blocks/hooks-manager.php:540,
|
| 4090 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:540
|
| 4091 |
+
msgid "Before cart"
|
| 4092 |
msgstr ""
|
| 4093 |
|
| 4094 |
#: framework/premium/features/content-blocks/hooks-manager.php:544,
|
| 4095 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:544
|
| 4096 |
+
msgid "Before cart table"
|
| 4097 |
msgstr ""
|
| 4098 |
|
| 4099 |
#: framework/premium/features/content-blocks/hooks-manager.php:548,
|
| 4100 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:548
|
| 4101 |
+
msgid "Before cart contents"
|
| 4102 |
msgstr ""
|
| 4103 |
|
| 4104 |
#: framework/premium/features/content-blocks/hooks-manager.php:552,
|
| 4105 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:552
|
| 4106 |
+
msgid "Cart contents"
|
| 4107 |
msgstr ""
|
| 4108 |
|
| 4109 |
#: framework/premium/features/content-blocks/hooks-manager.php:556,
|
| 4110 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:556
|
| 4111 |
+
msgid "After cart contents"
|
| 4112 |
msgstr ""
|
| 4113 |
|
| 4114 |
#: framework/premium/features/content-blocks/hooks-manager.php:560,
|
| 4115 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:560
|
| 4116 |
+
msgid "Cart coupon"
|
| 4117 |
msgstr ""
|
| 4118 |
|
| 4119 |
#: framework/premium/features/content-blocks/hooks-manager.php:564,
|
| 4120 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:564
|
| 4121 |
+
msgid "Cart actions"
|
| 4122 |
msgstr ""
|
| 4123 |
|
| 4124 |
#: framework/premium/features/content-blocks/hooks-manager.php:568,
|
| 4125 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:568
|
| 4126 |
+
msgid "After cart table"
|
| 4127 |
msgstr ""
|
| 4128 |
|
| 4129 |
#: framework/premium/features/content-blocks/hooks-manager.php:572,
|
| 4130 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:572
|
| 4131 |
+
msgid "Cart collaterals"
|
| 4132 |
msgstr ""
|
| 4133 |
|
| 4134 |
#: framework/premium/features/content-blocks/hooks-manager.php:576,
|
| 4135 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:576
|
| 4136 |
+
msgid "Before cart totals"
|
| 4137 |
msgstr ""
|
| 4138 |
|
| 4139 |
#: framework/premium/features/content-blocks/hooks-manager.php:580,
|
| 4140 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:580
|
| 4141 |
+
msgid "Cart totals before order total"
|
| 4142 |
msgstr ""
|
| 4143 |
|
| 4144 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:584,
|
| 4145 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:584
|
| 4146 |
+
msgid "Cart totals after order total"
|
| 4147 |
msgstr ""
|
| 4148 |
|
| 4149 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:588,
|
| 4150 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:588
|
| 4151 |
+
msgid "Proceed to checkout"
|
| 4152 |
msgstr ""
|
| 4153 |
|
| 4154 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:592,
|
| 4155 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:592
|
| 4156 |
+
msgid "After cart totals"
|
| 4157 |
msgstr ""
|
| 4158 |
|
| 4159 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:596,
|
| 4160 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:596
|
| 4161 |
+
msgid "After cart"
|
| 4162 |
msgstr ""
|
| 4163 |
|
| 4164 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:601,
|
| 4165 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:601
|
| 4166 |
+
msgid "Before Mini Cart"
|
| 4167 |
msgstr ""
|
| 4168 |
|
| 4169 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:606,
|
| 4170 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:606
|
| 4171 |
+
msgid "Before Mini Cart Contents"
|
| 4172 |
msgstr ""
|
| 4173 |
|
| 4174 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:611,
|
| 4175 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:611
|
| 4176 |
+
msgid "Mini Cart Contents"
|
| 4177 |
msgstr ""
|
| 4178 |
|
| 4179 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:616,
|
| 4180 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:616
|
| 4181 |
+
msgid "Widget Shopping Cart Before Buttons"
|
| 4182 |
msgstr ""
|
| 4183 |
|
| 4184 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:621,
|
| 4185 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:621
|
| 4186 |
+
msgid "Widget Shopping Cart After Buttons"
|
| 4187 |
msgstr ""
|
| 4188 |
|
| 4189 |
#: framework/premium/features/content-blocks/hooks-manager.php:626,
|
| 4190 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:626
|
| 4191 |
+
msgid "After Mini Cart"
|
| 4192 |
msgstr ""
|
| 4193 |
|
| 4194 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:628,
|
| 4195 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:628
|
| 4196 |
+
msgid "WooCommerce Cart"
|
| 4197 |
msgstr ""
|
| 4198 |
|
| 4199 |
#: framework/premium/features/content-blocks/hooks-manager.php:634,
|
| 4200 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:634
|
| 4201 |
+
msgid "Before checkout form"
|
| 4202 |
msgstr ""
|
| 4203 |
|
| 4204 |
#: framework/premium/features/content-blocks/hooks-manager.php:638,
|
| 4205 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:638
|
| 4206 |
+
msgid "Before customer details"
|
| 4207 |
msgstr ""
|
| 4208 |
|
| 4209 |
#: framework/premium/features/content-blocks/hooks-manager.php:642,
|
| 4210 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:642
|
| 4211 |
+
msgid "After customer details"
|
| 4212 |
msgstr ""
|
| 4213 |
|
| 4214 |
#: framework/premium/features/content-blocks/hooks-manager.php:646,
|
| 4215 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:646
|
| 4216 |
+
msgid "Checkout billing"
|
| 4217 |
msgstr ""
|
| 4218 |
|
| 4219 |
#: framework/premium/features/content-blocks/hooks-manager.php:650,
|
| 4220 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:650
|
| 4221 |
+
msgid "Before checkout billing form"
|
| 4222 |
msgstr ""
|
| 4223 |
|
| 4224 |
#: framework/premium/features/content-blocks/hooks-manager.php:654,
|
| 4225 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:654
|
| 4226 |
+
msgid "After checkout billing form"
|
| 4227 |
msgstr ""
|
| 4228 |
|
| 4229 |
#: framework/premium/features/content-blocks/hooks-manager.php:658,
|
| 4230 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:658
|
| 4231 |
+
msgid "Before order notes"
|
| 4232 |
msgstr ""
|
| 4233 |
|
| 4234 |
#: framework/premium/features/content-blocks/hooks-manager.php:662,
|
| 4235 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:662
|
| 4236 |
+
msgid "After order notes"
|
| 4237 |
msgstr ""
|
| 4238 |
|
| 4239 |
#: framework/premium/features/content-blocks/hooks-manager.php:666,
|
| 4240 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:666
|
| 4241 |
+
msgid "Checkout shipping"
|
| 4242 |
msgstr ""
|
| 4243 |
|
| 4244 |
#: framework/premium/features/content-blocks/hooks-manager.php:670,
|
| 4245 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:670
|
| 4246 |
+
msgid "Checkout before order review"
|
| 4247 |
msgstr ""
|
| 4248 |
|
| 4249 |
#: framework/premium/features/content-blocks/hooks-manager.php:674,
|
| 4250 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:674
|
| 4251 |
+
msgid "Checkout order review"
|
| 4252 |
msgstr ""
|
| 4253 |
|
| 4254 |
#: framework/premium/features/content-blocks/hooks-manager.php:678,
|
| 4255 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:678
|
| 4256 |
+
msgid "Review order before cart contents"
|
| 4257 |
msgstr ""
|
| 4258 |
|
| 4259 |
#: framework/premium/features/content-blocks/hooks-manager.php:682,
|
| 4260 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:682
|
| 4261 |
+
msgid "Review order after cart contents"
|
| 4262 |
msgstr ""
|
| 4263 |
|
| 4264 |
#: framework/premium/features/content-blocks/hooks-manager.php:686,
|
| 4265 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:686
|
| 4266 |
+
msgid "Review order before order total"
|
| 4267 |
msgstr ""
|
| 4268 |
|
| 4269 |
#: framework/premium/features/content-blocks/hooks-manager.php:690,
|
| 4270 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:690
|
| 4271 |
+
msgid "Review order after order total"
|
| 4272 |
msgstr ""
|
| 4273 |
|
| 4274 |
#: framework/premium/features/content-blocks/hooks-manager.php:694,
|
| 4275 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:694
|
| 4276 |
+
msgid "Review order before payment"
|
| 4277 |
msgstr ""
|
| 4278 |
|
| 4279 |
#: framework/premium/features/content-blocks/hooks-manager.php:698,
|
| 4280 |
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:698
|
| 4281 |
+
msgid "Review order before submit"
|
| 4282 |
+
msgstr ""
|
| 4283 |
+
|
| 4284 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:702,
|
| 4285 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:702
|
| 4286 |
+
msgid "Review order after submit"
|
| 4287 |
+
msgstr ""
|
| 4288 |
+
|
| 4289 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:706,
|
| 4290 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:706
|
| 4291 |
+
msgid "Review order after payment"
|
| 4292 |
+
msgstr ""
|
| 4293 |
+
|
| 4294 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:710,
|
| 4295 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:710
|
| 4296 |
+
msgid "Checkout after order review"
|
| 4297 |
+
msgstr ""
|
| 4298 |
+
|
| 4299 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:714,
|
| 4300 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:714
|
| 4301 |
msgid "After checkout form"
|
| 4302 |
msgstr ""
|
| 4303 |
|
| 4304 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:717,
|
| 4305 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:717
|
| 4306 |
msgid "WooCommerce Checkout"
|
| 4307 |
msgstr ""
|
| 4308 |
|
| 4309 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:723,
|
| 4310 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:723
|
| 4311 |
msgid "Before my account"
|
| 4312 |
msgstr ""
|
| 4313 |
|
| 4314 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:727,
|
| 4315 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:727
|
| 4316 |
msgid "Before account navigation"
|
| 4317 |
msgstr ""
|
| 4318 |
|
| 4319 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:731,
|
| 4320 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:731
|
| 4321 |
msgid "Account navigation"
|
| 4322 |
msgstr ""
|
| 4323 |
|
| 4324 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:735,
|
| 4325 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:735
|
| 4326 |
msgid "After account navigation"
|
| 4327 |
msgstr ""
|
| 4328 |
|
| 4329 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:739,
|
| 4330 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:739
|
| 4331 |
msgid "Account content"
|
| 4332 |
msgstr ""
|
| 4333 |
|
| 4334 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:743,
|
| 4335 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:743
|
| 4336 |
msgid "Account dashboard"
|
| 4337 |
msgstr ""
|
| 4338 |
|
| 4339 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:747,
|
| 4340 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:747
|
| 4341 |
msgid "After my account"
|
| 4342 |
msgstr ""
|
| 4343 |
|
| 4344 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:749,
|
| 4345 |
#: framework/features/header/items/account/options.php:17,
|
| 4346 |
#: framework/features/header/items/account/options.php:18,
|
| 4347 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:749,
|
| 4348 |
#: build_tmp/build/framework/features/header/items/account/options.php:17,
|
| 4349 |
#: build_tmp/build/framework/features/header/items/account/options.php:18
|
| 4350 |
msgid "WooCommerce Account"
|
| 4351 |
msgstr ""
|
| 4352 |
|
| 4353 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:755,
|
| 4354 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:755
|
| 4355 |
msgid "WP footer"
|
| 4356 |
msgstr ""
|
| 4357 |
|
|
|
|
|
|
|
| 4358 |
#: framework/premium/features/content-blocks/hooks-manager.php:756,
|
| 4359 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:764,
|
| 4360 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:772,
|
| 4361 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:756,
|
| 4362 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:764,
|
| 4363 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:772
|
| 4364 |
msgid "Footer"
|
| 4365 |
msgstr ""
|
| 4366 |
|
| 4367 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:763,
|
| 4368 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:763
|
| 4369 |
msgid "Footer before"
|
| 4370 |
msgstr ""
|
| 4371 |
|
| 4372 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:771,
|
| 4373 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:771
|
| 4374 |
msgid "Footer after"
|
| 4375 |
msgstr ""
|
| 4376 |
|
| 4377 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:786,
|
| 4378 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:786
|
| 4379 |
msgid "Custom Hook (%s)"
|
| 4380 |
msgstr ""
|
| 4381 |
|
| 4382 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:792,
|
| 4383 |
+
#: framework/premium/features/content-blocks/options/hook.php:197,
|
| 4384 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:792,
|
| 4385 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:197
|
| 4386 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:87
|
| 4387 |
msgid "After Block Number"
|
| 4388 |
msgstr ""
|
| 4389 |
|
| 4390 |
+
#: framework/premium/features/content-blocks/hooks-manager.php:798,
|
| 4391 |
+
#: framework/premium/features/content-blocks/options/hook.php:214,
|
| 4392 |
+
#: build_tmp/build/framework/premium/features/content-blocks/hooks-manager.php:798,
|
| 4393 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:214
|
| 4394 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:106
|
| 4395 |
msgid "Before Heading Number"
|
| 4396 |
msgstr ""
|
| 4947 |
msgid "Excerpt Lenght"
|
| 4948 |
msgstr ""
|
| 4949 |
|
| 4950 |
+
#: framework/extensions/widgets/widgets/ct-posts/view.php:220
|
| 4951 |
+
msgid "1 Comment"
|
| 4952 |
+
msgstr ""
|
| 4953 |
+
|
| 4954 |
+
#: framework/extensions/widgets/widgets/ct-posts/view.php:220
|
| 4955 |
+
msgid "% Comments"
|
| 4956 |
+
msgstr ""
|
| 4957 |
+
|
| 4958 |
#: framework/extensions/widgets/widgets/ct-quote/options.php:18,
|
| 4959 |
#: framework/extensions/widgets/widgets/ct-quote/view.php:12,
|
| 4960 |
#: framework/extensions/widgets/widgets/ct-quote/widget.php:13,
|
| 5354 |
msgid "Account header icon"
|
| 5355 |
msgstr ""
|
| 5356 |
|
| 5357 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:403,
|
| 5358 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:403
|
| 5359 |
msgid "You have no %s fields declared for this custom post type."
|
| 5360 |
msgstr ""
|
| 5361 |
|
| 5362 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:415,
|
| 5363 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:824,
|
| 5364 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:835,
|
| 5365 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:415,
|
| 5366 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:824,
|
| 5367 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:835
|
| 5368 |
msgid "Field"
|
| 5369 |
msgstr ""
|
| 5370 |
|
| 5371 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:427,
|
| 5372 |
#: framework/premium/features/premium-header/items/language-switcher/options.php:60,
|
| 5373 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:427,
|
| 5374 |
#: build_tmp/build/framework/premium/features/premium-header/items/language-switcher/options.php:60
|
| 5375 |
msgid "Label"
|
| 5376 |
msgstr ""
|
| 5377 |
|
| 5378 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:476,
|
| 5379 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:476
|
| 5380 |
msgid "Fallback"
|
| 5381 |
msgstr ""
|
| 5382 |
|
| 5383 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:488,
|
| 5384 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:488
|
| 5385 |
msgid "%s Field"
|
| 5386 |
msgstr ""
|
| 5387 |
|
| 5388 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:822,
|
| 5389 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:822
|
| 5390 |
msgid "%s %s Font"
|
| 5391 |
msgstr ""
|
| 5392 |
|
| 5393 |
+
#: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:833,
|
| 5394 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/dynamic-data.php:833
|
| 5395 |
msgid "%s %s Color"
|
| 5396 |
msgstr ""
|
| 5397 |
|
| 5398 |
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:9,
|
| 5399 |
+
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:50,
|
| 5400 |
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:9,
|
| 5401 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:50
|
| 5402 |
msgid "Read Time"
|
| 5403 |
msgstr ""
|
| 5404 |
|
| 5405 |
+
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:88,
|
| 5406 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:88
|
| 5407 |
msgid " min"
|
| 5408 |
msgstr ""
|
| 5409 |
|
| 5410 |
+
#: framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:91,
|
| 5411 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/estimated-read-time.php:91
|
| 5412 |
msgid " mins"
|
| 5413 |
msgstr ""
|
| 5414 |
|
| 5415 |
+
#: framework/premium/extensions/post-types-extra/includes/filtering.php:286,
|
| 5416 |
+
#: build_tmp/build/framework/premium/extensions/post-types-extra/includes/filtering.php:286
|
| 5417 |
msgid "All"
|
| 5418 |
msgstr ""
|
| 5419 |
|
| 5453 |
|
| 5454 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:28,
|
| 5455 |
#: build_tmp/build/framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:28
|
| 5456 |
+
msgid "Show Wishlist Page To"
|
| 5457 |
msgstr ""
|
| 5458 |
|
| 5459 |
#: framework/premium/extensions/woocommerce-extra/includes/wish-list-options.php:34,
|
| 5568 |
|
| 5569 |
#: framework/premium/features/content-blocks/options/404.php:19,
|
| 5570 |
#: framework/premium/features/content-blocks/options/header.php:19,
|
| 5571 |
+
#: framework/premium/features/content-blocks/options/hook.php:24,
|
| 5572 |
#: framework/premium/features/content-blocks/options/popup.php:25,
|
| 5573 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:19,
|
| 5574 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:19,
|
| 5575 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:24,
|
| 5576 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:25
|
| 5577 |
msgid "Other"
|
| 5578 |
msgstr ""
|
| 5579 |
|
| 5580 |
#: framework/premium/features/content-blocks/options/404.php:33,
|
| 5581 |
#: framework/premium/features/content-blocks/options/header.php:35,
|
| 5582 |
+
#: framework/premium/features/content-blocks/options/hook.php:40,
|
| 5583 |
#: framework/premium/features/content-blocks/options/popup.php:42,
|
| 5584 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:33,
|
| 5585 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:35,
|
| 5586 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:40,
|
| 5587 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:42
|
| 5588 |
msgid "Container Structure"
|
| 5589 |
msgstr ""
|
| 5590 |
|
| 5591 |
#: framework/premium/features/content-blocks/options/404.php:59,
|
| 5592 |
#: framework/premium/features/content-blocks/options/header.php:63,
|
| 5593 |
+
#: framework/premium/features/content-blocks/options/hook.php:68,
|
| 5594 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:59,
|
| 5595 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:63,
|
| 5596 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:68
|
| 5597 |
msgid "Narrow Width"
|
| 5598 |
msgstr ""
|
| 5599 |
|
| 5600 |
#: framework/premium/features/content-blocks/options/404.php:64,
|
| 5601 |
#: framework/premium/features/content-blocks/options/header.php:68,
|
| 5602 |
+
#: framework/premium/features/content-blocks/options/hook.php:73,
|
| 5603 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:64,
|
| 5604 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:68,
|
| 5605 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:73
|
| 5606 |
msgid "Normal Width"
|
| 5607 |
msgstr ""
|
| 5608 |
|
| 5609 |
#: framework/premium/features/content-blocks/options/404.php:70,
|
| 5610 |
#: framework/premium/features/content-blocks/options/header.php:74,
|
| 5611 |
+
#: framework/premium/features/content-blocks/options/hook.php:79,
|
| 5612 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:70,
|
| 5613 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:74,
|
| 5614 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:79
|
| 5615 |
msgid "Content Area Style"
|
| 5616 |
msgstr ""
|
| 5617 |
|
| 5618 |
#: framework/premium/features/content-blocks/options/404.php:84,
|
| 5619 |
#: framework/premium/features/content-blocks/options/header.php:88,
|
| 5620 |
+
#: framework/premium/features/content-blocks/options/hook.php:93,
|
| 5621 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:84,
|
| 5622 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:88,
|
| 5623 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:93
|
| 5624 |
msgid "Content Area Vertical Spacing"
|
| 5625 |
msgstr ""
|
| 5626 |
|
| 5627 |
#: framework/premium/features/content-blocks/options/404.php:95,
|
| 5628 |
#: framework/premium/features/content-blocks/options/header.php:99,
|
| 5629 |
+
#: framework/premium/features/content-blocks/options/hook.php:104,
|
| 5630 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:95,
|
| 5631 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:99,
|
| 5632 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:104
|
| 5633 |
msgid "Top & Bottom"
|
| 5634 |
msgstr ""
|
| 5635 |
|
| 5636 |
#: framework/premium/features/content-blocks/options/404.php:98,
|
| 5637 |
#: framework/premium/features/content-blocks/options/header.php:102,
|
| 5638 |
+
#: framework/premium/features/content-blocks/options/hook.php:107,
|
| 5639 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:98,
|
| 5640 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:102,
|
| 5641 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:107
|
| 5642 |
msgid "Only Top"
|
| 5643 |
msgstr ""
|
| 5644 |
|
| 5645 |
#: framework/premium/features/content-blocks/options/404.php:101,
|
| 5646 |
#: framework/premium/features/content-blocks/options/header.php:105,
|
| 5647 |
+
#: framework/premium/features/content-blocks/options/hook.php:110,
|
| 5648 |
#: build_tmp/build/framework/premium/features/content-blocks/options/404.php:101,
|
| 5649 |
#: build_tmp/build/framework/premium/features/content-blocks/options/header.php:105,
|
| 5650 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:110
|
| 5651 |
msgid "Only Bottom"
|
| 5652 |
msgstr ""
|
| 5653 |
|
| 5654 |
+
#: framework/premium/features/content-blocks/options/hook.php:148,
|
| 5655 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:148
|
| 5656 |
msgid "Location & Priority"
|
| 5657 |
msgstr ""
|
| 5658 |
|
| 5659 |
+
#: framework/premium/features/content-blocks/options/hook.php:181,
|
| 5660 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5661 |
#: framework/premium/static/js/options/MultipleLocationsSelect.js:72
|
| 5662 |
msgid "Custom Hook"
|
| 5663 |
msgstr ""
|
| 5664 |
|
| 5665 |
+
#: framework/premium/features/content-blocks/options/hook.php:256,
|
| 5666 |
#: framework/premium/features/content-blocks/options/popup.php:296,
|
| 5667 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:256,
|
| 5668 |
#: build_tmp/build/framework/premium/features/content-blocks/options/popup.php:296
|
| 5669 |
msgid "Expiration Date/Time"
|
| 5670 |
msgstr ""
|
| 5671 |
|
| 5672 |
+
#: framework/premium/features/content-blocks/options/hook.php:283,
|
| 5673 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:283
|
| 5674 |
msgid "Block Position"
|
| 5675 |
msgstr ""
|
| 5676 |
|
| 5677 |
+
#: framework/premium/features/content-blocks/options/hook.php:290,
|
| 5678 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:290
|
| 5679 |
msgid "Fixed"
|
| 5680 |
msgstr ""
|
| 5681 |
|
| 5682 |
+
#: framework/premium/features/content-blocks/options/hook.php:300,
|
| 5683 |
+
#: build_tmp/build/framework/premium/features/content-blocks/options/hook.php:300
|
| 5684 |
msgid "Location"
|
| 5685 |
msgstr ""
|
| 5686 |
|
| 6219 |
#: framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js:208
|
| 6220 |
#: framework/premium/extensions/mega-menu/static/js/SettingsManager.js:221
|
| 6221 |
#: framework/premium/extensions/sidebars/static/js/SettingsManager.js:101
|
| 6222 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:976
|
| 6223 |
#: framework/premium/static/js/footer/EditConditions.js:143
|
| 6224 |
msgid "Save Settings"
|
| 6225 |
msgstr ""
|
| 6526 |
"recommended image size is 18px wide by 18px tall."
|
| 6527 |
msgstr ""
|
| 6528 |
|
| 6529 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:534
|
| 6530 |
+
msgid "Gutenberg Options Panel Icon URL"
|
| 6531 |
+
msgstr ""
|
| 6532 |
+
|
| 6533 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:631
|
| 6534 |
+
msgid ""
|
| 6535 |
+
"You can insert the link to a self hosted image or upload one. Please note "
|
| 6536 |
+
"that only icons in SVG format are allowed here to not break the editor "
|
| 6537 |
+
"interactiveness."
|
| 6538 |
+
msgstr ""
|
| 6539 |
+
|
| 6540 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:644
|
| 6541 |
msgid "Plugin Details"
|
| 6542 |
msgstr ""
|
| 6543 |
|
| 6544 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:652
|
| 6545 |
msgid "Plugin Name"
|
| 6546 |
msgstr ""
|
| 6547 |
|
| 6548 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:683
|
| 6549 |
msgid "Plugin Description"
|
| 6550 |
msgstr ""
|
| 6551 |
|
| 6552 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:714
|
| 6553 |
msgid "Plugin Thumbnail URL"
|
| 6554 |
msgstr ""
|
| 6555 |
|
| 6556 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:805
|
| 6557 |
msgid "Choose File"
|
| 6558 |
msgstr ""
|
| 6559 |
|
| 6560 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:812
|
| 6561 |
msgid ""
|
| 6562 |
"You can insert the link to a self hosted image or upload one. The "
|
| 6563 |
"recommended image size is 256px wide by 256px tall."
|
| 6564 |
msgstr ""
|
| 6565 |
|
| 6566 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:862
|
| 6567 |
msgid "Hide Account Menu Item"
|
| 6568 |
msgstr ""
|
| 6569 |
|
| 6570 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:870
|
| 6571 |
msgid "Hide Starter Sites Tab"
|
| 6572 |
msgstr ""
|
| 6573 |
|
| 6574 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:877
|
| 6575 |
msgid "Hide Useful Plugins Tab"
|
| 6576 |
msgstr ""
|
| 6577 |
|
| 6578 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:885
|
| 6579 |
msgid "Hide Changelog Tab"
|
| 6580 |
msgstr ""
|
| 6581 |
|
| 6582 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:893
|
| 6583 |
msgid "Hide Support Section"
|
| 6584 |
msgstr ""
|
| 6585 |
|
| 6586 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:901
|
| 6587 |
msgid "Hide Beta Updates Section"
|
| 6588 |
msgstr ""
|
| 6589 |
|
| 6590 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:938
|
| 6591 |
msgid "Hide White Label Extension"
|
| 6592 |
msgstr ""
|
| 6593 |
|
| 6594 |
+
#: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:955
|
| 6595 |
msgid ""
|
| 6596 |
"Please note that the white label extension will be hidden if this option is "
|
| 6597 |
"enabled. In order to bring it back you have to hit the SHIFT key and click "
|
| 6702 |
#: framework/premium/static/js/footer/PanelsManager.js:211
|
| 6703 |
#: framework/premium/static/js/hooks/CodeEditor.js:60
|
| 6704 |
#: static/js/header/PanelsManager.js:215
|
| 6705 |
+
#: static/js/options/CustomizerOptionsManager.js:405
|
| 6706 |
msgid "Cancel"
|
| 6707 |
msgstr ""
|
| 6708 |
|
| 6839 |
msgid "Add New Location"
|
| 6840 |
msgstr ""
|
| 6841 |
|
| 6842 |
+
#: framework/premium/static/js/options/MultipleLocationsSelect.js:47
|
| 6843 |
+
msgid "Select location"
|
| 6844 |
+
msgstr ""
|
| 6845 |
+
|
| 6846 |
+
#: framework/premium/static/js/typography/providers/kadence.js:15
|
| 6847 |
+
#: framework/premium/static/js/typography/providers/stackable.js:18
|
| 6848 |
msgid "Blocksy Local Google Fonts"
|
| 6849 |
msgstr ""
|
| 6850 |
|
| 6851 |
+
#: framework/premium/static/js/typography/providers/kadence.js:19
|
| 6852 |
+
#: framework/premium/static/js/typography/providers/stackable.js:22
|
| 6853 |
msgid "Blocksy Typekit"
|
| 6854 |
msgstr ""
|
| 6855 |
|
| 6856 |
+
#: framework/premium/static/js/typography/providers/kadence.js:20
|
| 6857 |
+
#: framework/premium/static/js/typography/providers/stackable.js:23
|
| 6858 |
msgid "Blocksy Custom Fonts"
|
| 6859 |
msgstr ""
|
| 6860 |
|
| 6906 |
msgid "Join Facebook Community"
|
| 6907 |
msgstr ""
|
| 6908 |
|
| 6909 |
+
#: static/js/helpers/useActivationAction.js:113
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6910 |
msgid "Free vs Pro"
|
| 6911 |
msgstr ""
|
| 6912 |
|
| 6913 |
+
#: static/js/helpers/useActivationAction.js:120
|
| 6914 |
msgid "Upgrade Now"
|
| 6915 |
msgstr ""
|
| 6916 |
|
| 6960 |
msgid "Select page"
|
| 6961 |
msgstr ""
|
| 6962 |
|
| 6963 |
+
#: static/js/options/CustomizerOptionsManager.js:105
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6964 |
msgid "Import Options"
|
| 6965 |
msgstr ""
|
| 6966 |
|
| 6967 |
+
#: static/js/options/CustomizerOptionsManager.js:108
|
| 6968 |
msgid "Easily import the theme customizer settings."
|
| 6969 |
msgstr ""
|
| 6970 |
|
| 6971 |
+
#: static/js/options/CustomizerOptionsManager.js:128
|
| 6972 |
msgid "Click or drop to upload a file..."
|
| 6973 |
msgstr ""
|
| 6974 |
|
| 6975 |
+
#: static/js/options/CustomizerOptionsManager.js:192
|
| 6976 |
msgid "Import Customizations"
|
| 6977 |
msgstr ""
|
| 6978 |
|
| 6979 |
+
#: static/js/options/CustomizerOptionsManager.js:201
|
| 6980 |
msgid "Copy Options"
|
| 6981 |
msgstr ""
|
| 6982 |
|
| 6983 |
+
#: static/js/options/CustomizerOptionsManager.js:204
|
| 6984 |
msgid "Copy and import your customizations from parent or child theme."
|
| 6985 |
msgstr ""
|
| 6986 |
|
| 6987 |
+
#: static/js/options/CustomizerOptionsManager.js:258
|
| 6988 |
msgid "Copy From Parent Theme"
|
| 6989 |
msgstr ""
|
| 6990 |
|
| 6991 |
+
#: static/js/options/CustomizerOptionsManager.js:261
|
| 6992 |
msgid "Copy From Child Theme"
|
| 6993 |
msgstr ""
|
| 6994 |
|
| 6995 |
+
#: static/js/options/CustomizerOptionsManager.js:265
|
| 6996 |
msgid ""
|
| 6997 |
"You are about to copy all the settings from your parent theme into the child "
|
| 6998 |
"theme. Are you sure you want to continue?"
|
| 6999 |
msgstr ""
|
| 7000 |
|
| 7001 |
+
#: static/js/options/CustomizerOptionsManager.js:271
|
| 7002 |
msgid ""
|
| 7003 |
"You are about to copy all the settings from your child theme into the parent "
|
| 7004 |
"theme. Are you sure you want to continue?"
|
| 7005 |
msgstr ""
|
| 7006 |
|
| 7007 |
+
#: static/js/options/CustomizerOptionsManager.js:320
|
| 7008 |
msgid "Yes, I am sure"
|
| 7009 |
msgstr ""
|
| 7010 |
|
| 7011 |
+
#: static/js/options/CustomizerOptionsManager.js:334
|
| 7012 |
msgid "Export Settings"
|
| 7013 |
msgstr ""
|
| 7014 |
|
| 7015 |
+
#: static/js/options/CustomizerOptionsManager.js:338
|
| 7016 |
msgid "Choose what set of settings you want to export."
|
| 7017 |
msgstr ""
|
| 7018 |
|
| 7019 |
+
#: static/js/options/CustomizerOptionsManager.js:366
|
| 7020 |
msgid "Customizer settings"
|
| 7021 |
msgstr ""
|
| 7022 |
|
| 7023 |
+
#: static/js/options/CustomizerOptionsManager.js:370
|
| 7024 |
msgid "Widgets settings"
|
| 7025 |
msgstr ""
|
| 7026 |
|
| 7027 |
+
#: static/js/options/CustomizerOptionsManager.js:461
|
| 7028 |
msgid "Export"
|
| 7029 |
msgstr ""
|
| 7030 |
|
| 7036 |
msgid "Easily export the theme customizer settings."
|
| 7037 |
msgstr ""
|
| 7038 |
|
| 7039 |
+
#: static/js/options/CustomizerOptionsManager.js:99
|
| 7040 |
+
msgid "Export Customizations"
|
| 7041 |
+
msgstr ""
|
| 7042 |
+
|
| 7043 |
#: static/js/options/DisplayCondition.js:18
|
| 7044 |
msgid "Transparent Header Display Conditions"
|
| 7045 |
msgstr ""
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Requires PHP: 7.0
|
|
| 5 |
Tested up to: 5.8
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
-
Stable tag: 1.8.9.
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
|
@@ -23,6 +23,23 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
|
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
1.8.9.2: 2021-10-01
|
| 27 |
- Improvement: Account header element aria-label attribute
|
| 28 |
|
| 5 |
Tested up to: 5.8
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
+
Stable tag: 1.8.9.3
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
| 26 |
+
1.8.9.3: 2021-10-20
|
| 27 |
+
- New: User condition for post author
|
| 28 |
+
- Improvement: Custom post types taxonomy condition per taxonomy
|
| 29 |
+
- Improvement: Allow shortcode in widgets (About Me, Quote, Contact Info)
|
| 30 |
+
- Improvement: Allow shortcode in contacts header element
|
| 31 |
+
- Improvement: Newsletter subscribe extension design options
|
| 32 |
+
- Improvement: Product reviews extensions entity option
|
| 33 |
+
- Improvement: Demo importer better detect plugin dependencies
|
| 34 |
+
- Improvement: Posts widget update comments translation strings
|
| 35 |
+
|
| 36 |
+
1.8.9.3-beta14: 2021-10-19
|
| 37 |
+
- Improvement: Allow shortcode in widgets (About Me, Quote, Contact Info)
|
| 38 |
+
- Improvement: Allow shortcode in contacts header element
|
| 39 |
+
- Improvement: Newsletter subscribe extension design options
|
| 40 |
+
- Improvement: Demo importer better detect plugin dependencies
|
| 41 |
+
- Improvement: Posts widget update comments translation strings
|
| 42 |
+
|
| 43 |
1.8.9.2: 2021-10-01
|
| 44 |
- Improvement: Account header element aria-label attribute
|
| 45 |
|
static/bundle/dashboard.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
static/bundle/options.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
| 3 |
Copyright (c) 2017 Jed Watson.
|
| 4 |
Licensed under the MIT License (MIT), see
|
| 5 |
http://jedwatson.github.io/classnames
|
| 6 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var c=typeof r;if("string"===c||"number"===c)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===c)for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.React},function(e,t,n){(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r="object"===("undefined"==typeof window?"undefined":n(window))&&window.window===window?window:"object"===("undefined"==typeof self?"undefined":n(self))&&self.self===self?self:"object"===(void 0===t?"undefined":n(t))&&t.global===t?t:this;function o(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"!==("undefined"==typeof window?"undefined":n(window))||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=r.URL||r.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin!==location.origin?c(l.href)?o(e,t,n):a(l,l.target="_blank"):a(l)):(l.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(l.href)}),4e4),setTimeout((function(){a(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(c(e))o(e,t,r);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){a(i)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==n(t)&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,t,c,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return o(e,t,c);var i="application/octet-stream"===e.type,l=/constructor/i.test(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||i&&l)&&"object"===("undefined"==typeof FileReader?"undefined":n(FileReader))){var s=new FileReader;s.onloadend=function(){var e=s.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},s.readAsDataURL(e)}else{var d=r.URL||r.webkitURL,f=d.createObjectURL(e);a?a.location=f:location.href=f,a=null,setTimeout((function(){d.revokeObjectURL(f)}),4e4)}};e.exports=i}).call(this,n(12))},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r=n(13);function o(e,t,n,r,c){var a=new Error(n,r,c);return a.name="UseFetchError",a.status=e,a.statusText=t,Object.setPrototypeOf(a,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(a,o),a}o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error),e.exports=function(e,t,n){var c=(n&&n.depends||t&&t.depends||[]).reduce((function(e,t){return e||!t}),!1);return r(!c&&function(e,t,n){return fetch(e,t).then(n&&n.formatter||t&&t.formatter||function(e){if(!e.ok)throw new o(e.status,e.statusText,"Fetch error");return e.json()})},e,t||{},n||{})}},function(e,t,n){var r=n(15);e.exports=function(){var e=function(){e.id=r(),e.subscribers.forEach((function(e){e()}))};return e.id=r(),e.subscribers=[],e.subscribe=function(t){e.subscribers.push(t)},e.unsubscribe=function(t){e.subscribers.indexOf(t)>=0&&e.subscribers.splice(e.subscribers.indexOf(t),1)},e}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r.useState(e.id),n=function(){return t[1](e.id)};return r.useEffect((function(){return e.subscribe(n),function(){return e.unsubscribe(n)}}),[]),t[0]}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),o=n(14);e.exports=function(e){var t=Array.prototype.slice.call(arguments,[1]),n=r.useState({isLoading:!!e});return r.useEffect((function(){e&&(!n[0].isLoading&&n[1]({data:n[0].data,isLoading:!0}),e.apply(null,t).then((function(e){n[1]({data:e,isLoading:!1})})).catch((function(e){n[1]({error:e,isLoading:!1})})))}),o(t)),n[0]}},function(e,t){e.exports=function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r instanceof Array)for(var o=0;o<r.length;o++)t=t.concat(e(r[o]));else if("undefined"!=typeof URL&&r instanceof URL)t=t.concat(r.toJSON());else if(r instanceof Object)for(var c=Object.keys(r),a=0;a<c.length;a++){var i=c[a];t=t.concat([i]).concat(e(r[i]))}else t=t.concat(r)}return t}},function(e,t,n){for(var r=self.crypto||self.msCrypto,o="-_",c=36;c--;)o+=c.toString(36);for(c=36;c---10;)o+=c.toString(36).toUpperCase();e.exports=function(e){var t="",n=r.getRandomValues(new Uint8Array(e||21));for(c=e||21;c--;)t+=o[63&n[c]];return t}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),c=n(1),a=n(2),i=n(3),l=n.n(i);function u(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){return e.filter((function(e,t,n){return n.findIndex((function(t){return t.ID===e.ID}))===t}))},O=[],j=function(e){var t=e.condition,n=e.onChange,o=p(Object(r.useState)(O),2),i=o[0],l=o[1],s=Object(r.useMemo)((function(){return{post_ids:"post",page_ids:"page",custom_post_type_ids:"ct_cpt"}[t.rule]}),[t.rule]),f=Object(r.useMemo)((function(){return(t.payload||{}).post_id||""}),[t.payload&&t.payload.post_id]),b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_posts"),{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(d(d({post_type:s},e?{search_query:e}:{}),f?{alsoInclude:f}:{})),method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data.posts;l((function(e){return y([].concat(u(e),u(t)))})),O=y([].concat(u(O),u(t)))}))};return Object(r.useEffect)((function(){b()}),[s]),Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,searchPlaceholder:Object(c.__)("Type to search by ID or title...","blc"),placeholder:"post_ids"===t.rule?Object(c.__)("Select post","blc"):"page_ids"===t.rule?Object(c.__)("Select page","blc"):Object(c.__)("Custom Post Type ID","blc"),choices:i.filter((function(e){var t=e.post_type;return"ct_cpt"===s?"post"!==t&&"page"!==t:s===t})).map((function(e){return{key:e.ID,value:e.post_title}})),search:!0},value:f,onChange:function(e){return n(e)},onInputValueChange:function(e){i.find((function(t){return t.post_title===e}))||b(e)}})};function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||S(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||S(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){if(e){if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var C=[],k=[],A=[],N=function(e){var t=e.value,n=e.onChange,o=blocksy_admin.all_condition_rules.reduce((function(e,t){var n=t.rules,r=t.title;return[].concat(w(e),w(n.map((function(e){return g(g({},e),{},{group:r})}))))}),[]).reduce((function(e,t){var n=t.title,r=t.id,o=h(t,["title","id"]);return[].concat(w(e),[g({key:r,value:n},o)])}),[]),i=v(Object(r.useState)(C),2),u=(i[0],i[1],v(Object(r.useState)(k),2)),s=u[0],d=u[1],f=v(Object(r.useState)(A),2),p=f[0],b=f[1],m=function(e){return"post_ids"===e.rule||"page_ids"===e.rule||"custom_post_type_ids"===e.rule||"taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule||"current_language"===e.rule};return Object(r.useEffect)((function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_taxonomies"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data,n=t.taxonomies,r=t.languages;d(n),k=n,b(r),A=r}))}),[]),Object(r.createElement)("div",{className:"ct-display-conditions"},t.map((function(e,i){return Object(r.createElement)("div",{className:l()("ct-condition-group",{"ct-cols-3":m(e),"ct-cols-2":!m(e)}),key:i},Object(r.createElement)(a.Select,{key:"first",option:{inputClassName:"ct-condition-type",selectInputStart:function(){return Object(r.createElement)("span",{className:"ct-".concat(e.type)})},placeholder:Object(c.__)("Select variation","blc"),choices:{include:Object(c.__)("Include","blc"),exclude:Object(c.__)("Exclude","blc")}},value:e.type,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{type:r}):t)})))}}),Object(r.createElement)(a.Select,{key:"second",option:{appendToBody:!0,placeholder:Object(c.__)("Select rule","blc"),choices:"user"===e.category?o.filter((function(e){return 0===e.key.indexOf("user_")})):o.filter((function(e){return-1===e.key.indexOf("user_")})),search:!0},value:e.rule,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{rule:r}):t)})))}}),("post_ids"===e.rule||"custom_post_type_ids"===e.rule||"page_ids"===e.rule)&&Object(r.createElement)(j,{condition:e,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{post_id:r})}):t)})))}}),("taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule)&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select taxonomy","blc"),choices:s.map((function(e){return g({key:e.id,value:e.name},e.group?{group:e.group}:{})})),search:!0},value:(e.payload||{}).taxonomy_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{taxonomy_id:r})}):t)})))}}),"current_language"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select language","blc"),choices:p.map((function(e){return{key:e.id,value:e.name}})),search:!0},value:(e.payload||{}).language||"",onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{language:r})}):t)})))}}),Object(r.createElement)("button",{type:"button",onClick:function(e){e.preventDefault();var r=w(t);r.splice(i,1),n(r)}},"×"))})),Object(r.createElement)("div",{className:"ct-conditions-actions"},Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"everywhere",payload:{}}]))}},Object(c.__)("Add Display Condition","blc")),Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"user_logged_in",payload:{},category:"user"}]))}},Object(c.__)("Add User Condition","blc"))))};function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=function(e){var t=e.option,n=t.display,o=void 0===n?"inline":n,i=t.modalTitle,l=void 0===i?Object(c.__)("Transparent Header Display Conditions","blc"):i,u=t.modalDescription,s=void 0===u?Object(c.__)("Add one or more conditions to display the transparent header.","blc"):u,d=e.value,f=e.onChange,p=P(Object(r.useState)(!1),2),b=p[0],m=p[1],y=P(Object(r.useState)(null),2),O=y[0],j=y[1];return"inline"===o?Object(r.createElement)(N,{value:d,onChange:f}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){e.preventDefault(),m(!0),j(null)}},Object(c.__)("Add/Edit Conditions","blc")),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){m(!1),j(null)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",null,l),Object(r.createElement)("p",null,s),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(N,{value:O||d,onChange:function(e){j(e)}})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!O,onClick:function(){f(O),m(!1)}},Object(c.__)("Save Conditions","blc"))))}}))},I=n(7),z=n.n(I);function L(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var U=function(){var e=R(Object(r.useState)(null),2),t=e[0],n=e[1],o=R(Object(r.useState)(null),2),i=o[0],u=o[1],s=R(Object(r.useState)(!1),2),d=s[0],f=s[1],p=R(Object(r.useState)(!1),2),b=p[0],m=p[1],y=R(Object(r.useState)(["options"]),2),O=y[0],j=y[1],v=Object(r.useRef)(),h=Object(r.useRef)();return Object(r.useEffect)((function(){var e=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",f(!0)},t=function(e){e.stopPropagation(),e.preventDefault(),f(!1)},r=function(e){e.stopPropagation(),e.preventDefault(),f(!1);var t=Array.from(e.dataTransfer.files||[]);if(Array.from(e.dataTransfer.items||[]).length>0){var r=e.dataTransfer.items[0].getAsFile();n(r)}else t.length>0&&n(t[0])};return h.current.addEventListener("dragover",e,!1),h.current.addEventListener("dragleave",t,!1),h.current.addEventListener("drop",r,!1),function(){h.current.removeEventListener("dragover",e,!1),h.current.removeEventListener("dragleave",t,!1),h.current.removeEventListener("drop",r,!1)}}),[]),Object(r.createElement)("div",{className:"ct-import-export"},Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Export Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily export the theme customizer settings.","blc"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),m(!0)}},Object(c.__)("Export Customizations","blc")))),Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Import Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily import the theme customizer settings.","blc"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("div",{className:"ct-file-upload"},Object(r.createElement)("button",{type:"button",className:l()("button ct-upload-button",{active:d}),ref:h,onClick:function(){v.current.click()}},t?t.name:Object(c.__)("Click or drop to upload a file...","blc")),Object(r.createElement)("input",{ref:v,type:"file",onChange:function(e){var t=R(e.target.files,1)[0];n(t)}}),Object(r.createElement)("button",{className:"button",onClick:function(e){if(e.preventDefault(),t){var n=new FileReader;n.readAsText(t,"UTF-8"),n.onload=function(e){var t=new FormData;t.append("action","blocksy_customizer_import"),t.append("nonce",ct_customizer_localizations.customizer_reset_none),t.append("wp_customize","on"),t.append("data",e.target.result);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}}}},Object(c.__)("Import Customizations","blc"))))),ct_customizer_localizations.has_child_theme&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Copy Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Copy and import your customizations from parent or child theme.","blc"))),ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("child")}},Object(c.__)("Copy From Child Theme","blc")))),!ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("parent")}},Object(c.__)("Copy From Parent Theme","blc"))))),Object(r.createElement)(a.Overlay,{items:i,className:"ct-admin-modal ct-import-export-modal",onDismiss:function(){return u(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 66 66"},Object(r.createElement)("path",{d:"M66 33.1c0 2.8-.4 5.5-1.1 8.2 0 0-1.7-.6-1.9-.6 3.4-13.1-2.2-27.4-14.5-34.5C41.3 2 33 .9 25 3.1c-3.5.9-6.7 2.4-9.5 4.4L20 12 6 15 9 1l5 5c3.1-2.2 6.6-3.9 10.5-4.9 2.7-.7 5.4-1.1 8-1.1 5.9-.1 11.7 1.4 17 4.4C60.1 10.5 66 21.7 66 33.1zm-49 6.3l2.4-3c-.3-1.2-.4-2.3-.4-3.4s.1-2.2.4-3.3l-2.4-3 2.5-4.3 3.8.5c1.6-1.6 3.6-2.7 5.8-3.3l1.4-3.6h5l1.4 3.6c2.2.6 4.2 1.8 5.8 3.3l3.8-.5 2.5 4.3-2.4 3c.3 1.1.4 2.2.4 3.3s-.1 2.2-.4 3.3l2.4 3-2.5 4.3-3.8-.5c-1.6 1.6-3.6 2.7-5.8 3.3L35.4 50h-5L29 46.4c-2.2-.6-4.2-1.8-5.8-3.3l-3.8.5-2.4-4.2zm8-6.4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8-8 3.6-8 8zm25.9 25.3c-3 2.1-6.3 3.7-9.9 4.7-8 2.1-16.4 1-23.5-3.1C5.2 52.8-.4 38.5 3 25.4c-.7-.1-1.3-.3-2-.5-.7 2.7-1 5.3-1 8 0 11.4 5.9 22.5 16.5 28.6 7.6 4.4 16.5 5.6 25 3.3 4-1.1 7.6-2.8 10.8-5.2l4.6 4.6 3-14-14 3 5 5.1z"})),Object(r.createElement)("h2",{className:"ct-modal-title"},!ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Parent Theme","blc"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Child Theme","blc")),Object(r.createElement)("p",null,!ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your parent theme into the child theme. Are you sure you want to continue?","blc"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your child theme into the parent theme. Are you sure you want to continue?","blc")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),u(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_copy_options"),t.append("wp_customize","on"),t.append("strategy",i);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}},Object(c.__)("Yes, I am sure","blc"))))}}),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-export-modal",onDismiss:function(){return m(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Export Settings","blc")),Object(r.createElement)("p",null,Object(c.__)("Choose what set of settings you want to export.","blc")),Object(r.createElement)("div",{className:"ct-export-options"},["options","widgets"].map((function(e){return Object(r.createElement)("div",{className:"ct-checkbox-container",onClick:function(){1===O.length&&O[0]===e||j((function(t){return t.includes(e)?t.filter((function(t){return t!==e})):[].concat(L(t),[e])}))}},{options:Object(c.__)("Customizer settings","blc"),widgets:Object(c.__)("Widgets settings","blc")}[e],Object(r.createElement)("span",{className:l()("ct-checkbox",{active:O.includes(e)})},Object(r.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},Object(r.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),m(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_export"),t.append("strategy",O.join(":")),t.append("wp_customize","on");try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){var t=e.success,n=e.data;if(t){var r=new Blob([n.data],{type:"application/octet-stream;charset=utf-8"});z()(r,"blocksy-export.dat"),m(!1)}}))}))}catch(e){}}},Object(c.__)("Export","blc"))))}}))},B=n(5),H=n.n(B),V=n(8),$=n(9),G=n.n($),Y=n(10),q=n.n(Y),J=n(11),W=n.n(J);function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t,n,r,o,c,a){try{var i=e[c](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||ee(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){if(e){if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ne=q()(),re=function(e){e.forcedEdit;var t,n,o=e.headerId,i=Z(Object(r.useState)(!1),2),l=i[0],u=i[1],s=Z(Object(r.useState)(null),2),d=s[0],f=s[1],p=Object(r.useContext)(a.PlacementsDragDropContext),b=(p.builderValueCollection,p.builderValueDispatch,Object(r.useRef)()),m=W()(ne),y=G()("".concat(blocksy_admin.ajax_url,"?action=blocksy_header_get_all_conditions"),{method:"POST",formatter:(t=regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(n=e.sent,r=n.success,o=n.data,r&&o.conditions){e.next=7;break}throw new Error;case 7:return e.abrupt("return",o.conditions);case 8:case"end":return e.stop()}}),e)})),n=function(){var e=this,n=arguments;return new Promise((function(r,o){var c=t.apply(e,n);function a(e){Q(c,r,o,a,i,"next",e)}function i(e){Q(c,r,o,a,i,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)}),depends:[m]}),O=y.data,j=y.isLoading;y.error;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){j||(e.preventDefault(),e.stopPropagation(),u(!0))}},Object(c.__)("Add/Edit Conditions","blc")),Object(r.createElement)(a.Overlay,{items:l,initialFocusRef:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){u(!1),f(null)},render:function(){var e;return Object(r.createElement)("div",{className:"ct-modal-content",ref:b},Object(r.createElement)("h2",null,sprintf(Object(c.__)("Display Conditions","blc"))),Object(r.createElement)("p",null,Object(c.__)("Add one or more conditions in order to display your header.","blc")),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(a.OptionsPanel,{onChange:function(e,t){f((function(e){return[].concat(K((e||O).filter((function(e){return e.id!==o}))),[{id:o,conditions:t}])}))},options:{conditions:(e={type:"blocksy-display-condition",design:"none",value:[]},X(e,"design","none"),X(e,"label",!1),e)},value:{conditions:((d||O).find((function(e){return e.id===o}))||{conditions:[]}).conditions},hasRevertButton:!1})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!d,onClick:function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_header_update_all_conditions"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(d)}).then((function(e){return e.json()})).then((function(){ne(),u(!1)}))}},Object(c.__)("Save Conditions","blc"))))}}))};function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ue(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var se=function(){var e=le(Object(r.useState)(!1),2),t=e[0],n=e[1],i=(ct_customizer_localizations.header_builder_data.secondary_items.header,ct_customizer_localizations.header_builder_data.header,Object(r.useContext)(a.PlacementsDragDropContext)),u=i.builderValueDispatch,s=i.builderValue,d=(i.option,i.builderValueCollection),f=i.panelsActions,p=Object(V.applyFilters)("blocksy.header.available-sections",null,d.sections)||d.sections.filter((function(e){var t=e.id;return"type-2"!==t&&"type-3"!==t&&-1===t.indexOf("ct-custom")}));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:l()("ct-panels-manager")},p.map((function(e){var t=e.name,o=e.id,i=t||{"type-1":Object(c.__)("Global Header","blocksy")}[o]||o,d="builder_header_panel_".concat(o),p=ct_customizer_localizations.header_builder_data.header_data.header_options,b={label:i,"inner-options":ae(ae({},o.indexOf("ct-custom")>-1?{conditions_button:{label:Object(c.__)("Edit Conditions","blc"),type:"jsx",design:"block",render:function(){return Object(r.createElement)(re,{headerId:o})}},divider:{type:"ct-divider"}}:{}),p)};return Object(r.createElement)(a.PanelMetaWrapper,oe({id:d,key:o,option:b},f,{getActualOption:function(e){var t=e.open;return Object(r.createElement)(r.Fragment,null,o===s.id&&Object(r.createElement)(a.Panel,{id:d,getValues:function(){return ae({id:o},s.settings||{})},option:b,onChangeFor:function(e,t){u({type:"BUILDER_GLOBAL_SETTING_ON_CHANGE",payload:{optionId:e,optionValue:t,values:Object(a.getValueFromInput)(p,Array.isArray(s.settings)?{}:s.settings||{})}})},view:"simple"}),Object(r.createElement)("li",{className:l()({active:o===s.id,"ct-global":"type-1"===o}),onClick:function(){o===s.id?t():u({type:"PICK_BUILDER_SECTION",payload:{id:o}})}},Object(r.createElement)("span",{className:"ct-panel-name"},i),o.indexOf("ct-custom")>-1&&o!==s.id&&Object(r.createElement)("span",{className:"ct-remove-instance",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(o)}},Object(r.createElement)("i",{className:"ct-tooltip-top"},Object(c.__)("Remove header","blc")),Object(r.createElement)("svg",{width:"11px",height:"11px",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M9.6,0l0,1.2H1.2v2.4h21.6V1.2h-8.4l0-1.2H9.6z M2.8,6l1.8,15.9C4.8,23.1,5.9,24,7.1,24h9.9c1.2,0,2.2-0.9,2.4-2.1L21.2,6H2.8z"})))))}}))}))),Object(r.createElement)(o.Slot,{name:"PlacementsBuilderPanelsManagerAfter"},(function(e){return 0===e.length?null:e})),Object(r.createElement)(a.Overlay,{items:t,className:"ct-admin-modal ct-reset-options",onDismiss:function(){return n(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Remove Header","blc")),Object(r.createElement)("p",null,Object(c.__)("You are about to remove a custom header, are you sure you want to continue?","blc")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),n(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault(),u({type:"REMOVE_BUILDER_SECTION",payload:{id:t}}),n(!1)}},Object(c.__)("Confirm","blc"))))}}))};H.a.on("blocksy:options:before-option",(function(e){if(e.option&&"ct-header-builder"===e.option.type){var t=e.content;e.content=Object(r.createElement)(r.Fragment,null,t,Object(r.createElement)(o.Fill,{name:"PlacementsBuilderPanelsManager"},Object(r.createElement)(se,null)))}})),H.a.on("blocksy:options:register",(function(e){e["blocksy-display-condition"]=T,e["blocksy-customizer-options-manager"]=U}))}]);
|
| 3 |
Copyright (c) 2017 Jed Watson.
|
| 4 |
Licensed under the MIT License (MIT), see
|
| 5 |
http://jedwatson.github.io/classnames
|
| 6 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var c=typeof r;if("string"===c||"number"===c)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===c)for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.React},function(e,t,n){(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r="object"===("undefined"==typeof window?"undefined":n(window))&&window.window===window?window:"object"===("undefined"==typeof self?"undefined":n(self))&&self.self===self?self:"object"===(void 0===t?"undefined":n(t))&&t.global===t?t:this;function o(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function c(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"!==("undefined"==typeof window?"undefined":n(window))||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=r.URL||r.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin!==location.origin?c(l.href)?o(e,t,n):a(l,l.target="_blank"):a(l)):(l.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(l.href)}),4e4),setTimeout((function(){a(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(c(e))o(e,t,r);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){a(i)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==n(t)&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,t,c,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return o(e,t,c);var i="application/octet-stream"===e.type,l=/constructor/i.test(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||i&&l)&&"object"===("undefined"==typeof FileReader?"undefined":n(FileReader))){var s=new FileReader;s.onloadend=function(){var e=s.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},s.readAsDataURL(e)}else{var d=r.URL||r.webkitURL,p=d.createObjectURL(e);a?a.location=p:location.href=p,a=null,setTimeout((function(){d.revokeObjectURL(p)}),4e4)}};e.exports=i}).call(this,n(12))},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r=n(13);function o(e,t,n,r,c){var a=new Error(n,r,c);return a.name="UseFetchError",a.status=e,a.statusText=t,Object.setPrototypeOf(a,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(a,o),a}o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error),e.exports=function(e,t,n){var c=(n&&n.depends||t&&t.depends||[]).reduce((function(e,t){return e||!t}),!1);return r(!c&&function(e,t,n){return fetch(e,t).then(n&&n.formatter||t&&t.formatter||function(e){if(!e.ok)throw new o(e.status,e.statusText,"Fetch error");return e.json()})},e,t||{},n||{})}},function(e,t,n){var r=n(15);e.exports=function(){var e=function(){e.id=r(),e.subscribers.forEach((function(e){e()}))};return e.id=r(),e.subscribers=[],e.subscribe=function(t){e.subscribers.push(t)},e.unsubscribe=function(t){e.subscribers.indexOf(t)>=0&&e.subscribers.splice(e.subscribers.indexOf(t),1)},e}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r.useState(e.id),n=function(){return t[1](e.id)};return r.useEffect((function(){return e.subscribe(n),function(){return e.unsubscribe(n)}}),[]),t[0]}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),o=n(14);e.exports=function(e){var t=Array.prototype.slice.call(arguments,[1]),n=r.useState({isLoading:!!e});return r.useEffect((function(){e&&(!n[0].isLoading&&n[1]({data:n[0].data,isLoading:!0}),e.apply(null,t).then((function(e){n[1]({data:e,isLoading:!1})})).catch((function(e){n[1]({error:e,isLoading:!1})})))}),o(t)),n[0]}},function(e,t){e.exports=function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r instanceof Array)for(var o=0;o<r.length;o++)t=t.concat(e(r[o]));else if("undefined"!=typeof URL&&r instanceof URL)t=t.concat(r.toJSON());else if(r instanceof Object)for(var c=Object.keys(r),a=0;a<c.length;a++){var i=c[a];t=t.concat([i]).concat(e(r[i]))}else t=t.concat(r)}return t}},function(e,t,n){for(var r=self.crypto||self.msCrypto,o="-_",c=36;c--;)o+=c.toString(36);for(c=36;c---10;)o+=c.toString(36).toUpperCase();e.exports=function(e){var t="",n=r.getRandomValues(new Uint8Array(e||21));for(c=e||21;c--;)t+=o[63&n[c]];return t}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),c=n(1),a=n(2),i=n(3),l=n.n(i);function u(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){return e.filter((function(e,t,n){return n.findIndex((function(t){return t.ID===e.ID}))===t}))},O=[],j=function(e){var t=e.condition,n=e.onChange,o=f(Object(r.useState)(O),2),i=o[0],l=o[1],s=Object(r.useMemo)((function(){return{post_ids:"post",page_ids:"page",custom_post_type_ids:"ct_cpt"}[t.rule]}),[t.rule]),p=Object(r.useMemo)((function(){return(t.payload||{}).post_id||""}),[t.payload&&t.payload.post_id]),b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_posts"),{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(d(d({post_type:s},e?{search_query:e}:{}),p?{alsoInclude:p}:{})),method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data.posts;l((function(e){return y([].concat(u(e),u(t)))})),O=y([].concat(u(O),u(t)))}))};return Object(r.useEffect)((function(){b()}),[s]),Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,searchPlaceholder:Object(c.__)("Type to search by ID or title...","blc"),placeholder:"post_ids"===t.rule?Object(c.__)("Select post","blc"):"page_ids"===t.rule?Object(c.__)("Select page","blc"):Object(c.__)("Custom Post Type ID","blc"),choices:i.filter((function(e){var t=e.post_type;return"ct_cpt"===s?"post"!==t&&"page"!==t:s===t})).map((function(e){return{key:e.ID,value:e.post_title}})),search:!0},value:p,onChange:function(e){return n(e)},onInputValueChange:function(e){i.find((function(t){return t.post_title===e}))||b(e)}})};function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||S(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||S(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){if(e){if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=[],k=[],A=[],N=[],P=function(e){var t=e.value,n=e.onChange,o=blocksy_admin.all_condition_rules.reduce((function(e,t){var n=t.rules,r=t.title;return[].concat(w(e),w(n.map((function(e){return g(g({},e),{},{group:r})}))))}),[]).reduce((function(e,t){var n=t.title,r=t.id,o=v(t,["title","id"]);return[].concat(w(e),[g({key:r,value:n},o)])}),[]),i=h(Object(r.useState)(x),2),u=(i[0],i[1],h(Object(r.useState)(k),2)),s=u[0],d=u[1],p=h(Object(r.useState)(A),2),f=p[0],b=p[1],m=h(Object(r.useState)(N),2),y=m[0],O=m[1],_=function(e){return"post_ids"===e.rule||"page_ids"===e.rule||"custom_post_type_ids"===e.rule||"taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule||"current_language"===e.rule||"user_post_author_id"===e.rule};return Object(r.useEffect)((function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_taxonomies"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data,n=t.taxonomies,r=t.languages,o=t.users;d(n),k=n,b(r),A=r,O(o),N=o}))}),[]),Object(r.createElement)("div",{className:"ct-display-conditions"},t.map((function(e,i){return Object(r.createElement)("div",{className:l()("ct-condition-group",{"ct-cols-3":_(e),"ct-cols-2":!_(e)}),key:i},Object(r.createElement)(a.Select,{key:"first",option:{inputClassName:"ct-condition-type",selectInputStart:function(){return Object(r.createElement)("span",{className:"ct-".concat(e.type)})},placeholder:Object(c.__)("Select variation","blc"),choices:{include:Object(c.__)("Include","blc"),exclude:Object(c.__)("Exclude","blc")}},value:e.type,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{type:r}):t)})))}}),Object(r.createElement)(a.Select,{key:"second",option:{appendToBody:!0,placeholder:Object(c.__)("Select rule","blc"),choices:"user"===e.category?o.filter((function(e){return 0===e.key.indexOf("user_")})):o.filter((function(e){return-1===e.key.indexOf("user_")})),search:!0},value:e.rule,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{rule:r}):t)})))}}),("post_ids"===e.rule||"custom_post_type_ids"===e.rule||"page_ids"===e.rule)&&Object(r.createElement)(j,{condition:e,onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{post_id:r})}):t)})))}}),("taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule)&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select taxonomy","blc"),choices:s.map((function(e){return g({key:e.id,value:e.name},e.group?{group:e.group}:{})})),search:!0},value:(e.payload||{}).taxonomy_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{taxonomy_id:r})}):t)})))}}),"current_language"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select language","blc"),choices:f.map((function(e){return{key:e.id,value:e.name}})),search:!0},value:(e.payload||{}).language||"",onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{language:r})}):t)})))}}),"user_post_author_id"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select user","blc"),choices:[{key:"current_user",value:Object(c.__)("Current user","blc")}].concat(w(y.map((function(e){return{key:e.id,value:e.name}})))),search:!0},value:(e.payload||{}).user_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===i?g(g({},e),{},{payload:g(g({},e.payload),{},{user_id:r})}):t)})))}}),Object(r.createElement)("button",{type:"button",onClick:function(e){e.preventDefault();var r=w(t);r.splice(i,1),n(r)}},"×"))})),Object(r.createElement)("div",{className:"ct-conditions-actions"},Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"everywhere",payload:{}}]))}},Object(c.__)("Add Display Condition","blc")),Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"user_logged_in",payload:{},category:"user"}]))}},Object(c.__)("Add User Condition","blc"))))};function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var I=function(e){var t=e.option,n=t.display,o=void 0===n?"inline":n,i=t.modalTitle,l=void 0===i?Object(c.__)("Transparent Header Display Conditions","blc"):i,u=t.modalDescription,s=void 0===u?Object(c.__)("Add one or more conditions to display the transparent header.","blc"):u,d=e.value,p=e.onChange,f=T(Object(r.useState)(!1),2),b=f[0],m=f[1],y=T(Object(r.useState)(null),2),O=y[0],j=y[1];return"inline"===o?Object(r.createElement)(P,{value:d,onChange:p}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){e.preventDefault(),m(!0),j(null)}},Object(c.__)("Add/Edit Conditions","blc")),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){m(!1),j(null)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",null,l),Object(r.createElement)("p",null,s),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(P,{value:O||d,onChange:function(e){j(e)}})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!O,onClick:function(){p(O),m(!1)}},Object(c.__)("Save Conditions","blc"))))}}))},z=n(7),L=n.n(z);function R(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||M(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var B=function(){var e=F(Object(r.useState)(null),2),t=e[0],n=e[1],o=F(Object(r.useState)(null),2),i=o[0],u=o[1],s=F(Object(r.useState)(!1),2),d=s[0],p=s[1],f=F(Object(r.useState)(!1),2),b=f[0],m=f[1],y=F(Object(r.useState)(["options"]),2),O=y[0],j=y[1],h=Object(r.useRef)(),v=Object(r.useRef)();return Object(r.useEffect)((function(){var e=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",p(!0)},t=function(e){e.stopPropagation(),e.preventDefault(),p(!1)},r=function(e){e.stopPropagation(),e.preventDefault(),p(!1);var t=Array.from(e.dataTransfer.files||[]);if(Array.from(e.dataTransfer.items||[]).length>0){var r=e.dataTransfer.items[0].getAsFile();n(r)}else t.length>0&&n(t[0])};return v.current.addEventListener("dragover",e,!1),v.current.addEventListener("dragleave",t,!1),v.current.addEventListener("drop",r,!1),function(){v.current.removeEventListener("dragover",e,!1),v.current.removeEventListener("dragleave",t,!1),v.current.removeEventListener("drop",r,!1)}}),[]),Object(r.createElement)("div",{className:"ct-import-export"},Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Export Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily export the theme customizer settings.","blc"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),m(!0)}},Object(c.__)("Export Customizations","blc")))),Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Import Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily import the theme customizer settings.","blc"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("div",{className:"ct-file-upload"},Object(r.createElement)("button",{type:"button",className:l()("button ct-upload-button",{active:d}),ref:v,onClick:function(){h.current.click()}},t?t.name:Object(c.__)("Click or drop to upload a file...","blc")),Object(r.createElement)("input",{ref:h,type:"file",onChange:function(e){var t=F(e.target.files,1)[0];n(t)}}),Object(r.createElement)("button",{className:"button",onClick:function(e){if(e.preventDefault(),t){var n=new FileReader;n.readAsText(t,"UTF-8"),n.onload=function(e){var t=new FormData;t.append("action","blocksy_customizer_import"),t.append("nonce",ct_customizer_localizations.customizer_reset_none),t.append("wp_customize","on"),t.append("data",e.target.result);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}}}},Object(c.__)("Import Customizations","blc"))))),ct_customizer_localizations.has_child_theme&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Copy Options","blc")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Copy and import your customizations from parent or child theme.","blc"))),ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("child")}},Object(c.__)("Copy From Child Theme","blc")))),!ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("parent")}},Object(c.__)("Copy From Parent Theme","blc"))))),Object(r.createElement)(a.Overlay,{items:i,className:"ct-admin-modal ct-import-export-modal",onDismiss:function(){return u(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 66 66"},Object(r.createElement)("path",{d:"M66 33.1c0 2.8-.4 5.5-1.1 8.2 0 0-1.7-.6-1.9-.6 3.4-13.1-2.2-27.4-14.5-34.5C41.3 2 33 .9 25 3.1c-3.5.9-6.7 2.4-9.5 4.4L20 12 6 15 9 1l5 5c3.1-2.2 6.6-3.9 10.5-4.9 2.7-.7 5.4-1.1 8-1.1 5.9-.1 11.7 1.4 17 4.4C60.1 10.5 66 21.7 66 33.1zm-49 6.3l2.4-3c-.3-1.2-.4-2.3-.4-3.4s.1-2.2.4-3.3l-2.4-3 2.5-4.3 3.8.5c1.6-1.6 3.6-2.7 5.8-3.3l1.4-3.6h5l1.4 3.6c2.2.6 4.2 1.8 5.8 3.3l3.8-.5 2.5 4.3-2.4 3c.3 1.1.4 2.2.4 3.3s-.1 2.2-.4 3.3l2.4 3-2.5 4.3-3.8-.5c-1.6 1.6-3.6 2.7-5.8 3.3L35.4 50h-5L29 46.4c-2.2-.6-4.2-1.8-5.8-3.3l-3.8.5-2.4-4.2zm8-6.4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8-8 3.6-8 8zm25.9 25.3c-3 2.1-6.3 3.7-9.9 4.7-8 2.1-16.4 1-23.5-3.1C5.2 52.8-.4 38.5 3 25.4c-.7-.1-1.3-.3-2-.5-.7 2.7-1 5.3-1 8 0 11.4 5.9 22.5 16.5 28.6 7.6 4.4 16.5 5.6 25 3.3 4-1.1 7.6-2.8 10.8-5.2l4.6 4.6 3-14-14 3 5 5.1z"})),Object(r.createElement)("h2",{className:"ct-modal-title"},!ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Parent Theme","blc"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Child Theme","blc")),Object(r.createElement)("p",null,!ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your parent theme into the child theme. Are you sure you want to continue?","blc"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your child theme into the parent theme. Are you sure you want to continue?","blc")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),u(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_copy_options"),t.append("wp_customize","on"),t.append("strategy",i);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}},Object(c.__)("Yes, I am sure","blc"))))}}),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-export-modal",onDismiss:function(){return m(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Export Settings","blc")),Object(r.createElement)("p",null,Object(c.__)("Choose what set of settings you want to export.","blc")),Object(r.createElement)("div",{className:"ct-export-options"},["options","widgets"].map((function(e){return Object(r.createElement)("div",{className:"ct-checkbox-container",onClick:function(){1===O.length&&O[0]===e||j((function(t){return t.includes(e)?t.filter((function(t){return t!==e})):[].concat(R(t),[e])}))}},{options:Object(c.__)("Customizer settings","blc"),widgets:Object(c.__)("Widgets settings","blc")}[e],Object(r.createElement)("span",{className:l()("ct-checkbox",{active:O.includes(e)})},Object(r.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},Object(r.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),m(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_export"),t.append("strategy",O.join(":")),t.append("wp_customize","on");try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){var t=e.success,n=e.data;if(t){var r=new Blob([n.data],{type:"application/octet-stream;charset=utf-8"});L()(r,"blocksy-export.dat"),m(!1)}}))}))}catch(e){}}},Object(c.__)("Export","blc"))))}}))},H=n(5),V=n.n(H),$=n(8),G=n(9),Y=n.n(G),q=n(10),J=n.n(q),W=n(11),X=n.n(W);function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t,n,r,o,c,a){try{var i=e[c](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){if(e){if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var re=J()(),oe=function(e){e.forcedEdit;var t,n,o=e.headerId,i=ee(Object(r.useState)(!1),2),l=i[0],u=i[1],s=ee(Object(r.useState)(null),2),d=s[0],p=s[1],f=Object(r.useContext)(a.PlacementsDragDropContext),b=(f.builderValueCollection,f.builderValueDispatch,Object(r.useRef)()),m=X()(re),y=Y()("".concat(blocksy_admin.ajax_url,"?action=blocksy_header_get_all_conditions"),{method:"POST",formatter:(t=regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(n=e.sent,r=n.success,o=n.data,r&&o.conditions){e.next=7;break}throw new Error;case 7:return e.abrupt("return",o.conditions);case 8:case"end":return e.stop()}}),e)})),n=function(){var e=this,n=arguments;return new Promise((function(r,o){var c=t.apply(e,n);function a(e){Z(c,r,o,a,i,"next",e)}function i(e){Z(c,r,o,a,i,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)}),depends:[m]}),O=y.data,j=y.isLoading;y.error;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){j||(e.preventDefault(),e.stopPropagation(),u(!0))}},Object(c.__)("Add/Edit Conditions","blc")),Object(r.createElement)(a.Overlay,{items:l,initialFocusRef:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){u(!1),p(null)},render:function(){var e;return Object(r.createElement)("div",{className:"ct-modal-content",ref:b},Object(r.createElement)("h2",null,sprintf(Object(c.__)("Display Conditions","blc"))),Object(r.createElement)("p",null,Object(c.__)("Add one or more conditions in order to display your header.","blc")),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(a.OptionsPanel,{onChange:function(e,t){p((function(e){return[].concat(Q((e||O).filter((function(e){return e.id!==o}))),[{id:o,conditions:t}])}))},options:{conditions:(e={type:"blocksy-display-condition",design:"none",value:[]},K(e,"design","none"),K(e,"label",!1),e)},value:{conditions:((d||O).find((function(e){return e.id===o}))||{conditions:[]}).conditions},hasRevertButton:!1})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!d,onClick:function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_header_update_all_conditions"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(d)}).then((function(e){return e.json()})).then((function(){re(),u(!1)}))}},Object(c.__)("Save Conditions","blc"))))}}))};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var de=function(){var e=ue(Object(r.useState)(!1),2),t=e[0],n=e[1],i=(ct_customizer_localizations.header_builder_data.secondary_items.header,ct_customizer_localizations.header_builder_data.header,Object(r.useContext)(a.PlacementsDragDropContext)),u=i.builderValueDispatch,s=i.builderValue,d=(i.option,i.builderValueCollection),p=i.panelsActions,f=Object($.applyFilters)("blocksy.header.available-sections",null,d.sections)||d.sections.filter((function(e){var t=e.id;return"type-2"!==t&&"type-3"!==t&&-1===t.indexOf("ct-custom")}));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:l()("ct-panels-manager")},f.map((function(e){var t=e.name,o=e.id,i=t||{"type-1":Object(c.__)("Global Header","blocksy")}[o]||o,d="builder_header_panel_".concat(o),f=ct_customizer_localizations.header_builder_data.header_data.header_options,b={label:i,"inner-options":ie(ie({},o.indexOf("ct-custom")>-1?{conditions_button:{label:Object(c.__)("Edit Conditions","blc"),type:"jsx",design:"block",render:function(){return Object(r.createElement)(oe,{headerId:o})}},divider:{type:"ct-divider"}}:{}),f)};return Object(r.createElement)(a.PanelMetaWrapper,ce({id:d,key:o,option:b},p,{getActualOption:function(e){var t=e.open;return Object(r.createElement)(r.Fragment,null,o===s.id&&Object(r.createElement)(a.Panel,{id:d,getValues:function(){return ie({id:o},s.settings||{})},option:b,onChangeFor:function(e,t){u({type:"BUILDER_GLOBAL_SETTING_ON_CHANGE",payload:{optionId:e,optionValue:t,values:Object(a.getValueFromInput)(f,Array.isArray(s.settings)?{}:s.settings||{})}})},view:"simple"}),Object(r.createElement)("li",{className:l()({active:o===s.id,"ct-global":"type-1"===o}),onClick:function(){o===s.id?t():u({type:"PICK_BUILDER_SECTION",payload:{id:o}})}},Object(r.createElement)("span",{className:"ct-panel-name"},i),o.indexOf("ct-custom")>-1&&o!==s.id&&Object(r.createElement)("span",{className:"ct-remove-instance",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(o)}},Object(r.createElement)("i",{className:"ct-tooltip-top"},Object(c.__)("Remove header","blc")),Object(r.createElement)("svg",{width:"11px",height:"11px",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M9.6,0l0,1.2H1.2v2.4h21.6V1.2h-8.4l0-1.2H9.6z M2.8,6l1.8,15.9C4.8,23.1,5.9,24,7.1,24h9.9c1.2,0,2.2-0.9,2.4-2.1L21.2,6H2.8z"})))))}}))}))),Object(r.createElement)(o.Slot,{name:"PlacementsBuilderPanelsManagerAfter"},(function(e){return 0===e.length?null:e})),Object(r.createElement)(a.Overlay,{items:t,className:"ct-admin-modal ct-reset-options",onDismiss:function(){return n(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Remove Header","blc")),Object(r.createElement)("p",null,Object(c.__)("You are about to remove a custom header, are you sure you want to continue?","blc")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),n(!1)},className:"button"},Object(c.__)("Cancel","blc")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault(),u({type:"REMOVE_BUILDER_SECTION",payload:{id:t}}),n(!1)}},Object(c.__)("Confirm","blc"))))}}))};V.a.on("blocksy:options:before-option",(function(e){if(e.option&&"ct-header-builder"===e.option.type){var t=e.content;e.content=Object(r.createElement)(r.Fragment,null,t,Object(r.createElement)(o.Fill,{name:"PlacementsBuilderPanelsManager"},Object(r.createElement)(de,null)))}})),V.a.on("blocksy:options:register",(function(e){e["blocksy-display-condition"]=I,e["blocksy-customizer-options-manager"]=B}))}]);
|
static/bundle/options.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.9.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.9.3
|
| 3 |
*
|
| 4 |
* Copyright (c) 2021
|
| 5 |
* Licensed GPLv2+
|
static/bundle/sticky.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(t,e){t.exports=window.ctFrontend},function(t,e){t.exports=window.ctEvents},function(t,e,r){"use strict";r.r(e);r(1);var n=r(0),o=function(t,e,r){return Math.max(t,Math.min(e,r))},i=function(t,e,r){return e[0]+(e[1]-e[0])/(t[1]-t[0])*(r-t[0])},a=function(t){if(t.blcInitialHeight)return t.blcInitialHeight;var e=getComputedStyle(t),r=getComputedStyle(t.firstElementChild),n=0;n+=parseFloat(e.borderTopWidth),n+=parseFloat(e.borderBottomWidth),n+=parseFloat(r.borderTopWidth),n+=parseFloat(r.borderBottomWidth);var o=parseFloat(e.getPropertyValue("--height"))+n;return t.blcInitialHeight=o,o},c=function(t){var e=getComputedStyle(t).getPropertyValue("--stickyShrink");return e?parseFloat(e)/100*a(t):a(t)};function s(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function d(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var y=function(t){var e=t.stickyContainer,r=t.isSticky,n=t.startPosition,u=t.stickyComponents,l=Array.from(e.querySelectorAll("[data-row]")).reduce((function(t,e){return t+e.getBoundingClientRect().height}),0);if(0===n&&0===window.scrollY&&(e.dataset.sticky=["fixed"].concat(d(u)).join(":"),e.parentNode.style.setProperty("--minHeight","".concat(l,"px"))),r){if(u.indexOf("yes")>-1)return;k(e,"no"),e.parentNode.style.setProperty("--minHeight","".concat(l,"px")),e.dataset.sticky=["yes"].concat(d(u)).join(":"),function(t){var e=t.stickyContainer,r=t.startPosition;s(e.querySelectorAll('[data-row*="middle"]')).map((function(t){if(t.querySelector('[data-id="logo"] .site-logo-container')){var e=t.querySelector('[data-id="logo"] .site-logo-container'),n=parseFloat(getComputedStyle(e).getPropertyValue("--maxHeight")||50),s=parseFloat(getComputedStyle(e).getPropertyValue("--logoStickyShrink").toString().replace(",",".")||1),u=n*s;if(1!==s){var d=a(t),l=c(t);e.style.setProperty("--logo-shrink-height",i([r,r+Math.abs(d===l?n-u:d-l)],[1,s],o(r,r+Math.abs(d===l?n-u:d-l),scrollY)))}}}))}({stickyContainer:e,startPosition:n}),function(t){var e=t.stickyContainer,r=t.containerInitialHeight,n=t.startPosition;Array.from(e.querySelectorAll("[data-row]")).reduce((function(t,e,r){return t+c(e)}),0)!==r&&e.querySelector('[data-row*="middle"]')&&[e.querySelector('[data-row*="middle"]')].map((function(t){var e=a(t),r=c(t);e!==r&&t.style.setProperty("--shrinkHeight","".concat(i([n,n+Math.abs(e-r)],[e,r],o(n,n+Math.abs(e-r),scrollY)),"px"))}))}({stickyContainer:e,containerInitialHeight:l,startPosition:n}),document.body.style.setProperty("--headerStickyHeightAnimated","".concat(parseInt(e.getBoundingClientRect().height),"px"))}else{var y=Array.from(e.querySelectorAll("[data-row]")).reduce((function(t,e){return t+a(e)}),0);document.body.removeAttribute("style"),Array.from(e.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),Array.from(e.querySelectorAll('[data-row*="middle"] .site-logo-container')).map((function(t){return t.removeAttribute("style")})),k(e,"yes"),e.parentNode.style.setProperty("--minHeight","".concat(y,"px")),0===n&&0===window.scrollY?e.dataset.sticky=["fixed"].concat(d(u)).join(":"):(e.parentNode.removeAttribute("style"),e.dataset.sticky=u.join(":"))}};function f(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var p=window.scrollY;function h(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var k=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yes";Array.from(t.querySelectorAll("[data-row][data-transparent-row]")).map((function(t){t.dataset.transparentRow=e}))},S=function(t){if(-1===t.dataset.sticky.indexOf("shrink")&&-1===t.dataset.sticky.indexOf("auto-hide"))return t.parentNode.getBoundingClientRect().height+200;var e=t.closest("header").getBoundingClientRect().top+scrollY;if(e>0){var r=document.elementFromPoint(0,t.getBoundingClientRect().top-3);r&&function(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}(r).map((function(t){return getComputedStyle(t).position})).indexOf("fixed")>-1&&(e=0)}var n=t.parentNode;return 1===n.parentNode.children.length||n.parentNode.children[0].classList.contains("ct-sticky-container")?e:Array.from(n.parentNode.children).reduce((function(t,e,r){return t.indexOf(0)>-1||!e.dataset.row?[].concat(g(t),[0]):[].concat(g(t),[e.classList.contains("ct-sticky-container")?0:e.getBoundingClientRect().height])}),[]).reduce((function(t,e){return t+e}),e)},v=null,w=function t(){if(v!==scrollY){v=scrollY;var e=document.querySelector('[data-device="'.concat(Object(n.getCurrentScreen)(),'"] [data-sticky]'));if(e){var r=S(e),o=r>0&&Math.abs(window.scrollY-r)<5||window.scrollY>r;o&&-1===document.body.dataset.header.indexOf("shrink")&&(document.body.dataset.header="".concat(document.body.dataset.header,":shrink")),!o&&document.body.dataset.header.indexOf("shrink")>-1&&(document.body.dataset.header=document.body.dataset.header.replace(":shrink",""));var i=e.dataset.sticky.split(":").filter((function(t){return"yes"!==t&&"no"!==t&&"fixed"!==t}));i.indexOf("shrink")>-1&&y({stickyContainer:e,isSticky:o,startPosition:r,stickyComponents:i}),i.indexOf("auto-hide")>-1&&function(t){var e=t.startPosition,r=t.stickyContainer,n=t.isSticky,o=t.stickyComponents,i=Array.from(r.querySelectorAll("[data-row]")).reduce((function(t,e){return t+e.getBoundingClientRect().height}),0);if(window.scrollY<e&&(p=window.scrollY),n&&window.scrollY-p==0&&document.body.style.setProperty("--headerStickyHeightAnimated","0px"),n&&window.scrollY-p<-5)-1===r.dataset.sticky.indexOf("yes")&&(r.dataset.sticky=["yes-start"].concat(f(o)).join(":"),requestAnimationFrame((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-start","yes-end"),setTimeout((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-end","yes")}),200)}))),k(r,"no"),document.body.removeAttribute("style"),r.parentNode.style.setProperty("--minHeight","".concat(i,"px"));else{if(!n)return r.dataset.sticky=o.filter((function(t){return"yes-end"!==t})).join(":"),r.parentNode.removeAttribute("style"),Array.from(r.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),k(r,"yes"),document.body.style.setProperty("--headerStickyHeightAnimated","0px"),void(p=window.scrollY);-1===r.dataset.sticky.indexOf("yes-hide")&&r.dataset.sticky.indexOf("yes:")>-1&&window.scrollY-p>5&&(r.dataset.sticky=["yes-hide-start"].concat(f(o)).join(":"),document.body.style.setProperty("--headerStickyHeightAnimated","0px"),requestAnimationFrame((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-hide-start","yes-hide-end"),setTimeout((function(){r.dataset.sticky=o.join(":"),r.parentNode.removeAttribute("style"),Array.from(r.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),k(r,"yes")}),200)})))}p=window.scrollY}({stickyContainer:e,isSticky:o,startPosition:r,stickyComponents:i}),(i.indexOf("slide")>-1||i.indexOf("fade")>-1)&&function(t){var e=t.stickyContainer,r=t.isSticky,n=t.startPosition,o=t.stickyComponents,i=Array.from(e.querySelectorAll("[data-row]")).reduce((function(t,e){return t+e.getBoundingClientRect().height}),0);r?(-1===e.dataset.sticky.indexOf("yes")&&(e.dataset.sticky=["yes-start"].concat(h(o)).join(":"),requestAnimationFrame((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-start","yes-end"),setTimeout((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-end","yes")}),200)}))),k(e,"no"),e.parentNode.style.setProperty("--minHeight","".concat(i,"px"))):-1===e.dataset.sticky.indexOf("yes-hide")&&e.dataset.sticky.indexOf("yes:")>-1&&(Math.abs(window.scrollY-n)>10?(e.dataset.sticky=o.join(":"),setTimeout((function(){e.parentNode.removeAttribute("style"),Array.from(e.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")}))}),300),k(e,"yes")):(e.dataset.sticky=["yes-hide-start"].concat(h(o)).join(":"),requestAnimationFrame((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-hide-start","yes-hide-end"),setTimeout((function(){e.dataset.sticky=o.join(":"),setTimeout((function(){e.parentNode.removeAttribute("style"),Array.from(e.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")}))}),300),k(e,"yes")}),200)}))))}({stickyContainer:e,isSticky:o,startPosition:r,stickyComponents:i}),requestAnimationFrame((function(){t()}))}}else requestAnimationFrame((function(){t()}))};document.querySelector("header [data-sticky]")&&w(),Object(n.registerDynamicChunk)("blocksy_sticky_header",{mount:function(t){}})}]);
|
| 1 |
+
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(t,e){t.exports=window.ctFrontend},function(t,e){t.exports=window.ctEvents},function(t,e,r){"use strict";r.r(e);r(1);var n=r(0),o=function(t,e,r){return Math.max(t,Math.min(e,r))},i=function(t,e,r){return e[0]+(e[1]-e[0])/(t[1]-t[0])*(r-t[0])},a=function(t){if(t.blcInitialHeight)return t.blcInitialHeight;var e=getComputedStyle(t),r=getComputedStyle(t.firstElementChild),n=0;n+=parseFloat(e.borderTopWidth),n+=parseFloat(e.borderBottomWidth),n+=parseFloat(r.borderTopWidth),n+=parseFloat(r.borderBottomWidth);var o=parseFloat(e.getPropertyValue("--height"))+n;return t.blcInitialHeight=o,o},s=function(t){var e=getComputedStyle(t).getPropertyValue("--sticky-shrink");return e?parseFloat(e)/100*a(t):a(t)};function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var l=null,d=function(t){var e=t.stickyContainer,r=t.startPosition;c(e.querySelectorAll('[data-row*="middle"]')).map((function(t){if(t.querySelector('[data-id="logo"] .site-logo-container')){var e=t.querySelector('[data-id="logo"] .site-logo-container'),n=function(t){var e=t.logo,r=t.row;if(l)return l;var n=parseFloat(getComputedStyle(e).getPropertyValue("--logo-max-height")||50),o=parseFloat(getComputedStyle(e).getPropertyValue("--logo-sticky-shrink").toString().replace(",",".")||1),i=a(r),c=s(r);return l={initialHeight:n,stickyShrink:o,rowInitialHeight:i,rowStickyHeight:c}}({logo:e,row:t}),c=n.initialHeight,u=n.stickyShrink,d=n.rowInitialHeight,y=n.rowStickyHeight,f=c*u;1!==u&&e.style.setProperty("--logo-shrink-height","".concat(i([r,r+Math.abs(d===y?c-f:d-y)],[1,u],o(r,r+Math.abs(d===y?c-f:d-y),scrollY))*c,"px"))}}))},y=null,f=function(t){var e=t.stickyContainer,r=(t.containerInitialHeight,t.startPosition);e.querySelector('[data-row*="middle"]')&&[e.querySelector('[data-row*="middle"]')].map((function(t){var e=function(t){var e=t.row;if(y)return y;var r=a(e),n=s(e);return y={rowInitialHeight:r,rowStickyHeight:n}}({row:t}),n=e.rowInitialHeight,c=e.rowStickyHeight;n!==c&&t.style.setProperty("--shrink-height","".concat(i([r,r+Math.abs(n-c)],[n,c],o(r,r+Math.abs(n-c),scrollY)),"px"))}))};function m(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function h(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var b=window.scrollY;function k(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function v(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yes";Array.from(t.querySelectorAll("[data-row][data-transparent-row]")).map((function(t){t.dataset.transparentRow=e}))},O=null,j=null,x=function(t){if(-1===t.dataset.sticky.indexOf("shrink")&&-1===t.dataset.sticky.indexOf("auto-hide"))return t.parentNode.getBoundingClientRect().height+200;var e=t.closest("header").getBoundingClientRect().top+scrollY;if(e>0){var r=document.elementFromPoint(0,t.getBoundingClientRect().top-3);r&&function(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}(r).map((function(t){return getComputedStyle(t).position})).indexOf("fixed")>-1&&(e=0)}var n=t.parentNode;return 1===n.parentNode.children.length||n.parentNode.children[0].classList.contains("ct-sticky-container")?e:Array.from(n.parentNode.children).reduce((function(t,e,r){return t.indexOf(0)>-1||!e.dataset.row?[].concat(v(t),[0]):[].concat(v(t),[e.classList.contains("ct-sticky-container")?0:e.getBoundingClientRect().height])}),[]).reduce((function(t,e){return t+e}),e)},C=null,I=function(){if(C!==scrollY){C=scrollY;var t=document.querySelector('[data-device="'.concat(Object(n.getCurrentScreen)(),'"] [data-sticky]'));if(t){var e=null;e||(e=x(t));var r=j;r||(r=parseInt(t.getBoundingClientRect().height),j=parseInt(r));var o=t.dataset.sticky.split(":").filter((function(t){return"yes"!==t&&"no"!==t&&"fixed"!==t})),i=e>0&&Math.abs(window.scrollY-e)<5||window.scrollY>e;o.indexOf("shrink")>-1&&(i=e>0?window.scrollY>=e:window.scrollY>0),setTimeout((function(){i&&-1===document.body.dataset.header.indexOf("shrink")&&(document.body.dataset.header="".concat(document.body.dataset.header,":shrink")),!i&&document.body.dataset.header.indexOf("shrink")>-1&&(document.body.dataset.header=document.body.dataset.header.replace(":shrink",""))}),300);var a=O;a||(a=O=Array.from(t.querySelectorAll("[data-row]")).reduce((function(t,e){return t+e.getBoundingClientRect().height}),0),t.parentNode.style.height="".concat(a,"px")),o.indexOf("shrink")>-1&&function(t){var e=t.containerInitialHeight,r=t.stickyContainer,n=(t.stickyContainerHeight,t.isSticky),o=t.startPosition,i=t.stickyComponents;if(0===o&&0===window.scrollY&&(r.dataset.sticky=["fixed"].concat(m(i)).join(":")),n){if(i.indexOf("yes")>-1)return;-1===r.dataset.sticky.indexOf("yes")&&(A(r,"no"),r.dataset.sticky=["yes"].concat(m(i)).join(":")),d({stickyContainer:r,startPosition:o}),f({stickyContainer:r,containerInitialHeight:e,startPosition:o})}else Array.from(r.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),Array.from(r.querySelectorAll('[data-row*="middle"] .site-logo-container')).map((function(t){return t.removeAttribute("style")})),A(r,"yes"),0===o&&0===window.scrollY?r.dataset.sticky=["fixed"].concat(m(i)).join(":"):r.dataset.sticky=i.join(":")}({stickyContainer:t,stickyContainerHeight:r,containerInitialHeight:a,isSticky:i,startPosition:e,stickyComponents:o}),o.indexOf("auto-hide")>-1&&function(t){var e=t.startPosition,r=t.stickyContainer,n=t.isSticky,o=t.stickyComponents;if(window.scrollY<e&&(b=window.scrollY),n&&window.scrollY-b==0&&document.body.style.setProperty("--header-sticky-height-animated","0px"),n&&window.scrollY-b<-5)-1===r.dataset.sticky.indexOf("yes")&&(r.dataset.sticky=["yes-start"].concat(h(o)).join(":"),requestAnimationFrame((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-start","yes-end"),setTimeout((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-end","yes")}),200)}))),A(r,"no"),document.body.removeAttribute("style");else{if(!n)return r.dataset.sticky=o.filter((function(t){return"yes-end"!==t})).join(":"),Array.from(r.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),A(r,"yes"),document.body.style.setProperty("--header-sticky-height-animated","0px"),void(b=window.scrollY);-1===r.dataset.sticky.indexOf("yes-hide")&&r.dataset.sticky.indexOf("yes:")>-1&&window.scrollY-b>5&&(r.dataset.sticky=["yes-hide-start"].concat(h(o)).join(":"),document.body.style.setProperty("--header-sticky-height-animated","0px"),requestAnimationFrame((function(){r.dataset.sticky=r.dataset.sticky.replace("yes-hide-start","yes-hide-end"),setTimeout((function(){r.dataset.sticky=o.join(":"),Array.from(r.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")})),A(r,"yes")}),200)})))}b=window.scrollY}({stickyContainer:t,isSticky:i,startPosition:e,stickyComponents:o}),(o.indexOf("slide")>-1||o.indexOf("fade")>-1)&&function(t){var e=t.stickyContainer,r=t.isSticky,n=t.startPosition,o=t.stickyComponents;r?(-1===e.dataset.sticky.indexOf("yes")&&(e.dataset.sticky=["yes-start"].concat(k(o)).join(":"),setTimeout((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-start","yes-end"),setTimeout((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-end","yes")}),200)}),1)),A(e,"no")):-1===e.dataset.sticky.indexOf("yes-hide")&&e.dataset.sticky.indexOf("yes:")>-1&&(Math.abs(window.scrollY-n)>10?(e.dataset.sticky=o.join(":"),setTimeout((function(){Array.from(e.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")}))}),300),A(e,"yes")):(e.dataset.sticky=["yes-hide-start"].concat(k(o)).join(":"),requestAnimationFrame((function(){e.dataset.sticky=e.dataset.sticky.replace("yes-hide-start","yes-hide-end"),setTimeout((function(){e.dataset.sticky=o.join(":"),setTimeout((function(){Array.from(e.querySelectorAll("[data-row]")).map((function(t){return t.removeAttribute("style")}))}),300),A(e,"yes")}),200)}))))}({stickyContainer:t,isSticky:i,startPosition:e,stickyComponents:o})}}};document.querySelector("header [data-sticky]")&&(window.addEventListener("resize",I,!1),window.addEventListener("scroll",I,!1),window.addEventListener("load",I,!1),window.addEventListener("orientationchange",I),I()),Object(n.registerDynamicChunk)("blocksy_sticky_header",{mount:function(t){}})}]);
|
static/js/frontend/sticky.js
CHANGED
|
@@ -23,6 +23,11 @@ var getParents = function (elem) {
|
|
| 23 |
return parents
|
| 24 |
}
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
const getStartPositionFor = (stickyContainer) => {
|
| 27 |
if (
|
| 28 |
stickyContainer.dataset.sticky.indexOf('shrink') === -1 &&
|
|
@@ -85,9 +90,11 @@ let prevScrollY = null
|
|
| 85 |
|
| 86 |
const compute = () => {
|
| 87 |
if (prevScrollY === scrollY) {
|
|
|
|
| 88 |
requestAnimationFrame(() => {
|
| 89 |
compute()
|
| 90 |
})
|
|
|
|
| 91 |
|
| 92 |
return
|
| 93 |
}
|
|
@@ -102,30 +109,67 @@ const compute = () => {
|
|
| 102 |
return
|
| 103 |
}
|
| 104 |
|
| 105 |
-
|
| 106 |
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
window.scrollY > startPosition
|
| 110 |
-
|
| 111 |
-
if (isSticky && document.body.dataset.header.indexOf('shrink') === -1) {
|
| 112 |
-
document.body.dataset.header = `${document.body.dataset.header}:shrink`
|
| 113 |
}
|
| 114 |
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
|
|
|
| 119 |
)
|
|
|
|
| 120 |
}
|
| 121 |
|
| 122 |
const stickyComponents = stickyContainer.dataset.sticky
|
| 123 |
.split(':')
|
| 124 |
.filter((c) => c !== 'yes' && c !== 'no' && c !== 'fixed')
|
| 125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
if (stickyComponents.indexOf('shrink') > -1) {
|
| 127 |
computeShrink({
|
| 128 |
stickyContainer,
|
|
|
|
|
|
|
|
|
|
| 129 |
isSticky,
|
| 130 |
startPosition,
|
| 131 |
stickyComponents,
|
|
@@ -152,10 +196,6 @@ const compute = () => {
|
|
| 152 |
stickyComponents,
|
| 153 |
})
|
| 154 |
}
|
| 155 |
-
|
| 156 |
-
requestAnimationFrame(() => {
|
| 157 |
-
compute()
|
| 158 |
-
})
|
| 159 |
}
|
| 160 |
|
| 161 |
export const mountStickyHeader = () => {
|
|
@@ -163,5 +203,10 @@ export const mountStickyHeader = () => {
|
|
| 163 |
return
|
| 164 |
}
|
| 165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
compute()
|
| 167 |
}
|
| 23 |
return parents
|
| 24 |
}
|
| 25 |
|
| 26 |
+
let cachedStartPosition = null
|
| 27 |
+
let cachedContainerInitialHeight = null
|
| 28 |
+
|
| 29 |
+
let cachedStickyContainerHeight = null
|
| 30 |
+
|
| 31 |
const getStartPositionFor = (stickyContainer) => {
|
| 32 |
if (
|
| 33 |
stickyContainer.dataset.sticky.indexOf('shrink') === -1 &&
|
| 90 |
|
| 91 |
const compute = () => {
|
| 92 |
if (prevScrollY === scrollY) {
|
| 93 |
+
/*
|
| 94 |
requestAnimationFrame(() => {
|
| 95 |
compute()
|
| 96 |
})
|
| 97 |
+
*/
|
| 98 |
|
| 99 |
return
|
| 100 |
}
|
| 109 |
return
|
| 110 |
}
|
| 111 |
|
| 112 |
+
let startPosition = cachedStartPosition
|
| 113 |
|
| 114 |
+
if (!startPosition) {
|
| 115 |
+
startPosition = getStartPositionFor(stickyContainer)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
}
|
| 117 |
|
| 118 |
+
let stickyContainerHeight = cachedStickyContainerHeight
|
| 119 |
+
|
| 120 |
+
if (!stickyContainerHeight) {
|
| 121 |
+
stickyContainerHeight = parseInt(
|
| 122 |
+
stickyContainer.getBoundingClientRect().height
|
| 123 |
)
|
| 124 |
+
cachedStickyContainerHeight = parseInt(stickyContainerHeight)
|
| 125 |
}
|
| 126 |
|
| 127 |
const stickyComponents = stickyContainer.dataset.sticky
|
| 128 |
.split(':')
|
| 129 |
.filter((c) => c !== 'yes' && c !== 'no' && c !== 'fixed')
|
| 130 |
|
| 131 |
+
let isSticky =
|
| 132 |
+
(startPosition > 0 && Math.abs(window.scrollY - startPosition) < 5) ||
|
| 133 |
+
window.scrollY > startPosition
|
| 134 |
+
|
| 135 |
+
if (stickyComponents.indexOf('shrink') > -1) {
|
| 136 |
+
isSticky =
|
| 137 |
+
startPosition > 0
|
| 138 |
+
? window.scrollY >= startPosition
|
| 139 |
+
: window.scrollY > 0
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
setTimeout(() => {
|
| 143 |
+
if (isSticky && document.body.dataset.header.indexOf('shrink') === -1) {
|
| 144 |
+
document.body.dataset.header = `${document.body.dataset.header}:shrink`
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
if (!isSticky && document.body.dataset.header.indexOf('shrink') > -1) {
|
| 148 |
+
document.body.dataset.header = document.body.dataset.header.replace(
|
| 149 |
+
':shrink',
|
| 150 |
+
''
|
| 151 |
+
)
|
| 152 |
+
}
|
| 153 |
+
}, 300)
|
| 154 |
+
|
| 155 |
+
let containerInitialHeight = cachedContainerInitialHeight
|
| 156 |
+
|
| 157 |
+
if (!containerInitialHeight) {
|
| 158 |
+
cachedContainerInitialHeight = Array.from(
|
| 159 |
+
stickyContainer.querySelectorAll('[data-row]')
|
| 160 |
+
).reduce((sum, el) => sum + el.getBoundingClientRect().height, 0)
|
| 161 |
+
|
| 162 |
+
containerInitialHeight = cachedContainerInitialHeight
|
| 163 |
+
|
| 164 |
+
stickyContainer.parentNode.style.height = `${containerInitialHeight}px`
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
if (stickyComponents.indexOf('shrink') > -1) {
|
| 168 |
computeShrink({
|
| 169 |
stickyContainer,
|
| 170 |
+
stickyContainerHeight,
|
| 171 |
+
|
| 172 |
+
containerInitialHeight,
|
| 173 |
isSticky,
|
| 174 |
startPosition,
|
| 175 |
stickyComponents,
|
| 196 |
stickyComponents,
|
| 197 |
})
|
| 198 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
}
|
| 200 |
|
| 201 |
export const mountStickyHeader = () => {
|
| 203 |
return
|
| 204 |
}
|
| 205 |
|
| 206 |
+
window.addEventListener('resize', compute, false)
|
| 207 |
+
window.addEventListener('scroll', compute, false)
|
| 208 |
+
window.addEventListener('load', compute, false)
|
| 209 |
+
window.addEventListener('orientationchange', compute)
|
| 210 |
+
|
| 211 |
compute()
|
| 212 |
}
|
static/js/frontend/sticky/auto-hide.js
CHANGED
|
@@ -8,16 +8,15 @@ export const computeAutoHide = ({
|
|
| 8 |
isSticky,
|
| 9 |
stickyComponents,
|
| 10 |
}) => {
|
| 11 |
-
let containerInitialHeight = Array.from(
|
| 12 |
-
stickyContainer.querySelectorAll('[data-row]')
|
| 13 |
-
).reduce((sum, el) => sum + el.getBoundingClientRect().height, 0)
|
| 14 |
-
|
| 15 |
if (window.scrollY < startPosition) {
|
| 16 |
prevScrollY = window.scrollY
|
| 17 |
}
|
| 18 |
|
| 19 |
if (isSticky && window.scrollY - prevScrollY === 0) {
|
| 20 |
-
document.body.style.setProperty(
|
|
|
|
|
|
|
|
|
|
| 21 |
}
|
| 22 |
|
| 23 |
if (isSticky && window.scrollY - prevScrollY < -5) {
|
|
@@ -44,26 +43,19 @@ export const computeAutoHide = ({
|
|
| 44 |
|
| 45 |
setTransparencyFor(stickyContainer, 'no')
|
| 46 |
document.body.removeAttribute('style')
|
| 47 |
-
|
| 48 |
-
stickyContainer.parentNode.style.setProperty(
|
| 49 |
-
'--minHeight',
|
| 50 |
-
`${containerInitialHeight}px`
|
| 51 |
-
)
|
| 52 |
} else {
|
| 53 |
if (!isSticky) {
|
| 54 |
stickyContainer.dataset.sticky = stickyComponents
|
| 55 |
.filter((c) => c !== 'yes-end')
|
| 56 |
.join(':')
|
| 57 |
|
| 58 |
-
stickyContainer.parentNode.removeAttribute('style')
|
| 59 |
-
|
| 60 |
Array.from(
|
| 61 |
stickyContainer.querySelectorAll('[data-row]')
|
| 62 |
).map((row) => row.removeAttribute('style'))
|
| 63 |
setTransparencyFor(stickyContainer, 'yes')
|
| 64 |
|
| 65 |
document.body.style.setProperty(
|
| 66 |
-
'--
|
| 67 |
`0px`
|
| 68 |
)
|
| 69 |
|
|
@@ -82,7 +74,7 @@ export const computeAutoHide = ({
|
|
| 82 |
].join(':')
|
| 83 |
|
| 84 |
document.body.style.setProperty(
|
| 85 |
-
'--
|
| 86 |
`0px`
|
| 87 |
)
|
| 88 |
|
|
@@ -95,8 +87,6 @@ export const computeAutoHide = ({
|
|
| 95 |
setTimeout(() => {
|
| 96 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 97 |
|
| 98 |
-
stickyContainer.parentNode.removeAttribute('style')
|
| 99 |
-
|
| 100 |
Array.from(
|
| 101 |
stickyContainer.querySelectorAll('[data-row]')
|
| 102 |
).map((row) => row.removeAttribute('style'))
|
| 8 |
isSticky,
|
| 9 |
stickyComponents,
|
| 10 |
}) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
if (window.scrollY < startPosition) {
|
| 12 |
prevScrollY = window.scrollY
|
| 13 |
}
|
| 14 |
|
| 15 |
if (isSticky && window.scrollY - prevScrollY === 0) {
|
| 16 |
+
document.body.style.setProperty(
|
| 17 |
+
'--header-sticky-height-animated',
|
| 18 |
+
`0px`
|
| 19 |
+
)
|
| 20 |
}
|
| 21 |
|
| 22 |
if (isSticky && window.scrollY - prevScrollY < -5) {
|
| 43 |
|
| 44 |
setTransparencyFor(stickyContainer, 'no')
|
| 45 |
document.body.removeAttribute('style')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
} else {
|
| 47 |
if (!isSticky) {
|
| 48 |
stickyContainer.dataset.sticky = stickyComponents
|
| 49 |
.filter((c) => c !== 'yes-end')
|
| 50 |
.join(':')
|
| 51 |
|
|
|
|
|
|
|
| 52 |
Array.from(
|
| 53 |
stickyContainer.querySelectorAll('[data-row]')
|
| 54 |
).map((row) => row.removeAttribute('style'))
|
| 55 |
setTransparencyFor(stickyContainer, 'yes')
|
| 56 |
|
| 57 |
document.body.style.setProperty(
|
| 58 |
+
'--header-sticky-height-animated',
|
| 59 |
`0px`
|
| 60 |
)
|
| 61 |
|
| 74 |
].join(':')
|
| 75 |
|
| 76 |
document.body.style.setProperty(
|
| 77 |
+
'--header-sticky-height-animated',
|
| 78 |
`0px`
|
| 79 |
)
|
| 80 |
|
| 87 |
setTimeout(() => {
|
| 88 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 89 |
|
|
|
|
|
|
|
| 90 |
Array.from(
|
| 91 |
stickyContainer.querySelectorAll('[data-row]')
|
| 92 |
).map((row) => row.removeAttribute('style'))
|
static/js/frontend/sticky/fade-slide.js
CHANGED
|
@@ -6,10 +6,6 @@ export const computeFadeSlide = ({
|
|
| 6 |
startPosition,
|
| 7 |
stickyComponents,
|
| 8 |
}) => {
|
| 9 |
-
let containerInitialHeight = Array.from(
|
| 10 |
-
stickyContainer.querySelectorAll('[data-row]')
|
| 11 |
-
).reduce((sum, el) => sum + el.getBoundingClientRect().height, 0)
|
| 12 |
-
|
| 13 |
if (isSticky) {
|
| 14 |
if (stickyContainer.dataset.sticky.indexOf('yes') === -1) {
|
| 15 |
stickyContainer.dataset.sticky = [
|
|
@@ -17,7 +13,7 @@ export const computeFadeSlide = ({
|
|
| 17 |
...stickyComponents,
|
| 18 |
].join(':')
|
| 19 |
|
| 20 |
-
|
| 21 |
stickyContainer.dataset.sticky = stickyContainer.dataset.sticky.replace(
|
| 22 |
'yes-start',
|
| 23 |
'yes-end'
|
|
@@ -29,15 +25,10 @@ export const computeFadeSlide = ({
|
|
| 29 |
'yes'
|
| 30 |
)
|
| 31 |
}, 200)
|
| 32 |
-
})
|
| 33 |
}
|
| 34 |
|
| 35 |
setTransparencyFor(stickyContainer, 'no')
|
| 36 |
-
|
| 37 |
-
stickyContainer.parentNode.style.setProperty(
|
| 38 |
-
'--minHeight',
|
| 39 |
-
`${containerInitialHeight}px`
|
| 40 |
-
)
|
| 41 |
} else {
|
| 42 |
if (
|
| 43 |
stickyContainer.dataset.sticky.indexOf('yes-hide') === -1 &&
|
|
@@ -47,8 +38,6 @@ export const computeFadeSlide = ({
|
|
| 47 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 48 |
|
| 49 |
setTimeout(() => {
|
| 50 |
-
stickyContainer.parentNode.removeAttribute('style')
|
| 51 |
-
|
| 52 |
Array.from(
|
| 53 |
stickyContainer.querySelectorAll('[data-row]')
|
| 54 |
).map((row) => row.removeAttribute('style'))
|
|
@@ -73,8 +62,6 @@ export const computeFadeSlide = ({
|
|
| 73 |
)
|
| 74 |
|
| 75 |
setTimeout(() => {
|
| 76 |
-
stickyContainer.parentNode.removeAttribute('style')
|
| 77 |
-
|
| 78 |
Array.from(
|
| 79 |
stickyContainer.querySelectorAll('[data-row]')
|
| 80 |
).map((row) => row.removeAttribute('style'))
|
| 6 |
startPosition,
|
| 7 |
stickyComponents,
|
| 8 |
}) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
if (isSticky) {
|
| 10 |
if (stickyContainer.dataset.sticky.indexOf('yes') === -1) {
|
| 11 |
stickyContainer.dataset.sticky = [
|
| 13 |
...stickyComponents,
|
| 14 |
].join(':')
|
| 15 |
|
| 16 |
+
setTimeout(() => {
|
| 17 |
stickyContainer.dataset.sticky = stickyContainer.dataset.sticky.replace(
|
| 18 |
'yes-start',
|
| 19 |
'yes-end'
|
| 25 |
'yes'
|
| 26 |
)
|
| 27 |
}, 200)
|
| 28 |
+
}, 1)
|
| 29 |
}
|
| 30 |
|
| 31 |
setTransparencyFor(stickyContainer, 'no')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
} else {
|
| 33 |
if (
|
| 34 |
stickyContainer.dataset.sticky.indexOf('yes-hide') === -1 &&
|
| 38 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 39 |
|
| 40 |
setTimeout(() => {
|
|
|
|
|
|
|
| 41 |
Array.from(
|
| 42 |
stickyContainer.querySelectorAll('[data-row]')
|
| 43 |
).map((row) => row.removeAttribute('style'))
|
| 62 |
)
|
| 63 |
|
| 64 |
setTimeout(() => {
|
|
|
|
|
|
|
| 65 |
Array.from(
|
| 66 |
stickyContainer.querySelectorAll('[data-row]')
|
| 67 |
).map((row) => row.removeAttribute('style'))
|
static/js/frontend/sticky/shrink-handle-logo.js
CHANGED
|
@@ -5,6 +5,37 @@ import {
|
|
| 5 |
clamp,
|
| 6 |
} from './shrink-utils'
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
export const shrinkHandleLogo = ({ stickyContainer, startPosition }) => {
|
| 9 |
;[...stickyContainer.querySelectorAll('[data-row*="middle"]')].map(
|
| 10 |
(row) => {
|
|
@@ -16,16 +47,12 @@ export const shrinkHandleLogo = ({ stickyContainer, startPosition }) => {
|
|
| 16 |
'[data-id="logo"] .site-logo-container'
|
| 17 |
)
|
| 18 |
|
| 19 |
-
let
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
.getPropertyValue('--logoStickyShrink')
|
| 26 |
-
.toString()
|
| 27 |
-
.replace(',', '.') || 1
|
| 28 |
-
)
|
| 29 |
|
| 30 |
const stickyHeight = initialHeight * stickyShrink
|
| 31 |
|
|
@@ -33,34 +60,33 @@ export const shrinkHandleLogo = ({ stickyContainer, startPosition }) => {
|
|
| 33 |
return
|
| 34 |
}
|
| 35 |
|
| 36 |
-
let rowInitialHeight = getRowInitialHeight(row)
|
| 37 |
-
let rowStickyHeight = getRowStickyHeight(row)
|
| 38 |
-
|
| 39 |
logo.style.setProperty(
|
| 40 |
'--logo-shrink-height',
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
| 64 |
)
|
| 65 |
}
|
| 66 |
)
|
| 5 |
clamp,
|
| 6 |
} from './shrink-utils'
|
| 7 |
|
| 8 |
+
let logoShrinkCache = null
|
| 9 |
+
|
| 10 |
+
const getLogoShrinkData = ({ logo, row }) => {
|
| 11 |
+
if (logoShrinkCache) {
|
| 12 |
+
return logoShrinkCache
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
let initialHeight = parseFloat(
|
| 16 |
+
getComputedStyle(logo).getPropertyValue('--logo-max-height') || 50
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
+
const stickyShrink = parseFloat(
|
| 20 |
+
getComputedStyle(logo)
|
| 21 |
+
.getPropertyValue('--logo-sticky-shrink')
|
| 22 |
+
.toString()
|
| 23 |
+
.replace(',', '.') || 1
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
let rowInitialHeight = getRowInitialHeight(row)
|
| 27 |
+
let rowStickyHeight = getRowStickyHeight(row)
|
| 28 |
+
|
| 29 |
+
logoShrinkCache = {
|
| 30 |
+
initialHeight,
|
| 31 |
+
stickyShrink,
|
| 32 |
+
rowInitialHeight,
|
| 33 |
+
rowStickyHeight,
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
return logoShrinkCache
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
export const shrinkHandleLogo = ({ stickyContainer, startPosition }) => {
|
| 40 |
;[...stickyContainer.querySelectorAll('[data-row*="middle"]')].map(
|
| 41 |
(row) => {
|
| 47 |
'[data-id="logo"] .site-logo-container'
|
| 48 |
)
|
| 49 |
|
| 50 |
+
let {
|
| 51 |
+
initialHeight,
|
| 52 |
+
stickyShrink,
|
| 53 |
+
rowInitialHeight,
|
| 54 |
+
rowStickyHeight,
|
| 55 |
+
} = getLogoShrinkData({ logo, row })
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
const stickyHeight = initialHeight * stickyShrink
|
| 58 |
|
| 60 |
return
|
| 61 |
}
|
| 62 |
|
|
|
|
|
|
|
|
|
|
| 63 |
logo.style.setProperty(
|
| 64 |
'--logo-shrink-height',
|
| 65 |
+
`${
|
| 66 |
+
computeLinearScale(
|
| 67 |
+
[
|
| 68 |
+
startPosition,
|
| 69 |
+
startPosition +
|
| 70 |
+
Math.abs(
|
| 71 |
+
rowInitialHeight === rowStickyHeight
|
| 72 |
+
? initialHeight - stickyHeight
|
| 73 |
+
: rowInitialHeight - rowStickyHeight
|
| 74 |
+
),
|
| 75 |
+
],
|
| 76 |
+
[1, stickyShrink],
|
| 77 |
+
clamp(
|
| 78 |
+
startPosition,
|
| 79 |
+
startPosition +
|
| 80 |
+
Math.abs(
|
| 81 |
+
rowInitialHeight === rowStickyHeight
|
| 82 |
+
? initialHeight - stickyHeight
|
| 83 |
+
: rowInitialHeight - rowStickyHeight
|
| 84 |
+
),
|
| 85 |
|
| 86 |
+
scrollY
|
| 87 |
+
)
|
| 88 |
+
) * initialHeight
|
| 89 |
+
}px`
|
| 90 |
)
|
| 91 |
}
|
| 92 |
)
|
static/js/frontend/sticky/shrink-handle-middle-row.js
CHANGED
|
@@ -5,29 +5,36 @@ import {
|
|
| 5 |
clamp,
|
| 6 |
} from './shrink-utils'
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
export const shrinkHandleMiddleRow = ({
|
| 9 |
stickyContainer,
|
| 10 |
containerInitialHeight,
|
| 11 |
startPosition,
|
| 12 |
}) => {
|
| 13 |
-
|
| 14 |
-
stickyContainer.querySelectorAll('[data-row]')
|
| 15 |
-
).reduce((sum, el, index) => sum + getRowStickyHeight(el), 0)
|
| 16 |
-
|
| 17 |
-
if (
|
| 18 |
-
containerStickyHeight === containerInitialHeight ||
|
| 19 |
-
!stickyContainer.querySelector('[data-row*="middle"]')
|
| 20 |
-
) {
|
| 21 |
return
|
| 22 |
}
|
| 23 |
|
| 24 |
;[stickyContainer.querySelector('[data-row*="middle"]')].map((row) => {
|
| 25 |
-
let rowInitialHeight =
|
| 26 |
-
let rowStickyHeight = getRowStickyHeight(row)
|
| 27 |
|
| 28 |
if (rowInitialHeight !== rowStickyHeight) {
|
| 29 |
row.style.setProperty(
|
| 30 |
-
'--
|
| 31 |
`${computeLinearScale(
|
| 32 |
[
|
| 33 |
startPosition,
|
| 5 |
clamp,
|
| 6 |
} from './shrink-utils'
|
| 7 |
|
| 8 |
+
let shrinkCache = null
|
| 9 |
+
|
| 10 |
+
const getShrinkData = ({ row }) => {
|
| 11 |
+
if (shrinkCache) {
|
| 12 |
+
return shrinkCache
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
let rowInitialHeight = getRowInitialHeight(row)
|
| 16 |
+
let rowStickyHeight = getRowStickyHeight(row)
|
| 17 |
+
|
| 18 |
+
shrinkCache = { rowInitialHeight, rowStickyHeight }
|
| 19 |
+
|
| 20 |
+
return shrinkCache
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
export const shrinkHandleMiddleRow = ({
|
| 24 |
stickyContainer,
|
| 25 |
containerInitialHeight,
|
| 26 |
startPosition,
|
| 27 |
}) => {
|
| 28 |
+
if (!stickyContainer.querySelector('[data-row*="middle"]')) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
return
|
| 30 |
}
|
| 31 |
|
| 32 |
;[stickyContainer.querySelector('[data-row*="middle"]')].map((row) => {
|
| 33 |
+
let { rowInitialHeight, rowStickyHeight } = getShrinkData({ row })
|
|
|
|
| 34 |
|
| 35 |
if (rowInitialHeight !== rowStickyHeight) {
|
| 36 |
row.style.setProperty(
|
| 37 |
+
'--shrink-height',
|
| 38 |
`${computeLinearScale(
|
| 39 |
[
|
| 40 |
startPosition,
|
static/js/frontend/sticky/shrink-utils.js
CHANGED
|
@@ -31,7 +31,7 @@ export const getRowInitialHeight = (el) => {
|
|
| 31 |
export const getRowStickyHeight = (el) => {
|
| 32 |
let styles = getComputedStyle(el)
|
| 33 |
|
| 34 |
-
let maybeShrink = styles.getPropertyValue('--
|
| 35 |
|
| 36 |
if (!maybeShrink) {
|
| 37 |
return getRowInitialHeight(el)
|
| 31 |
export const getRowStickyHeight = (el) => {
|
| 32 |
let styles = getComputedStyle(el)
|
| 33 |
|
| 34 |
+
let maybeShrink = styles.getPropertyValue('--sticky-shrink')
|
| 35 |
|
| 36 |
if (!maybeShrink) {
|
| 37 |
return getRowInitialHeight(el)
|
static/js/frontend/sticky/shrink.js
CHANGED
|
@@ -6,24 +6,17 @@ import { shrinkHandleMiddleRow } from './shrink-handle-middle-row'
|
|
| 6 |
import { getRowInitialHeight } from './shrink-utils'
|
| 7 |
|
| 8 |
export const computeShrink = ({
|
|
|
|
| 9 |
stickyContainer,
|
|
|
|
| 10 |
isSticky,
|
| 11 |
startPosition,
|
| 12 |
stickyComponents,
|
| 13 |
}) => {
|
| 14 |
-
let containerInitialHeight = Array.from(
|
| 15 |
-
stickyContainer.querySelectorAll('[data-row]')
|
| 16 |
-
).reduce((sum, el) => sum + el.getBoundingClientRect().height, 0)
|
| 17 |
-
|
| 18 |
if (startPosition === 0 && window.scrollY === 0) {
|
| 19 |
stickyContainer.dataset.sticky = ['fixed', ...stickyComponents].join(
|
| 20 |
':'
|
| 21 |
)
|
| 22 |
-
|
| 23 |
-
stickyContainer.parentNode.style.setProperty(
|
| 24 |
-
'--minHeight',
|
| 25 |
-
`${containerInitialHeight}px`
|
| 26 |
-
)
|
| 27 |
}
|
| 28 |
|
| 29 |
if (isSticky) {
|
|
@@ -31,14 +24,13 @@ export const computeShrink = ({
|
|
| 31 |
return
|
| 32 |
}
|
| 33 |
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
stickyContainer.dataset.sticky = ['yes', ...stickyComponents].join(':')
|
| 42 |
|
| 43 |
shrinkHandleLogo({ stickyContainer, startPosition })
|
| 44 |
shrinkHandleMiddleRow({
|
|
@@ -46,20 +38,7 @@ export const computeShrink = ({
|
|
| 46 |
containerInitialHeight,
|
| 47 |
startPosition,
|
| 48 |
})
|
| 49 |
-
|
| 50 |
-
document.body.style.setProperty(
|
| 51 |
-
'--headerStickyHeightAnimated',
|
| 52 |
-
`${parseInt(stickyContainer.getBoundingClientRect().height)}px`
|
| 53 |
-
)
|
| 54 |
} else {
|
| 55 |
-
let containerInitialHeight = Array.from(
|
| 56 |
-
stickyContainer.querySelectorAll('[data-row]')
|
| 57 |
-
).reduce((sum, el) => {
|
| 58 |
-
return sum + getRowInitialHeight(el)
|
| 59 |
-
}, 0)
|
| 60 |
-
|
| 61 |
-
document.body.removeAttribute('style')
|
| 62 |
-
|
| 63 |
Array.from(stickyContainer.querySelectorAll('[data-row]')).map((row) =>
|
| 64 |
row.removeAttribute('style')
|
| 65 |
)
|
|
@@ -72,18 +51,12 @@ export const computeShrink = ({
|
|
| 72 |
|
| 73 |
setTransparencyFor(stickyContainer, 'yes')
|
| 74 |
|
| 75 |
-
stickyContainer.parentNode.style.setProperty(
|
| 76 |
-
'--minHeight',
|
| 77 |
-
`${containerInitialHeight}px`
|
| 78 |
-
)
|
| 79 |
-
|
| 80 |
if (startPosition === 0 && window.scrollY === 0) {
|
| 81 |
stickyContainer.dataset.sticky = [
|
| 82 |
'fixed',
|
| 83 |
...stickyComponents,
|
| 84 |
].join(':')
|
| 85 |
} else {
|
| 86 |
-
stickyContainer.parentNode.removeAttribute('style')
|
| 87 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 88 |
}
|
| 89 |
}
|
| 6 |
import { getRowInitialHeight } from './shrink-utils'
|
| 7 |
|
| 8 |
export const computeShrink = ({
|
| 9 |
+
containerInitialHeight,
|
| 10 |
stickyContainer,
|
| 11 |
+
stickyContainerHeight,
|
| 12 |
isSticky,
|
| 13 |
startPosition,
|
| 14 |
stickyComponents,
|
| 15 |
}) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
if (startPosition === 0 && window.scrollY === 0) {
|
| 17 |
stickyContainer.dataset.sticky = ['fixed', ...stickyComponents].join(
|
| 18 |
':'
|
| 19 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
if (isSticky) {
|
| 24 |
return
|
| 25 |
}
|
| 26 |
|
| 27 |
+
if (stickyContainer.dataset.sticky.indexOf('yes') === -1) {
|
| 28 |
+
setTransparencyFor(stickyContainer, 'no')
|
| 29 |
|
| 30 |
+
stickyContainer.dataset.sticky = ['yes', ...stickyComponents].join(
|
| 31 |
+
':'
|
| 32 |
+
)
|
| 33 |
+
}
|
|
|
|
|
|
|
| 34 |
|
| 35 |
shrinkHandleLogo({ stickyContainer, startPosition })
|
| 36 |
shrinkHandleMiddleRow({
|
| 38 |
containerInitialHeight,
|
| 39 |
startPosition,
|
| 40 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
Array.from(stickyContainer.querySelectorAll('[data-row]')).map((row) =>
|
| 43 |
row.removeAttribute('style')
|
| 44 |
)
|
| 51 |
|
| 52 |
setTransparencyFor(stickyContainer, 'yes')
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
if (startPosition === 0 && window.scrollY === 0) {
|
| 55 |
stickyContainer.dataset.sticky = [
|
| 56 |
'fixed',
|
| 57 |
...stickyComponents,
|
| 58 |
].join(':')
|
| 59 |
} else {
|
|
|
|
| 60 |
stickyContainer.dataset.sticky = stickyComponents.join(':')
|
| 61 |
}
|
| 62 |
}
|
static/js/options/ConditionsManager.js
CHANGED
|
@@ -8,6 +8,7 @@ import PostIdPicker from './ConditionsManager/PostIdPicker'
|
|
| 8 |
let allPostsCache = []
|
| 9 |
let allTaxonomiesCache = []
|
| 10 |
let allLanguagesCache = []
|
|
|
|
| 11 |
|
| 12 |
const ConditionsManager = ({ value, onChange }) => {
|
| 13 |
const allRules = blocksy_admin.all_condition_rules
|
|
@@ -36,6 +37,7 @@ const ConditionsManager = ({ value, onChange }) => {
|
|
| 36 |
const [allPosts, setAllPosts] = useState(allPostsCache)
|
| 37 |
const [allTaxonomies, setAllTaxonomies] = useState(allTaxonomiesCache)
|
| 38 |
const [allLanguages, setAllLanguages] = useState(allLanguagesCache)
|
|
|
|
| 39 |
|
| 40 |
const hasAdditions = (condition) =>
|
| 41 |
condition.rule === 'post_ids' ||
|
|
@@ -43,7 +45,8 @@ const ConditionsManager = ({ value, onChange }) => {
|
|
| 43 |
condition.rule === 'custom_post_type_ids' ||
|
| 44 |
condition.rule === 'taxonomy_ids' ||
|
| 45 |
condition.rule === 'post_with_taxonomy_ids' ||
|
| 46 |
-
condition.rule === 'current_language'
|
|
|
|
| 47 |
|
| 48 |
useEffect(() => {
|
| 49 |
fetch(
|
|
@@ -57,12 +60,15 @@ const ConditionsManager = ({ value, onChange }) => {
|
|
| 57 |
}
|
| 58 |
)
|
| 59 |
.then((r) => r.json())
|
| 60 |
-
.then(({ data: { taxonomies, languages } }) => {
|
| 61 |
setAllTaxonomies(taxonomies)
|
| 62 |
allTaxonomiesCache = taxonomies
|
| 63 |
|
| 64 |
setAllLanguages(languages)
|
| 65 |
allLanguagesCache = languages
|
|
|
|
|
|
|
|
|
|
| 66 |
})
|
| 67 |
}, [])
|
| 68 |
|
|
@@ -224,6 +230,44 @@ const ConditionsManager = ({ value, onChange }) => {
|
|
| 224 |
/>
|
| 225 |
)}
|
| 226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
<button
|
| 228 |
type="button"
|
| 229 |
onClick={(e) => {
|
| 8 |
let allPostsCache = []
|
| 9 |
let allTaxonomiesCache = []
|
| 10 |
let allLanguagesCache = []
|
| 11 |
+
let allUsersCache = []
|
| 12 |
|
| 13 |
const ConditionsManager = ({ value, onChange }) => {
|
| 14 |
const allRules = blocksy_admin.all_condition_rules
|
| 37 |
const [allPosts, setAllPosts] = useState(allPostsCache)
|
| 38 |
const [allTaxonomies, setAllTaxonomies] = useState(allTaxonomiesCache)
|
| 39 |
const [allLanguages, setAllLanguages] = useState(allLanguagesCache)
|
| 40 |
+
const [allUsers, setAllUsers] = useState(allUsersCache)
|
| 41 |
|
| 42 |
const hasAdditions = (condition) =>
|
| 43 |
condition.rule === 'post_ids' ||
|
| 45 |
condition.rule === 'custom_post_type_ids' ||
|
| 46 |
condition.rule === 'taxonomy_ids' ||
|
| 47 |
condition.rule === 'post_with_taxonomy_ids' ||
|
| 48 |
+
condition.rule === 'current_language' ||
|
| 49 |
+
condition.rule === 'user_post_author_id'
|
| 50 |
|
| 51 |
useEffect(() => {
|
| 52 |
fetch(
|
| 60 |
}
|
| 61 |
)
|
| 62 |
.then((r) => r.json())
|
| 63 |
+
.then(({ data: { taxonomies, languages, users } }) => {
|
| 64 |
setAllTaxonomies(taxonomies)
|
| 65 |
allTaxonomiesCache = taxonomies
|
| 66 |
|
| 67 |
setAllLanguages(languages)
|
| 68 |
allLanguagesCache = languages
|
| 69 |
+
|
| 70 |
+
setAllUsers(users)
|
| 71 |
+
allUsersCache = users
|
| 72 |
})
|
| 73 |
}, [])
|
| 74 |
|
| 230 |
/>
|
| 231 |
)}
|
| 232 |
|
| 233 |
+
{condition.rule === 'user_post_author_id' && (
|
| 234 |
+
<Select
|
| 235 |
+
option={{
|
| 236 |
+
appendToBody: true,
|
| 237 |
+
defaultToFirstItem: false,
|
| 238 |
+
placeholder: __('Select user', 'blc'),
|
| 239 |
+
choices: [
|
| 240 |
+
{
|
| 241 |
+
key: 'current_user',
|
| 242 |
+
value: __('Current user', 'blc'),
|
| 243 |
+
},
|
| 244 |
+
|
| 245 |
+
...allUsers.map((user) => ({
|
| 246 |
+
key: user.id,
|
| 247 |
+
value: user.name,
|
| 248 |
+
})),
|
| 249 |
+
],
|
| 250 |
+
search: true,
|
| 251 |
+
}}
|
| 252 |
+
value={(condition.payload || {}).user_id || ''}
|
| 253 |
+
onChange={(user_id) => {
|
| 254 |
+
onChange(
|
| 255 |
+
value.map((r, i) => ({
|
| 256 |
+
...(i === index
|
| 257 |
+
? {
|
| 258 |
+
...condition,
|
| 259 |
+
payload: {
|
| 260 |
+
...condition.payload,
|
| 261 |
+
user_id,
|
| 262 |
+
},
|
| 263 |
+
}
|
| 264 |
+
: r),
|
| 265 |
+
}))
|
| 266 |
+
)
|
| 267 |
+
}}
|
| 268 |
+
/>
|
| 269 |
+
)}
|
| 270 |
+
|
| 271 |
<button
|
| 272 |
type="button"
|
| 273 |
onClick={(e) => {
|
static/js/screens/OptIn.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
| 3 |
Component,
|
| 4 |
useEffect,
|
| 5 |
useState,
|
| 6 |
-
Fragment
|
| 7 |
} from '@wordpress/element'
|
| 8 |
import { __ } from 'ct-i18n'
|
| 9 |
import classnames from 'classnames'
|
|
@@ -16,7 +16,7 @@ const OptIn = () => {
|
|
| 16 |
try {
|
| 17 |
const response = await fetch(ctDashboardLocalizations.ajax_url, {
|
| 18 |
method: 'POST',
|
| 19 |
-
body
|
| 20 |
})
|
| 21 |
|
| 22 |
if (response.status === 200) {
|
|
@@ -62,7 +62,7 @@ const OptIn = () => {
|
|
| 62 |
</p>
|
| 63 |
<button
|
| 64 |
className="ct-button-primary"
|
| 65 |
-
onClick={e => {
|
| 66 |
e.preventDefault()
|
| 67 |
optinAgain()
|
| 68 |
}}>
|
| 3 |
Component,
|
| 4 |
useEffect,
|
| 5 |
useState,
|
| 6 |
+
Fragment,
|
| 7 |
} from '@wordpress/element'
|
| 8 |
import { __ } from 'ct-i18n'
|
| 9 |
import classnames from 'classnames'
|
| 16 |
try {
|
| 17 |
const response = await fetch(ctDashboardLocalizations.ajax_url, {
|
| 18 |
method: 'POST',
|
| 19 |
+
body,
|
| 20 |
})
|
| 21 |
|
| 22 |
if (response.status === 200) {
|
| 62 |
</p>
|
| 63 |
<button
|
| 64 |
className="ct-button-primary"
|
| 65 |
+
onClick={(e) => {
|
| 66 |
e.preventDefault()
|
| 67 |
optinAgain()
|
| 68 |
}}>
|
