Version Description
Download this release
Release Info
Developer | sstoqnov |
Plugin | SG Optimizer |
Version | 5.7.4 |
Comparing to | |
See all releases |
Code changes from version 5.7.3 to 5.7.4
- assets/js/optimizer.bundle.js +2 -2
- core/Install_Service/Install_5_7_4.php +38 -0
- core/Install_Service/Install_Service.php +2 -0
- core/Options/Options.php +40 -0
- core/Rest/Rest_Helper_Cache.php +24 -0
- core/Rest/Rest_Helper_Cloudflare.php +2 -1
- core/Rest/Rest_Helper_Misc.php +1 -0
- core/Rest/Rest_Helper_Options.php +1 -1
- core/Supercacher/Supercacher_Helper.php +44 -1
- readme.txt +5 -0
- sg-cachepress.php +2 -2
- templates/browser-caching.tpl +0 -5
assets/js/optimizer.bundle.js
CHANGED
@@ -320,7 +320,7 @@ e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月
|
|
320 |
* @license See CREDITS.md
|
321 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
322 |
*/
|
323 |
-
function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,l="";return(l=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,i):""+Math.round(o)).split("."))[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<i&&(l[1]=l[1]||"",l[1]+=new Array(i-l[1].length+1).join("0")),l.join(s)}},function(e,t,n){var r=n(2),o=n(410),i=n(43);e.exports=function(e){var t={moment:e.moment,numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var a=n.displayName||n.name||"",s=i({displayName:"Localized("+a+")",componentDidMount:function(){this.boundForceUpdate=this.forceUpdate.bind(this),e.stateObserver.addListener("change",this.boundForceUpdate)},componentWillUnmount:function(){this.boundForceUpdate&&e.stateObserver.removeListener("change",this.boundForceUpdate)},render:function(){var i=o({locale:e.getLocaleSlug()},this.props,t);return r.createElement(n,i)}});return s._composedComponent=n,s}}},function(e,t,n){"use strict";t.__esModule=!0;var r="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},o=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};t.default=function(e,t,n,i){i.debug;var a=o({},n);e&&"object"===(void 0===e?"undefined":r(e))&&Object.keys(e).forEach((function(r){"_persist"!==r&&t[r]===n[r]&&(a[r]=e[r])}));0;return a}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.stateReconciler=void 0===e.stateReconciler?i.default:e.stateReconciler,(0,o.default)(e,(0,r.combineReducers)(t))};var r=n(92),o=a(n(186)),i=a(n(751));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(187),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(417)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(747),s=(o=a)&&o.__esModule?o:{default:o};i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var l=(0,s.default)(i);t.default=l}).call(this,n(115),n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.Symbol;"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable";return t}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var a=t[o];0,"function"==typeof e[a]&&(n[a]=e[a])}var s=Object.keys(n);0;var l=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:r.ActionTypes.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+r.ActionTypes.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){l=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var r=!1,o={},a=0;a<s.length;a++){var c=s[a],u=n[c],d=e[c],p=u(d,t);if(void 0===p){var f=i(c,t);throw new Error(f)}o[c]=p,r=r||p!==d}return r?o:e}};var r=n(415);o(n(130)),o(n(418));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}t.__esModule=!0,t.default=function(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var a=n[i],s=e[a];"function"==typeof s&&(o[a]=r(s,t))}return o}},function(e,t,n){"use strict";t.__esModule=!0;var r=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};t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,o,i){var s,l=e(n,o,i),c=l.dispatch,u={getState:l.getState,dispatch:function(e){return c(e)}};return s=t.map((function(e){return e(u)})),c=a.default.apply(void 0,s)(l.dispatch),r({},l,{dispatch:c})}}};var o,i=n(419),a=(o=i)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";t.__esModule=!0;var r="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},o=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};t.default=function(e,t,n,i){i.debug;var a=o({},n);e&&"object"===(void 0===e?"undefined":r(e))&&Object.keys(e).forEach((function(i){var s;"_persist"!==i&&(t[i]===n[i]&&(null===(s=n[i])||Array.isArray(s)||"object"!==(void 0===s?"undefined":r(s))?a[i]=e[i]:a[i]=o({},a[i],e[i])))}));0;return a}},function(e,t,n){"use strict";t.__esModule=!0;var r=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};t.default=function(e,t,n){0;var o=n||!1,a=(0,i.createStore)(u,c,t?t.enhancer:void 0),l=function(e){a.dispatch({type:s.REGISTER,key:e})},d=function(t,n,r){var i={type:s.REHYDRATE,payload:n,err:r,key:t};e.dispatch(i),a.dispatch(i),o&&p.getState().bootstrapped&&(o(),o=!1)},p=r({},a,{purge:function(){var t=[];return e.dispatch({type:s.PURGE,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:s.FLUSH,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:s.PAUSE})},persist:function(){e.dispatch({type:s.PERSIST,register:l,rehydrate:d})}});return p.persist(),p};var o,i=n(92),a=n(186),s=((o=a)&&o.__esModule,n(77));function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var c={registry:[],bootstrapped:!1},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case s.REGISTER:return r({},e,{registry:[].concat(l(e.registry),[t.key])});case s.REHYDRATE:var n=e.registry.indexOf(t.key),o=[].concat(l(e.registry));return o.splice(n,1),r({},e,{registry:o,bootstrapped:0===o.length});default:return e}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){(t||{}).debug;return function(t,n){if(!t)return Promise.resolve(void 0);var o=t._persist&&void 0!==t._persist.version?t._persist.version:r.DEFAULT_VERSION;if(o===n)return Promise.resolve(t);if(o>n)return Promise.resolve(t);var i=Object.keys(e).map((function(e){return parseInt(e)})).filter((function(e){return n>=e&&e>o})).sort((function(e,t){return e-t}));try{var a=i.reduce((function(t,n){return e[n](t)}),t);return Promise.resolve(a)}catch(e){return Promise.reject(e)}}};var r=n(77)},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.whitelist||null,o=n.blacklist||null;function i(e){return!(!r||-1!==r.indexOf(e))||!(!o||-1===o.indexOf(e))}return{in:function(t,n,r){return!i(n)&&e?e(t,n,r):t},out:function(e,n,r){return!i(n)&&t?t(e,n,r):e}}}},function(e,t,n){var r=n(756);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Roboto+Condensed:300,400,700|Roboto:300,300i,400,400i,500,500i,700,700i&subset=latin-ext);",""]),t.push([e.i,'/* stylelint-disable */\n\n:root {\n --royal-base: #7d5aa6;\n --royal-dark: #532f82;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #22b8d1;\n --ocean-dark: #226d7a;\n --ocean-light: #b0e0e9;\n --ocean-lighter: #e4f5fa;\n --mint-base: #2bab7f;\n --mint-dark: #1e6346;\n --mint-light: #add9c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #96ca51;\n --grassy-dark: #577635;\n --grassy-light: #d8e5b5;\n --grassy-lighter: #edf4db;\n --salmon-base: #f47b44;\n --salmon-dark: #b35227;\n --salmon-light: #f3cfbb;\n --salmon-lighter: #f8eae0;\n --sunset-base: #ee9629;\n --sunset-dark: #8e5d25;\n --sunset-light: #f0c99a;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e5b22a;\n --mango-dark: #96762e;\n --mango-light: #efe0a0;\n --mango-lighter: #f7f3da;\n --bronze-base: #cdaa72;\n --bronze-dark: #8c7653;\n --bronze-light: #ecdcc6;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f54545;\n --color-success: #6acb4c;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n:root {\n --background-main: #f8f8f8;\n --background-component-primary: #fff;\n --background-component-secondary: #f2f2f2;\n --background-grey-60: #a4a4a4;\n --background-slider: #ddd;\n --background-overlay: rgba(54, 54, 54, 0.8);\n --background-highlight: #f8f8f8;\n --backround-employee: #f2efea;\n --backround-client: #fbfaf8;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n:root {\n --typography-white: #fff;\n --typography-lightest: #ddd;\n --typography-lighter: #c2c2c2;\n --typography-light: #a4a4a4;\n --typography-dark: #666;\n --typography-darker: #444;\n --typography-darkest: #363636; }\n\n:root {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #ececec;\n --color-button-base-focus: #ddd;\n --color-button-base-hover: #ececec;\n --color-button-base-active: #ececec;\n --color-button-white: #fff;\n --color-icon-button: #858484;\n --color-editor-icon: #ddd;\n --color-disabled: #ddd;\n --border-color-outer: #ddd;\n --border-color-inner: #f2f2f2;\n --border-color-readonly: #f2f2f2;\n --border-color-focus: #ddd;\n /* Components */\n --component-background-hover: #f2f2f2;\n --component-color-hover: currentColor;\n --avatar-color: #61554c;\n --avatar-background: #d7cebf;\n --context-menu-background: var(--background-component-primary);\n --chart-color-first: var(--ocean-base);\n --chart-color-second: var(--salmon-base);\n --chart-color-third: var(--grassy-base);\n --chart-color-fourth: var(--sunset-base);\n --chart-color-fifth: var(--mint-base);\n --chart-color-sixth: var(--royal-base);\n --chart-color-seventh: var(--ocean-light);\n --chart-color-eighth: var(--sunset-light);\n --icon-color-royal: var(--royal-dark);\n --icon-color-royal-light: var(--royal-light);\n --icon-color-royal-lighter: var(--royal-lighter);\n --icon-color-ocean: var(--ocean-dark);\n --icon-color-ocean-light: var(--ocean-light);\n --icon-color-ocean-lighter: var(--ocean-lighter);\n --icon-color-mint: var(--mint-dark);\n --icon-color-mint-light: var(--mint-light);\n --icon-color-mint-lighter: var(--mint-lighter);\n --icon-color-grassy: var(--grassy-dark);\n --icon-color-grassy-light: var(--grassy-light);\n --icon-color-grassy-lighter: var(--grassy-lighter);\n --icon-color-salmon: var(--salmon-dark);\n --icon-color-salmon-light: var(--salmon-light);\n --icon-color-salmon-lighter: var(--salmon-lighter);\n --icon-color-sunset: var(--sunset-dark);\n --icon-color-sunset-light: var(--sunset-light);\n --icon-color-sunset-lighter: var(--sunset-lighter);\n --icon-color-mango: var(--mango-dark);\n --icon-color-mango-light: var(--mango-light);\n --icon-color-mango-lighter: var(--mango-lighter);\n --icon-color-bronze: var(--bronze-dark);\n --icon-color-bronze-light: var(--bronze-light);\n --icon-color-bronze-lighter: var(--bronze-lighter);\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: #fef5ec;\n --loader-background: rgba(255, 255, 255, 1);\n --drawer-background: #474340;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #474340;\n --header-background: #343230;\n --footer-background: #343230;\n --navigation-background: #474340;\n --navigation-background-hover: #343230;\n --navigation-list-color: #343230;\n --navigation-list-color-selected: #343230;\n --navigation-list-background: #d7cebf;\n --navigation-list-background-opened: #343230;\n --navigation-list-background-hovered: #343230;\n --navigation-list-background-selected: #d7cebf;\n --navigation-icon-color: #c1aa95;\n --navigation-icon-color-selected: #c1aa95;\n --navigation-separator-background: #343230;\n --navigation-button-color: #c1aa95;\n --header-navigation-color: #343230;\n --header-navigation-color-selected: #343230;\n --header-navigation-background: #f7f5eb;\n --header-navigation-background-hover: #dfdccb;\n --header-navigation-background-selected: #e9e7db;\n --header-navigation-icon-color: currentColor;\n --tooltip-color: #fff;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: rgba(54, 54, 54, 0.9); }\n\n:root {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-dark {\n --royal-base: #b37ef1;\n --royal-dark: #ab83c4;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #7cd4e4;\n --ocean-dark: #3aa6ba;\n --ocean-light: #70d7e2;\n --ocean-lighter: #e4f5fa;\n --mint-base: #5ccfa7;\n --mint-dark: #4bb892;\n --mint-light: #8de0c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #a6d367;\n --grassy-dark: #94ae59;\n --grassy-light: #c2ed8e;\n --grassy-lighter: #edf4db;\n --salmon-base: #f68f61;\n --salmon-dark: #da764a;\n --salmon-light: #f1a98c;\n --salmon-lighter: #f8eae0;\n --sunset-base: #efae5b;\n --sunset-dark: #cb934a;\n --sunset-light: #fccf74;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e9bd4a;\n --mango-dark: #a68a4d;\n --mango-light: #f1e5ae;\n --mango-lighter: #f7f3da;\n --bronze-base: #d4b787;\n --bronze-dark: #9d8a6d;\n --bronze-light: #efe1ce;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f66161;\n --color-success: #80d367;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-dark {\n --background-main: #121212;\n --background-component-primary: #363636;\n --background-component-secondary: #444;\n --background-grey-60: #a4a4a4;\n --background-slider: #858484;\n --background-overlay: rgba(102, 102, 102, 0.95);\n --background-highlight: #444;\n --backround-employee: #666;\n --backround-client: #444;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-dark {\n --typography-white: #fff;\n --typography-lightest: #858484;\n --typography-lighter: #c2c2c2;\n --typography-light: #a4a4a4;\n --typography-dark: #ececec;\n --typography-darker: #f2f2f2;\n --typography-darkest: #fff; }\n\n.sg-theme-dark {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #666;\n --color-button-base-focus: #858484;\n --color-button-base-hover: #666;\n --color-button-base-active: #666;\n --color-button-white: #444;\n --color-icon-button: #ddd;\n --color-editor-icon: #ddd;\n --color-disabled: #888;\n --border-color-outer: #858484;\n --border-color-inner: #444;\n --border-color-readonly: #444;\n --border-color-focus: #fff;\n /* Components */\n --component-background-hover: #444;\n --component-color-hover: currentColor;\n --avatar-color: #444;\n --avatar-background: #ddd;\n --context-menu-background: #666;\n --chart-color-first: var(--ocean-base);\n --chart-color-second: var(--salmon-base);\n --chart-color-third: var(--grassy-base);\n --chart-color-fourth: var(--sunset-base);\n --chart-color-fifth: var(--mint-base);\n --chart-color-sixth: var(--royal-base);\n --chart-color-seventh: var(--ocean-light);\n --chart-color-eighth: var(--sunset-light);\n --icon-color-royal: var(--royal-dark);\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: var(--ocean-dark);\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: var(--mint-dark);\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: var(--grassy-dark);\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: var(--salmon-dark);\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: var(--sunset-dark);\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: var(--mango-dark);\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: var(--bronze-dark);\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: var(--background-component-secondary);\n --loader-background: rgba(54, 54, 54, 1);\n --drawer-background: #363636;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #858484;\n --header-background: #363636;\n --footer-background: #363636;\n --navigation-background: #363636;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #fff;\n --navigation-list-background: #444;\n --navigation-list-background-opened: #363636;\n --navigation-list-background-hovered: #666;\n --navigation-list-background-selected: #858484;\n --navigation-icon-color: #ddd;\n --navigation-icon-color-selected: #ddd;\n --navigation-separator-background: #ddd;\n --navigation-button-color: #ddd;\n --header-navigation-color: #fff;\n --header-navigation-color-selected: #fff;\n --header-navigation-background: #444;\n --header-navigation-background-hover: #363636;\n --header-navigation-background-selected: #858484;\n --header-navigation-icon-color: #ddd;\n --tooltip-color: #fff;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: #666; }\n\n.sg-theme-dark {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-hcb {\n --royal-base: #d0abfd;\n --royal-dark: #7d5aa6;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #6adae6;\n --ocean-dark: #22b8d1;\n --ocean-light: #b0e0e9;\n --ocean-lighter: #e4f5fa;\n --mint-base: #2bab7f;\n --mint-dark: #1e6346;\n --mint-light: #add9c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #96ca51;\n --grassy-dark: #577635;\n --grassy-light: #d8e5b5;\n --grassy-lighter: #edf4db;\n --salmon-base: #f47b44;\n --salmon-dark: #b35227;\n --salmon-light: #f3cfbb;\n --salmon-lighter: #f8eae0;\n --sunset-base: #ee9629;\n --sunset-dark: #8e5d25;\n --sunset-light: #f0c99a;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e5b22a;\n --mango-dark: #96762e;\n --mango-light: #efe0a0;\n --mango-lighter: #f7f3da;\n --bronze-base: #cdaa72;\n --bronze-dark: #343230;\n --bronze-light: #ecdcc6;\n --bronze-lighter: #e2dbd5;\n --color-primary: #ef9a78;\n --color-primary-hovered: #f57b45;\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f98f8f;\n --color-success: #a6e094;\n --color-warning: #f4c68b;\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-hcb {\n --background-main: #000;\n --background-component-primary: #000;\n --background-component-secondary: #000;\n --background-grey-60: #000;\n --background-slider: #fff;\n --background-overlay: rgba(102, 102, 102, 0.95);\n --background-highlight: #000;\n --backround-employee: #000;\n --backround-client: #000;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-hcb {\n --typography-white: #fff;\n --typography-lightest: #fff;\n --typography-lighter: #fff;\n --typography-light: #fff;\n --typography-dark: #fff;\n --typography-darker: #fff;\n --typography-darkest: #fff; }\n\n.sg-theme-hcb {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #666;\n --color-button-base-focus: #858484;\n --color-button-base-hover: #666;\n --color-button-base-active: #666;\n --color-button-white: #000;\n --color-icon-button: #fff;\n --color-editor-icon: #fff;\n --color-disabled: #888;\n --border-color-outer: #ececec;\n --border-color-inner: #ececec;\n --border-color-readonly: #444;\n --border-color-focus: #fff;\n --high-contrast-foreground: #fff;\n --high-contrast-background: #000;\n /* Components */\n --component-background-hover: #1797ae;\n --component-color-hover: currentColor;\n --avatar-color: #000;\n --avatar-background: #fff;\n --context-menu-background: #000;\n --icon-color-royal: #ececec;\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: #ececec;\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: #ececec;\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: #ececec;\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: #ececec;\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: #ececec;\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: #ececec;\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: #ececec;\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: #000;\n --loader-background: rgba(0, 0, 0, 1);\n --drawer-background: #000;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #858484;\n --header-background: #000;\n --footer-background: #000;\n --navigation-background: #000;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #363636;\n --navigation-list-background: #000;\n --navigation-list-background-opened: #000;\n --navigation-list-background-hovered: #444;\n --navigation-list-background-selected: #fff;\n --navigation-icon-color: #fff;\n --navigation-icon-color-selected: #000;\n --navigation-separator-background: #fff;\n --navigation-button-color: #fff;\n --header-navigation-color: #fff;\n --header-navigation-color-selected: #000;\n --header-navigation-background: #000;\n --header-navigation-background-hover: #444;\n --header-navigation-background-selected: #fff;\n --header-navigation-icon-color: #fff;\n --tooltip-color: #fff;\n --tooltip-background-light: #000;\n --tooltip-background-dark: #000; }\n\n.sg-theme-hcb {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-hcl {\n --royal-base: #4f2d61;\n --royal-dark: #362143;\n --royal-light: #674f76;\n --royal-lighter: #ebe0ef;\n --ocean-base: #166e7e;\n --ocean-dark: #0e5b68;\n --ocean-light: #347d85;\n --ocean-lighter: #e4f5fa;\n --mint-base: #26775b;\n --mint-dark: #1a674c;\n --mint-light: #347d85;\n --mint-lighter: #e1f1e7;\n --grassy-base: #5a7a2e;\n --grassy-dark: #4d6024;\n --grassy-light: #6e8549;\n --grassy-lighter: #edf4db;\n --salmon-base: #8e6025;\n --salmon-dark: #744d19;\n --salmon-light: #977737;\n --salmon-lighter: #f8eae0;\n --sunset-base: #934a29;\n --sunset-dark: #7f3819;\n --sunset-light: #8f5c48;\n --sunset-lighter: #f6e8d5;\n --mango-base: #896b19;\n --mango-dark: #5a471c;\n --mango-light: #8f8660;\n --mango-lighter: #f7f3da;\n --bronze-base: #7b6644;\n --bronze-dark: #544732;\n --bronze-light: #8e8477;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #932929;\n --color-success: #407a2e;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-hcl {\n --background-main: #fff;\n --background-component-primary: #fff;\n --background-component-secondary: #fff;\n --background-grey-60: #fff;\n --background-slider: #000;\n --background-overlay: rgba(255, 255, 255, 0.95);\n --background-highlight: #fff;\n --backround-employee: #fff;\n --backround-client: #fff;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-hcl {\n --typography-white: #000;\n --typography-lightest: #000;\n --typography-lighter: #000;\n --typography-light: #000;\n --typography-dark: #000;\n --typography-darker: #000;\n --typography-darkest: #000; }\n\n.sg-theme-hcl {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #212121;\n --color-scrollbar-thumb-hover: #000;\n --color-icon-button: #000;\n --color-editor-icon: #000;\n --color-disabled: #888;\n --border-color-outer: #000;\n --border-color-inner: #000;\n --border-color-readonly: #ddd;\n --border-color-focus: #000;\n --high-contrast-foreground: #000;\n --high-contrast-background: #fff;\n /* Components */\n --component-background-hover: #1797ae;\n --component-color-hover: currentColor;\n --avatar-color: #fff;\n --avatar-background: #000;\n --context-menu-background: #fff;\n --icon-color-royal: #000;\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: #000;\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: #000;\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: #000;\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: #000;\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: #000;\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: #000;\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: #000;\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --loader-background: rgba(255, 255, 255, 1);\n --drawer-background: #fff;\n --drawer-icon-color: #000;\n --drawer-icon-background-hover: #858484;\n --header-background: #fff;\n --footer-background: #fff;\n --navigation-background: #fff;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #fff;\n --navigation-list-background: #fff;\n --navigation-list-background-opened: #fff;\n --navigation-list-background-hovered: #ddd;\n --navigation-list-background-selected: #000;\n --navigation-icon-color: #000;\n --navigation-icon-color-selected: #fff;\n --navigation-separator-background: #000;\n --navigation-button-color: #000;\n --header-navigation-color: #000;\n --header-navigation-color-selected: #fff;\n --header-navigation-background: #fff;\n --header-navigation-background-hover: #ddd;\n --header-navigation-background-selected: #000;\n --header-navigation-icon-color: #000;\n --tooltip-color: #000;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: #fff; }\n\n.sg-theme-hcl {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n /* custom scrollbar styles TODO: edit colors with opacity, when provided */\n scrollbar-face-color: var(--color-scrollbar);\n scrollbar-highlight-color: var(--color-scrollbar);\n scrollbar-shadow-color: var(--color-scrollbar);\n scrollbar-track-color: var(--color-scrollbar);\n -webkit-overflow-scrolling: touch; }\n\n::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: var(--color-scrollbar); }\n\n::-webkit-scrollbar-thumb {\n background-color: var(--color-scrollbar-thumb);\n border-radius: 10px; }\n\n::-webkit-scrollbar-thumb:hover {\n background-color: var(--color-scrollbar-thumb-hover); }\n\n::-webkit-scrollbar-corner {\n background-color: var(--color-scrollbar); }\n\nheader,\nnav,\nsection,\nmain,\narticle,\naside,\nfigure,\ntoolbar,\niframe,\nobject,\nsvg {\n display: block; }\n\nhtml {\n height: 100%;\n background: #fff;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n overflow: hidden; }\n\nbody {\n height: 100%;\n color: var(--typography-darkest);\n background: var(--background-main);\n font: 400 14px/18px "Open Sans", Arial, Helvetica, sans-serif;\n overflow: hidden; }\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n line-height: normal; }\n\ndl,\ndt,\ndd,\nul {\n list-style: none; }\n\nol {\n padding: 0 0 0 20px; }\n\nform,\ninput,\ntextarea,\nselect {\n resize: none; }\n\nform,\ntextarea {\n width: 100%; }\n\ninput,\ntextarea,\nselect {\n border-radius: 0; }\n input:focus,\n textarea:focus,\n select:focus {\n outline: none; }\n input[type="submit"]:focus,\n textarea[type="submit"]:focus,\n select[type="submit"]:focus {\n border: none !important; }\n\nbutton {\n outline: none;\n border-radius: 0; }\n\nimg {\n max-width: 100%;\n height: auto;\n display: block;\n border: 0; }\n\ntable {\n border-collapse: collapse; }\n\na {\n text-decoration: none;\n color: #000; }\n\n.divider {\n border-bottom: 1px solid #ECECEC; }\n\n.right--actions {\n text-align: right; }\n\n.sg-tabs__tab.sg-optimizer-tab {\n padding: 0 20px; }\n .sg-tabs__tab.sg-optimizer-tab:first-child {\n padding-left: 30px; }\n\n.sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 500px; }\n\n.sg-checkbox__input {\n display: none !important; }\n\n.sg-field-wrapper--large .sg-input-addon .sg-text-truncate {\n max-width: none !important; }\n\n.sg-text {\n word-break: break-word !important; }\n\n.sg-slider .sg-slider__labels {\n display: none; }\n\n.sg-flex.margin-top--x-small {\n margin-top: 5px; }\n\n.position--relative {\n position: relative; }\n\n.loader-image-optimization .sg-loader-message,\n.loader-image-optimization .sg-loader__message {\n max-width: none; }\n\n.sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 350px !important; }\n\n.label-wrapper--absolute {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%); }\n\n.sg-optimizer-intro-section.single .sg-carousel__indicators {\n display: none; }\n\n.feature-box--highlight {\n border-radius: 3px;\n border: 1px solid var(--border-color-outer);\n border-top: 3px solid var(--bronze-base);\n text-align: center; }\n\n@media (max-width: 800px) {\n .right--actions {\n text-align: left; } }\n\n@media (min-width: 801px) and (max-width: 1500px) {\n .sg-field-wrapper--small .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--large .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--x-large .sg-input-addon .sg-text-truncate {\n max-width: 100.8px !important; } }\n\n@media (min-width: 801px) {\n .button--fluid {\n width: 100%; } }\n\n.loader-cloudflare-optimization .sg-loader__message {\n min-width: 300px; }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t){e.exports=function(e){return null===e}},function(e,t){e.exports=function(e){return null==e}},function(e,t,n){var r=n(761),o=n(190),i=n(191),a=n(765),s=n(768),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var u=e.length;return n<0&&(n=l(u+n,0)),i(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&r(e,t,n)>-1}},function(e,t,n){var r=n(762),o=n(763),i=n(764);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(766);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(767);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(189),o=n(192),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(769),o=n(770);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(424);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(771),o=n(428),i=n(190);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(772),o=n(425),i=n(108),a=n(426),s=n(775),l=n(427),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,g=f?r(e.length,String):[],m=g.length;for(var h in e)!t&&!c.call(e,h)||f&&("length"==h||d&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,m))||g.push(h);return g}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(78),o=n(93);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(78),o=n(423),i=n(93),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(416),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(1)(e))},function(e,t,n){var r=n(417)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(428),o=n(781),i=n(425),a=n(108),s=n(190),l=n(426),c=n(429),u=n(427),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){var r=n(782),o=n(787),i=n(788),a=n(789),s=n(790),l=n(78),c=n(431),u=c(r),d=c(o),p=c(i),f=c(a),g=c(s),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case d:return"[object Map]";case p:return"[object Promise]";case f:return"[object Set]";case g:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(109)(n(60),"DataView");e.exports=r},function(e,t,n){var r=n(94),o=n(784),i=n(189),a=n(431),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},function(e,t,n){var r,o=n(785),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(60)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(109)(n(60),"Map");e.exports=r},function(e,t,n){var r=n(109)(n(60),"Promise");e.exports=r},function(e,t,n){var r=n(109)(n(60),"Set");e.exports=r},function(e,t,n){var r=n(109)(n(60),"WeakMap");e.exports=r},function(e,t,n){var r=n(792);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(187),o=n(424),i=n(108),a=n(192),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e).map((function(n){return(0,r.default)(n,e[n],t)})),a=i.default.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n));return function(e,t){return a(e,t)}};var r=a(n(422)),o=a(n(794)),i=a(n(795));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys)return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e)));return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){return t.reduce((function(e,t){return t(e,n)}),e)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=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};t.default=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if((0,p.default)(n.every(c.default)&&((0,c.default)(e)||(0,s.default)(e)),"Expected optional object followed by string action types"),(0,c.default)(e))return h([e].concat(n));return o({},m(e),h(n))};var i=f(n(188)),a=f(n(797)),s=f(n(130)),l=f(n(108)),c=f(n(191)),u=f(n(94)),d=f(n(420)),p=f(n(20));function f(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return Object.keys(e).reduce((function(t,n){var s=e[n];(0,p.default)(function(e){if((0,u.default)(e))return!0;if((0,l.default)(e)){var t=r(e,2),n=t[0],o=void 0===n?i.default:n,a=t[1];return(0,u.default)(o)&&(0,u.default)(a)}return!1}(s),"Expected function, undefined, or array with payload and meta functions for "+n);var c=(0,l.default)(s)?d.default.apply(void 0,[n].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(s))):(0,d.default)(n,s);return o({},t,g({},(0,a.default)(n),c))}),{})}function h(e){return m(e.reduce((function(e,t){return o({},e,g({},t,i.default))}),{}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:(?:1ST|2ND|3RD|(?![123])\dTH)\b)|\d*(?:(?:1st|2nd|3rd|(?![123])\dth)\b)|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g;function o(e){return e.match(r).reduce((function(e,t,n){return e+(0===n?t.toLowerCase():t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())}),"")}t.default=function(e){return e.split("/").map(o).join("/")}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(92),s=n(411),l=n(799),c=n(803),u=n(806),d=n(807),p=n(814),f=l.default(),g={key:window.optimizerData.home_url,storage:c.default,stateReconciler:u.default,whitelist:["isAnalysing","device"]},m=s.persistReducer(g,d.default);t.store=a.createStore(m,a.applyMiddleware(f)),t.persistor=s.persistStore(t.store),f.run(p.default),o=n(0).default,i=n(0).leaveModule,o&&(o.register(f,"sagaMiddleware","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),o.register(g,"persistConfig","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),o.register(m,"persistedReducer","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.effects=t.CANCEL=t.delay=t.throttle=t.takeLatest=t.takeEvery=t.buffers=t.channel=t.eventChannel=t.END=t.runSaga=void 0;var r=n(800);Object.defineProperty(t,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(132);Object.defineProperty(t,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(t,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(t,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(133);Object.defineProperty(t,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(433);Object.defineProperty(t,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(t,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(52);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(t,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var l,c=n(801),u=(l=c)&&l.__esModule?l:{default:l},d=f(n(79)),p=f(n(802));function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=u.default,t.effects=d,t.utils=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runSaga=function(e,t){var n=t.subscribe,r=t.dispatch,i=t.getState,s=t.context,l=t.sagaMonitor,c=t.logger,u=t.onError;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var d=(0,o.uid)();l&&l.effectTriggered({effectId:d,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}});var p=(0,a.default)(e,n,(0,o.wrapSagaDispatch)(r),i,s,{sagaMonitor:l,logger:c,onError:u},d,e.name);l&&l.effectResolved(d,p);return p};var r,o=n(52),i=n(193),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=c(e,["context"]),i=void 0,u=r.sagaMonitor;u&&(u.effectTriggered=u.effectTriggered||o.noop,u.effectResolved=u.effectResolved||o.noop,u.effectRejected=u.effectRejected||o.noop,u.effectCancelled=u.effectCancelled||o.noop,u.actionDispatched=u.actionDispatched||o.noop);if(o.is.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(r.logger&&!o.is.func(r.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");r.onerror&&(o.isDev&&(0,o.log)("warn","`options.onerror` is deprecated. Use `options.onError` instead."),r.onError=r.onerror,delete r.onerror);if(r.onError&&!o.is.func(r.onError))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!o.is.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function d(e){var t=e.getState,c=e.dispatch;i=function(e,o,i){return(0,a.default)(e.apply(void 0,l(o)),d.subscribe,p,t,n,r,i,e.name)};var d=(0,s.emitter)();d.emit=(r.emitter||o.ident)(d.emit);var p=(0,o.wrapSagaDispatch)(c);return function(e){return function(t){u&&u.actionDispatched(t);var n=e(t);return d.emit(t),n}}}return d.run=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,o.check)(i,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(e,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var a=(0,o.uid)();u&&u.effectTriggered({effectId:a,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:n}});var s=i(e,n,a);return u&&u.effectResolved(a,s),s},d.setContext=function(e){(0,o.check)(e,o.is.object,(0,o.createSetContextWarning)("sagaMiddleware",e)),o.object.assign(n,e)},d};var r,o=n(52),i=n(193),a=(r=i)&&r.__esModule?r:{default:r},s=n(132);function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52);Object.defineProperty(t,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(t,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(t,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(t,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(t,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(131);Object.defineProperty(t,"asEffect",{enumerable:!0,get:function(){return o.asEffect}});var i=n(193);Object.defineProperty(t,"CHANNEL_END",{enumerable:!0,get:function(){return i.CHANNEL_END}})},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(804),i=(r=o)&&r.__esModule?r:{default:r};t.default=(0,i.default)("local")},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=(0,i.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var r,o=n(805),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";t.__esModule=!0;var r="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};function o(){}t.default=function(e){var t=e+"Storage";return function(e){if("object"!==("undefined"==typeof self?"undefined":r(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist "+e+" test";t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(e){return!1}return!0}(t)?self[t]:i};var i={getItem:o,setItem:o,removeItem:o}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(92),s=n(808),l=n(809),c=n(810),u=n(811),d=n(812),p=n(813),f=n(255),g=a.combineReducers({Environment:s.default,Options:l.default,Cache:c.default,Notifications:u.default,Report:d.default,Cloudflare:p.default,routing:f.routerReducer});t.default=g,o=n(0).default,i=n(0).leaveModule,o&&(o.register(g,"rootReducer","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/index.ts"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(51),c=n(35),u={};t.default=l.handleActions(((o={})[c.PAGE_INIT]=function(e,t){return i({},e,t.payload)},o[c.PAGE_RESIZE]=function(e,t){return i({},e,t.payload)},o),u),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),a.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),a.register(u,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16);t.default=s.handleActions(((o={})[l.fetchOptionsSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,n)},o[l.optionEnabled]=function(e,t){var n=e[t.payload.payload.option]=1;return Object.assign({},e,n)},o[l.optionDisabled]=function(e,t){var n=e[t.payload.payload.option]=0;return Object.assign({},e,n)},o[l.optionChanged]=function(e,t){var n,r=t.payload;return Object.assign({},e,((n={})[r.payload.id]=r.payload.value,n))},o[l.isLoading]=function(e,t){var n=t.payload,r=e.isLoading=Number(n);return Object.assign({},e,r)},o[l.updateExcludeListSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,{excluded_urls:n})},o[l.updateExcludesSuccess]=function(e,t){var n,r=t.payload;return Object.assign({},e,((n={})[r.type]=r.handles,n))},o),{assets:[],enable_cache:0,database_optimization:0,heartbeat_control:0,heartbeat_dashboard_interval:0,heartbeat_dashboard_status:0,heartbeat_post_interval:0,heartbeat_post_status:0,heartbeat_frontend_interval:0,heartbeat_frontend_status:0,dns_prefetch:0,dns_prefetch_urls:[],fix_insecure_content:0,autoflush_cache:0,enable_memcached:0,memcache_notice:0,memcache_crashed:0,memcache_dropin_crashed:0,ssl_enabled:0,enable_gzip_compression:0,enable_browser_caching:0,optimize_html:0,optimize_javascript:0,combine_javascript:0,combine_javascript_error:0,optimize_javascript_async:0,optimize_css:0,combine_css:0,remove_query_strings:0,disable_emojis:0,optimize_images:0,image_optimization_stopped:0,lazyload_images:0,lazyload_mobile:0,isLoading:0,lazyload_woocommerce:0,lazyload_iframes:0,lazyload_videos:0,lazyload_shortcodes:0,image_optimization_status:1,total_unoptimized_images:0,user_agent_header:0,excluded_urls:[],minify_javascript_exclude:[],combine_javascript_exclude:[],async_javascript_exclude:[],minify_css_exclude:[],combine_css_exclude:[],minify_html_exclude:[],excluded_lazy_load_classes:[],php_versions:[],current_php_version:0,php_version_manually_changed:0,multisite_permissions:{},sites_data:[],dismiss_cron_notice:0,hide_rating:0,has_images:0,combine_google_fonts:0,has_images_for_optimization:0,webp_support:0,webp_enabled:0,quality_type:"",webp_conversion_status:1,webp_quality_changed:0,has_images_for_conversion:0,total_non_converted_images:0,fonts_preload_urls:[],cloudflare_optimization_status:0,cloudflare_optimization:0,cloudflare_email:"",cloudflare_auth_key:"",cloudflare_slots_deletion:0,has_cloudflare:0}),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/options.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16);t.default=s.handleActions(((o={})[l.purgeCache]=function(e,t){t.payload;return Object.assign({},e,{cachePurged:!1})},o[l.purgeCacheSuccess]=function(e,t){t.payload;return Object.assign({},e,{cachePurged:!0})},o),{cachePurged:!0}),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cache.tsx"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var s,l,c=n(51),u=n(44),d=n(35),p={notifications:[]},f=((o={})[d.ADD_NOTIFICATION]=function(e,t){var n=t.payload,r=a(e.notifications);return r.push(n),Object.assign({},e,{notifications:r})},o[d.REMOVE_NOTIFICATION]=function(e,t){var n=t.payload,r=e.notifications;r=u.remove(e.notifications,(function(e){return e.id!==n.id}));return Object.assign({},e,{notifications:r})},o);t.default=c.handleActions(f,p),s=n(0).default,l=n(0).leaveModule,s&&(s.register(i,"__read","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(a,"__spread","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(p,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(f,"reducerMap","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),l(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16),c={report:{},isAnalysing:0,device:"desktop"};t.default=s.handleActions(((o={})[l.runAnalysisSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,{report:n,isAnalysing:0})},o[l.runAnalysisFail]=function(e,t){t.payload;return Object.assign({},e,c)},o[l.analysisisLoading]=function(e,t){t.payload;return Object.assign({},e,{isAnalysing:1})},o[l.analysisChangeDevice]=function(e,t){var n=t.payload;return Object.assign({},e,{device:n.device})},o),c),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/report.ts"),i.register(c,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/report.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16),c={isOptimizing:0,isDeauthenticating:0,cloudflareCachePurged:!0};t.default=s.handleActions(((o={})[l.runCloudflareOptimizationSuccess]=function(e,t){t.payload;return Object.assign({},e,{isOptimizing:0})},o[l.runCloudflareOptimizationFail]=function(e,t){t.payload;return Object.assign({},e,c)},o[l.cloudflareOptimizationLoading]=function(e,t){t.payload;return Object.assign({},e,{isOptimizing:1})},o[l.purgeCloudflareCache]=function(e,t){t.payload;return Object.assign({},e,{cloudflareCachePurged:!1})},o[l.purgeCloudflareCacheSuccess]=function(e,t){t.payload;return Object.assign({},e,{cloudflareCachePurged:!0})},o[l.deauthenticateSuccess]=function(e,t){t.payload;return Object.assign({},e,{isDeauthenticating:0})},o[l.isDeauthenticating]=function(e,t){t.payload;return Object.assign({},e,{isDeauthenticating:1})},o[l.deauthenticateFail]=function(e,t){t.payload;return Object.assign({},e,c)},o),c),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cloudflare.ts"),i.register(c,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cloudflare.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(815),l=n(817),c=n(818),u=n(819),d=n(820),p=n(821);function f(){return o(this,(function(e){switch(e.label){case 0:return[4,[c.default(),l.default(),d.default(),u.default(),p.default(),s.default()]];case 1:return e.sent(),[2]}}))}t.default=f,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/index.ts"),i.register(f,"sagas","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/index.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(16),u=n(35),d=n(95);function p(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,12,,14]),[4,s.put(c.cloudflareOptimizationLoading())];case 1:return r.sent(),[4,s.put(c.fetchOptionsSuccess({cloudflare_slots_deletion:0}))];case 2:return r.sent(),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/authenticate-cloudflare","POST",e.payload,{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,s.put(c.runCloudflareOptimizationSuccess(t.data))]:[3,7];case 4:return r.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 5:return r.sent(),[4,s.put(c.addNotification({id:"cloudflare-disable",type:t.success?"success":"error",message:t.data.message}))];case 6:return r.sent(),[3,11];case 7:return[4,s.put(c.runCloudflareOptimizationFail())];case 8:return r.sent(),[4,s.put(c.addNotification({id:"cloudflare-authentication-failed",type:"error",message:t.data.message}))];case 9:return r.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 10:r.sent(),r.label=11;case 11:return[3,14];case 12:return n=r.sent(),[4,s.put(c.runCloudflareOptimizationFail())];case 13:return r.sent(),console.error(""+n,n),[3,14];case 14:return[2]}}))}function f(e){var t,n;return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,10,,12]),[4,s.put(c.isDeauthenticating())];case 1:return e.sent(),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/deauthenticate-cloudflare","GET"))];case 2:return(t=e.sent()).success?[4,s.put(c.deauthenticateSuccess())]:[3,6];case 3:return e.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 4:return e.sent(),[4,s.put(c.addNotification({id:"cloudflare-deauthenticate-enable",type:t.success?"success":"error",message:t.data.message}))];case 5:return e.sent(),[3,9];case 6:return[4,s.put(c.deauthenticateFail())];case 7:return e.sent(),[4,s.put(c.addNotification({id:"cloudflare-deauthenticate-disable",type:"error",message:t.data.message}))];case 8:e.sent(),e.label=9;case 9:return[3,12];case 10:return n=e.sent(),[4,s.put(c.deauthenticateFail())];case 11:return e.sent(),console.error(""+n,n),[3,12];case 12:return[2]}}))}function g(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,5]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/purge-cloudflare-cache","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:"cloudflare-cache-purged",type:"success",message:l.translate("Cloudflare Cache Successfully Purged")}})];case 2:return t.sent(),[4,s.put(c.purgeCloudflareCacheSuccess())];case 3:return t.sent(),[3,5];case 4:return e=t.sent(),console.error(""+e,e),[3,5];case 5:return[2]}}))}function m(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.PURGE_CLOUDFLARE_CACHE,g)];case 1:return e.sent(),[4,s.takeLatest(u.AUTHENTICATE,p)];case 2:return e.sent(),[4,s.takeLatest(u.DEAUTHENTICATE,f)];case 3:return e.sent(),[2]}}))}t.default=m,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(p,"handleAuthenticate","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(f,"handleDeauthenticate","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(g,"handeCloudflareCachePurge","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(m,"cloudflare","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){!function(e){"use strict";var t="URLSearchParams"in self,n="Symbol"in self&&"iterator"in Symbol,r="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in self,i="ArrayBuffer"in self;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){var n;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&r&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=f(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=l(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[l(e)]},d.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},d.prototype.set=function(e,t){this.map[l(e)]=c(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),u(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),u(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),u(e)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},h.call(b.prototype),h.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];x.redirect=function(e,t){if(-1===v.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},e.DOMException=self.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function M(t,n){return new Promise((function(o,i){var a=new b(t,n);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;o(new x(r,n))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&r&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}M.polyfill=!0,self.fetch||(self.fetch=M,self.Headers=d,self.Request=b,self.Response=x),e.Headers=d,e.Request=b,e.Response=x,e.fetch=M,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(79),a=n(10),s=n(16);window.optimizerData=window.optimizerData||{};var l,c,u=n(35),d=n(95);function p(){var e,t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/fetch-options","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return void 0!==(e=r.sent())?[3,3]:[4,i.put(s.addNotification({id:"fetchoptionserror",type:"error",title:a.translate("Could not connect to the WordPress REST API"),message:a.translate("Either a security plugin, custom function or rules in your .htaccess file is preventing the WordPress REST API from working properly. SG Optimizer is using it to store its options and other functionalities so please make sure it works properly.")}))];case 2:r.sent(),r.label=3;case 3:return[4,i.call(d.mainApi("https://updates.sgvps.net/supported-versions.json","GET",{},{},!1))];case 4:return t=r.sent(),e.data.php_versions=t,e.data.current_php_version=window.optimizerData.php_version,e.data.php_version_manually_changed=parseInt(window.optimizerData.is_php_changed),[4,i.put(s.fetchOptionsSuccess(e.data))];case 5:return r.sent(),[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function f(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-option","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"enable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function g(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-option","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"disable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function m(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-multisite-optimization","POST",{blog_id:e.payload.blogId,setting:"enable_"+e.payload.setting+"_optimization"},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success||!t.data.message?[3,3]:[4,i.put(s.addNotification({id:"bulk_error_message",type:"error",message:t.data.message}))];case 2:return r.sent(),[3,5];case 3:return[4,i.put(s.fetchOptions())];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function h(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-multisite-optimization","POST",{blog_id:e.payload.blogId,setting:"disable_"+e.payload.setting+"_optimization"},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success||!t.data.message.lenght?[3,3]:[4,i.put(s.addNotification({id:"bulk_error_message",type:"error",message:t.data.message}))];case 2:return r.sent(),[3,5];case 3:return[4,i.put(s.fetchOptions())];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function y(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-memcache"))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 4:return r.sent(),[3,6];case 5:return n=r.sent(),console.error(""+n,n),[3,6];case 6:return[2]}}))}function b(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-memcache"))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 4:return r.sent(),[3,6];case 5:return n=r.sent(),console.error(""+n,n),[3,6];case 6:return[2]}}))}function _(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return[4,i.put(s.isLoading(!0))];case 1:r.sent(),r.label=2;case 2:return r.trys.push([2,8,,9]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-ssl","POST",{option_key:"siteground_optimizer_"+e.payload.option},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[4,i.put(s.isLoading(!1))];case 6:return r.sent(),[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 7:return r.sent(),[3,9];case 8:return n=r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function x(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return[4,i.put(s.isLoading(!0))];case 1:r.sent(),r.label=2;case 2:return r.trys.push([2,8,,9]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-ssl","POST",{option_key:"siteground_optimizer_"+e.payload.option},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[4,i.put(s.isLoading(!1))];case 6:return r.sent(),[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 7:return r.sent(),[3,9];case 8:return n=r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function v(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/update-excluded-urls","POST",{excluded_urls:JSON.stringify(e.payload)},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,i.put(s.updateExcludeListSuccess(t.data))];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function M(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/update-exclude-list","POST",{type:e.payload.type,handle:e.payload.handle},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,i.put(s.updateExcludesSuccess({type:e.payload.type,handles:t.handles}))];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function w(e){var t,n;return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/hide-rating"))];case 1:return e.sent(),t={hide_rating:1},[4,i.put(s.fetchOptionsSuccess(t))];case 2:return e.sent(),[3,4];case 3:return n=e.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function z(e){var t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/change-option","POST",{option_key:"siteground_optimizer_"+e.payload.id,value:e.payload.value},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return n.sent().success?[4,i.put(s.optionChanged(e))]:[3,3];case 2:n.sent(),n.label=3;case 3:return[3,5];case 4:return t=n.sent(),console.error(""+t,t),[3,5];case 5:return[2]}}))}function S(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-database-optimization","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"enable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function L(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-database-optimization","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"disable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function A(){return o(this,(function(e){switch(e.label){case 0:return[4,i.takeLatest(u.ENABLE_OPTION,f)];case 1:return e.sent(),[4,i.takeLatest(u.DISABLE_OPTION,g)];case 2:return e.sent(),[4,i.takeLatest(u.ENABLE_BLOG_SETTINGS,m)];case 3:return e.sent(),[4,i.takeLatest(u.DISABLE_BLOG_SETTINGS,h)];case 4:return e.sent(),[4,i.takeLatest(u.FETCH_OPTIONS,p)];case 5:return e.sent(),[4,i.takeLatest(u.UPDATE_EXCLUDE_LIST,v)];case 6:return e.sent(),[4,i.takeLatest(u.UPDATE_EXCLUDES,M)];case 7:return e.sent(),[4,i.takeLatest(u.ENABLE_MEMCACHE,y)];case 8:return e.sent(),[4,i.takeLatest(u.DISABLE_MEMCACHE,b)];case 9:return e.sent(),[4,i.takeLatest(u.ENABLE_SSL,_)];case 10:return e.sent(),[4,i.takeLatest(u.DISABLE_SSL,x)];case 11:return e.sent(),[4,i.takeLatest(u.HIDE_RATING,w)];case 12:return e.sent(),[4,i.takeLatest(u.CHANGE_OPTION,z)];case 13:return e.sent(),[4,i.takeLatest(u.ENABLE_DATABASE_OPTIMIZATION,S)];case 14:return e.sent(),[4,i.takeLatest(u.DISABLE_DATABASE_OPTIMIZATION,L)];case 15:return e.sent(),[2]}}))}t.default=A,l=n(0).default,c=n(0).leaveModule,l&&(l.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(p,"handleFetchOptions","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(f,"handleOptionEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(g,"handleOptionDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(m,"handleBlogSettingsEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(h,"handleBlogSettingsDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(y,"handleMemcacheEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(b,"handleMemcacheDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(_,"handleSslEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(x,"handleSslDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(v,"handleUpdateExcludeList","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(M,"handleUpdateExcludes","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(w,"handleHideRating","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(z,"handleChangeOption","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(S,"handleDatabaseOptimizationEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(L,"handleDatabaseOptimizationDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(A,"options","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(16),u=n(35),d=n(95);function p(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,5]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/purge-cache","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:"cache-purged",type:"success",message:l.translate("Dynamic Cache Successfully Purged")}})];case 2:return t.sent(),[4,s.put(c.purgeCacheSuccess())];case 3:return t.sent(),[3,5];case 4:return e=t.sent(),console.error(""+e,e),[3,5];case 5:return[2]}}))}function f(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/test-url-cache","POST",{url:window.optimizerData.home_url+e.payload},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:e.payload,type:t.data.cached?"success":"error",message:t.data.cached?"The URL is cached":"The URL is not cached"}})];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function g(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.PURGE_CACHE,p)];case 1:return e.sent(),[4,s.takeLatest(u.TEST_URL,f)];case 2:return e.sent(),[2]}}))}t.default=g,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(p,"handeCachePurge","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(f,"handleTestUrl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(g,"cache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(16),c=n(35),u=n(95);function d(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,7,,9]),[4,s.put(l.analysisisLoading())];case 1:return r.sent(),[4,s.call(u.mainApi(window.optimizerData.rest_base+"/run-analysis","POST",e.payload,{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 2:return(t=r.sent()).success?[4,s.put(l.runAnalysisSuccess(t.data))]:[3,4];case 3:return r.sent(),[3,6];case 4:return[4,s.put(l.runAnalysisFail())];case 5:r.sent(),r.label=6;case 6:return[3,9];case 7:return n=r.sent(),[4,s.put(l.runAnalysisFail())];case 8:return r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function p(e){return o(this,(function(t){switch(t.label){case 0:return[4,s.put({type:c.ADD_NOTIFICATION,payload:{id:e.type,type:"error",message:"We failed to connect to Google servers, please try later!"}})];case 1:return t.sent(),[2]}}))}function f(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(c.RUN_ANALYSIS,d)];case 1:return e.sent(),[4,s.takeLatest(c.RUN_ANALYSIS_FAIL,p)];case 2:return e.sent(),[4,s.takeLatest(c.ANALYSIS_CHANGE_DEVICE,l.analysisChangeDevice)];case 3:return e.sent(),[2]}}))}t.default=f,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(d,"handleRunAnalysis","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(p,"handleRunAnalysisFail","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(f,"report","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(16),c=n(95),u=n(35);function d(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/check-image-optimizing-status?"+ +(new Date).getTime()))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function p(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/optimize-images"))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function f(){var e,t;return o(this,(function(n){switch(n.label){case 0:e={has_images_for_optimization:1},n.label=1;case 1:return n.trys.push([1,4,,5]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/reset-images-optimization"))];case 2:return n.sent(),[4,s.put(l.fetchOptionsSuccess(e))];case 3:return n.sent(),[3,5];case 4:return t=n.sent(),console.error(""+t,t),[3,5];case 5:return[2]}}))}function g(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/stop-images-optimization"))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function m(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.CHECK_IMAGE_OPTIMIZATION_STATUS,d)];case 1:return e.sent(),[4,s.takeLatest(u.INIT_IMAGES_OPTIMIZATION,p)];case 2:return e.sent(),[4,s.takeLatest(u.STOP_IMAGES_OPTIMIZATION,g)];case 3:return e.sent(),[4,s.takeLatest(u.RESET_IMAGES_OPTIMIZATION,f)];case 4:return e.sent(),[2]}}))}t.default=m,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(d,"handleCheckImageOptimizationStatus","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(p,"handleInitImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(f,"handleResetImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(g,"handleStopImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(m,"imageOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(95),u=n(16),d=n(35);function p(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/delete-webp-files","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:d.ADD_NOTIFICATION,payload:{id:"webp-files-deleted",type:"success",message:l.translate("WebP Files Successfully Deleted")}})];case 2:return t.sent(),[3,4];case 3:return e=t.sent(),console.error(""+e,e),[3,4];case 4:return[2]}}))}function f(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/generate-webp-files"))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function g(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/stop-webp-conversion"))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function m(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/check-webp-conversion-status?"+ +(new Date).getTime()))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function h(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(d.DELETE_WEBP_FILES,p)];case 1:return e.sent(),[4,s.takeLatest(d.GENERATE_WEBP_FILES,f)];case 2:return e.sent(),[4,s.takeLatest(d.STOP_WEBP_CONVERSION,g)];case 3:return e.sent(),[4,s.takeLatest(d.CHECK_WEBP_CONVERSION_STATUS,m)];case 4:return e.sent(),[2]}}))}t.default=h,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(p,"handleDeleteWebpFiles","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(f,"handleGenerateWebpFiles","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(g,"handleStopWebpConversion","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(m,"handleCheckWebpConversionStatus","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(h,"cache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(258),d=n(44),p=n(838),f=n(1143),g=n(1151),m=n(1152),h=n(1160),y=n(1161),b=n(1162),_=n(1166),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e={supercacher:p.default,environment:f.default,frontend:g.default,images:m.default,global:h.default,defaults:y.default,analytics:b.default,cloudflare:_.default};return l.createElement(c.Provider,{store:this.props.store},l.createElement(u.Router,{history:this.props.history,key:Math.random()},l.createElement(l.Fragment,null,l.createElement(u.Redirect,{exact:!0,from:"/",to:Object.keys(window.optimizerData.tabs)[0]}),d.map(window.optimizerData.tabs,(function(t,n){return l.createElement(u.Route,{key:Math.random(),path:n,component:e[n]})})))))},t}(l.Component);t.default=x,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/root/index.tsx"),a.register(x,"Root","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/root/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(824);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(45);t.__esModule=!0,t.createProvider=l,t.default=void 0;var o=r(n(434)),i=n(2),a=r(n(23)),s=n(435);r(n(194));function l(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){(0,o.default)(a,t);var r=a.prototype;function a(n,r){var o;return(o=t.call(this,n,r)||this)[e]=n.store,o}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return i.Children.only(this.props.children)},a}(i.Component);return r.propTypes={store:s.storeShape.isRequired,children:a.default.element.isRequired},r.childContextTypes=((t={})[e]=s.storeShape.isRequired,t[n]=s.subscriptionShape,t),r}var c=l();t.default=c},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";var r=n(437),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var o=f(n);o&&o!==g&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),h=0;h<a.length;++h){var y=a[h];if(!(i[y]||r&&r[y]||m&&m[y]||s&&s[y])){var b=p(n,y);try{c(t,y,b)}catch(e){}}}}return t}},function(e,t,n){"use strict";
|
324 |
/** @license React v16.13.1
|
325 |
* react-is.production.min.js
|
326 |
*
|
@@ -333,4 +333,4 @@ function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,i
|
|
333 |
* http://hammerjs.github.io/
|
334 |
*
|
335 |
* Copyright (c) 2016 Jorik Tangelder;
|
336 |
-
* Licensed under the MIT license */!function(o,i,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d=Math.round,p=Math.abs,f=Date.now;function g(e,t,n){return setTimeout(v(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(h(e,n[t],n),!0)}function h(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function y(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var b=y((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&void 0===e[r[o]])&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),_=y((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function x(e,t,n){var r,o=t.prototype;(r=e.prototype=Object.create(o)).constructor=e,r._super=o,n&&l(r,n)}function v(e,t){return function(){return e.apply(t,arguments)}}function M(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function w(e,t){return void 0===e?t:e}function z(e,t,n){h(O(t),(function(t){e.addEventListener(t,n,!1)}))}function S(e,t,n){h(O(t),(function(t){e.removeEventListener(t,n,!1)}))}function L(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function A(e,t){return e.indexOf(t)>-1}function O(e){return e.trim().split(/\s+/g)}function k(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function E(e,t,n){for(var r=[],o=[],i=0;i<e.length;){var a=t?e[i][t]:e[i];k(o,a)<0&&r.push(e[i]),o[i]=a,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function N(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i<c.length;){if((r=(n=c[i])?n+o:t)in e)return r;i++}}var j=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var P="ontouchstart"in o,C=void 0!==N(o,"PointerEvent"),W=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),I=["x","y"],R=["clientX","clientY"];function Y(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){M(e.options.enable,[e])&&n.handler(t)},this.init()}function q(e,t,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&t&&r-o==0,a=12&t&&r-o==0;n.isFirst=!!i,n.isFinal=!!a,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,o=r.length;n.firstInput||(n.firstInput=H(t));o>1&&!n.firstMultiple?n.firstMultiple=H(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,l=t.center=B(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Q(s,l),t.distance=X(s,l),function(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}(n,t),t.offsetDirection=U(t.deltaX,t.deltaY);var c=F(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,t.scale=a?(u=a.pointers,d=r,X(d[0],d[1],R)/X(u[0],u[1],R)):1,t.rotation=a?function(e,t){return Q(t[1],t[0],R)+Q(e[1],e[0],R)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,o,i,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(s>25||void 0===a.velocity)){var l=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,u=F(s,l,c);r=u.x,o=u.y,n=p(u.x)>p(u.y)?u.x:u.y,i=U(l,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}(n,t);var u,d;var g=e.element;L(t.srcEvent.target,g)&&(g=t.srcEvent.target);t.target=g}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function H(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:d(e.pointers[n].clientX),clientY:d(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:B(t),deltaX:e.deltaX,deltaY:e.deltaY}}function B(e){var t=e.length;if(1===t)return{x:d(e[0].clientX),y:d(e[0].clientY)};for(var n=0,r=0,o=0;o<t;)n+=e[o].clientX,r+=e[o].clientY,o++;return{x:d(n/t),y:d(r/t)}}function F(e,t,n){return{x:t/e||0,y:n/e||0}}function U(e,t){return e===t?1:p(e)>=p(t)?e<0?2:4:t<0?8:16}function X(e,t,n){n||(n=I);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function Q(e,t,n){n||(n=I);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}Y.prototype={handler:function(){},init:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(D(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4};function V(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,Y.apply(this,arguments)}x(V,Y,{handler:function(e){var t=G[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:"touch",3:"pen",4:"mouse",5:"kinect"},$="pointerdown",Z="pointermove pointerup pointercancel";function ee(){this.evEl=$,this.evWin=Z,Y.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&($="MSPointerDown",Z="MSPointerMove MSPointerUp MSPointerCancel"),x(ee,Y,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),o=K[r],i=J[e.pointerType]||e.pointerType,a="touch"==i,s=k(t,e.pointerId,"pointerId");1&o&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&o&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Y.apply(this,arguments)}function re(e,t){var n=T(e.touches),r=T(e.changedTouches);return 12&t&&(n=E(n.concat(r),"identifier",!0)),[n,r]}x(ne,Y,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var oe={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ie(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},Y.apply(this,arguments)}function ae(e,t){var n=T(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=T(e.changedTouches),s=[],l=this.target;if(i=n.filter((function(e){return L(e.target,l)})),1===t)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),12&t&&delete r[a[o].identifier],o++;return s.length?[E(i.concat(s),"identifier",!0),s]:void 0}x(ie,Y,{handler:function(e){var t=oe[e.type],n=ae.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});function se(){Y.apply(this,arguments);var e=v(this.handler,this);this.touch=new ie(this.manager,e),this.mouse=new V(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function le(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ce.call(this,t)):12&e&&ce.call(this,t)}function ce(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ue(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(t-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}x(se,Y,{handler:function(e,t,n){var r="touch"==n.pointerType,o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)le.call(this,t,n);else if(o&&ue.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var de=N(u.style,"touchAction"),pe=void 0!==de,fe=function(){if(!pe)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}();function ge(e,t){this.manager=e,this.set(t)}ge.prototype={set:function(e){"compute"==e&&(e=this.compute()),pe&&this.manager.element.style&&fe[e]&&(this.manager.element.style[de]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return h(this.manager.recognizers,(function(t){M(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(A(e,"none"))return"none";var t=A(e,"pan-x"),n=A(e,"pan-y");if(t&&n)return"none";if(t||n)return t?"pan-x":"pan-y";if(A(e,"manipulation"))return"manipulation";return"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,o=A(r,"none")&&!fe.none,i=A(r,"pan-y")&&!fe["pan-y"],a=A(r,"pan-x")&&!fe["pan-x"];if(o){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}if(!a||!i)return o||i&&6&n||a&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};function me(e){this.options=l({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function he(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ye(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function be(e,t){var n=t.manager;return n?n.get(e):e}function _e(){me.apply(this,arguments)}function xe(){_e.apply(this,arguments),this.pX=null,this.pY=null}function ve(){_e.apply(this,arguments)}function Me(){me.apply(this,arguments),this._timer=null,this._input=null}function we(){_e.apply(this,arguments)}function ze(){_e.apply(this,arguments)}function Se(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Le(e,t){return(t=t||{}).recognizers=w(t.recognizers,Le.defaults.preset),new Ae(e,t)}me.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=be(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=be(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===k(t,e=be(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=be(e,this);var t=k(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+he(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+he(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!M(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},x(_e,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,o=this.attrTest(e);return r&&(8&n||!o)?16|t:r||o?4&n?8|t:2&t?4|t:2:32}}),x(xe,_e,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,o=e.direction,i=e.deltaX,a=e.deltaY;return o&t.direction||(6&t.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(o=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=o,n&&r>t.threshold&&o&t.direction},attrTest:function(e){return _e.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ye(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),x(ve,_e,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),x(Me,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!o)this.reset();else if(1&e.eventType)this.reset(),this._timer=g((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),x(we,_e,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),x(ze,_e,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return xe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ye(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),x(Se,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||X(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=g((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=g((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Le.VERSION="2.0.7",Le.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[we,{enable:!1}],[ve,{enable:!1},["rotate"]],[ze,{direction:6}],[xe,{direction:6},["swipe"]],[Se],[Se,{event:"doubletap",taps:2},["tap"]],[Me]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Ae(e,t){var n;this.options=l({},Le.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(C?ee:W?ie:P?se:V))(n,q),this.touchAction=new ge(this,this.options.touchAction),Oe(this,!0),h(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Oe(e,t){var n,r=e.element;r.style&&(h(e.options.cssProps,(function(o,i){n=N(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}Ae.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,o=t.curRecognizer;(!o||o&&8&o.state)&&(o=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&14&n.state&&(o=t.curRecognizer=n),i++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=k(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return h(O(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return h(O(e),(function(e){t?n[e]&&n[e].splice(k(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Oe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Le,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ae,Input:Y,TouchAction:ge,TouchInput:ie,MouseInput:V,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:_e,Tap:Se,Pan:xe,Swipe:ze,Pinch:ve,Rotate:we,Press:Me,on:z,off:S,each:h,merge:_,extend:b,assign:l,inherit:x,bindFn:v,prefixed:N}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Le,void 0===(r=function(){return Le}.call(t,n,t,e))||(e.exports=r)}(window,document)},function(e,t,n){var r=n(1075);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Table Row\n ========================================================================== */\n.table-row__loader-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 100%; }\n\n.hammerjs-wrapper {\n user-select: auto !important; }\n\n@keyframes spin {\n 100% {\n transform: rotate(360deg); } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1077);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Table Body\n ========================================================================== */\n.sg-table-dnd-placeholder {\n width: 100%; }\n .sg-table-dnd-placeholder tr {\n display: flex; }\n .sg-table-dnd-placeholder td {\n display: flex;\n align-items: center;\n flex: 1; }\n\n.sg-icon-expandable {\n margin-right: 15px; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n/* ==========================================================================\n Table\n ========================================================================== */\n.sg-table-wrapper {\n width: 100%;\n max-width: 100%;\n border-radius: 3px;\n background-color: var(--background-component-primary); }\n\n.sg-theme-hcl .sg-table-wrapper,\n.sg-theme-hcb .sg-table-wrapper {\n border: 1px solid var(--high-contrast-foreground); }\n\n.sg-table-wrapper--box-shadow {\n box-shadow: var(--first-level-box-shadow); }\n\n.sg-table {\n width: 100%;\n border-radius: 3px;\n text-align: start;\n table-layout: fixed; }\n .sg-table .sg-table__head .sg-table__cell:first-of-type {\n border-top-left-radius: 3px; }\n .sg-table .sg-table__head .sg-table__cell:last-of-type {\n border-top-right-radius: 3px; }\n .sg-table .sg-table__row:last-of-type .sg-table__cell:first-of-type {\n border-bottom-left-radius: 3px; }\n .sg-table .sg-table__row:last-of-type .sg-table__cell:last-of-type {\n border-bottom-right-radius: 3px; }\n\n.sg-table__head .sg-table__cell {\n color: var(--typography-light);\n font-family: Roboto;\n font-weight: 500;\n font-size: 12px;\n line-height: 20px;\n text-align: left;\n border-top: none; }\n\n.sg-table__head-tile {\n background-color: var(--background-component-secondary);\n text-align: center; }\n\n.sg-table__head--background-default .sg-table__cell {\n background-color: var(--background-component-secondary); }\n\n.sg-table__head--background-white .sg-table__cell {\n background-color: var(--background-component-primary); }\n\n.sg-table__footer--background-default .sg-table__cell {\n background-color: var(--background-component-secondary); }\n\n.sg-table__footer--background-white .sg-table__cell {\n background-color: var(--background-component-primary); }\n\n/* Rows\n ========================================================================== */\n.sg-table__row--animation-enter {\n opacity: 0;\n transition: opacity 0.5s linear; }\n\n.sg-table__row--animation-enter-active {\n opacity: 1; }\n\n.sg-table__row--animation-exit {\n pointer-events: none;\n transition: opacity 0.5s linear; }\n\n.sg-table__row--animation-exit-active {\n opacity: 0; }\n\n.sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-table__cell--is-in-row-selection {\n background-color: var(--background-component-secondary); }\n\n.sg-theme-hcl .sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-theme-hcl .sg-table__cell--is-in-row-selection,\n.sg-theme-hcb .sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-theme-hcb .sg-table__cell--is-in-row-selection {\n background-color: var(--component-background-hover); }\n\n/* Cells\n ========================================================================== */\n.sg-table__cell {\n position: relative;\n padding: 0 20px;\n vertical-align: middle;\n background-color: var(--background-component-primary);\n border-top: 1px solid var(--border-color-inner);\n font-size: 14px;\n line-height: 20px;\n text-align: left; }\n .sg-table__cell:focus {\n outline: none; }\n .sg-keyboard .sg-table__cell:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-table__cell--height-small {\n height: 40px; }\n\n.sg-table__cell--height-medium {\n height: 60px; }\n\n.sg-table__cell-dnd-wrapper {\n display: flex;\n align-items: center; }\n .sg-table__cell-dnd-wrapper .sg-icon-move {\n display: none; }\n .sg-table__cell-dnd-wrapper .sg-icon-dnd {\n margin-right: 15px;\n color: var(--color-icon-button); }\n\n.sg-table__after-content {\n border-top: 1px solid var(--border-color-inner); }\n\n.sg-table-load-more {\n display: flex;\n justify-content: center;\n padding: 20px;\n background-color: var(--background-component-secondary); }\n\n.sg-theme-hcl .sg-table-load-more,\n.sg-theme-hcb .sg-table-load-more {\n border-top: 1px solid var(--high-contrast-foreground); }\n\n.sg-table .sg-table__row .sg-table__cell.sg-table__expand-toggle {\n text-align: center;\n background-color: var(--background-component-secondary);\n padding: 20px 15px; }\n\n/* Density\n ========================================================================== */\n.sg-table-wrapper--density-none .sg-table__cell {\n padding: 0; }\n\n.sg-table-wrapper--density-none .sg-table__after-content {\n padding: 0; }\n\n.sg-table-wrapper--density-small .sg-table__cell:first-child {\n padding-left: 20px; }\n\n.sg-table-wrapper--density-small .sg-table__cell:last-child {\n padding-right: 20px; }\n\n.sg-table-wrapper--density-small .sg-table__after-content {\n padding: 20px 20px; }\n\n.sg-table-wrapper--density-small .sg-table-wrapper--density-small .sg-table__cell:first-child {\n padding-left: 40px; }\n\n.sg-table-wrapper--density-small .sg-table-wrapper--density-small .sg-table__cell:last-child {\n padding-right: 40px; }\n\n.sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 30px; }\n .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 5px; }\n\n.sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 30px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 5px; }\n\n.sg-table-wrapper--density-medium .sg-table__after-content {\n padding: 20px 30px; }\n\n.sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 60px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 10px; }\n\n.sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 60px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 10px; }\n\n.sg-table-wrapper--density-large .sg-table__cell:first-child {\n padding-left: 60px; }\n\n.sg-table-wrapper--density-large .sg-table__after-content {\n padding: 20px 60px; }\n\n.sg-table-wrapper--density-large .sg-table__cell:last-child {\n padding-right: 60px; }\n\n.sg-table-wrapper--density-large .sg-table-wrapper--density-large .sg-table__cell:first-child {\n padding-left: 120px; }\n\n.sg-table-wrapper--density-large .sg-table-wrapper--density-large .sg-table__cell:last-child {\n padding-right: 120px; }\n\n/* Product Table\n ========================================================================== */\n.sg-product-table {\n width: 100%; }\n .sg-product-table .sg-toolbar {\n margin: 0; }\n\n.sg-product-table--selected {\n border: 2px solid var(--color-primary); }\n\n.sg-product-table__row {\n border-bottom: 1px solid var(--border-color-inner); }\n\n/* Media queries\n ========================================================================== */\n@media (min-width: 801px) {\n .sg-table.sg-table--no-footer .sg-table__row:last-child .sg-table__cell--is-selected::before {\n border-bottom: 2px solid var(--color-primary); }\n .sg-table__cell--is-selected::before {\n content: " ";\n position: absolute;\n display: block;\n top: -1px;\n bottom: 0;\n right: 0;\n left: -2px;\n border-left: 2px solid var(--color-primary);\n border-right: 2px solid var(--color-primary);\n pointer-events: none; }\n .sg-table__head .sg-table__cell--is-selected::before {\n border-top: 2px solid var(--color-primary); }\n .sg-table__footer .sg-table__cell--is-selected::before {\n border-bottom: 2px solid var(--color-primary); } }\n\n@media (min-width: 801px) {\n .sg-theme-hcl .sg-table__row:hover .sg-table__cell,\n .sg-theme-hcb .sg-table__row:hover .sg-table__cell {\n background-color: var(--component-background-hover); }\n .sg-table__row:hover .sg-table__cell {\n background-color: var(--background-component-secondary); } }\n\n@media (max-width: 800px) {\n .sg-table {\n table-layout: fixed; }\n .sg-table-wrapper .sg-table__after-content {\n padding: 0; }\n .sg-table-wrapper--mobile-card .sg-table__cell,\n .sg-table-wrapper--mobile-card .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card .sg-table__cell:last-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:last-child {\n padding: 24px 20px 15px 20px; }\n .sg-table-wrapper--mobile-card .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__cell:last-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__footer,\n .sg-table-wrapper--mobile-card-flat .sg-table__footer {\n display: none; }\n .sg-table-wrapper--mobile-card.sg-table-wrapper,\n .sg-table-wrapper--mobile-card-flat.sg-table-wrapper {\n background-color: transparent; }\n .sg-table-wrapper--mobile-card:not(.sg-table-wrapper--no-data).sg-table-wrapper--box-shadow,\n .sg-table-wrapper--mobile-card-flat:not(.sg-table-wrapper--no-data).sg-table-wrapper--box-shadow {\n box-shadow: none; }\n .sg-table-wrapper--mobile-card .sg-table__head,\n .sg-table-wrapper--mobile-card-flat .sg-table__head {\n display: none; }\n .sg-table-wrapper--mobile-card .sg-table__row,\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n display: block;\n border-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__row {\n box-shadow: var(--first-level-box-shadow); }\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n box-shadow: none; }\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n border: 1px solid var(--border-color-outer); }\n .sg-table__cell-expandable-wrapper .sg-table__row {\n border-width: 1px 0 0; }\n .sg-table-wrapper--mobile-card:not(.sg-table-wrapper--reordable) .sg-table__row:not(:last-child),\n .sg-table-wrapper--mobile-card-flat:not(.sg-table-wrapper--reordable) .sg-table__row:not(:last-child) {\n margin-bottom: 20px; }\n .sg-table-wrapper--mobile-card .sg-table__cell,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell {\n height: auto;\n display: block;\n position: relative;\n border: none; }\n .sg-table-wrapper--mobile-card .sg-table__cell:nth-child(n+2)::after,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:nth-child(n+2)::after {\n content: attr(data-label);\n display: block;\n position: absolute;\n top: 4px;\n left: 20px;\n font-family: Roboto;\n font-size: 12px;\n line-height: 16px;\n color: var(--typography-light);\n text-align: initial;\n text-transform: capitalize; }\n .sg-table-load-more {\n margin-top: 20px;\n padding: 0;\n background: none; } }\n\n@media (max-width: 1500px) {\n .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 20px; }\n .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 5px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 20px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 5px; }\n .sg-table-wrapper--density-medium .sg-table__after-content {\n padding: 20px 20px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 40px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 40px; }\n .sg-table__cell--height-medium {\n height: 50px; } }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l,c,u=n(2),d=n(9),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.createMobileColumnsOptions=function(e,t,n){if(!e)return e;var r=d.deepclone(e);if(t)return r;var o={width:"100%",flexWrap:"nowrap"},i={flexShrink:0},s=r[0],l=r.pop(),c=s.render?s.render:function(e){return e},p=l.render?l.render:function(e){return e};return delete s.header,s.style=a({fontWeight:"bold"},s.style),s.render=function(e,t){return n?u.createElement(d.Flex,{justify:"space-between",align:"center",gutter:"none",margin:"none",style:o},u.createElement(d.Title,{level:"4",density:"none",truncate:!0},c(e,t)),u.createElement("div",{style:i},p(t[l.accessor],t))):c(e,t)},r},t.createDesktopColumnsOptions=function(e,t,n){if(!e||!t||0===t.length)return e;var r=d.deepclone(e),o=r[r.length-1];return o.style=a({paddingLeft:n&&"0px",textAlign:"right",whiteSpace:"nowrap"},o.style),n&&(o.mSize=o.mSize||"100px"),r},t.prototype.render=function(){var e=this.context.device,n=this.props,r=n.columns,o=n.data,i=n.disableMobileArrange,l=n.hasMenu,c=n.onMouseOver,p=s(n,["columns","data","disableMobileArrange","hasMenu","onMouseOver"]),f=t.createMobileColumnsOptions(r,i,e.isPhone),g=t.createDesktopColumnsOptions(r,o,l);return e.isPhone?u.createElement(d.Table,a({data:o,columns:f},p)):u.createElement(d.Table,a({data:o,columns:g,onMouseOver:c},p))},t.contextType=d.Context,t.defaultProps={hasMenu:!0,"data-e2e":"action-table"},t}(u.Component);t.default=p,l=n(0).default,c=n(0).leaveModule,l&&(l.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(p,"ActionTable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(1081),l=n(54),c=n(213),u=n(464),d=n(1082),p=n(211),f=n(1085),g=n(481);n(485);var m,h,y=function(e){var t=a.useContext(l.Context).device,n=e.columns,r=e.data,f=e.onCellSelection,m=e.selectedColumns,h=i(e,["columns","data","onCellSelection","selectedColumns"]),y=n.map((function(e){return o({},e)})),b=y.shift();return t.isPhone?a.createElement(s.default,o({},h),y.map((function(e,t){return a.createElement("div",{key:e.accessor,className:"sg-product-table"+(m.includes(t+1)?" sg-product-table--selected":"")},a.createElement(d.default,{border:"none",padding:"medium",className:"sg-table__head-tile"},e.renderHead?e.renderHead:e.header),r.map((function(n){return a.createElement(c.Flex,{className:"sg-product-table__row",key:n.accessor,padding:["none","medium"],gutter:"none",margin:"none",background:"white"},a.createElement(c.Box,{xs:"8",flex:!0,align:"center",justify:"flex-start"},b.render?b.render(n[b.accessor],n,b.accessor,t+1):n[b.accessor]),a.createElement(c.Box,{xs:"4",flex:!0,align:"center",justify:"center",style:{textAlign:"right"}},a.createElement(u.Grid,{padding:["medium","none"]},e.render(n[e.accessor],n,e.accessor,t+1))))})),e.footer&&a.createElement(p.default,{background:"light",justify:"center"},e.footer(t+1)))}))):a.createElement(g.default,o({className:"sg-product-table",mobileLayout:"row",data:r,columns:n,onCellSelection:f,selectedColumns:m},h))};y.defaultProps={selectedColumns:[]},t.default=f.default(y),m=n(0).default,h=n(0).leaveModule,m&&(m.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),m.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),m.register(y,"ProductTable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),h(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(447);t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(486);t.default=r.default},function(e,t,n){var r=n(1084);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Tile\n ========================================================================== */\n.sg-tile:focus {\n outline: none; }\n\n.sg-keyboard .sg-tile:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tile,\n.sg-tile.sg-with-border {\n border-radius: 0; }\n\n@media (max-width: 800px) {\n .sg-tile.sg-with-border + .sg-tile.sg-with-border {\n border-top: none; }\n .sg-tile:first-of-type {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px; }\n .sg-tile:last-of-type {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px; } }\n\n@media (min-width: 801px) {\n .sg-tile.sg-with-border + .sg-tile.sg-with-border {\n border-left: none; }\n .sg-tile:first-of-type {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px; }\n .sg-tile:last-of-type {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px; } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(218);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(7),u=n(8),d=n(11),p=n(199),f=n(145),g=function(e){switch(e.key){case d.default.SPACE:case d.default.ENTER:e.preventDefault(),e.stopPropagation(),e.target.click()}},m=l.forwardRef((function(e,t){var n=e.active,r=e.disabled,a=e.className,s=e.children,d=e.padding,m=e.tabIndex,h=e["data-e2e"],y=e["data-component"],b=i(e,["active","disabled","className","children","padding","tabIndex","data-e2e","data-component"]),_=c.default("sg-tabs__tab",n&&"sg-tabs__tab--active",r&&"sg-tabs__tab--disabled",f.default(d),a);return l.createElement(p.default,o({tag:"li",ref:t,className:_,tabIndex:m,"data-e2e":h,"data-component":y,role:"tab","aria-selected":n,"aria-controls":"panel-"+m},u.default(b),{onKeyDown:g}),s)}));m.displayName="Tab",m.defaultProps={tabIndex:-1,"data-e2e":"tab","data-component":"tab"},t.default=m,a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(g,"handleKeyDown","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(m,"Tab","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(7),u=n(53),d=n(33),p=n(64),f=n(8),g=n(11),m=n(25);n(1088);var h,y,b=function(e){function t(t){var n=e.call(this,t)||this;return n.onKeyDown=function(e){var t=p.getFocusableElement(n.tabsRef,{isDirectionForward:!0}),r=p.getFocusableElement(n.tabsRef,{isDirectionForward:!1});switch(e.key){case g.default.RIGHT:case g.default.DOWN:if(r===e.target)return;return e.target===n.tabsRootRef&&u.focusDomElement(t),void d.focusNextComponent({event:e});case g.default.LEFT:case g.default.UP:if(t===e.target)return;return e.target===n.tabsRootRef&&u.focusDomElement(r),void d.focusNextComponent({event:e,isDirectionForward:!1});default:return}},n.state={hasArrows:!1},n.tabsWrapperWith=null,n.tabsWidth=null,n.initialClientXLocation=0,n.deltaXFromLastTranslateRequest=0,n.deltaXfromLastMoveEvent=0,n.tabsRootRef=l.createRef(),n.tabsWrapperRef=l.createRef(),n.tabsRef=l.createRef(),n.applyTransformXStyle=n.applyTransformXStyle.bind(n),n.saveComponentDimensions=n.saveComponentDimensions.bind(n),n.resizeHandler=n.resizeHandler.bind(n),n.onMouseDown=n.onMouseDown.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){this.saveComponentDimensions(),this.setState({hasArrows:this.tabsWrapperWith<this.tabsWidth}),window.addEventListener("resize",this.resizeHandler,!1)},t.prototype.componentDidUpdate=function(e){e.children.length!==this.props.children.length&&this.setState({hasArrows:this.tabsWrapperWith<this.tabsWidth}),this.saveComponentDimensions()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.resizeHandler,!1)},t.prototype.onMouseDown=function(e){this.tabsWrapperWith>=this.tabsWidth||(this.initialClientXLocation=e.clientX||e.touches[0].clientX)},t.prototype.onMouseMove=function(e){if(this.initialClientXLocation){var t=e.clientX||e.touches[0].clientX;this.translateTabs(t)}},t.prototype.onMouseUp=function(){this.initialClientXLocation=0,this.deltaXFromLastTranslateRequest=this.deltaXfromLastMoveEvent},t.prototype.saveComponentDimensions=function(){this.tabsWrapperRef&&(this.tabsWrapperWith=this.tabsWrapperRef.getClientRects()[0].width,this.tabsWidth=this.tabsRef.getClientRects()[0].width)},t.prototype.translateTabs=function(e){var t=this.tabsWidth-this.tabsWrapperWith,n=e-this.initialClientXLocation+this.deltaXFromLastTranslateRequest,r=Math.min(Math.max(parseInt(n,10),-t),0);this.deltaXfromLastMoveEvent=r,this.applyTransformXStyle(r)},t.prototype.applyTransformXStyle=function(e){this.tabsRef.style.webkitTransform="translateX("+e+"px)",this.tabsRef.style.transform="translateX("+e+"px)"},t.prototype.resizeHandler=function(){var e=this.tabsWrapperWith<this.tabsWidth;this.state.hasArrows!==e&&this.setState({hasArrows:e}),this.applyTransformXStyle(0),this.saveComponentDimensions()},t.prototype.render=function(){var e=this,t=this.props,n=t.activeColor,r=t.className,o=t.children,i=t.border,u=t.size,d=t.tabIndex,p=t["data-e2e"],g=t["data-component"],h=t["aria-label"],y=s(t,["activeColor","className","children","border","size","tabIndex","data-e2e","data-component","aria-label"]),b=c.default("sg-tabs-wrapper",i&&"sg-tabs-wrapper--border-"+i,r),_=c.default("sg-tabs","sg-tabs--background-transparent","sg-tabs--"+u,n&&"sg-tabs--active-color-"+n),x=this.state.hasArrows;return l.createElement("div",a({ref:function(t){e.tabsRootRef=t},className:b,"data-e2e":p,"data-component":g,tabIndex:d},f.default(y),{onMouseDown:this.onMouseDown,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,onMouseLeave:this.onMouseUp,onTouchStart:this.onMouseDown,onTouchMove:this.onMouseMove,onTouchEnd:this.onMouseUp,onKeyDown:this.onKeyDown}),x&&l.createElement("div",{className:"sg-tabs__arrow sg-tabs__arrow--start",onClick:function(){return e.translateTabs(40)}},l.createElement(m.default,{name:"arrow-left-thin",size:"10"})),l.createElement("div",{className:"sg-tabs_container",ref:function(t){e.tabsWrapperRef=t}},l.createElement("ul",a({className:_,ref:function(t){e.tabsRef=t},role:"tablist","aria-label":h},y),o)),x&&l.createElement("div",{className:"sg-tabs__arrow sg-tabs__arrow--end",onClick:function(){return e.translateTabs(-40)}},l.createElement(m.default,{name:"arrow-right-thin",size:"10"})))},t.defaultProps={activeColor:"sky",size:"medium",tabIndex:0,"data-e2e":"tabs","data-component":"tabs"},t}(l.Component);t.default=b,h=n(0).default,y=n(0).leaveModule,h&&(h.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(b,"Tabs","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),y(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1089);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n/* ==========================================================================\n Tabs\n ========================================================================== */\n.sg-tabs-wrapper {\n display: flex;\n flex-shrink: 0;\n user-select: none;\n max-width: 100%; }\n .sg-tabs-wrapper:focus {\n outline: none; }\n .sg-keyboard .sg-tabs-wrapper:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tabs_container {\n overflow: hidden; }\n\n.sg-tabs__arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 60px;\n background: inherit;\n color: var(--color-icon-button);\n cursor: pointer; }\n .sg-tabs__arrow:hover {\n color: var(--typography-dark); }\n\n.sg-tabs {\n display: inline-flex; }\n\n.sg-tabs__tab {\n align-items: center;\n display: flex;\n position: relative;\n white-space: nowrap;\n height: 60px;\n padding: 0 30px;\n color: var(--typography-light);\n cursor: pointer;\n text-transform: uppercase; }\n .sg-tabs__tab:focus {\n outline: none; }\n .sg-keyboard .sg-tabs__tab:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n .sg-tabs__tab:hover, .sg-tabs__tab:active, .sg-tabs__tab--active {\n color: var(--typography-darker); }\n .sg-tabs__tab:active::after, .sg-tabs__tab--active::after {\n content: "";\n display: block;\n position: absolute;\n height: 2px;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: currentColor;\n z-index: 1; }\n .sg-tabs__tab a {\n color: var(--typography-darkest); }\n\n/* Background\n ========================================================================== */\n.sg-tabs--background-transparent {\n background-color: transparent; }\n\n/* Borders\n ========================================================================== */\n.sg-tabs-wrapper--border-light {\n position: relative; }\n .sg-tabs-wrapper--border-light::before {\n content: "";\n display: block;\n position: absolute;\n height: 1px;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--border-color-outer); }\n\n.sg-tabs--active-color-sky .sg-tabs__tab--active::after,\n.sg-tabs--active-color-sky .sg-tabs__tab:active::after {\n background-color: var(--ocean-base); }\n\n.sg-tabs--active-color-romantic .sg-tabs__tab--active,\n.sg-tabs--active-color-romantic .sg-tabs__tab:active {\n color: var(--royal-base); }\n\n.sg-tabs--active-color-dark .sg-tabs__tab--active,\n.sg-tabs--active-color-dark .sg-tabs__tab:active {\n color: var(--typography-darker); }\n\n/* Sizes\n ========================================================================== */\n.sg-tabs--small {\n font: 500 12px/16px Roboto; }\n\n.sg-tabs--medium {\n font: 600 14px/20px Roboto; }\n\n.sg-tabs--large {\n font: 600 16px/24px Roboto; }\n\n/* Disabled\n ========================================================================== */\n.sg-tabs__tab--disabled {\n color: var(--color-disabled);\n pointer-events: none; }\n\n@media (max-width: 1500px) {\n .sg-tabs__tab {\n padding: 0 20px;\n height: 50px; } }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=n(8),c=n(1091);n(1092);var u,d,p=function(e){var t=e.className,n=e.background,r=e.onRefsReady,c=e.tabIndex,u=e["data-e2e"],d=e["data-component"],p=i(e,["className","background","onRefsReady","tabIndex","data-e2e","data-component"]),f=s.default(t,"sg-textarea",n&&"sg-textarea--background-"+n);return a.createElement("textarea",o({ref:function(e){r&&r(e)},className:f,"data-e2e":u,"data-component":d,tabIndex:c},l.default(p)))},f=c.default(p);f.displayName="Textarea",p.defaultProps={tabIndex:0,"data-e2e":"textarea","data-component":"textarea"},t.default=f,u=n(0).default,d=n(0).leaveModule,u&&(u.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(p,"Textarea","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(f,"WrappedTextarea","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),d(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(461);t.default=r.default},function(e,t,n){var r=n(1093);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n.sg-field-wrapper .sg-textarea {\n height: auto; }\n\n/* Backgrounds\n ========================================================================== */\n.sg-textarea.sg-textarea--background-light {\n background-color: var(--background-main); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(7),c=n(205),u=n(11),d=n(141),p=n(112),f=n(206),g=n(25),m=n(113),h=n(98),y=n(1095);n(1098);var b,_,x=function(e){function t(t){var n=e.call(this,t)||this;return n.handleHourKeyDown=function(e){switch(e.key){case u.default.SPACE:case u.default.ENTER:return e.preventDefault(),void e.stopPropagation();case u.default.UP:case u.default.RIGHT:return void n.handleHourIncrease();case u.default.DOWN:case u.default.LEFT:return void n.handleHourDecrease();default:return}},n.handleMinuteKeyDown=function(e){switch(e.key){case u.default.SPACE:case u.default.ENTER:return e.preventDefault(),void e.stopPropagation();case u.default.UP:case u.default.RIGHT:return void n.handleMinuteIncrease();case u.default.DOWN:case u.default.LEFT:return void n.handleMinuteDecrease();default:return}},n.state={viewType:"TIME",selectedTime:+(new Date).setMinutes(0),inputValue:null,isTimePickerVisible:!1},n.openTimePicker=n.openTimePicker.bind(n),n.closeTimePicker=n.closeTimePicker.bind(n),n.handleTimePick=n.handleTimePick.bind(n),n.handleTimeChange=n.handleTimeChange.bind(n),n.handleHourIncrease=n.handleHourIncrease.bind(n),n.handleHourSelection=n.handleHourSelection.bind(n),n.handleHourDecrease=n.handleHourDecrease.bind(n),n.handleMinuteIncrease=n.handleMinuteIncrease.bind(n),n.handleMinuteSelection=n.handleMinuteSelection.bind(n),n.handleMinuteDecrease=n.handleMinuteDecrease.bind(n),n.handleDayPeriodChange=n.handleDayPeriodChange.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){var e=this.props.value,t=this.state.selectedTime;e&&t!==e&&this.setStateFromValue(e)},t.prototype.componentDidUpdate=function(e){""===this.props.value&&null!==this.state.inputValue&&this.setState({inputValue:null}),e.value!==this.props.value&&this.setStateFromValue(this.props.value)},t.prototype.setStateFromValue=function(e){var t=+new Date(1e3*parseInt(e,10));"string"!=typeof e?this.setState({selectedTime:t,inputValue:t}):this.setState({selectedTime:+new Date,inputValue:""})},t.prototype.getTimeFromLocales=function(){var e=this.state.inputValue,t=this.props.locales;return c.getTime(e,t)},t.prototype.getHours=function(){var e=this.state.selectedTime;return new Date(e).getHours()},t.prototype.getMinutes=function(){var e=this.state.selectedTime;return new Date(e).getMinutes()},t.prototype.getFormattedTime=function(e){return Math.floor(e/1e3)},t.prototype.getHumanReadableSelectedHour=function(){var e=this.props.locales,t=this.state.selectedTime,n=c.getHoursFromDateTimeFormat(e,new Date(t));return parseInt(n,10).toString().padStart(2,"0")},t.prototype.getHumanReadableSelectedMinute=function(){var e=this.getMinutes().toString();return parseInt(e,10).toString().padStart(2,"0")},t.prototype.getHumanReadableSelectedDayPeriod=function(){return this.getHours()>=12?"PM":"AM"},t.prototype.closeTimePicker=function(){this.setState({isTimePickerVisible:!1,viewType:"TIME"})},t.prototype.openTimePicker=function(){this.props.disabled||this.setState({isTimePickerVisible:!0})},t.prototype.handleTimePick=function(){var e=this.props.onChange,t=this.state.selectedTime,n=this.getFormattedTime(t);this.setState({inputValue:t},(function(){return e(n)}))},t.prototype.handleTimeChange=function(e){var t=e.hour,n=e.minute,r=this.state.selectedTime,o=new Date(r),i=void 0!==t?t:o.getHours(),a=void 0!==n?n:o.getMinutes(),s=+new Date(o.getFullYear(),o.getMonth(),o.getDate(),i,a,0);this.setState({selectedTime:s})},t.prototype.handleHourIncrease=function(){var e=this.getHours(),t=23===e?0:e+1;this.handleTimeChange({hour:t})},t.prototype.handleHourDecrease=function(){var e=this.getHours(),t=0===e?23:e-1;this.handleTimeChange({hour:t})},t.prototype.handleHourSelection=function(e){var t=this;this.setState({viewType:"TIME"},(function(){return t.handleTimeChange({hour:e})}))},t.prototype.handleMinuteIncrease=function(){var e=this.getMinutes(),t=59===e?0:e+1;this.handleTimeChange({minute:t})},t.prototype.handleMinuteDecrease=function(){var e=this.getMinutes(),t=0===e?59:e-1;this.handleTimeChange({minute:t})},t.prototype.handleMinuteSelection=function(e){var t=this;this.setState({viewType:"TIME"},(function(){return t.handleTimeChange({minute:e})}))},t.prototype.handleDayPeriodChange=function(){var e=this.getHours(),t=e>=12?e-12:e+12;this.handleTimeChange({hour:t})},t.prototype.shouldUse12hFormat=function(){var e=this.state.selectedTime,t=this.props.locales,n=c.getHoursFromDateTimeFormat(t,new Date(e));return Boolean(["A","M","P","a","m","p"].find((function(e){return n.includes(e)})))},t.prototype.renderInput=function(){var e=this,t=this.props.disabled,n=this.state.inputValue,r={label:this.props.label,placeholder:this.props.placeholder,size:this.props.size,validationMessage:this.props.validationMessage,validationMessageTemplate:this.props.validationMessageTemplate,state:this.props.state,disabled:this.props.disabled,readOnly:this.props.readOnly,ariaLabel:this.props["aria-label"],"data-e2e":this.props["data-e2e-input"]},o=n?this.getTimeFromLocales():"",i=l.default("sg-time-picker__input",t&&"sg-time-picker__input--disabled"),c=l.default("sg-time-picker__field",t&&"sg-time-picker__field--disabled");return s.createElement(m.default,a({className:i,fieldClassName:c,value:o,prefix:s.createElement(g.default,{name:"generic-clock",color:"ocean",size:"18",className:"date-picker-calendar-icon","aria-hidden":!0}),onClick:this.openTimePicker,role:"button","aria-label":r.ariaLabel,onKeyDown:function(t){t.key!==u.default.SPACE&&t.key!==u.default.ENTER||(t.preventDefault(),t.stopPropagation(),e.openTimePicker())}},r))},t.prototype.renderTimePickerDialog=function(){var e=this.state,t=e.isTimePickerVisible,n=e.viewType,r=this.props.className,o=l.default("sg-time-picker",r);return t?s.createElement(f.default,{className:o,density:"none",size:"small",footer:this.renderFooter(),onCloseHandler:this.closeTimePicker,"data-e2e":this.props["data-e2e"],"aria-hidden":t,role:"region","aria-live":"polite"},"TIME"===n&&this.renderClock(),"HOUR"===n&&this.renderHourPicker(),"MINUTE"===n&&this.renderMinutePicker()):null},t.prototype.renderFooter=function(){var e=this,t=this.props.translation;return s.createElement(s.Fragment,null,s.createElement(p.default,{onClick:this.closeTimePicker,"data-e2e":"timepicker-cancel-button"},t.cancelButton),s.createElement(p.default,{"data-e2e":"timepicker-confirm-button",color:"primary",disabled:this.props.shouldDisableTime(this.getFormattedTime(this.state.selectedTime)),onClick:function(){e.handleTimePick(),e.closeTimePicker()}},t.okButton))},t.prototype.renderClock=function(){var e=this,t=this.shouldUse12hFormat(),n=this.getHumanReadableSelectedHour(),r=this.getHumanReadableSelectedMinute(),o=this.getHumanReadableSelectedDayPeriod(),i=this.props.ariaProps;return s.createElement("div",{className:"sg-time-picker__content sg-time-picker__content--flex","data-e2e":"timepicker-clock",role:"group"},s.createElement("div",{className:"sg-time-picker__column"},s.createElement(y.default,{size:"xx-large",tabIndex:0,style:{order:1},onClick:function(){return e.setState({viewType:"HOUR"})},onKeyDown:this.handleHourKeyDown,"data-e2e":"timepicker-hour",role:"spinbutton","aria-valuenow":parseInt(n),"aria-valuetext":n,"aria-valuemin":1,"aria-valuemax":t?12:24,"aria-label":i.ariaLabelHours,"aria-live":"polite"},n),s.createElement(y.default,{color:"secondary",style:{order:0},onClick:this.handleHourIncrease,"data-e2e":"timepicker-hour-increase",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-up",size:"16"})),s.createElement(y.default,{color:"secondary",style:{order:2},onClick:this.handleHourDecrease,"data-e2e":"timepicker-hour-decrease",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-down",size:"16"}))),s.createElement("div",{className:"sg-time-picker__column sg-time-picker__column--justify-center"},":"),s.createElement("div",{className:"sg-time-picker__column"},s.createElement(y.default,{color:"secondary",onClick:this.handleMinuteIncrease,"data-e2e":"timepicker-hour-increase",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-up",size:"16"})),s.createElement(y.default,{size:"xx-large",tabIndex:0,onClick:function(){return e.setState({viewType:"MINUTE"})},onKeyDown:this.handleMinuteKeyDown,"data-e2e":"timepicker-minute",role:"spinbutton","aria-valuenow":parseInt(r),"aria-valuetext":r,"aria-valuemin":0,"aria-valuemax":59,"aria-label":i.ariaLabelMinutes,"aria-live":"assertive"},r),s.createElement(y.default,{color:"secondary",onClick:this.handleMinuteDecrease,"data-e2e":"timepicker-minute-decrease",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-down",size:"16"}))),t&&s.createElement("div",{className:l.default("sg-time-picker__column","sg-time-picker__column--justify-center","sg-time-picker__column--margin-start")},s.createElement(y.default,{background:"secondary",onClick:this.handleDayPeriodChange,tabIndex:0,"data-e2e":"timepicker-period-change","aria-label":"am/pm",role:"button","aria-valuetext":o},o)))},t.prototype.renderHourPicker=function(){var e=this,t=this.getHours(),n=this.shouldUse12hFormat(),r=Array(n?12:24).fill(null).map((function(e,t){return n?t+1:t}));return s.createElement("div",{className:"sg-time-picker__content","data-e2e":"timepicker-hour"},r.map((function(n){var r=t===n,o=l.default("sg-time-picker-entity",r&&"sg-time-picker-entity--selected");return s.createElement("span",{key:n,ref:function(e){return r&&d.default(e,{block:"center"})},"data-e2e":"timepicker-hours"},s.createElement(h.default,{className:o,color:"dark",weight:"bold",onClick:function(){return e.handleHourSelection(n)}},n.toString().padStart(2,"0")))})))},t.prototype.renderMinutePicker=function(){var e=this,t=this.getMinutes(),n=Array(60).fill(null).map((function(e,t){return t}));return s.createElement("div",{className:"sg-time-picker__content","data-e2e":"timepicker-minutes"},n.map((function(n){var r=t===n,o=l.default("sg-time-picker-entity",r&&"sg-time-picker-entity--selected");return s.createElement("span",{key:n,ref:function(e){return r&&d.default(e,{block:"center"})},"data-e2e":"timepicker-minute"},s.createElement(h.default,{className:o,weight:"bold",onClick:function(){return e.handleMinuteSelection(n)}},n.toString().padStart(2,"0")))})))},t.prototype.render=function(){return s.createElement(s.Fragment,null,this.renderInput(),this.renderTimePickerDialog())},t.defaultProps={locales:navigator.language||"en-US",placeholder:"Select a time",onChange:function(){return!1},shouldDisableTime:function(){return!1},translation:{cancelButton:"Cancel",okButton:"Ok"},"data-e2e":"timepicker","data-e2e-input":"timepicker-input",ariaProps:{ariaLabelMinutes:"Minutes",ariaLabelHours:"Hour"}},t}(s.Component);t.default=x,b=n(0).default,_=n(0).leaveModule,b&&(b.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("TIME","TIME_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("HOUR","HOUR_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("MINUTE","MINUTE_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register(x,"TimePicker","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),_(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7);n(1096);var l,c,u=function(e){var t=e.color,n=e.children,r=e.className,l=e.background,c=e.size,u=e.tabIndex,d=i(e,["color","children","className","background","size","tabIndex"]),p=s.default("sg-time-picker-button",t&&"sg-time-picker-button--color-"+t,l&&"sg-time-picker-button--background-"+l,"sg-time-picker-button--size-"+c,r);return a.createElement("button",o({className:p,type:"button",tabIndex:u},d),n)};u.defaultProps={size:"large",tabIndex:-1},t.default=u,l=n(0).default,c=n(0).leaveModule,l&&(l.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),l.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),l.register(u,"TimePickerButton","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1097);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TimePickerButton\n ========================================================================== */\n.sg-time-picker-button {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 60px;\n background-color: transparent;\n color: var(--typography-dark);\n border: none;\n border-radius: 3px;\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n text-transform: uppercase; }\n .sg-time-picker-button:hover {\n cursor: pointer; }\n .sg-time-picker-button:hover, .sg-time-picker-button:focus {\n color: var(--component-color-hover);\n background-color: var(--component-background-hover); }\n\n/* Sizes\n ========================================================================== */\n.sg-time-picker-button--size-large {\n height: 40px; }\n\n.sg-time-picker-button--size-xx-large {\n height: 60px; }\n\n/* Colors\n ========================================================================== */\n.sg-time-picker-button--color-secondary {\n color: var(--color-secondary); }\n\n/* Backgrounds\n ========================================================================== */\n.sg-time-picker-button--background-secondary {\n color: var(--typography-white);\n background-color: var(--color-secondary); }\n .sg-time-picker-button--background-secondary:focus, .sg-time-picker-button--background-secondary:hover {\n background-color: var(--color-secondary-hovered); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1099);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TimePicker\n ========================================================================== */\n.sg-time-picker.sg-dialog {\n padding: 0; }\n\n.sg-time-picker .sg-time-picker-header {\n margin-top: 0; }\n\n.sg-time-picker__input,\n.sg-time-picker__field {\n cursor: pointer;\n caret-color: transparent; }\n .sg-time-picker__input.sg-time-picker__input--disabled, .sg-time-picker__input.sg-time-picker__field--disabled,\n .sg-time-picker__field.sg-time-picker__input--disabled,\n .sg-time-picker__field.sg-time-picker__field--disabled {\n cursor: not-allowed; }\n\n.sg-time-picker__content {\n padding-top: 30px;\n padding-bottom: 30px;\n height: 280px;\n width: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n overflow-y: overlay; }\n\n.sg-time-picker__content--flex {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n.sg-time-picker__column {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n min-width: 50px;\n min-height: 160px; }\n\n.sg-time-picker__column--justify-center {\n justify-content: center; }\n\n.sg-time-picker__column--margin-start {\n margin-left: 30px; }\n\n.sg-time-picker-entity {\n cursor: pointer;\n line-height: 36px; }\n .sg-time-picker-entity:hover {\n color: var(--color-secondary); }\n\n.sg-time-picker-entity--selected {\n color: var(--color-secondary);\n font-size: 26px; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(7),c=n(53),u=n(8),d=n(11),p=n(25);n(1101);var f,g,m=function(e,t){if(!e)return null;e.children&&e.children[t]&&c.focusDomElement(e.children[t])},h=function(e){var t=e.event,n=e.timelineRef,r=e.focusIndex,o=e.timelineLength,i=e.onChange;switch(t.key){case d.default.LEFT:var a=Math.min(Math.max(r-1,0),o);m(n.current,a);break;case d.default.RIGHT:var s=Math.min(Math.max(r+1,0),o);m(n.current,s);break;case d.default.ENTER:case d.default.SPACE:i(r+1)}},y=function(e){var t=e.activeStep,n=e.className,r=e.onChange,c=e.steps,d=e.tabIndex,f=e["data-e2e"],g=e["data-component"],m=e["aria-label"],y=i(e,["activeStep","className","onChange","steps","tabIndex","data-e2e","data-component","aria-label"]),b=s.useRef(null),_=a(s.useState(-1),2),x=_[0],v=_[1],M=l.default("sg-timeline",n),w=c.map((function(e,n){var i=n+1,a=i<=t,d=l.default("sg-timeline__item",a&&"sg-timeline__item--active",i===t&&"sg-timeline__item--bold",i>c.length&&"sg-timeline__item--bold");return s.createElement("li",o({key:n,className:d,tabIndex:-1},u.default(y),{onClick:a?function(){return r(i)}:null,onFocus:function(){return v(n)},"data-e2e":"timeline-step"}),s.createElement("div",{className:"sg-timeline__top-row"},i<t?s.createElement("span",{className:"sg-timeline__step","aria-hidden":"true"},s.createElement(p.default,{name:"check",size:"12"})):s.createElement("span",{className:"sg-timeline__step","aria-hidden":"true"},i)),s.createElement("div",{className:"sg-timeline__bottom-row"},s.createElement("span",{className:"sg-timeline__text"},c[n])))}));return s.createElement("ul",{ref:b,className:M,tabIndex:d,"data-e2e":f,role:"timeline","aria-label":m,"data-component":g,onKeyDown:function(e){return h({event:e,timelineRef:b,focusIndex:x,timelineLength:w.length,onChange:r})}},w)};y.defaultProps={onChange:function(){},tabIndex:0,"data-e2e":"timeline","data-component":"timeline"},t.default=y,f=n(0).default,g=n(0).leaveModule,f&&(f.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(a,"__read","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(m,"focusItem","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(h,"handleKeyDown","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(y,"Timeline","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1102);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n.sg-timeline {\n display: flex; }\n .sg-timeline:focus {\n outline: none; }\n .sg-keyboard .sg-timeline:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-timeline__item {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-basis: 0; }\n .sg-timeline__item:focus {\n outline: none; }\n .sg-keyboard .sg-timeline__item:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-timeline__item:first-child .sg-timeline__top-row::before {\n background: transparent; }\n\n.sg-timeline__item:last-child .sg-timeline__top-row::after {\n background: transparent; }\n\n.sg-timeline__item--active {\n cursor: pointer; }\n .sg-timeline__item--active .sg-timeline__step {\n background: var(--ocean-base); }\n\n.sg-timeline__item--bold {\n font-weight: 600; }\n\n.sg-timeline__top-row {\n display: flex;\n align-items: center; }\n\n.sg-timeline__bottom-row {\n display: flex;\n justify-content: center;\n text-align: center;\n padding: 5px 10px; }\n\n.sg-timeline__top-row::before,\n.sg-timeline__top-row::after {\n content: "";\n display: block;\n height: 1px;\n flex-grow: 1;\n background: var(--color-disabled); }\n\n.sg-timeline__top-row::before {\n margin-right: 10px; }\n\n.sg-timeline__top-row::after {\n margin-left: 10px; }\n\n.sg-timeline__step {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 25px;\n height: 25px;\n line-height: 25px;\n border-radius: 50%;\n color: var(--typography-white);\n background: var(--color-disabled);\n font-family: Roboto;\n font-weight: 700; }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(7),u=n(8),d=n(1104);n(1107);var p,f,g=function(e){function t(t){var n=e.call(this,t)||this;return n.nodes={},n.rootRef=null,n.onCheck=function(e){var t=n.props,r=t.noCascade,o=t.onCheck;n.toggleChecked(e,e.checked,r),o(n.serializeList("checked"),e)},n.onExpand=function(e){var t=n.props.onExpand;n.toggleNode("expanded",e,e.expanded),t(n.serializeList("expanded"),e)},n.rootRef=l.createRef(),n.flattenNodes(t.nodes),n.unserializeLists({checked:t.checked,expanded:t.expanded}),n}return i(t,e),t.prototype.getFormattedNodes=function(e){var t=this;return e.map((function(e){var n=a({},e);return n.checked=t.nodes[e.value].checked,n.expanded=t.nodes[e.value].expanded,Array.isArray(e.children)&&e.children.length>0?n.children=t.getFormattedNodes(n.children):n.children=null,n}))},t.prototype.getCheckState=function(e,t){return null===e.children||t||this.props.noCascadeOnDisabledNode&&e.disabled?e.checked?1:0:this.isEveryChildChecked(e)?1:this.isSomeChildChecked(e)?2:0},t.prototype.getDisabledState=function(e,t,n,r){return!!n||(this.props.noCascadeOnDisabledNode&&t.disabled?Boolean(e.disabled):!(r||!t.disabled)||Boolean(e.disabled))},t.prototype.toggleChecked=function(e,t,n){var r=this;if(null===e.children||n){var o=this.props.noCascadeOnDisabledNode&&e.disabled?e.value:t;this.toggleNode("checked",e,o)}else e.children.forEach((function(e){r.toggleChecked(e,t)}))},t.prototype.toggleNode=function(e,t,n){this.nodes[t.value][e]=n},t.prototype.flattenNodes=function(e){var t=this;Array.isArray(e)&&0!==e.length&&e.forEach((function(e){t.nodes[e.value]={},t.flattenNodes(e.children)}))},t.prototype.unserializeLists=function(e){var t=this;Object.keys(this.nodes).forEach((function(n){Object.keys(e).forEach((function(e){t.nodes[n][e]=!1}))})),Object.keys(e).forEach((function(n){e[n].forEach((function(e){void 0!==t.nodes[e]&&(t.nodes[e][n]=!0)}))}))},t.prototype.serializeList=function(e){var t=this,n=[];return Object.keys(this.nodes).forEach((function(r){t.nodes[r][e]&&n.push(r)})),n},t.prototype.isEveryChildChecked=function(e){var t=this;return e.children.every((function(e){return null!==e.children?t.isEveryChildChecked(e):e.checked}))},t.prototype.isSomeChildChecked=function(e){var t=this;return e.children.some((function(e){return null!==e.children?t.isSomeChildChecked(e):e.checked}))},t.prototype.renderTreeNodes=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=0);var o=this.props,i=o.disabled,a=o.noCascade,s=o.optimisticToggle,c=o.collapsedIcon,u=o.expandedIcon,p=o["data-component"],f=e.map((function(e){var o=""+e.value,f=r.getCheckState(e,a),g=r.renderChildNodes(e),m=r.getDisabledState(e,t,i,a);return l.createElement(d.default,{key:o,checked:f,disabled:m,depth:n,expanded:e.expanded,label:e.label,forceShowToggleIcon:e.forceShowToggleIcon,entity:e.entity,optimisticToggle:s,rawChildren:e.children,value:e.value,showCheckbox:e.showCheckbox,onCheck:r.onCheck,onExpand:r.onExpand,collapsedIcon:c,expandedIcon:u,parentRootRef:r.rootRef.current,htmlAttributes:e.htmlAttributes,"data-component":p+"-node"},g)}));return l.createElement("ol",{className:"sg-tree__list"},f)},t.prototype.renderChildNodes=function(e){var t=this.props.depth;return null!==e.children&&e.expanded?this.renderTreeNodes(e.children,e,t+1):null},t.prototype.render=function(){var e=this.props,t=e.nodes,n=e.checked,r=e.expanded;this.flattenNodes(t),this.unserializeLists({checked:n,expanded:r});var o=this.getFormattedNodes(t),i=this.props,d=i.className,p=i.tabIndex,f=i["data-e2e"],g=i["data-component"],m=s(i,["className","tabIndex","data-e2e","data-component"]),h=c.default("sg-tree",d);return l.createElement("div",a({ref:this.rootRef,className:h,"data-e2e":f,"data-component":g,tabIndex:p,role:"tree"},u.default(m)),this.renderTreeNodes(o))},t.defaultProps={depth:0,checked:[],disabled:!1,expanded:[],noCascade:!1,noCascadeOnDisabledNode:!1,optimisticToggle:!0,collapsedIcon:"arrow-right",expandedIcon:"arrow-down",onCheck:function(){return null},onExpand:function(){return null},"data-e2e":"tree","data-component":"tree"},t}(l.PureComponent);t.default=g,p=n(0).default,f=n(0).leaveModule,p&&(p.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(g,"Tree","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),f(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(33),c=n(81),u=n(11),d=n(200),p=n(26);n(1105);var f,g,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onCheck=function(){var e=t.props,n=e.checked,r=e.entity,o=e.value,i=e.optimisticToggle,a=e.rawChildren,s=!1;0===n&&(s=!0),2===n&&(s=i),(0,e.onCheck)({value:o,checked:s,entity:r,children:a})},t.onExpand=function(){var e=t.props,n=e.expanded,r=e.entity,o=e.value;(0,e.onExpand)({expanded:!n,value:o,entity:r})},t.handleKeyDown=function(e){var n=t.props,r=n.expanded,o=n["data-component"],i=n.parentRootRef;if(u.isEventFromTab(e))l.focusNextComponent({event:e,startingElement:i});else if(u.isEventFromShiftPlusTab(e))l.focusNextComponent({event:e,isDirectionForward:!1,startingElement:i});else{var a=document.querySelectorAll('[data-component="'+o+'"]');switch(e.key){case u.default.DOWN:return e.preventDefault(),e.stopPropagation(),void l.focusNextComponent({event:e,includeChildren:!0,onComponentFiltering:function(e){return e.getAttribute("data-component")===o}});case u.default.UP:return e.preventDefault(),e.stopPropagation(),void l.focusNextComponent({event:e,includeChildren:!0,isDirectionForward:!1,onComponentFiltering:function(e){return e.getAttribute("data-component")===o}});case u.default.LEFT:if(e.preventDefault(),e.stopPropagation(),!r)return;return t.onExpand();case u.default.RIGHT:if(e.preventDefault(),e.stopPropagation(),r)return;return t.onExpand();case u.default.ENTER:case u.default.SPACE:return e.preventDefault(),e.stopPropagation(),t.onCheck();case u.default.END:var s=a&&a[a.length-1];return void l.focusNextComponent({event:e,isDirectionForward:!0,onComponentFiltering:function(e){return e===s}});case u.default.HOME:var c=a&&a[0];return void l.focusNextComponent({event:e,isDirectionForward:!1,onComponentFiltering:function(e){return e===c}})}}},t}return i(t,e),t.prototype.hasChildren=function(){return null!==this.props.rawChildren},t.prototype.renderExpandCollapseButton=function(){var e=this.props,t=e.expanded,n=e.forceShowToggleIcon,r=e.expandedIcon,o=e.collapsedIcon;return this.hasChildren()||n?s.createElement(p.default,{name:t?r:o,size:"10",color:"light",onClick:this.onExpand,"data-e2e":"tree-node-expand"}):s.createElement("div",{className:"sg-tree-node__spacer",style:{width:"10px",height:"10px"}})},t.prototype.renderLabel=function(){var e=this.props,t=e.checked,n=e.disabled,r=e.entity,o=e.label,i=e.value,a=e.showCheckbox,l=c.cn("sg-tree-node__label");return s.createElement("label",{className:l,role:"treeitem",onDoubleClick:this.onExpand,"data-e2e":"tree-node-label"},a&&s.createElement(d.default,{className:"sg-tree-node__checkbox",value:i,checked:1===t,indeterminate:2===t,disabled:n,onChange:this.onCheck,tabIndex:-1}),"function"==typeof o?o(r):o)},t.prototype.renderChildren=function(){return this.props.expanded?this.props.children:null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,r=e.depth,o=e.showCheckbox,i=e.checked,l=e.expanded,u=e.htmlAttributes,d=e.tabIndex,p=e["data-e2e"],f=e["data-component"],g=c.cn("sg-tree-node",n&&"sg-tree-node--disabled",t);return s.createElement("li",a({className:g,style:{paddingLeft:20*r+"px"},tabIndex:d,role:"treeitem","aria-checked":o?Boolean(i):void 0,"aria-expanded":l,"data-e2e":p,"data-component":f,onKeyDown:this.handleKeyDown},u),s.createElement("span",{className:"sg-tree-node__header"},this.renderExpandCollapseButton(),this.renderLabel()),this.renderChildren())},t.defaultProps={children:null,className:null,depth:0,rawChildren:null,forceShowToggleIcon:!1,showCheckbox:!0,tabIndex:0,"data-e2e":"tree-node","data-component":"tree-node"},t}(s.Component);t.default=m,f=n(0).default,g=n(0).leaveModule,f&&(f.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),f.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),f.register(m,"TreeNode","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1106);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TreeNode\n ========================================================================== */\n.sg-tree-node:focus {\n outline: none; }\n\n.sg-keyboard .sg-tree-node:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tree-node__header {\n display: flex;\n align-items: center;\n min-height: 26px; }\n .sg-tree-node__header .sg-tree-node__spacer {\n flex-shrink: 0; }\n\n.sg-tree-node__label {\n display: flex;\n align-items: center;\n width: 100%;\n padding-left: 5px;\n flex-shrink: 0; }\n .sg-tree-node__label--no-icon {\n padding-left: 15px; }\n\n.sg-tree-node__checkbox {\n padding: 0 15px 0 0; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1108);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Tree\n ========================================================================== */\n.sg-tree {\n width: 100%;\n overflow-x: auto; }\n .sg-tree:focus {\n outline: none; }\n .sg-keyboard .sg-tree:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tree__list {\n list-style: none;\n padding: 0; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(62),u=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasPermission:!1,windowFocus:!0},n.registerServiceWorker=function(){var e=n.props.pathToServiceWorker;navigator.serviceWorker.register(e).then((function(e){n.swRegistration=e,n.swRegistration.getNotifications().then((function(e){return e.forEach((function(e){return e.close()}))})),console.log("Registration successful, scope is:",e.scope),n.askForPermission(),n.addEvents()})).catch((function(e){console.log("Service worker registration failed, error:",e.message)}))},n.handleWindowFocus=function(){n.setState({windowFocus:!0})},n.handleWindowBlur=function(){n.setState({windowFocus:!1})},n.isPushNotificationSupported=function(){return"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window},n.askForPermission=function(){Notification.requestPermission().then((function(e){n.setState({hasPermission:"granted"===e})}))},n.createNotification=function(e,t){n.state.windowFocus||n.state.hasPermission&&("string"!=typeof t.tag&&(t.tag=c.uniqueId("sg-web-notification-")),n.notification[t.tag]||n.swRegistration&&n.swRegistration.showNotification&&(window.self=n.swRegistration,n.swRegistration.showNotification(e,t).catch((function(e){return console.log(e)})),n.notification[t.tag]={}))},n.notification={},n}return i(t,e),t.prototype.addEvents=function(){this.props.alwaysShow||(window.addEventListener("focus",this.handleWindowFocus),window.addEventListener("blur",this.handleWindowBlur))},t.prototype.removeEvents=function(){window.removeEventListener("focus",this.handleWindowFocus),window.removeEventListener("blur",this.handleWindowBlur)},t.prototype.componentDidMount=function(){this.isPushNotificationSupported()&&this.registerServiceWorker()},t.prototype.componentDidUpdate=function(e,t){var n=this.props.notification;e.notification!==n&&n&&this.createNotification(n.title,n.options)},t.prototype.componentWillUnmount=function(){this.removeEvents()},t.prototype.render=function(){return l.createElement("input",{type:"hidden",name:"web-notification",style:{display:"none"}})},t.defaultProps={alwaysShow:!1},t}(l.Component);t.default=u,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/web-notification/web-notification.tsx"),a.register(u,"WebNotification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/web-notification/web-notification.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(134),u=n(8),d=function(e){var t=e.link,n=i(e,["link"]);return l.createElement("span",o({},u.default(n)),t)};t.default=c.default(d,{preventTooltipOnMobile:!0}),a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),a.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),a.register(d,"SGTooltip","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1112);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(81),u=n(25),d=n(210);n(1113);var p,f,g={success:"success",warning:"warning",error:"error"},m=function(e){return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={value:e.props.value},e.onChangeHandler=function(t){var n=e.props.onChange;e.setState({value:t.target.value}),n&&n(t)},e.getRegexValidation=function(t){var n=!t.match&&void 0!==t.match;if(Array.isArray(t.regex))return!t.regex.find((function(t){return!(n?!t.test(e.state.value):t.test(e.state.value))}));var r=n?!t.regex.test(e.state.value):t.regex.test(e.state.value);return t&&r},e.getModifyRuleObject=function(t){var n=Object.assign({},t),r=e.getRegexValidation(t);return Boolean(e.props.value)?n.icon=r?"success":n.required?"error":"warning":n.icon="error",n},e.getSemanticScore=function(){var t=e.props.rules.filter((function(t){return e.getRegexValidation(t)}));return Boolean(e.props.value)?t.length===e.props.rules.length?"success":"error":"default"},e.renderHint=function(e){var t=e.icon,n=e.description,r=c.cn("sg-rules-box__hint-icon",t&&"sg-rules-box__hint-icon--"+t);return l.createElement("div",{className:"sg-rules-box__hint",key:n},l.createElement(u.default,{name:g[t],size:"14",className:r}),n)},e.renderHints=function(){return e.props.rules.map((function(t){return e.getModifyRuleObject(t)})).map((function(t){return e.renderHint({icon:t.icon,description:t.description})}))},e.renderStrengthMeter=function(){var t=c.cn("sg-rules-box__hints",e.getSemanticScore()&&"sg-rules-box__hints--"+e.getSemanticScore());return l.createElement("div",{className:t},l.createElement(d.default,{level:"6",density:"cozy"},e.props.translation.title),l.createElement("div",{className:"sg-rules-box__meter"}),e.renderHints())},e}return i(n,t),n.prototype.render=function(){var t=this.props,n=t.className,r=s(t,["className"]),o=(r.rules,r.dispatch,r.onChange,s(r,["rules","dispatch","onChange"])),i=c.cn("sg-rules-box","sg-rules-box--custom-validation",n);return l.createElement(e,a({validationMessageTemplate:this.renderStrengthMeter,className:i,onChange:this.onChangeHandler},o))},n.defaultProps={rules:[],translation:{title:"Recommendations"}},n}(l.Component)};t.default=m,p=n(0).default,f=n(0).leaveModule,p&&(p.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(g,"ICON","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(m,"withFieldRules","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),f(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1114);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Recommendations\n ========================================================================== */\n.sg-rules-box .sg-input-addon--suffix {\n padding-right: 5px; }\n\n.sg-rules-box--custom-validation {\n background-color: var(--background-component-primary); }\n .sg-rules-box--custom-validation .sg-validation {\n background: var(--background-component-primary);\n border: 1px solid transparent;\n color: var(--typography-darkest);\n font-size: 14px; }\n .sg-rules-box--custom-validation .sg-validation--success {\n border-color: var(--color-success); }\n .sg-rules-box--custom-validation .sg-validation--error {\n border-color: var(--color-error); }\n .sg-rules-box--custom-validation .sg-validation--hint {\n border-color: var(--color-hint); }\n\n.sg-theme-hcl .sg-rules-box--custom-validation .sg-validation,\n.sg-theme-hcb .sg-rules-box--custom-validation .sg-validation {\n border-color: var(--high-contrast-foreground); }\n\n/* Hits wrapper\n ========================================================================== */\n.sg-rules-box__hints {\n display: flex;\n flex-direction: column;\n flex: 1 1 0;\n text-align: left; }\n\n.sg-rules-box__hints--error .sg-rules-box__meter {\n background: var(--color-error); }\n\n.sg-rules-box__hints--success .sg-rules-box__meter {\n background: var(--color-success); }\n\n.sg-rules-box__hints--default .sg-rules-box__meter {\n background: var(--color-hint); }\n\n/* Meter\n ========================================================================== */\n.sg-rules-box__meter {\n height: 2px;\n width: 100%; }\n\n/* Hit row\n ========================================================================== */\n.sg-rules-box__hint {\n display: flex;\n align-items: center;\n padding: 10px 0; }\n\n.sg-rules-box__hint-icon {\n margin-right: 5px; }\n\n.sg-rules-box__hint-icon--success {\n color: var(--color-success); }\n\n.sg-rules-box__hint-icon--error {\n color: var(--color-error); }\n\n.sg-rules-box__hint-icon--warning {\n color: var(--color-warning); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1116);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=n(8),c=n(26),u=n(47);n(1117);var d,p,f={success:"success",error:"error",warning:"warning",info:"information",instruction:"information",hint:"information"},g=function(e){var t=e.children,n=e.className,r=e.density,d=e.title,p=e.type,g=e.tabIndex,m=e["data-e2e"],h=e["data-component"],y=i(e,["children","className","density","title","type","tabIndex","data-e2e","data-component"]),b=s.default("sg-banner-notice",p&&"sg-banner-notice--type-"+p,r&&"sg-banner-notice--density-"+r,n),_=s.default("sg-banner-notice__content"),x=t?"compact":"none";return a.createElement("div",o({className:b,"data-e2e":m,"data-component":h,tabIndex:g,role:"alert","aria-live":"assertive"},l.default(y)),a.createElement(c.default,{name:f[p],size:"20",className:"sg-banner-notice__icon",color:"white"}),a.createElement("div",{className:_},d&&a.createElement(u.default,{level:"6",density:x,className:"sg-banner-notice__title",color:"white",weight:"medium"},d),t))};g.defaultProps={density:"medium",type:"hint",tabIndex:0,"data-e2e":"banner-notification","data-component":"banner-notification"},t.default=g,d=n(0).default,p=n(0).leaveModule,d&&(d.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(f,"icons","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(g,"BannerNotification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),p(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1118);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Banner Notification\n ========================================================================== */\n.sg-banner-notice {\n display: flex;\n align-items: center;\n position: relative;\n text-align: start; }\n .sg-banner-notice:focus {\n outline: none; }\n .sg-keyboard .sg-banner-notice:focus {\n outline: none;\n box-shadow: var(--first-level-box-shadow), var(--focus-shadow); }\n .sg-banner-notice .sg-banner-notice__title {\n padding-top: 0; }\n .sg-banner-notice .sg-banner-notice__close-icon {\n color: var(--typography-white); }\n\n.sg-banner-notice--density-small {\n padding: 10px 15px; }\n\n.sg-banner-notice--density-medium {\n padding: 10px 20px; }\n\n.sg-banner-notice__icon {\n margin-right: 10px; }\n\n.sg-banner-notice__content {\n display: flex;\n align-items: center;\n flex-direction: column;\n padding: 0;\n word-break: break-word; }\n\n.sg-banner-notice__close-icon {\n position: absolute;\n top: 15px;\n right: 20px; }\n\n/* Borders and Shadows\n ========================================================================== */\n.sg-banner-notice--border {\n border-left: 3px solid transparent; }\n\n.sg-banner-notice--shadow {\n box-shadow: var(--first-level-box-shadow); }\n\n/* Types\n ========================================================================== */\n.sg-banner-notice--type-success {\n background: var(--color-success); }\n .sg-banner-notice--type-success .sg-list__icon {\n color: var(--color-success); }\n\n.sg-banner-notice--type-error {\n background: var(--color-error); }\n .sg-banner-notice--type-error .sg-list__icon {\n color: var(--color-error); }\n\n.sg-banner-notice--type-warning {\n background: var(--color-warning); }\n .sg-banner-notice--type-warning .sg-list__icon {\n color: var(--color-warning); }\n\n.sg-banner-notice--type-instruction {\n background: var(--ocean-base); }\n .sg-banner-notice--type-instruction .sg-list__icon {\n color: var(--ocean-base); }\n\n.sg-banner-notice--type-info {\n background: var(--royal-base); }\n .sg-banner-notice--type-info .sg-list__icon {\n color: var(--royal-base); }\n\n.sg-banner-notice--type-hint {\n background: var(--color-hint); }\n .sg-banner-notice--type-hint .sg-list__icon {\n color: var(--color-hint); }\n\n@media (max-width: 1500px) {\n .sg-banner-notice .sg-banner-notice__icon {\n max-width: 20px;\n max-height: 20px;\n margin-right: 5px; }\n .sg-banner-notice__title {\n padding-bottom: 0; }\n .sg-banner-notice__content {\n padding: 0 5px; }\n .sg-banner-notice--border {\n border-width: 2px; } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51),o=n(35);t.onPageInit=r.createAction(o.PAGE_INIT),t.onPageResize=r.createAction(o.PAGE_RESIZE)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(2),l=n(10),c=n(44),u=n(9),d=n(1121),p=function(e){var t,n="sg-optimizer-intro-section single";return void 0!==window.optimizerData.cards&&(Object.keys(window.optimizerData.cards.cards).length>1&&(n="sg-optimizer-intro-section"),t=c.filter(window.optimizerData.cards.cards,(function(t,n){if("cloudflare_optimization"!=t.optimization||0!=e.hasCloudflare)return t;delete window.optimizerData.cards.whats_new[n]}))),s.createElement(u.Section,{className:n},s.createElement(u.Flex,{padding:["none","none","medium","none"],direction:"column",gutter:"none"},s.createElement(u.TitleOne,null,l.translate("SG Optimizer"))),void 0!==t&&s.createElement(u.Carousel,{showArrows:!1,renderContent:function(e){if(void 0!==t&&void 0!==window.optimizerData.cards.whats_new)return window.optimizerData.cards.whats_new.includes(e)?s.createElement("div",{className:"label-wrapper--absolute"},s.createElement(u.Label,{size:"small",color:"success"},"New feature")):void 0}},Object.keys(t).map((function(n){return"default"==t[n].type?s.createElement(d.DefaultCard,o({},t[n],{key:n,onClick:e.enableOption})):"optimizations"==t[n].type?s.createElement(d.OptimizationsCard,o({},t[n],{key:n,onClick:e.enableOption})):void 0}))))};t.default=p,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/intro/index.tsx"),i.register(p,"Intro","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/intro/index.tsx"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1122);t.DefaultCard=r.default;var o=n(1123);t.OptimizationsCard=o.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(9),l=function(e){return a.createElement(s.Card,{key:e.index,iconName:e.icon,iconColor:e.icon_color,text:e.text,title:e.title,size:"x-large",outline:"none"},void 0!==e.button&&a.createElement(s.Button,{onClick:function(t){e.onClick(e.optimization,!0),window.location.hash=e.button.link},color:e.button.color},e.button.text))};t.default=l,o=n(0).default,i=n(0).leaveModule,o&&(o.register(l,"DefaultCard","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cards/default.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Container,{elevation:"none",padding:"responsive",className:"features-container"},a.createElement(l.Grid,{gap:"responsive"},a.createElement(l.Title,{density:"none",level:"2",weight:"bold",color:"darkest"},s.translate("Top 3 Optimization Opportunities")),a.createElement(l.Grid,{sm:"3",gap:"responsive"},e.boxes.map((function(t,n){return a.createElement(l.Container,{key:n,padding:"responsive",elevation:"none",className:"feature-box--highlight"},a.createElement(l.Grid,{gap:"small"},a.createElement(l.Title,{level:"5",weight:"bold",density:"none"},t.title),a.createElement(l.Text,null,t.text),a.createElement("div",null,a.createElement(l.Button,{onClick:function(n){e.onClick(t.optimization,!0),window.location.hash=t.link},color:"primary",size:"small"},"Enable Now"))))})))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"OptimizationsCard","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cards/optimizations.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(16),d=n(9),p=n(10),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this;return window.optimizerData.network_settings.is_multisite&&!window.optimizerData.network_settings.is_network_admin||1==this.props.hideRatingOption?"":l.createElement(d.Section,null,l.createElement(d.Container,{padding:"large",className:"sg-rate"},l.createElement(d.Flex,{margin:"none",gutter:"xx-large",expand:!0},l.createElement(d.Box,{sm:"3",flex:!0,align:"center",justify:"center",className:"sg-rate--stars"},l.createElement(d.Link,{href:"https://wordpress.org/support/plugin/sg-cachepress/reviews/?rate=5#new-post",target:"_blank",style:{width:"100%"}},l.createElement(d.StarRating,{rating:5,size:"large",style:{width:"100%"}}))),l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},p.translate("Thanks for using SG Optimizer to make your site faster!")),l.createElement(d.Link,{href:"https://wordpress.org/support/plugin/sg-cachepress/reviews/?rate=5#new-post",target:"_blank",style:{paddingBottom:"10px"}},p.translate("Help more people optimize their sites by rating our plugin."))),l.createElement(d.Button,{size:"small",type:"link",className:"sg-button--hide",style:{color:"#a4a4a4"},onClick:function(t){return e.props.hideRating()}},p.translate("Don’t Show This Again")))))},t}(l.Component),g=function(e){return{hideRatingOption:e.Options.hide_rating}},m=function(e){return{hideRating:function(){return e(u.hideRating())}}};t.default=c.connect(g,m)(f),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(f,"Rating","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(g,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(m,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s,l,c=n(2),u=n(24),d=n(9),p=n(487),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return c.createElement(d.Notifications,a({},this.props),this.props.notifications&&this.props.notifications.map((function(e){return c.createElement(p.Notification,{notification:e,message:e.message,key:e.id})})))},t}(c.Component),g=function(e){return{notifications:e.Notifications.notifications}},m=function(e){return{}};t.default=u.connect(g,m)(f),s=n(0).default,l=n(0).leaveModule,s&&(s.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(f,"Notifications","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(g,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(m,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),l(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l,c,u=n(2),d=n(24),p=n(16),f=n(9),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.removeNotification=function(){var e=t.props,n=e.removeNotification,r=e.notification;void 0!==t.timeout&&(clearTimeout(t.timeout),t.timeout=void 0,n({id:r.id}))},t}return i(t,e),t.prototype.componentWillMount=function(){var e=this;this.timeout=setTimeout((function(){e.removeNotification()}),4e3)},t.prototype.componentWillUnmount=function(){this.removeNotification()},t.prototype.render=function(){var e=this.props,t=e.notification,n=(e.removeNotification,s(e,["notification","removeNotification"]));return u.createElement(f.Notification,a({type:t.type,title:t.title,message:t.message,onClose:this.removeNotification},n))},t}(u.Component),m=function(e){return{notifications:e.Notifications.notifications}},h=function(e){return{removeNotification:function(t){return e(p.removeNotification(t))}}};t.default=d.connect(m,h)(g),l=n(0).default,c=n(0).leaveModule,l&&(l.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(g,"Notification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(m,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(h,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(9),d=n(16),p=n(10),f=n(1128),g=n(146),m=n(100),h=n(65),y=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.toogleDialog=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.state={showUrlsDialog:!1,showCacheDialog:!1},n}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(h.Row,{title:p.translate("Dynamic Caching"),checked:this.props.options.enable_cache,name:"enable_cache",onChange:this.changeOption,hasExpand:1},p.translate("Store your content in the server’s memory for a faster access with this full-page caching solution powered by NGINX.")),1===this.props.options.enable_cache&&l.createElement(u.Flex,{gutter:"large"},l.createElement(u.Box,{sm:"12"},l.createElement(u.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(u.Box,{sm:"10"},l.createElement(u.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},p.translate("Manual Cache Purge")),l.createElement(u.Text,null,p.translate("Clear the Dynamic Cache for your entire website."))),l.createElement(u.Box,{sm:"2"},l.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.props.purgeCache},this.props.cachePurged?p.translate("Purge Cache"):p.translate("Purging ...")))),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Automatic Cache Purge"),checked:this.props.options.autoflush_cache,name:"autoflush_cache",onChange:this.changeOption},p.translate("Automatically perform a smart cache purge after every content modification.")," ",l.createElement(u.Link,{onClick:function(t){return e.toogleDialog("showCacheDialog")},"aria-haspopup":"true",role:"button"}," ",p.translate("See rules"))),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Browser-Specific Caching"),checked:this.props.options.user_agent_header,name:"user_agent_header",onChange:this.changeOption},p.translate("We recommend you to enable this feature {{strong}}only{{/strong}} if you’re experiencing issues with plugins, generating mobile version of your site or similar functionality. Once enabled, the cache has to be generated separately for different browsers which lowers its efficiency.",{components:{strong:l.createElement("strong",null)}})),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Excluding URLs")},p.translate("Use this feature if you want to exclude certain parts of your website from being cached and keep them dynamic.")," ",l.createElement(u.Link,{onClick:function(t){return e.toogleDialog("showUrlsDialog")},"aria-haspopup":"true",role:"button"}," ",p.translate("See examples"))),l.createElement(g.UrlsExclude,{updateExcludeList:this.props.updateExcludeList,excludedUrls:this.props.options.excluded_urls,addNotification:this.props.addNotification,prefix:window.optimizerData.home_url}),l.createElement(u.Flex,{className:"divider"}),l.createElement(f.default,{testUrl:this.props.testUrl})))),this.state.showUrlsDialog&&l.createElement(m.UrlsDialog,{toogleDialog:function(t){return e.toogleDialog("showUrlsDialog")}}),this.state.showCacheDialog&&l.createElement(m.CacheDialog,{toogleDialog:function(t){return e.toogleDialog("showCacheDialog")}}))},t}(l.Component),b=function(e){return{options:e.Options,cachePurged:e.Cache.cachePurged}},_=function(e){return{enableOption:function(t,n){return e(d.enableOption(t,n,!1))},disableOption:function(t,n){return e(d.disableOption(t,n,!1))},updateExcludeList:function(t){return e(d.updateExcludeList(t))},purgeCache:function(){return e(d.purgeCache())},testUrl:function(t){return e(d.testUrl(t))},addNotification:function(t){return e(d.addNotification(t))}}};t.default=c.connect(b,_)(y),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(y,"DynamicCache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(b,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(_,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(9),u=n(10),d=function(e){function t(t){var n=e.call(this,t)||this;return n.handleKeyPressTestCache=function(e){"Enter"==e.key&&n.testUrlCache()},n.handleTestUrlInputChange=function(e){n.setState({testInputValue:e.target.value})},n.testUrlCache=function(){var e=n.state.testInputValue.replace(window.optimizerData.home_url,"");n.props.testUrl(e)},n.state={testInputValue:""},n}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(c.Flex,{direction:"row",gutter:"large",margin:"medium"},l.createElement(c.Box,{sm:"12"},l.createElement(c.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Test URLs for Cache Status")),l.createElement(c.Text,null,u.translate("Check if the Dynamic Cache is working on a certain URL. Especially useful to make sure your Exclude list is working the way it should.")))),l.createElement(c.Flex,{direction:"row",gutter:"large",margin:"medium"},l.createElement(c.Box,{sm:"10"},l.createElement(c.Input,{type:"text",size:"medium",prefix:window.optimizerData.home_url,value:this.state.testInputValue,onChange:function(t){return e.handleTestUrlInputChange(t)},onKeyPress:this.handleKeyPressTestCache})),l.createElement(c.Box,{sm:"2"},l.createElement(c.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.testUrlCache},u.translate("Test")))))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cache-tester/index.tsx"),a.register(d,"CacheTester","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cache-tester/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(44),u=n(9),d=n(10),p=function(e){function t(t){var n=e.call(this,t)||this;return n.transformExcludedItems=function(){var e=[];return n.props.excludedItems.map((function(t){e.push({value:t})})),e.reverse()},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.updateExcludeList()},n.handleExcludeInputChange=function(e){n.setState({excludeInputValue:e.target.value})},n.isValidUrl=function(e){var t=new RegExp(n.props.regex);return null!==e.match(t)},n.updateExcludeList=function(){if(-1!==n.props.excludedItems.indexOf(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue,type:"error",message:d.translate("This item already exists in exclude list.")}),!1;if(c.isEmpty(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue+"error",type:"error",message:d.translate("You must input a class name.")}),!1;var e=n.state.excludeInputValue;if(n.props.regex){if(!1===n.isValidUrl(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue,type:"error",message:d.translate("Please provide correct URL.")}),!1;var t=new RegExp(n.props.regex);e=e.replace(t,"//$1")}var r=n.props.excludedItems;r.push(e),n.props.updateExcludeList(r),n.setState({excludeInputValue:""})},n.deleteItem=function(e){var t=n.props.excludedItems,r=t.indexOf(e);t.splice(r,1),n.props.updateExcludeList(t)},n.getColumns=function(){return[{header:"",accessor:"value",render:function(e){return l.createElement(u.Flex,{margin:"none",gutter:"none"},l.createElement(u.Text,{weight:"bold"},e))}},{header:"",render:function(e,t){return l.createElement(u.IconButton,{icon:"trash",shape:"circle",onClick:function(e){return n.deleteItem(t.value)}})},style:{textAlign:"right"}}]},n.state={excludeInputValue:""},n}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(u.Flex,{gutter:"large",direction:"row",margin:"small"},l.createElement(u.Box,{sm:"10"},l.createElement(u.Input,{type:"text",size:"medium",prefix:this.props.prefix,value:this.state.excludeInputValue,onChange:function(t){return e.handleExcludeInputChange(t)},onKeyPress:this.handleKeyPressExcludeList})),l.createElement(u.Box,{sm:"2"},l.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.updateExcludeList},this.props.buttonText?this.props.buttonText:d.translate("Exclude")))),this.props.excludedItems.length>0&&l.createElement(u.Flex,{gutter:"large",direction:"column"},l.createElement(u.Box,null,l.createElement(u.Table,{data:this.transformExcludedItems(),columns:this.getColumns()}))))},t}(l.Component);t.default=p,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/simple-exclude.tsx"),a.register(p,"SimpleExclude","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/simple-exclude.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(9),u=n(10),d=n(1131),p=function(e){function t(t){var n=e.call(this,t)||this;return n.transformExcludedUrls=function(){var e=[];return n.props.excludedUrls.map((function(t){e.push({value:d.unTrailingSlashIt(window.optimizerData.home_url)+t})})),e.reverse()},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.updateExcludeList()},n.handleExcludeInputChange=function(e){n.setState({excludeInputValue:e.target.value})},n.updateExcludeList=function(){var e=n.getAndValidateExcludeUrl();if(!1!==e){var t=n.props.excludedUrls;t.push(e),n.props.updateExcludeList(t),n.setState({excludeInputValue:""})}},n.deleteUrl=function(e){var t=e.replace(window.optimizerData.home_url,"/"),r=n.props.excludedUrls,o=r.indexOf(t);r.splice(o,1),n.props.updateExcludeList(r)},n.getColumns=function(){return[{header:"",accessor:"value",render:function(e){return l.createElement(c.Flex,{margin:"none",gutter:"none"},l.createElement(c.Text,{weight:"bold"},e))}},{header:"",render:function(e,t){return l.createElement(c.IconButton,{icon:"trash",shape:"circle",onClick:function(e){return n.deleteUrl(t.value)}})},style:{textAlign:"right"}}]},n.state={excludeInputValue:""},n}return i(t,e),t.prototype.getAndValidateExcludeUrl=function(){var e=new RegExp("^/+|"+window.optimizerData.home_url,"g"),t=this.state.excludeInputValue.replace(e,"");return"*"!==t.slice(-1)&&(t=d.trailingSlashIt(t)),"/"!==t&&(t="/"+t),-1!==this.props.excludedUrls.indexOf(t)?(this.props.addNotification({id:t,type:"error",message:u.translate("This URL already exists in exclude list.")}),!1):t},t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(c.Flex,{gutter:"large",direction:"row",margin:"none"},l.createElement(c.Box,{sm:"10"},l.createElement(c.Input,{type:"text",size:"medium",prefix:this.props.prefix,value:this.state.excludeInputValue,onChange:function(t){return e.handleExcludeInputChange(t)},onKeyPress:this.handleKeyPressExcludeList})),l.createElement(c.Box,{sm:"2"},l.createElement(c.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.updateExcludeList},u.translate("Exclude")))),this.props.excludedUrls.length>0&&l.createElement(c.Flex,{gutter:"large",direction:"column",margin:"medium"},l.createElement(c.Box,null,l.createElement(c.Table,{data:this.transformExcludedUrls(),columns:this.getColumns()}))))},t}(l.Component);t.default=p,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/urls-exclude.tsx"),a.register(p,"UrlsExclude","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/urls-exclude.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";var r=function e(t){return t.endsWith("/")||t.endsWith("\\")?e(t.slice(0,-1)):t},o=function(e){return r(e)+"/"};e.exports=o,e.exports.trailingSlashIt=o,e.exports.unTrailingSlashIt=r},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Check Your Website!",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Defering render-blocking JavaScript may cause issues with scripts that require certain order of execution. This is why we advise you to check the frontend of your website after you enable this optimization."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you notice issues with certain functionality, use the Exclude functionality to keep those scripts loading in a render-blocking manner."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"AsyncDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/async-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Automatic Purge Rule",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Close")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate("Purge your installation's entire Dynamic Cache or select parts in order to achieve the best hit-to-cache ratio for your account. Here are the plugin's purge rules:"))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Full Purge on page, posts, and category deletion, plugin and theme activation, deactivation, or update, and on WordPress core updates."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Specific URL Purge on comment actions and page, post, and category updates."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"CacheDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/cache-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Important",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},"manual"==e.type&&s.translate("You’re switching to PHP %(version)s manually and you will stay on that version until you change it to a newer one. In case you experience any issues after the update, switch back the PHP version from your {{strong}}cPanel{{/strong}} > {{strong}}PHP Version Manager{{/strong}} tool.",{args:{version:e.version},components:{strong:a.createElement("strong",null)}}),"managed"==e.type&&s.translate("You’re about to switch to Managed PHP service. This means that SiteGround will automatically update your PHP version once we are sure there’s a better, safer and more stable version."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"PhpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/php-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Force HTTPS",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:e.toogleConfirm,color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate("In order to force HTTPS on your site, we will automatically update your database replacing all insecure links. In addition to that, we will add a rule in your .htaccess file, forcing all requests to go through encrypted connection."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"SslDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/ssl-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Excluding URLs",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Close")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate('You can exclude full or partial URLs using "*" as a wildcard. For example:'))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("{{strong}}www.site.com/parent-page/sub-page{{/strong}} will exclude only that single URL.",{components:{strong:a.createElement("strong",null)}}))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate('{{strong}}www.site.com/parent-page/*{{/strong}} will exclude all sub-pages of "parent-page".',{components:{strong:a.createElement("strong",null)}}))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"UrlsDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/urls-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Delete All WebP Files",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("This will delete all WebP files in your uploads folder! In case you need them, you will have to regenerate them again or restore that folder from a backup."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"DeleteWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/delete-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Re-generate All WebP Files",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Doing this will delete all WebP files in your uploads folder and generate them anew!"))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"RegenerateWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/regenerate-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Check Your Website!",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Combining JavaScript files may cause issues with scripts that require certain order of execution. This is why we advise you to check the frontend of your website after you enable this optimization."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you notice issues with parts of your site, use the Exclude functionality to keep those scripts separate from the combination."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"JsCombineDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/js-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Warning for CDN Users",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you're using CloudFlare or other CDN provider, please keep this optimization disabled and check if you can have WebP enabled by your CDN provider."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"EnableWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/enable-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",size:"large",title:e.title,icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm(e.name)},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",align:"left"},a.createElement(l.Box,{sm:"6"},a.createElement(l.RadioButton,{key:"ultrafast",value:1,align:"flex-start",name:e.statusName,size:"medium",onChange:function(t){return e.changeStatus(e.statusName,t)},checked:1==e.status?1:0},s.translate("Enabled"))),a.createElement(l.Box,{sm:"6"},a.createElement(l.RadioButton,{key:"standard",value:0,align:"flex-start",name:e.statusName,size:"medium",onChange:function(t){return e.changeStatus(e.statusName,t)},checked:0==e.status?1:0},s.translate("Disable")))),a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!0},a.createElement(l.Text,{align:"left"},e.message))),1==e.status&&a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Slider,{max:300,min:15,step:5,value:e.interval,label:"s",onChange:function(t){return e.changeInterval(e.intervalName,t)}}),a.createElement(l.Text,{align:"center"},s.translate("Select Heartbeat Frequency")))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"HeartbeatDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/heartbeat-control-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Your Cloudflare account may have page rules set that might affect the work of our integration. SG Optimizer will {{strong}}delete all Page Rules{{/strong}} and replace that functionality with {{strong}}Cloudflare workers{{/strong}}. Note, that Cloudflare workers are free up to 100 000 requests a day and if you go past that number you may need to upgrade your account in order to keep using this functionality.",{components:{strong:a.createElement("strong",null)}}))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"CloudflareDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/cloudflare-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(100),m=n(489),h=n(61),y=n(490),b=n(1144),_=n(1149),x=n(1150),v=n(491),M=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleSslDialog=function(){n.setState({showSslDialog:!n.state.showSslDialog})},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.toogleDatabaseOptimization=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableDatabaseOptimization(e.name,t):n.props.disableDatabaseOptimization(e.name,t)},n.toogleSsl=function(){n.props.options.ssl_enabled?(n.props.disableSsl("ssl_enabled"),n.props.disableOption("fix_insecure_content")):(n.props.enableSsl("ssl_enabled"),n.setState({showSslDialog:!1}))},n.state={showSslDialog:!1},n}return i(t,e),t.prototype.render=function(){var e=this;return 1===window.optimizerData.network_settings.is_multisite&&0===window.optimizerData.network_settings.is_network_admin&&!0,l.createElement(h.default,null,d.includes(window.optimizerData.modules,"ssl")&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},1===this.props.isLoading&&l.createElement(p.Loader,{style:{position:"absolute"}}),l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Enable HTTPS")),l.createElement(p.Text,null,u.translate("Configures your site to work correctly via HTTPS and forces a secure connection to your site."))),l.createElement(p.Box,{sm:"2",className:"right--actions"},l.createElement(p.Switch,{size:"small",checked:this.props.options.ssl_enabled,name:"ssl_enabled","aria-haspopup":!0,"aria-expanded":1==this.props.options.ssl_enabled,onChange:function(t){return t.target.checked?e.toogleSslDialog():e.toogleSsl()}}))),1===this.props.options.ssl_enabled&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Fix Insecure Content")),l.createElement(p.Text,null,u.translate("Enable this option in case you’re getting insecure content errors on your website. We will dynamically rewrite insecure requests for resources coming from your site"))),l.createElement(p.Box,{sm:"2",className:"right--actions"},l.createElement(p.Switch,{size:"small",checked:this.props.options.fix_insecure_content,name:"fix_insecure_content",onChange:function(t){return e.changeOption(t.target,!0)}})))))),l.createElement(p.Flex,{className:"divider"})),l.createElement(b.default,null),l.createElement(_.default,{dns_prefetch:this.props.options.dns_prefetch,dns_prefetch_urls:this.props.options.dns_prefetch_urls,changeOption:this.changeOption,updateExcludes:this.props.updateExcludes,addNotification:this.props.addNotification}),l.createElement(x.default,{checked:this.props.options.database_optimization,toogleOptimization:this.toogleDatabaseOptimization}),d.includes(window.optimizerData.modules,"phpchecker")&&l.createElement(m.default,null),l.createElement(v.default,{checked:this.props.options.enable_gzip_compression,changeOption:this.changeOption}),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{checked:this.props.options.enable_browser_caching,changeOption:this.changeOption}),this.state.showSslDialog&&l.createElement(g.SslDialog,{toogleClose:this.toogleSslDialog,toogleConfirm:this.toogleSsl}))},t}(l.Component),w=function(e){return{options:e.Options,isLoading:e.Options.isLoading}},z=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},enableDatabaseOptimization:function(t,n){return e(f.enableDatabaseOptimization(t,n,!1))},disableDatabaseOptimization:function(t,n){return e(f.disableDatabaseOptimization(t,n,!1))},addNotification:function(t){return e(f.addNotification(t))},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))},enableSsl:function(t){return e(f.enableSsl(t))},disableSsl:function(t){return e(f.disableSsl(t))}}};t.default=c.connect(w,z)(M),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(M,"EnvironmentOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(w,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(z,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(44),d=n(9),p=n(16),f=n(10),g=n(1145),m=n(65),h=n(100),y=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.changeStatus=function(e,t){var r;n.setState(((r={})[e]=t.target.value,r))},n.changeInterval=function(e,t){var r;n.setState(((r={})[e]=t,r))},n.toogleDialog=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.toogleConfirm=function(e){var t,r=n.getOptions(e),o="heartbeat_"+r.option+"_status",i="heartbeat_"+r.option+"_interval";1===parseInt(n.state[r.status])?n.props.enableOption(o,!1):n.props.disableOption(o,!1),n.props.changeOption(i,n.state[r.interval]),n.setState(((t={})[r.dialog]=!n.state[r.dialog],t))},n.getOptions=function(e){var t={dashboard:{title:f.translate("WordPress Admin Pages"),dialog:"showDashboardDialog",status:"dashboardStatus",interval:"dashboardInterval",option:"dashboard",message:f.translate("Select whether the Heartbeat API to work or not on your {{strong}}WordPress Admin Pages{{/strong}}. Unless you rely on it to execute scheduled tasks, we recommend to keep it disabled.",{components:{strong:l.createElement("strong",null)}})},post:{title:f.translate("Post and Page Edit"),dialog:"showPostDialog",status:"frontendStatus",interval:"frontendInterval",option:"post",message:f.translate("Select whether the WordPress Heartbeat API to work or not on your {{strong}}Post and Page Edit{{/strong}} screens. We recommend that you keep it enabled at 180 seconds.",{components:{strong:l.createElement("strong",null)}})},frontend:{title:f.translate("Site Frontend"),dialog:"showFrontendDialog",status:"editStatus",interval:"editInterval",option:"frontend",message:f.translate("Select whether the WordPress Heartbeat API to work or not on your {{strong}}Site Frontend{{/strong}}. Unless you rely on it to execute scheduled tasks, we recommend to keep it disabled.",{components:{strong:l.createElement("strong",null)}})}};return!1===e?t:t[e]},n.getMessage=function(e){var t="heartbeat_"+e.option+"_status",r="heartbeat_"+e.option+"_interval";return 0===parseInt(n.props.options[t])?f.translate("Disabled"):n.props.options[r]+"s"},n.state={showDashboardDialog:!1,showPostDialog:!1,showFrontendDialog:!1,dashboardStatus:0,frontendStatus:0,editStatus:0,dashboardInterval:0,frontendInterval:0,editInterval:0,keys:["status","interval"]},n}return i(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.getOptions(!1);u.map(n,(function(n){u.map(t.state.keys,(function(r){var o,i="heartbeat_"+n.option+"_"+r;t.props.options[i]!==e.options[i]&&t.setState(((o={})[n[r]]=t.props.options[i],o))}))}))},t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(m.Row,{title:f.translate("WordPress Heartbeat Optimization"),checked:this.props.options.heartbeat_control,name:"heartbeat_control",onChange:function(t){return e.changeOption(t,!0)},hasExpand:1},f.translate("Enable this option to allow SG Optimizer to control the WordPress Heartbeat API.")),1===this.props.options.heartbeat_control&&l.createElement(l.Fragment,null,l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!1},f.translate("By default, the WordPress Heartbeat API checks every 15 seconds on your post edit pages and every 60 seconds on your dashboard and frontend whether there is a scheduled tasks to be executed. This can generate high CPU usage if you leave browser tabs in which you're logged to WordPress opened for a longer period of time. With this option, you can make the checks run less frequently or completely disable them.")))),l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"medium",direction:"row",style:{padding:"0",margin:"0"}},u.map(this.getOptions(!1),(function(t,n){return l.createElement(d.Box,{sm:"4",key:n},l.createElement(g.default,{label:f.translate(t.title)},e.getMessage(t),l.createElement(d.IconButton,{icon:"edit",shape:"circle",onClick:function(n){return e.toogleDialog(t.dialog)}})))})))))),l.createElement(d.Flex,{className:"divider"}),u.map(this.getOptions(!1),(function(t,n){return e.state[t.dialog]&&l.createElement(h.HeartbeatControl,{name:n,key:n,title:t.title,message:t.message,toogleDialog:function(n){return e.toogleDialog(t.dialog)},changeStatus:e.changeStatus,confirm:e.toogleConfirm,changeInterval:e.changeInterval,toogleConfirm:e.toogleConfirm,statusName:t.status,status:e.state[t.status],interval:e.state[t.interval],intervalName:t.interval})})))},t}(l.Component),b=function(e){return{options:e.Options}},_=function(e){return{enableOption:function(t,n){return e(p.enableOption(t,n,!1))},disableOption:function(t,n){return e(p.disableOption(t,n,!1))},changeOption:function(t,n){return e(p.changeOption(t,n))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(b,_)(y),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(y,"Heartbeat_Control","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(b,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(_,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1146);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);n(1147);var a,s,l=n(9),c=function(e){var t=e.children,n=e.label;o(e,["children","label"]);return i.createElement("div",{className:"form-field-wrapper","data-e2e":"form-field-wrapper"},i.createElement(l.Text,{color:"dark",size:"large",align:"left",weight:"bold",tag:"span",className:"sg-form-label"},n),i.createElement("div",{className:"form-field-wrapper__content"},t))};t.default=c,a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/form-field-wrapper/form-field-wrapper.tsx"),a.register(c,"FormFieldWrapper","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/form-field-wrapper/form-field-wrapper.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1148);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n.form-field-wrapper__content {\n height: 40px;\n display: flex;\n align-items: center; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=n(65),u=n(146),d=n(221),p=function(e){return a.createElement(a.Fragment,null,a.createElement(c.Row,{title:s.translate("DNS Pre-fetch for External Domains"),checked:e.dns_prefetch,name:"dns_prefetch",onChange:e.changeOption},s.translate("With this functionality you can enable the DNS pre-fetching for external domains. Doing this will save DNS lookup for resources loaded from these domains.")),1===e.dns_prefetch&&a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},a.createElement(d.default,{margin:"medium"},s.translate("Add only your domain names without http:// or https:// - DNS prefetching will work for both")),a.createElement(u.SimpleExclude,{updateExcludeList:function(t,n,r){return e.updateExcludes("dns_prefetch_urls",t)},excludedItems:e.dns_prefetch_urls,addNotification:e.addNotification,buttonText:s.translate("Add"),regex:"(?:(?:https?:)?(?:\\/\\/)(?:www\\.|(?!www)))?((?:.*?)\\.(?:[a-zA-Z\\d-]+){2,})"})))),a.createElement(l.Flex,{className:"divider"}))};t.default=p,o=n(0).default,i=n(0).leaveModule,o&&(o.register(p,"DNSPrefetch","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dns-prefetch/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=n(65),u=function(e){return a.createElement(a.Fragment,null,a.createElement(c.Row,{title:s.translate("Scheduled Database Maintenance"),checked:e.checked,name:"database_optimization",onChange:e.toogleOptimization},s.translate("Enable this option to regularly cleanup your database and keep it small and optimized.")),a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},a.createElement(l.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!1,title:s.translate("Enabling this optimization will perform these tasks once a week:")},a.createElement(l.List,{color:"dark","data-e2e":"list",density:"medium",justify:"center",orientation:"vertical",size:"small"},a.createElement(l.ListItem,{icon:"dot"},s.translate("Perform Database Optimization for MyISAM tables")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all automatically created post and page drafts")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all page and post revisions")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all posts and pages in your Trash")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all comments marked as Spam")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all expired Transients"))))))),a.createElement(l.Flex,{className:"divider"}))};t.default=u,o=n(0).default,i=n(0).leaveModule,o&&(o.register(u,"DatabaseOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/database-optimization/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(100),m=n(61),h=n(146),y=n(220),b=n(221),_=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleAsyncDialog=function(){n.setState({showAsyncDialog:!n.state.showAsyncDialog})},n.toogleAsync=function(){n.props.options.optimize_javascript_async?n.props.disableOption("optimize_javascript_async",!0):(n.props.enableOption("optimize_javascript_async",!0),n.setState({showAsyncDialog:!1}))},n.toogleJsCombineDialog=function(){n.setState({showJsCombineDialog:!n.state.showJsCombineDialog})},n.toogleJsCombination=function(){n.props.options.combine_javascript?n.props.disableOption("combine_javascript",!0):(n.props.enableOption("combine_javascript",!0),n.props.disableOption("combine_javascript_error",!1),n.setState({showJsCombineDialog:!1}))},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.openExclude=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.updateExclude=function(e,t,r){var o;n.props.updateExcludes(e,t),n.setState(((o={})[r]=!0,o))},n.state={showMinifyCssExclude:!1,showCombineCssExclude:!1,showMinifyJavascriptExclude:!1,showCombineJavascriptExclude:!1,showAsyncJavascriptExclude:!1,showHtmlMinifyExclude:!1,showAsyncDialog:!1,showJsCombineDialog:!1},n}return i(t,e),t.prototype.filterSelectedValues=function(e,t){return e.length?e.filter((function(e){return t.some((function(t){return e===t.value}))})):e},t.prototype.render=function(){var e=this,t=d.filter(this.props.jsAssets,{is_minified:0}),n=(d.filter(this.props.jsAssets,{in_footer:0}),d.filter(this.props.cssAssets,{is_minified:0})),r=this.filterSelectedValues(this.props.options.minify_javascript_exclude,t),o=this.filterSelectedValues(this.props.options.async_javascript_exclude,this.props.jsAssets),i=this.filterSelectedValues(this.props.options.minify_css_exclude,n),a=this.filterSelectedValues(this.props.options.combine_css_exclude,this.props.cssAssets),s=this.filterSelectedValues(this.props.options.combine_javascript_exclude,this.props.jsAssets);return l.createElement(m.default,null,l.createElement(y.default,{title:u.translate("Minify the HTML Output"),checked:this.props.options.optimize_html,name:"optimize_html",onChange:this.changeOption},u.translate("Removes unnecessary characters from your HTML output saving data and improving your site speed. "),!!this.props.options.optimize_html&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showHtmlMinifyExclude")},"aria-expanded":!!this.state.showHtmlMinifyExclude}," ",u.translate("Exclude URLs from HTML Minification"))),1===this.props.options.optimize_html&&(this.props.options.minify_html_exclude.length||this.state.showHtmlMinifyExclude)&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},l.createElement(b.default,{margin:"medium",title:u.translate("Exclude URLs from HTML Minification")},u.translate("With this functionality, you can exclude different pages from HTML minification.")),l.createElement(h.UrlsExclude,{updateExcludeList:function(t,n,r){return e.updateExclude("minify_html_exclude",t,"showHtmlMinifyExclude")},excludedUrls:this.props.options.minify_html_exclude,addNotification:this.props.addNotification,prefix:window.optimizerData.home_url})))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Minify JavaScript Files"),checked:this.props.options.optimize_javascript,name:"optimize_javascript",onChange:this.changeOption},u.translate("Minify your JavaScript files in order to reduce their size and reduce the number of requests to the server. "),!!this.props.options.optimize_javascript&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showMinifyJavascriptExclude")},"aria-expanded":!!this.state.showMinifyJavascriptExclude}," ",u.translate("Exclude from JavaScript Minification"))),1===this.props.options.optimize_javascript&&(r.length||this.state.showMinifyJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"minify_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:t,optionValue:"value",optionLabel:"title",selectedValue:r,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("minify_javascript_exclude",t,"showMinifyJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Combine JavaScript Files"),checked:this.props.options.combine_javascript,name:"combine_javascript",hasPopup:1,onChange:function(t){return 0===e.props.options.combine_javascript?e.toogleJsCombineDialog():e.toogleJsCombination()}},u.translate("Combine your JavaScript files in order to reduce the number of requests to the server."),!!this.props.options.combine_javascript&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showCombineJavascriptExclude")},"aria-expanded":!!this.state.showCombineJavascriptExclude}," ",u.translate("Exclude from JavaScript Combination"))),1===this.props.options.combine_javascript_error&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"error",background:"light",contentSize:"expanded",shadow:!1,title:u.translate("JAVASCRIPT COMBINATION DISABLED")},u.translate("We have detected that a script is generating uniquely named files which results in our combined assets taking up huge amount of disk space. Please, exclude any scripts that generate unique JS code per page or per visit in order to avoid this from happening again.")))),1===this.props.options.combine_javascript&&(s.length||this.state.showCombineJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"combine_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.jsAssets,optionValue:"value",optionLabel:"title",selectedValue:s,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("combine_javascript_exclude",t,"showCombineJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Defer Render-blocking JS"),checked:this.props.options.optimize_javascript_async,name:"optimize_javascript_async",hasPopup:1,onChange:function(t){return 0===e.props.options.optimize_javascript_async?e.toogleAsyncDialog():e.toogleAsync()}},u.translate("Defer loading of render-blocking JavaScript files for faster initial site load. "),!!this.props.options.optimize_javascript_async&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showAsyncJavascriptExclude")},"aria-expanded":!!this.state.showAsyncJavascriptExclude}," ",u.translate("Exclude from Loading JS Files Asynchronously"))),1===this.props.options.optimize_javascript_async&&(o.length||this.state.showAsyncJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"async_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.jsAssets,optionValue:"value",optionLabel:"title",selectedValue:o,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("async_javascript_exclude",t,"showAsyncJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Minify CSS Files"),checked:this.props.options.optimize_css,name:"optimize_css",onChange:this.changeOption},u.translate("Minify your CSS files in order to reduce their size and reduce the number of requests to the server. "),!!this.props.options.optimize_css&&!!n.length&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showMinifyCssExclude")},"aria-expanded":!!this.state.showMinifyCssExclude}," ",u.translate("Exclude From CSS Minification"))),1===this.props.options.optimize_css&&(i.length||this.state.showMinifyCssExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"minify_css_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:n,optionValue:"value",optionLabel:"title",selectedValue:i,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("minify_css_exclude",t,"showMinifyCssExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Combine CSS Files"),checked:this.props.options.combine_css,name:"combine_css",onChange:this.changeOption},u.translate("Combine multiple CSS files into one to lower the number of requests your site generates. "),!!this.props.options.combine_css&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showCombineCssExclude")},"aria-expanded":!!this.state.showCombineCssExclude}," ",u.translate("Exclude from CSS Combination"))),1===this.props.options.combine_css&&(a.length||this.state.showCombineCssExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"combine_css_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.cssAssets,optionValue:"value",optionLabel:"title",selectedValue:a,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("combine_css_exclude",t,"showCombineCssExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Web Fonts Optimization"),checked:this.props.options.optimize_web_fonts,name:"optimize_web_fonts",onChange:this.changeOption},u.translate("With this optimization we're changing the default way to load Google fonts in order to save HTTP requests. In addition to that, all other fonts that your website uses will be properly preloaded so browsers take the least possible amount of time to cache and render them.")),1===this.props.options.optimize_web_fonts&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},l.createElement(b.default,{margin:"medium",title:u.translate("Fonts Preloading")},u.translate("With this optimization you can preload the fonts you’re using for faster rendering and better site performance. Make sure you preload only the fonts you are actually using and that you paste the {{strong}}full URL to the font{{/strong}}.",{components:{strong:l.createElement("strong",null)}})),l.createElement(h.SimpleExclude,{updateExcludeList:function(t,n,r){return e.updateExclude("fonts_preload_urls",t,"showHtmlMinifyExclude")},excludedItems:this.props.options.fonts_preload_urls,addNotification:this.props.addNotification,buttonText:u.translate("Preload")})))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Remove Query Strings From Static Resources"),checked:this.props.options.remove_query_strings,name:"remove_query_strings",onChange:this.changeOption},u.translate("Removes version query strings from your static resources improving the caching of those resources.")),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Disable Emojis"),checked:this.props.options.disable_emojis,name:"disable_emojis",onChange:this.changeOption},u.translate("Enable to prevent WordPress from automatically detecting and generating emojis in your pages.")),this.state.showAsyncDialog&&l.createElement(g.AsyncDialog,{toogleConfirm:this.toogleAsync}),this.state.showJsCombineDialog&&l.createElement(g.JsCombineDialog,{toogleConfirm:this.toogleJsCombination}))},t}(l.Component),x=function(e){return{options:e.Options,jsAssets:e.Options.assets.scripts,cssAssets:e.Options.assets.styles}},v=function(e){return{enableOption:function(t,n,r){return e(f.enableOption(t,n,r))},disableOption:function(t,n,r){return e(f.disableOption(t,n,r))},addNotification:function(t){return e(f.addNotification(t))},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))}}};t.default=c.connect(x,v)(_),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(_,"FrontendOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(x,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(v,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(61),m=n(146),h=n(1153),y=n(492),b=n(65),_=function(e){function t(t){var n=e.call(this,t)||this;return n.stopImagesOptimization=function(){clearInterval(n.interval),n.interval="",n.props.stopImagesOptimization()},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.updateLazyLoadExcludeList=function(e,t,r){n.props.updateExcludes(e,t)},n.interval="",n}return i(t,e),t.prototype.componentDidUpdate=function(){1==this.props.options.image_optimization_status?(clearInterval(this.interval),this.interval=""):this.interval||0!=this.props.options.image_optimization_status||(this.interval=setInterval(this.props.checkImageOptimizationStatus,1e4))},t.prototype.componentDidMount=function(){0==this.props.options.image_optimization_status&&(this.interval=setInterval(this.props.checkImageOptimizationStatus,1e4))},t.prototype.render=function(){var e=this;return l.createElement(g.default,null,d.includes(window.optimizerData.modules,"optimize_images")&&l.createElement(l.Fragment,null,l.createElement(b.Row,{title:u.translate("New Images Optimization"),checked:this.props.options.optimize_images,name:"optimize_images",onChange:this.changeOption},u.translate("We will automatically optimize all new images that you upload to your Media Library.")),l.createElement(p.Flex,{className:"divider"}),l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(p.Box,{sm:"9"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Existing Images Optimization")),l.createElement(p.Text,null,u.translate("We will optimize all your existing images with minimal or no loss in quality. Note, that this will overwrite your original images."))),0!==this.props.options.image_optimization_status&&0<this.props.options.has_images_for_optimization&&(0===parseInt(window.optimizerData.is_cron_disabled)||1===this.props.options.dismiss_cron_notice)&&l.createElement(p.Box,{sm:"3"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-expanded":0===this.props.options.image_optimization_status,onClick:function(t){return e.props.initImagesOptimization()}},1===this.props.options.image_optimization_stopped?u.translate("Resume Optimization"):u.translate("Start Optimization")))),1===parseInt(window.optimizerData.is_cron_disabled)&&0===this.props.options.dismiss_cron_notice&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"error"},u.translate("We've detected that the WordPress cronjob functionality is not working. Please, enable it following the instructions in {{link}}this article{{/link}} and refresh this page. If you’re using a real cron job, you can {{link2}}ignore this message{{/link2}} at your own risk. Note, that in this case, those operations may take longer than usual to complete.",{components:{link:l.createElement(p.Link,{href:u.translate("https://www.siteground.com/kb/disable-enable-wordpress-cron/"),target:"_blank",style:{textDecoration:"underline"}}),link2:l.createElement(p.Link,{style:{textDecoration:"underline"},onClick:function(t){return e.props.enableOption("dismiss_cron_notice")}})}})))),0===this.props.options.image_optimization_status&&l.createElement(y.ImageLoader,{stopOptimization:this.stopImagesOptimization,totalImages:this.props.options.has_images_for_optimization,totalUnoptimizedImages:this.props.options.total_unoptimized_images}),1===this.props.options.image_optimization_status&&(0===parseInt(window.optimizerData.is_cron_disabled)||1===this.props.options.dismiss_cron_notice)&&0===this.props.options.has_images_for_optimization&&1===this.props.options.has_images&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"success"},u.translate("All images in your Media Library have been optimized successfully! Force {{link}}re-optimization{{/link}} of your images.",{components:{link:l.createElement(p.Link,{onClick:this.props.resetImagesOptimization,style:{textDecoration:"underline"}})}}))))),l.createElement(h.WebP,null),d.includes(window.optimizerData.modules,"lazyload_images")&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(b.Row,{title:u.translate("Lazy Load Media"),checked:this.props.options.lazyload_images,name:"lazyload_images",onChange:this.changeOption,hasExpand:1},u.translate("Load images only when they are visible in the browser")),1==this.props.options.lazyload_images&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Iframes"),checked:this.props.options.lazyload_iframes,name:"lazyload_iframes",onChange:this.changeOption,tooltip:u.translate("We will lazy load iframes often used for things like video embeds from another sources. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Videos"),checked:this.props.options.lazyload_videos,name:"lazyload_videos",onChange:this.changeOption,tooltip:u.translate("We will lazy load all videos you have added directly to your pages."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Gravatars"),checked:this.props.options.lazyload_gravatars,name:"lazyload_gravatars",onChange:this.changeOption,tooltip:u.translate("When users comment under your posts, WordPress tries to load their avatars from gravatar.com. We recommend lazy-loading them as your users scroll down through your page if you have a high number of comments. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Thumbnails"),checked:this.props.options.lazyload_thumbnails,name:"lazyload_thumbnails",onChange:this.changeOption,tooltip:u.translate("Enable if you want to lazy-load the thumbnail sizes of your original images."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Responsive Images"),checked:this.props.options.lazyload_responsive,name:"lazyload_responsive",onChange:this.changeOption,tooltip:u.translate("Certain plugins and themes generate multiple images from a single upload to work better on different devices. Enable if you want to lazy-load these too."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Widgets"),checked:this.props.options.lazyload_textwidgets,name:"lazyload_textwidgets",onChange:this.changeOption,tooltip:u.translate("Enable this option if you want the images in your widget areas to load only when users reach them. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load for Mobile"),checked:this.props.options.lazyload_mobile,name:"lazyload_mobile",onChange:this.changeOption,tooltip:u.translate("Enable if you want to use lazy-loading features for mobile requests to your site."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Fix for Lazy Loading Short Codes"),checked:this.props.options.lazyload_shortcodes,name:"lazyload_shortcodes",onChange:this.changeOption,tooltip:u.translate("If your images generated by shortcodes are not lazy loaded, please enable this feature."),titleDensity:"none"}),1===parseInt(window.optimizerData.is_shop)&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Product Images"),checked:this.props.options.lazyload_woocommerce,name:"lazyload_woocommerce",onChange:this.changeOption,tooltip:u.translate("Enable if you want to enable lazy-load images in your store, product and other WooCommerce pages."),titleDensity:"none"})),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Exclude from Lazy Load")},u.translate("In order to exclude images from lazy loading, please add their CSS classes to the exclusion list. Add each CSS class on a separate line.")),l.createElement(m.SimpleExclude,{updateExcludeList:function(t,n,r){return e.props.updateExcludes("excluded_lazy_load_classes",t)},excludedItems:this.props.options.excluded_lazy_load_classes,addNotification:this.props.addNotification}),l.createElement(p.Flex,null))))))},t}(l.Component),x=function(e){return{options:e.Options}},v=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},addNotification:function(t){return e(f.addNotification(t))},checkImageOptimizationStatus:function(){return e(f.checkImageOptimizationStatus())},initImagesOptimization:function(){return e(f.initImagesOptimization())},stopImagesOptimization:function(){return e(f.stopImagesOptimization())},resetImagesOptimization:function(){return e(f.resetImagesOptimization())},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))}}};t.default=c.connect(x,v)(_),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(_,"ImageOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(x,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(v,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1154);t.WebP=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(65),f=n(100),g=n(492),m=n(1157),h=n(16),y=n(1159),b=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleDeleteWebpDialog=function(){n.setState({showDeleteWebpDialog:!n.state.showDeleteWebpDialog})},n.toogleRegenerateWebpDialog=function(){n.setState({showRegenerateWebpDialog:!n.state.showRegenerateWebpDialog})},n.deleteWebpFiles=function(){n.props.deleteWebpFiles(),n.setState({showDeleteWebpDialog:!1})},n.regenerateWebpFiles=function(){n.props.deleteWebpFiles(),n.props.generateWebpFiles(),n.setState({showRegenerateWebpDialog:!1})},n.stopWebpOptimization=function(){clearInterval(n.webpInterval),n.webpInterval="",n.props.stopWebpConvertion()},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.getHeight=function(){return 0===n.props.options.webp_conversion_status?250:"auto"},n.changeWebpQuality=function(e,t){n.setState({webpQuality:t,showWebpNotice:!0}),clearTimeout(n.webpQualityInterval),n.webpQualityInterval=setTimeout((function(){n.props.changeOption(e,t)}),100)},n.changeWebpType=function(e,t){n.setState({showWebpNotice:!0}),n.props.changeOption(e,t)},n.toogleEnableWebp=function(){n.props.options.webp_support?n.props.disableOption("webp_support",!0):(n.props.enableOption("webp_support",!0),n.setState({showEnableWebpDialog:!1}))},n.toogleEnableWebpDialog=function(){n.setState({showEnableWebpDialog:!n.state.showEnableWebpDialog})},n.render=function(){return 1===parseInt(window.optimizerData.is_avalon)&&l.createElement(l.Fragment,null,l.createElement(d.Flex,{className:"divider"}),l.createElement("div",{className:"position--relative "},0===n.props.options.webp_conversion_status&&l.createElement(g.WebpLoader,{stopOptimization:n.stopWebpOptimization,totalImages:n.props.options.has_images_for_conversion,totalUnoptimizedImages:n.props.options.total_non_converted_images}),l.createElement(p.Row,{title:u.translate("Generate WebP Copies of New Images"),checked:n.props.options.webp_support,name:"webp_support",onChange:function(e){return 0===n.props.options.webp_support?n.toogleEnableWebpDialog():n.toogleEnableWebp()}},u.translate("WebP is a next generation image format supported by modern browers which greatly reduces the size of your images.")),1==n.props.options.webp_support&&l.createElement(m.QualitySlider,{title:u.translate("Optimization Level"),description:u.translate("Chose the quality of WebP copies created by us. Higher quality means higher image size."),options:[{type:"lossy",title:"Lossy"},{type:"lossless",title:"Lossless"}],sliderName:"quality_webp",dropdownName:"quality_type",dropdownLabel:u.translate("Optimization Type"),selectedValue:n.props.options.quality_type,changeQuality:n.changeWebpQuality,showNotice:n.state.showWebpNotice,changeType:n.changeWebpType,value:n.state.webpQuality,regenerate:n.toogleRegenerateWebpDialog}),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center",style:{minHeight:n.getHeight(),position:"relative"}},l.createElement(d.Box,{sm:"6"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Manage WebP Copies for Existing Images")),l.createElement(d.Text,null,u.translate("Generate or delete a WebP copy of your existing media library."))),0==n.props.options.has_images_for_conversion&&l.createElement(d.Box,{sm:"3"}),l.createElement(d.Box,{sm:"3"},l.createElement(d.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-haspopup":!0,onClick:function(e){return n.toogleDeleteWebpDialog()}},u.translate("Delete all WebP Files"))),0!==n.props.options.has_images_for_conversion&&l.createElement(d.Box,{sm:"3"},l.createElement(d.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-expanded":0===n.props.options.webp_conversion_status,onClick:function(e){return n.props.generateWebpFiles()}},u.translate("Bulk Generate WebP Files")))),0==n.props.options.has_images_for_conversion&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Notice,{type:"success"},u.translate("All WebP copies of your files have been generated successfully! Force {{link}}re-generation{{/link}} of your images.",{components:{link:l.createElement(d.Link,{onClick:n.toogleRegenerateWebpDialog,style:{textDecoration:"underline"},"aria-haspopup":!0})}})))),n.state.showEnableWebpDialog&&l.createElement(f.EnableWebpDialog,{toogleClose:n.toogleEnableWebpDialog,toogleConfirm:n.toogleEnableWebp}),n.state.showDeleteWebpDialog&&l.createElement(f.DeleteWebpDialog,{toogleClose:n.toogleDeleteWebpDialog,toogleConfirm:n.deleteWebpFiles}),n.state.showRegenerateWebpDialog&&l.createElement(f.RegenerateWebpDialog,{toogleClose:n.toogleRegenerateWebpDialog,toogleConfirm:n.regenerateWebpFiles})))},n.state={showDeleteWebpDialog:!1,showRegenerateWebpDialog:!1,webpQuality:t.options.quality_webp,showWebpNotice:!1,showEnableWebpDialog:!1},n.webpInterval="",n.webpQualityInterval="",n}return i(t,e),t.prototype.componentDidUpdate=function(e){this.props.options.webp_conversion_status!==e.options.webp_conversion_status&&1==this.props.options.webp_conversion_status&&this.setState({showWebpNotice:!1}),this.props.options.quality_webp!==e.options.quality_webp&&this.setState({webpQuality:this.props.options.quality_webp}),1==this.props.options.webp_conversion_status?(clearInterval(this.webpInterval),this.webpInterval=""):this.webpInterval||0!=this.props.options.webp_conversion_status||(this.webpInterval=setInterval(this.props.checkWebpConversionStatus,1e4))},t.prototype.componentDidMount=function(){0==this.props.options.webp_conversion_status&&(this.webpInterval=setInterval(this.props.checkWebpConversionStatus,1e4))},t}(l.Component),_=function(e){return{options:e.Options}},x=function(e){return{enableOption:function(t,n){return e(h.enableOption(t,n,!1))},disableOption:function(t,n){return e(h.disableOption(t,n,!1))},addNotification:function(t){return e(h.addNotification(t))},deleteWebpFiles:function(t){return e(y.deleteWebpFiles(t))},changeOption:function(t,n){return e(h.changeOption(t,n))},stopWebpConvertion:function(){return e(y.stopWebpConvertion())},generateWebpFiles:function(){return e(y.generateWebpFiles())},checkWebpConversionStatus:function(){return e(y.checkWebpConversionStatus())}}};t.default=c.connect(_,x)(b),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(b,"WebP","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(_,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(x,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(10),u=n(9),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getProgessPercent=function(){var e=(t.props.totalUnoptimizedImages-t.props.totalImages)/t.props.totalUnoptimizedImages*100;return e<1?1:e},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(u.Flex,{gutter:"xx-large",style:{minHeight:250,position:"relative"}},l.createElement(u.Loader,{style:{position:"absolute"},className:"loader-image-optimization"},l.createElement(u.Title,{level:"4",density:"compact",weight:"bold",color:"darkest"},c.translate("Please be patient, this process may take some time")),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",padding:"10px 0"}},c.translate("Optimized %(optimized)s of %(total)s images",{args:{optimized:this.props.totalUnoptimizedImages-this.props.totalImages,total:this.props.totalUnoptimizedImages}})),l.createElement(u.Progress,{color:"blue","data-component":"progress","data-e2e":"progress",percent:this.getProgessPercent()}),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",paddingBottom:"10px"}}),l.createElement(u.Button,{color:"secondary",size:"small",type:"outlined",onClick:function(t){return e.props.stopOptimization()}},c.translate("Pause"))))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/image-loader.tsx"),a.register(d,"ImageLoader","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/image-loader.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(10),u=n(9),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getProgessPercent=function(){var e=(t.props.totalUnoptimizedImages-t.props.totalImages)/t.props.totalUnoptimizedImages*100;return e<1?1:e},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(u.Loader,{style:{position:"absolute"},className:"loader-image-optimization"},l.createElement(u.Title,{level:"4",density:"compact",weight:"bold",color:"darkest"},c.translate("Please be patient, this process may take some time")),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",padding:"10px 0"}},c.translate("Generated %(optimized)s of %(total)s webp copies",{args:{optimized:this.props.totalUnoptimizedImages-this.props.totalImages,total:this.props.totalUnoptimizedImages}})),l.createElement(u.Progress,{color:"blue","data-component":"progress","data-e2e":"progress",percent:this.getProgessPercent()}),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",paddingBottom:"10px"}}),l.createElement(u.Button,{color:"secondary",size:"small",type:"outlined",onClick:function(t){return e.props.stopOptimization()}},c.translate("Pause")))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/webp-loader.tsx"),a.register(d,"WebpLoader","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/webp-loader.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1158);t.QualitySlider=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},a.createElement(l.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(l.Box,{sm:"10"},a.createElement(l.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},e.title),a.createElement(l.Text,null,e.description)),a.createElement(l.Box,{sm:"2"},a.createElement(l.Dropdown,{options:e.options,optionValue:"type",optionLabel:"title",selectedValue:e.selectedValue,onChange:function(t){return e.changeType(e.dropdownName,t)},label:e.dropdownLabel}))),a.createElement(l.Flex,{gutter:"xx-large",direction:"column",className:"margin-top--x-small"},a.createElement(l.Grid,{gap:"small"},"lossy"==e.selectedValue&&a.createElement(l.Slider,{max:100,min:1,step:1,value:e.value,label:"%",onChange:function(t){return e.changeQuality(e.sliderName,t)}}),e.showNotice&&a.createElement(l.Notice,{type:"warning"},s.translate("WebP settings have been changed, please, {{link}}re-generate{{/link}} your images!.",{components:{link:a.createElement(l.Link,{onClick:e.regenerate,style:{textDecoration:"underline"},"aria-haspopup":!0})}})))))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"QualitySlider","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/slider/quality-slider.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51),o=n(35);t.stopWebpConvertion=r.createAction(o.STOP_WEBP_CONVERSION),t.deleteWebpFiles=r.createAction(o.DELETE_WEBP_FILES),t.generateWebpFiles=r.createAction(o.GENERATE_WEBP_FILES),t.checkWebpConversionStatus=r.createAction(o.CHECK_WEBP_CONVERSION_STATUS)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(16),f=n(61),g=n(489),m=n(488),h=n(491),y=n(490),b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changeSiteOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n,!0):t.props.disableOption(e.name,n,!0)},t.changeOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n):t.props.disableOption(e.name,n)},t}return i(t,e),t.prototype.toogleMemcache=function(e){e.checked?this.props.enableMemcache(e.name):this.props.disableMemcache(e.name)},t.prototype.render=function(){var e=this;return l.createElement(f.default,null,l.createElement(g.default,null),l.createElement(h.default,{checked:this.props.options.enable_gzip_compression,changeOption:this.changeOption}),l.createElement(y.default,{checked:this.props.options.enable_browser_caching,changeOption:this.changeOption}),l.createElement(m.default,{enable_memcached:this.props.options.enable_memcached,enableMemcache:this.props.enableMemcache,disableMemcache:this.props.disableMemcache}),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Site Admin Permissions")),l.createElement(d.Text,null,u.translate("In this section, set the access permission for admins of separate sites.")))),l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("SuperCacher Settings")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's SuperCacher tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.supercacher_permissions,name:"supercacher_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Frontend Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Frontend Optmization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.frontend_permissions,name:"frontend_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Image Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Image Optimization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.images_permissions,name:"images_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Environment Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Environment Optimization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.environment_permissions,name:"environment_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))))},t}(l.Component),_=function(e){return{options:e.Options}},x=function(e){return{enableMemcache:function(t){return e(p.enableMemcache(t))},disableMemcache:function(t){return e(p.disableMemcache(t))},enableOption:function(t,n,r){return e(p.enableOption(t,n,r))},disableOption:function(t,n,r){return e(p.disableOption(t,n,r))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(_,x)(b),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(b,"MultisiteControl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(_,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(x,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(16),f=n(61),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changeSiteOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n,!0):t.props.disableOption(e.name,n,!0)},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(f.default,null,l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("SUPERCACHER SETTINGS")))),l.createElement(d.Flex,{direction:"row",align:"center",gutter:"large"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Dynamic Caching")),l.createElement(d.Text,null,u.translate("Select whether new sites should have the Dynamic Caching enabled for them or not."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_enable_cache,name:"default_enable_cache",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1===this.props.options.default_enable_cache&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Automatic Cache Purge")),l.createElement(d.Text,null,u.translate("Automatically perform a smart cache purge after every content modification.")," ")),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_autoflush_cache,name:"default_autoflush_cache",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("ENVIRONMENT OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},1===this.props.isLoading&&l.createElement(d.Loader,{style:{position:"absolute"}}),l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Enable HTTPS")),l.createElement(d.Text,null,u.translate("Configures your site to work correctly via HTTPS and forces a secure connection to your site."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_ssl_enabled,name:"default_ssl_enabled",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1===this.props.options.default_ssl_enabled&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Fix Insecure Content")),l.createElement(d.Text,null,u.translate("Enable this option in case you’re getting insecure content errors on your website. We will dynamically rewrite insecure requests for resources coming from your site"))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_fix_insecure_content,name:"default_fix_insecure_content",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("FRONTEND OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify the HTML Output")),l.createElement(d.Text,null,u.translate("Removes unnecessary characters from your HTML output saving data and improving your site speed."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_html,name:"default_optimize_html",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify JavaScript Files")),l.createElement(d.Text,null,u.translate("Combine and minify your JavaScript files in order to reduce their size, improve cachability, and reduce the number of requests to the server."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_javascript,name:"default_optimize_javascript",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Load Render-blocking JavaScript Files Asynchronously")),l.createElement(d.Text,null,u.translate("Add async parameter to the JavaScript files loaded in the header section of your site so they don’t block your page rendering."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_javascript_async,name:"default_optimize_javascript_async",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify CSS Files")),l.createElement(d.Text,null,u.translate("Combine and minify your CSS files in order to reduce their size, improve cachability, and reduce the number of requests to the server."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_css,name:"default_optimize_css",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Combine CSS Files")),l.createElement(d.Text,null,u.translate("Combine multiple CSS files into one to lower the number of requests your site generates."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_combine_css,name:"default_combine_css",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Remove Query Strings From Static Resources")),l.createElement(d.Text,null,u.translate("Removes version query strings from your static resources improving the caching of those resources."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_remove_query_strings,name:"default_remove_query_strings",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Disable Emojis")),l.createElement(d.Text,null,u.translate("Enable to prevent WordPress from automatically detecting and generating emojis in your pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_disable_emojis,name:"default_disable_emojis",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("IMAGE OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Image Optimization")),l.createElement(d.Text,null,u.translate("We will optimize all your existing images with minimal or no loss in quality. Note, that this will overwrite your original images."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_images,name:"default_optimize_images",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Lazy Load Images")),l.createElement(d.Text,null,u.translate("Load images only when they are visible in the browser"))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_images,name:"default_lazyload_images",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1==this.props.options.default_lazyload_images&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Iframes")),l.createElement(d.Text,null,u.translate("We will lazy load iframes often used for things like video embeds from another sources. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_iframes,name:"default_lazyload_iframes",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Videos")),l.createElement(d.Text,null,u.translate("We will lazy load all videos you have added directly to your pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_videos,name:"default_lazyload_videos",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Thumbnails")),l.createElement(d.Text,null,u.translate("Enable if you want to enable lazy-load images in your store, product and other WooCommerce pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_woocommerce,name:"default_lazyload_woocommerce",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Gravatars")),l.createElement(d.Text,null,u.translate("When users comment under your posts, WordPress tries to load their avatars from gravatar.com. We recommend lazy-loading them as your users scroll down through your page if you have a high number of comments. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_gravatars,name:"default_lazyload_gravatars",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Thumbnails")),l.createElement(d.Text,null,u.translate("Enable if you want to lazy-load the thumbnail sizes of your original images."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_thumbnails,name:"default_lazyload_thumbnails",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Responsive Images")),l.createElement(d.Text,null,u.translate("Certain plugins and themes generate multiple images from a single upload to work better on different devices. Enable if you want to lazy-load these too."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_responsive,name:"default_lazyload_responsive",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Widgets")),l.createElement(d.Text,null,u.translate("Enable this option if you want the images in your widget areas to load only when users reach them. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_textwidgets,name:"default_lazyload_textwidgets",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))))},t}(l.Component),m=function(e){return{options:e.Options}},h=function(e){return{enableOption:function(t,n,r){return e(p.enableOption(t,n,r))},disableOption:function(t,n,r){return e(p.disableOption(t,n,r))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(m,h)(g),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(g,"SitesControl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(m,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(h,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(24),l=n(44),c=n(10),u=n(9),d=n(61),p=n(1163);n(1164);var f,g,m=n(16),h=function(e){function t(t){var n=e.call(this,t)||this;return n.getDevices=function(){return[{type:"desktop",title:"Desktop"},{type:"mobile",title:"Mobile"}]},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.runAnalysis()},n.updateCurrentUrl=function(e){var t=new RegExp("^/+|"+window.optimizerData.home_url,"g"),r=e.target.value.replace(t,"");n.setState({currentUrl:r})},n.getInputValue=function(){var e=new RegExp("^/+|"+window.optimizerData.home_url,"g");return n.state.currentUrl.replace(e,"")},n.runAnalysis=function(){n.props.runAnalysis(n.props.device,n.state.currentUrl)},n.prepareData=function(e){return l.map(e,(function(e){var t=new RegExp(/\s?\[.*?\]\(.*?\)\.?/g);e.description=e.description.replace(t,"")})),e},n.html=function(e){var t=e/100*352;return{__html:'<div class="lh-gauge__wrapper lh-gauge__wrapper--pass lh-gauge__wrapper--huge"><div class="lh-gauge__svg-wrapper"><svg viewBox="0 0 120 120" class="lh-gauge"><circle class="lh-gauge-arc lh-gauge-arc-placeholder" transform="rotate(-90 60 60)" r="56" cx="60" cy="60"></circle><circle class="lh-gauge-arc" transform="rotate(-90 60 60)" r="56" cx="60" cy="60" style="stroke-dasharray: {PERCENTAGE}, 352;"></circle></svg></div><div class="lh-gauge__percentage">{SCORE}</div></div>'.replace("{SCORE}",e).replace("{PERCENTAGE}",t.toString())}},n.renderSuccessfullyCompleted=function(e){return l.map(n.prepareData(e),(function(e){return a.createElement(u.Flex,{gutter:"large",direction:"column"},a.createElement(u.Box,null,a.createElement(u.Notice,{type:"success"},e.title," ",a.createElement(p.default,{tooltip:e.description,tooltipSize:"small"}))))}))},n.state={currentUrl:""},n}return i(t,e),t.prototype.render=function(){var e=this;return a.createElement(d.default,null,a.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(u.Box,{sm:"10"},a.createElement(u.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},c.translate("Score Check")),a.createElement(u.Text,null,c.translate("Test how optimized your website is. Our performance check is powered by Google PageSpeed.")))),a.createElement(u.Flex,{gutter:"large"},a.createElement(u.Box,{sm:"12"},a.createElement(u.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",border:"small"},a.createElement(u.Flex,{gutter:"large",direction:"row",align:"flex-end"},a.createElement(u.Box,{sm:"2"},a.createElement(u.Dropdown,{options:this.getDevices(),optionValue:"type",optionLabel:"title",selectedValue:this.props.device,onChange:function(t){return e.props.analysisChangeDevice(t)},label:c.translate("Device Type")})),a.createElement(u.Box,{sm:"8"},a.createElement(u.Input,{type:"text",size:"medium",label:c.translate("URL"),value:this.state.currentUrl,onChange:function(t){return e.updateCurrentUrl(t)},prefix:window.optimizerData.home_url,onKeyPress:this.handleKeyPressExcludeList})),a.createElement(u.Box,{sm:"2"},a.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:function(){return e.runAnalysis()}},c.translate("Analyze"))),!!this.props.isAnalysing&&a.createElement(u.Loader,{style:{position:"absolute"},className:"loader-analysis"},c.translate("Please Wait, We Are Performing a Google PageSpeed Test on Your Page"))),a.createElement(u.Flex,{className:"divider"}),a.createElement(u.Container,{elevation:"none",padding:"large",className:"sg-score"},a.createElement(u.Flex,{gutter:"none",margin:"none",align:"center",direction:"column",background:"white"},a.createElement("div",{className:"sg-placeholder__images-container"},a.createElement("div",{className:"sg-placeholder__background-elements"},a.createElement(u.Icon,{multicolor:!0,name:"background-dots",width:"800",height:"240"}))),(l.isEmpty(this.props.report)||!l.isEmpty(this.props.report)&&1==this.props.isAnalysing)&&a.createElement(u.Icon,{name:"presentational-no-data-dotted",color:"ocean",width:this.props.isPhone?"200":"300",height:this.props.isPhone?"120":"240",multicolor:!0}),!l.isEmpty(this.props.report)&&0==this.props.isAnalysing&&a.createElement("div",{dangerouslySetInnerHTML:this.html(this.props.report.score),className:this.props.report.class_name}),a.createElement(u.Title,{level:"3",weight:"light",density:"cozy",align:"center"},l.isEmpty(this.props.report.title)?c.translate("There is nothing here yet"):this.props.report.title),!l.isEmpty(this.props.report)&&a.createElement(u.Text,{align:"center"},this.props.report.message)))))),!l.isEmpty(this.props.report)&&0==this.props.isAnalysing&&Object.keys(this.props.report.data).map((function(t){return a.createElement(a.Fragment,{key:t},a.createElement(u.Flex,{className:"divider"}),a.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(u.Box,{sm:"12"},a.createElement(u.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},e.props.report.data[t].info.title),"opportunities"==e.props.report.data[t].info.id&&a.createElement(u.Flex,{gutter:"none"},a.createElement(u.Table,{data:e.prepareData(e.props.report.data[t].data),border:"small",className:"border-"+e.props.report.data[t].info.id,columns:[{header:"Optimization",accessor:"title",style:{fontWeight:"bold"},render:function(e,t){return a.createElement(u.Text,null,e," ",a.createElement(p.default,{tooltip:t.description,tooltipSize:"small"}))}},{header:"Action",accessor:"action",style:{fontWeight:"bold"},render:function(e,t){return a.createElement(u.Text,null,u.textToHTML(e,["a","strong"],["href"]))}}]})))),"opportunities"!==e.props.report.data[t].info.id&&e.renderSuccessfullyCompleted(e.props.report.data[t].data))})))},t}(a.Component),y=function(e){return{report:e.Report.report,isAnalysing:e.Report.isAnalysing,device:e.Report.device,isPhone:e.Environment.isPhone}},b=function(e){return{runAnalysis:function(t,n){return e(m.runAnalysis(t,n))},analysisChangeDevice:function(t,n){return e(m.analysisChangeDevice(t))}}};t.default=s.connect(y,b)(h),f=n(0).default,g=n(0).leaveModule,f&&(f.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(h,"Analytics","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(y,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(b,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(9),l=n(81),c=function(e){var t=e.tooltip,n=e.size,r=void 0===n?"11":n,o=e.tooltipSize,i=void 0===o?"medium":o,c=e.color,u=void 0===c?"light":c;return a.createElement(s.Icon,{color:u,tabIndex:0,name:"information",size:r,tooltip:l.textToHTML(t),tooltipSize:i,className:"ua-margin-horizontal-xx-small ua-v-align-middle"})};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"InfoIcon","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/info-icon/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1165);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(5)(!1)).push([e.i,"td .sg-typography--truncate {\n white-space: initial !important; }\n\n.border-opportunities {\n border-top: 2px solid #F54545; }\n\n.border-passed {\n border-top: 2px solid #6ACA4C; }\n\n.placeholder-without-svg {\n padding: 0; }\n\n.placeholder-without-svg .sg-icon svg {\n display: none; }\n\n.loader-analysis .sg-loader__message {\n max-width: none; }\n\n.lh-gauge__percentage {\n display: block;\n font-size: 42.1px;\n height: 150px;\n line-height: 0;\n position: absolute;\n text-align: center;\n top: 75px;\n width: 150px;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge-arc {\n animation-delay: 0.25s;\n display: inline;\n fill: none;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n font-size: 16px;\n height: auto;\n line-height: 24px;\n stroke-width: 5px;\n text-size-adjust: 100%;\n transform-origin: 0px 0px;\n width: auto;\n word-break: break-word;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge__svg-wrapper {\n display: block;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n font-size: 16px;\n height: 150px;\n line-height: 24px;\n position: relative;\n text-size-adjust: 100%;\n width: 150px;\n word-break: break-word;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge__wrapper {\n font-size: 16px;\n height: 150px;\n line-height: 24px;\n margin-bottom: 12px;\n margin-left: 0px;\n margin-right: 0px;\n margin-top: 24px;\n position: relative;\n width: 150px;\n -webkit-font-smoothing: antialiased; }\n\n.sg-score-holder {\n top: 15%;\n position: absolute; }\n\n.sg-score {\n position: relative; }\n\n.lh-gauge-arc-placeholder {\n color: #EBEBEB;\n stroke: #EBEBEB; }\n\n.placeholder-meduim .lh-gauge__percentage,\n.placeholder-meduim .lh-gauge__svg-wrapper,\n.placeholder-meduim .lh-gauge__wrapper {\n color: #eca03e;\n fill: #eca03e;\n stroke: #eca03e; }\n\n.placeholder-meduim .lh-gauge-arc {\n color: #eca03e; }\n\n.placeholder-low .lh-gauge__percentage,\n.placeholder-low .lh-gauge__svg-wrapper,\n.placeholder-low .lh-gauge__wrapper {\n color: #F54545;\n fill: #F54545;\n stroke: #F54545; }\n\n.placeholder-low .lh-gauge-arc {\n color: #F54545; }\n\n.placeholder-top .lh-gauge__percentage,\n.placeholder-top .lh-gauge__svg-wrapper,\n.placeholder-top .lh-gauge__wrapper {\n color: #6ACA4D;\n fill: #6ACA4D;\n stroke: #6ACA4D; }\n\n.placeholder-top .lh-gauge-arc {\n color: #6ACA4D; }\n\n.sg-tooltip {\n z-index: 9999; }\n",""])},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(61),p=n(9),f=n(16),g=n(220),m=n(100),h=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.updateState=function(e){var t;n.setState(((t={})[e.target.name]=e.target.value,t))},n.toogleCloudflareDialog=function(){n.setState({showCloudflareDialog:!n.state.showCloudflareDialog})},n.authenticate=function(){n.setState({showCloudflareDialog:!1}),n.props.authenticate(n.state.cloudflare_email,n.state.cloudflare_auth_key)},n.validate=function(){n.validateEmail(n.state.cloudflare_email)&&n.validateKey(n.state.cloudflare_auth_key)&&n.toogleCloudflareDialog()},n.validateKey=function(e){var t=e.length;return n.setState({keyValidationError:!t}),t},n.updateKey=function(e){n.validateKey(e.target.value),n.updateState(e)},n.updateEmail=function(e){n.validateEmail(e.target.value),n.updateState(e)},n.validateEmail=function(e){var t=new RegExp(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/,"g").test(e);return n.setState({emailValidationError:!t}),t},n.state={showCloudflareDialog:!1,cloudflare_email:"",cloudflare_auth_key:"",emailValidationError:!1,keyValidationError:!1},n}return i(t,e),t.prototype.componentDidUpdate=function(e){this.props.options.cloudflare_email!==e.options.cloudflare_email&&this.props.options.cloudflare_auth_key!==e.options.cloudflare_auth_key&&this.setState({cloudflare_email:this.props.options.cloudflare_email,cloudflare_auth_key:this.props.options.cloudflare_auth_key}),this.props.options.cloudflare_slots_deletion!==e.options.cloudflare_slots_deletion&&this.setState({showCloudflareDialog:this.props.options.cloudflare_slots_deletion})},t.prototype.render=function(){var e=this,t=u.translate("Cloudflare API Key get it from {{link}}here{{/link}}",{components:{link:l.createElement(p.Link,{onClick:function(e){e.preventDefault(),window.open("https://dash.cloudflare.com/profile/api-tokens")},style:{textDecoration:"underline"}})}});return l.createElement(d.default,null,l.createElement(p.Flex,{gutter:"none",direction:"column",margin:"none",style:{position:"relative"}},!!this.props.isOptimizing&&l.createElement(p.Loader,{style:{position:"absolute"},className:"loader-cloudflare-optimization"},u.translate("Cloudflare optimization in progress")),!!this.props.isDeauthenticating&&l.createElement(p.Loader,{style:{position:"absolute"},className:"loader-cloudflare-optimization"},u.translate("Cloudflare deauthentication in progress")),l.createElement(g.default,{title:u.translate("Cloudflare Full Page Caching"),checked:this.props.options.cloudflare_optimization,name:"cloudflare_optimization",onChange:this.changeOption},u.translate("This option will enable full-page caching on your Cloudflare CDN edges. This will reduce the load on your SiteGround server and improve the loading speeds of your pages because by default Cloudflare will cache only your static resources.")),0!==this.props.options.cloudflare_optimization&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},1==this.props.options.cloudflare_optimization_status&&l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"success",background:"white",contentSize:"expanded",shadow:!0},l.createElement(p.Text,{align:"left"},u.translate("You have successfully authenticated to your Cloudflare account. If you want to stop using this service, please {{link}}Deauthenticate{{/link}} first.",{components:{link:l.createElement(p.Link,{onClick:this.props.deauthenticate,style:{textDecoration:"underline"}})}})))),0==this.props.options.cloudflare_optimization_status&&l.createElement(l.Fragment,null,l.createElement(p.Box,{sm:"5"},l.createElement(p.Input,{type:"text",label:u.translate("Email used with Cloudflare"),size:"medium",value:this.state.cloudflare_email,name:"cloudflare_email",state:this.state.emailValidationError?"error":"",onChange:function(t){return e.updateState(t)},onBlur:function(t){return e.updateEmail(t)},showValidation:!!this.state.emailValidationError,validationMessage:!!this.state.emailValidationError&&u.translate("Please provide valid email address")})),l.createElement(p.Box,{sm:"5"},l.createElement(p.Input,{type:"text",label:t,size:"medium",value:this.state.cloudflare_auth_key,name:"cloudflare_auth_key",onChange:function(t){return e.updateState(t)},onBlur:function(t){return e.updateKey(t)},state:this.state.keyValidationError?"error":"",showValidation:!!this.state.keyValidationError,validationMessage:!!this.state.keyValidationError&&u.translate("Please provide API key")})),l.createElement(p.Box,{sm:"2"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:function(t){return e.validate()}},u.translate("Authenticate"))))),1==this.props.options.cloudflare_optimization_status&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center",style:{marginTop:0}},l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Purge Cloudflare Cache")),l.createElement(p.Text,null,u.translate("This will perform a complete manual purge of all Cloudflare assets. {{b}}It may take some time until the cache is purged on all edges.{{/b}}",{components:{b:l.createElement("strong",null)}}))),l.createElement(p.Box,{sm:"2"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.props.purgeCloudflareCache},this.props.cloudflareCachePurged?u.translate("Purge Cache"):u.translate("Purging ..."))))))))),!!this.state.showCloudflareDialog&&l.createElement(m.CloudflareDialog,{toogleClose:this.toogleCloudflareDialog,toogleConfirm:this.authenticate}))},t}(l.Component),y=function(e){return{options:e.Options,isOptimizing:e.Cloudflare.isOptimizing,isDeauthenticating:e.Cloudflare.isDeauthenticating,cloudflareCachePurged:e.Cloudflare.cloudflareCachePurged}},b=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},authenticate:function(t,n){return e(f.authenticate(t,n))},deauthenticate:function(){return e(f.deauthenticate())},purgeCloudflareCache:function(){return e(f.purgeCloudflareCache())}}};t.default=c.connect(y,b)(h),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(h,"Cloudflare","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(y,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(b,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),s(e))}).call(this,n(1)(e))}]);
|
320 |
* @license See CREDITS.md
|
321 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
322 |
*/
|
323 |
+
function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,l="";return(l=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,i):""+Math.round(o)).split("."))[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(l[1]||"").length<i&&(l[1]=l[1]||"",l[1]+=new Array(i-l[1].length+1).join("0")),l.join(s)}},function(e,t,n){var r=n(2),o=n(410),i=n(43);e.exports=function(e){var t={moment:e.moment,numberFormat:e.numberFormat.bind(e),translate:e.translate.bind(e)};return function(n){var a=n.displayName||n.name||"",s=i({displayName:"Localized("+a+")",componentDidMount:function(){this.boundForceUpdate=this.forceUpdate.bind(this),e.stateObserver.addListener("change",this.boundForceUpdate)},componentWillUnmount:function(){this.boundForceUpdate&&e.stateObserver.removeListener("change",this.boundForceUpdate)},render:function(){var i=o({locale:e.getLocaleSlug()},this.props,t);return r.createElement(n,i)}});return s._composedComponent=n,s}}},function(e,t,n){"use strict";t.__esModule=!0;var r="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},o=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};t.default=function(e,t,n,i){i.debug;var a=o({},n);e&&"object"===(void 0===e?"undefined":r(e))&&Object.keys(e).forEach((function(r){"_persist"!==r&&t[r]===n[r]&&(a[r]=e[r])}));0;return a}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.stateReconciler=void 0===e.stateReconciler?i.default:e.stateReconciler,(0,o.default)(e,(0,r.combineReducers)(t))};var r=n(92),o=a(n(186)),i=a(n(751));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(187),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(417)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(747),s=(o=a)&&o.__esModule?o:{default:o};i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var l=(0,s.default)(i);t.default=l}).call(this,n(115),n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.Symbol;"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable";return t}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var a=t[o];0,"function"==typeof e[a]&&(n[a]=e[a])}var s=Object.keys(n);0;var l=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:r.ActionTypes.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+r.ActionTypes.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){l=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var r=!1,o={},a=0;a<s.length;a++){var c=s[a],u=n[c],d=e[c],p=u(d,t);if(void 0===p){var f=i(c,t);throw new Error(f)}o[c]=p,r=r||p!==d}return r?o:e}};var r=n(415);o(n(130)),o(n(418));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}t.__esModule=!0,t.default=function(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},i=0;i<n.length;i++){var a=n[i],s=e[a];"function"==typeof s&&(o[a]=r(s,t))}return o}},function(e,t,n){"use strict";t.__esModule=!0;var r=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};t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,o,i){var s,l=e(n,o,i),c=l.dispatch,u={getState:l.getState,dispatch:function(e){return c(e)}};return s=t.map((function(e){return e(u)})),c=a.default.apply(void 0,s)(l.dispatch),r({},l,{dispatch:c})}}};var o,i=n(419),a=(o=i)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";t.__esModule=!0;var r="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},o=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};t.default=function(e,t,n,i){i.debug;var a=o({},n);e&&"object"===(void 0===e?"undefined":r(e))&&Object.keys(e).forEach((function(i){var s;"_persist"!==i&&(t[i]===n[i]&&(null===(s=n[i])||Array.isArray(s)||"object"!==(void 0===s?"undefined":r(s))?a[i]=e[i]:a[i]=o({},a[i],e[i])))}));0;return a}},function(e,t,n){"use strict";t.__esModule=!0;var r=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};t.default=function(e,t,n){0;var o=n||!1,a=(0,i.createStore)(u,c,t?t.enhancer:void 0),l=function(e){a.dispatch({type:s.REGISTER,key:e})},d=function(t,n,r){var i={type:s.REHYDRATE,payload:n,err:r,key:t};e.dispatch(i),a.dispatch(i),o&&p.getState().bootstrapped&&(o(),o=!1)},p=r({},a,{purge:function(){var t=[];return e.dispatch({type:s.PURGE,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:s.FLUSH,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:s.PAUSE})},persist:function(){e.dispatch({type:s.PERSIST,register:l,rehydrate:d})}});return p.persist(),p};var o,i=n(92),a=n(186),s=((o=a)&&o.__esModule,n(77));function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var c={registry:[],bootstrapped:!1},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case s.REGISTER:return r({},e,{registry:[].concat(l(e.registry),[t.key])});case s.REHYDRATE:var n=e.registry.indexOf(t.key),o=[].concat(l(e.registry));return o.splice(n,1),r({},e,{registry:o,bootstrapped:0===o.length});default:return e}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){(t||{}).debug;return function(t,n){if(!t)return Promise.resolve(void 0);var o=t._persist&&void 0!==t._persist.version?t._persist.version:r.DEFAULT_VERSION;if(o===n)return Promise.resolve(t);if(o>n)return Promise.resolve(t);var i=Object.keys(e).map((function(e){return parseInt(e)})).filter((function(e){return n>=e&&e>o})).sort((function(e,t){return e-t}));try{var a=i.reduce((function(t,n){return e[n](t)}),t);return Promise.resolve(a)}catch(e){return Promise.reject(e)}}};var r=n(77)},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.whitelist||null,o=n.blacklist||null;function i(e){return!(!r||-1!==r.indexOf(e))||!(!o||-1===o.indexOf(e))}return{in:function(t,n,r){return!i(n)&&e?e(t,n,r):t},out:function(e,n,r){return!i(n)&&t?t(e,n,r):e}}}},function(e,t,n){var r=n(756);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Roboto+Condensed:300,400,700|Roboto:300,300i,400,400i,500,500i,700,700i&subset=latin-ext);",""]),t.push([e.i,'/* stylelint-disable */\n\n:root {\n --royal-base: #7d5aa6;\n --royal-dark: #532f82;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #22b8d1;\n --ocean-dark: #226d7a;\n --ocean-light: #b0e0e9;\n --ocean-lighter: #e4f5fa;\n --mint-base: #2bab7f;\n --mint-dark: #1e6346;\n --mint-light: #add9c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #96ca51;\n --grassy-dark: #577635;\n --grassy-light: #d8e5b5;\n --grassy-lighter: #edf4db;\n --salmon-base: #f47b44;\n --salmon-dark: #b35227;\n --salmon-light: #f3cfbb;\n --salmon-lighter: #f8eae0;\n --sunset-base: #ee9629;\n --sunset-dark: #8e5d25;\n --sunset-light: #f0c99a;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e5b22a;\n --mango-dark: #96762e;\n --mango-light: #efe0a0;\n --mango-lighter: #f7f3da;\n --bronze-base: #cdaa72;\n --bronze-dark: #8c7653;\n --bronze-light: #ecdcc6;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f54545;\n --color-success: #6acb4c;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n:root {\n --background-main: #f8f8f8;\n --background-component-primary: #fff;\n --background-component-secondary: #f2f2f2;\n --background-grey-60: #a4a4a4;\n --background-slider: #ddd;\n --background-overlay: rgba(54, 54, 54, 0.8);\n --background-highlight: #f8f8f8;\n --backround-employee: #f2efea;\n --backround-client: #fbfaf8;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n:root {\n --typography-white: #fff;\n --typography-lightest: #ddd;\n --typography-lighter: #c2c2c2;\n --typography-light: #a4a4a4;\n --typography-dark: #666;\n --typography-darker: #444;\n --typography-darkest: #363636; }\n\n:root {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #ececec;\n --color-button-base-focus: #ddd;\n --color-button-base-hover: #ececec;\n --color-button-base-active: #ececec;\n --color-button-white: #fff;\n --color-icon-button: #858484;\n --color-editor-icon: #ddd;\n --color-disabled: #ddd;\n --border-color-outer: #ddd;\n --border-color-inner: #f2f2f2;\n --border-color-readonly: #f2f2f2;\n --border-color-focus: #ddd;\n /* Components */\n --component-background-hover: #f2f2f2;\n --component-color-hover: currentColor;\n --avatar-color: #61554c;\n --avatar-background: #d7cebf;\n --context-menu-background: var(--background-component-primary);\n --chart-color-first: var(--ocean-base);\n --chart-color-second: var(--salmon-base);\n --chart-color-third: var(--grassy-base);\n --chart-color-fourth: var(--sunset-base);\n --chart-color-fifth: var(--mint-base);\n --chart-color-sixth: var(--royal-base);\n --chart-color-seventh: var(--ocean-light);\n --chart-color-eighth: var(--sunset-light);\n --icon-color-royal: var(--royal-dark);\n --icon-color-royal-light: var(--royal-light);\n --icon-color-royal-lighter: var(--royal-lighter);\n --icon-color-ocean: var(--ocean-dark);\n --icon-color-ocean-light: var(--ocean-light);\n --icon-color-ocean-lighter: var(--ocean-lighter);\n --icon-color-mint: var(--mint-dark);\n --icon-color-mint-light: var(--mint-light);\n --icon-color-mint-lighter: var(--mint-lighter);\n --icon-color-grassy: var(--grassy-dark);\n --icon-color-grassy-light: var(--grassy-light);\n --icon-color-grassy-lighter: var(--grassy-lighter);\n --icon-color-salmon: var(--salmon-dark);\n --icon-color-salmon-light: var(--salmon-light);\n --icon-color-salmon-lighter: var(--salmon-lighter);\n --icon-color-sunset: var(--sunset-dark);\n --icon-color-sunset-light: var(--sunset-light);\n --icon-color-sunset-lighter: var(--sunset-lighter);\n --icon-color-mango: var(--mango-dark);\n --icon-color-mango-light: var(--mango-light);\n --icon-color-mango-lighter: var(--mango-lighter);\n --icon-color-bronze: var(--bronze-dark);\n --icon-color-bronze-light: var(--bronze-light);\n --icon-color-bronze-lighter: var(--bronze-lighter);\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: #fef5ec;\n --loader-background: rgba(255, 255, 255, 1);\n --drawer-background: #474340;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #474340;\n --header-background: #343230;\n --footer-background: #343230;\n --navigation-background: #474340;\n --navigation-background-hover: #343230;\n --navigation-list-color: #343230;\n --navigation-list-color-selected: #343230;\n --navigation-list-background: #d7cebf;\n --navigation-list-background-opened: #343230;\n --navigation-list-background-hovered: #343230;\n --navigation-list-background-selected: #d7cebf;\n --navigation-icon-color: #c1aa95;\n --navigation-icon-color-selected: #c1aa95;\n --navigation-separator-background: #343230;\n --navigation-button-color: #c1aa95;\n --header-navigation-color: #343230;\n --header-navigation-color-selected: #343230;\n --header-navigation-background: #f7f5eb;\n --header-navigation-background-hover: #dfdccb;\n --header-navigation-background-selected: #e9e7db;\n --header-navigation-icon-color: currentColor;\n --tooltip-color: #fff;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: rgba(54, 54, 54, 0.9); }\n\n:root {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-dark {\n --royal-base: #b37ef1;\n --royal-dark: #ab83c4;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #7cd4e4;\n --ocean-dark: #3aa6ba;\n --ocean-light: #70d7e2;\n --ocean-lighter: #e4f5fa;\n --mint-base: #5ccfa7;\n --mint-dark: #4bb892;\n --mint-light: #8de0c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #a6d367;\n --grassy-dark: #94ae59;\n --grassy-light: #c2ed8e;\n --grassy-lighter: #edf4db;\n --salmon-base: #f68f61;\n --salmon-dark: #da764a;\n --salmon-light: #f1a98c;\n --salmon-lighter: #f8eae0;\n --sunset-base: #efae5b;\n --sunset-dark: #cb934a;\n --sunset-light: #fccf74;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e9bd4a;\n --mango-dark: #a68a4d;\n --mango-light: #f1e5ae;\n --mango-lighter: #f7f3da;\n --bronze-base: #d4b787;\n --bronze-dark: #9d8a6d;\n --bronze-light: #efe1ce;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f66161;\n --color-success: #80d367;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-dark {\n --background-main: #121212;\n --background-component-primary: #363636;\n --background-component-secondary: #444;\n --background-grey-60: #a4a4a4;\n --background-slider: #858484;\n --background-overlay: rgba(102, 102, 102, 0.95);\n --background-highlight: #444;\n --backround-employee: #666;\n --backround-client: #444;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-dark {\n --typography-white: #fff;\n --typography-lightest: #858484;\n --typography-lighter: #c2c2c2;\n --typography-light: #a4a4a4;\n --typography-dark: #ececec;\n --typography-darker: #f2f2f2;\n --typography-darkest: #fff; }\n\n.sg-theme-dark {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #666;\n --color-button-base-focus: #858484;\n --color-button-base-hover: #666;\n --color-button-base-active: #666;\n --color-button-white: #444;\n --color-icon-button: #ddd;\n --color-editor-icon: #ddd;\n --color-disabled: #888;\n --border-color-outer: #858484;\n --border-color-inner: #444;\n --border-color-readonly: #444;\n --border-color-focus: #fff;\n /* Components */\n --component-background-hover: #444;\n --component-color-hover: currentColor;\n --avatar-color: #444;\n --avatar-background: #ddd;\n --context-menu-background: #666;\n --chart-color-first: var(--ocean-base);\n --chart-color-second: var(--salmon-base);\n --chart-color-third: var(--grassy-base);\n --chart-color-fourth: var(--sunset-base);\n --chart-color-fifth: var(--mint-base);\n --chart-color-sixth: var(--royal-base);\n --chart-color-seventh: var(--ocean-light);\n --chart-color-eighth: var(--sunset-light);\n --icon-color-royal: var(--royal-dark);\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: var(--ocean-dark);\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: var(--mint-dark);\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: var(--grassy-dark);\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: var(--salmon-dark);\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: var(--sunset-dark);\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: var(--mango-dark);\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: var(--bronze-dark);\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: var(--background-component-secondary);\n --loader-background: rgba(54, 54, 54, 1);\n --drawer-background: #363636;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #858484;\n --header-background: #363636;\n --footer-background: #363636;\n --navigation-background: #363636;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #fff;\n --navigation-list-background: #444;\n --navigation-list-background-opened: #363636;\n --navigation-list-background-hovered: #666;\n --navigation-list-background-selected: #858484;\n --navigation-icon-color: #ddd;\n --navigation-icon-color-selected: #ddd;\n --navigation-separator-background: #ddd;\n --navigation-button-color: #ddd;\n --header-navigation-color: #fff;\n --header-navigation-color-selected: #fff;\n --header-navigation-background: #444;\n --header-navigation-background-hover: #363636;\n --header-navigation-background-selected: #858484;\n --header-navigation-icon-color: #ddd;\n --tooltip-color: #fff;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: #666; }\n\n.sg-theme-dark {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-hcb {\n --royal-base: #d0abfd;\n --royal-dark: #7d5aa6;\n --royal-light: #d1bfda;\n --royal-lighter: #ebe0ef;\n --ocean-base: #6adae6;\n --ocean-dark: #22b8d1;\n --ocean-light: #b0e0e9;\n --ocean-lighter: #e4f5fa;\n --mint-base: #2bab7f;\n --mint-dark: #1e6346;\n --mint-light: #add9c0;\n --mint-lighter: #e1f1e7;\n --grassy-base: #96ca51;\n --grassy-dark: #577635;\n --grassy-light: #d8e5b5;\n --grassy-lighter: #edf4db;\n --salmon-base: #f47b44;\n --salmon-dark: #b35227;\n --salmon-light: #f3cfbb;\n --salmon-lighter: #f8eae0;\n --sunset-base: #ee9629;\n --sunset-dark: #8e5d25;\n --sunset-light: #f0c99a;\n --sunset-lighter: #f6e8d5;\n --mango-base: #e5b22a;\n --mango-dark: #96762e;\n --mango-light: #efe0a0;\n --mango-lighter: #f7f3da;\n --bronze-base: #cdaa72;\n --bronze-dark: #343230;\n --bronze-light: #ecdcc6;\n --bronze-lighter: #e2dbd5;\n --color-primary: #ef9a78;\n --color-primary-hovered: #f57b45;\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #f98f8f;\n --color-success: #a6e094;\n --color-warning: #f4c68b;\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-hcb {\n --background-main: #000;\n --background-component-primary: #000;\n --background-component-secondary: #000;\n --background-grey-60: #000;\n --background-slider: #fff;\n --background-overlay: rgba(102, 102, 102, 0.95);\n --background-highlight: #000;\n --backround-employee: #000;\n --backround-client: #000;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-hcb {\n --typography-white: #fff;\n --typography-lightest: #fff;\n --typography-lighter: #fff;\n --typography-light: #fff;\n --typography-dark: #fff;\n --typography-darker: #fff;\n --typography-darkest: #fff; }\n\n.sg-theme-hcb {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #ddd;\n --color-scrollbar-thumb-hover: #c2c2c2;\n --color-button-base: #666;\n --color-button-base-focus: #858484;\n --color-button-base-hover: #666;\n --color-button-base-active: #666;\n --color-button-white: #000;\n --color-icon-button: #fff;\n --color-editor-icon: #fff;\n --color-disabled: #888;\n --border-color-outer: #ececec;\n --border-color-inner: #ececec;\n --border-color-readonly: #444;\n --border-color-focus: #fff;\n --high-contrast-foreground: #fff;\n --high-contrast-background: #000;\n /* Components */\n --component-background-hover: #1797ae;\n --component-color-hover: currentColor;\n --avatar-color: #000;\n --avatar-background: #fff;\n --context-menu-background: #000;\n --icon-color-royal: #ececec;\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: #ececec;\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: #ececec;\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: #ececec;\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: #ececec;\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: #ececec;\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: #ececec;\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: #ececec;\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --icon-logo-background-light: #fff;\n --notice-border-color: #f19b7a;\n --notice-background-attention: #000;\n --loader-background: rgba(0, 0, 0, 1);\n --drawer-background: #000;\n --drawer-icon-color: #fff;\n --drawer-icon-background-hover: #858484;\n --header-background: #000;\n --footer-background: #000;\n --navigation-background: #000;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #363636;\n --navigation-list-background: #000;\n --navigation-list-background-opened: #000;\n --navigation-list-background-hovered: #444;\n --navigation-list-background-selected: #fff;\n --navigation-icon-color: #fff;\n --navigation-icon-color-selected: #000;\n --navigation-separator-background: #fff;\n --navigation-button-color: #fff;\n --header-navigation-color: #fff;\n --header-navigation-color-selected: #000;\n --header-navigation-background: #000;\n --header-navigation-background-hover: #444;\n --header-navigation-background-selected: #fff;\n --header-navigation-icon-color: #fff;\n --tooltip-color: #fff;\n --tooltip-background-light: #000;\n --tooltip-background-dark: #000; }\n\n.sg-theme-hcb {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n.sg-theme-hcl {\n --royal-base: #4f2d61;\n --royal-dark: #362143;\n --royal-light: #674f76;\n --royal-lighter: #ebe0ef;\n --ocean-base: #166e7e;\n --ocean-dark: #0e5b68;\n --ocean-light: #347d85;\n --ocean-lighter: #e4f5fa;\n --mint-base: #26775b;\n --mint-dark: #1a674c;\n --mint-light: #347d85;\n --mint-lighter: #e1f1e7;\n --grassy-base: #5a7a2e;\n --grassy-dark: #4d6024;\n --grassy-light: #6e8549;\n --grassy-lighter: #edf4db;\n --salmon-base: #8e6025;\n --salmon-dark: #744d19;\n --salmon-light: #977737;\n --salmon-lighter: #f8eae0;\n --sunset-base: #934a29;\n --sunset-dark: #7f3819;\n --sunset-light: #8f5c48;\n --sunset-lighter: #f6e8d5;\n --mango-base: #896b19;\n --mango-dark: #5a471c;\n --mango-light: #8f8660;\n --mango-lighter: #f7f3da;\n --bronze-base: #7b6644;\n --bronze-dark: #544732;\n --bronze-light: #8e8477;\n --bronze-lighter: #e2dbd5;\n --color-primary: var(--salmon-base);\n --color-primary-hovered: var(--salmon-dark);\n --color-primary-active: var(--salmon-light);\n --color-secondary: var(--ocean-base);\n --color-secondary-hovered: var(--ocean-dark);\n --color-secondary-active: var(--ocean-light);\n --color-positive: var(--mint-base);\n --color-positive-hovered: var(--mint-dark);\n --color-positive-active: var(--mint-light);\n --color-error: #932929;\n --color-success: #407a2e;\n --color-warning: var(--sunset-base);\n --color-instruction: var(--ocean-base);\n --color-info: var(--royal-base);\n --color-hint: #c2c2c2;\n --color-presentational: #ccaf83; }\n\n.sg-theme-hcl {\n --background-main: #fff;\n --background-component-primary: #fff;\n --background-component-secondary: #fff;\n --background-grey-60: #fff;\n --background-slider: #000;\n --background-overlay: rgba(255, 255, 255, 0.95);\n --background-highlight: #fff;\n --backround-employee: #fff;\n --backround-client: #fff;\n --backround-popover-image-hover: rgba(0, 0, 0, 0.3); }\n\n.sg-theme-hcl {\n --typography-white: #000;\n --typography-lightest: #000;\n --typography-lighter: #000;\n --typography-light: #000;\n --typography-dark: #000;\n --typography-darker: #000;\n --typography-darkest: #000; }\n\n.sg-theme-hcl {\n --color-scrollbar: #f2f2f2;\n --color-scrollbar-thumb: #212121;\n --color-scrollbar-thumb-hover: #000;\n --color-icon-button: #000;\n --color-editor-icon: #000;\n --color-disabled: #888;\n --border-color-outer: #000;\n --border-color-inner: #000;\n --border-color-readonly: #ddd;\n --border-color-focus: #000;\n --high-contrast-foreground: #000;\n --high-contrast-background: #fff;\n /* Components */\n --component-background-hover: #1797ae;\n --component-color-hover: currentColor;\n --avatar-color: #fff;\n --avatar-background: #000;\n --context-menu-background: #fff;\n --icon-color-royal: #000;\n --icon-color-royal-light: transparent;\n --icon-color-royal-lighter: transparent;\n --icon-color-ocean: #000;\n --icon-color-ocean-light: transparent;\n --icon-color-ocean-lighter: transparent;\n --icon-color-mint: #000;\n --icon-color-mint-light: transparent;\n --icon-color-mint-lighter: transparent;\n --icon-color-grassy: #000;\n --icon-color-grassy-light: transparent;\n --icon-color-grassy-lighter: transparent;\n --icon-color-salmon: #000;\n --icon-color-salmon-light: transparent;\n --icon-color-salmon-lighter: transparent;\n --icon-color-sunset: #000;\n --icon-color-sunset-light: transparent;\n --icon-color-sunset-lighter: transparent;\n --icon-color-mango: #000;\n --icon-color-mango-light: transparent;\n --icon-color-mango-lighter: transparent;\n --icon-color-bronze: #000;\n --icon-color-bronze-light: transparent;\n --icon-color-bronze-lighter: transparent;\n --loader-background: rgba(255, 255, 255, 1);\n --drawer-background: #fff;\n --drawer-icon-color: #000;\n --drawer-icon-background-hover: #858484;\n --header-background: #fff;\n --footer-background: #fff;\n --navigation-background: #fff;\n --navigation-background-hover: #363636;\n --navigation-list-color: #363636;\n --navigation-list-color-selected: #fff;\n --navigation-list-background: #fff;\n --navigation-list-background-opened: #fff;\n --navigation-list-background-hovered: #ddd;\n --navigation-list-background-selected: #000;\n --navigation-icon-color: #000;\n --navigation-icon-color-selected: #fff;\n --navigation-separator-background: #000;\n --navigation-button-color: #000;\n --header-navigation-color: #000;\n --header-navigation-color-selected: #fff;\n --header-navigation-background: #fff;\n --header-navigation-background-hover: #ddd;\n --header-navigation-background-selected: #000;\n --header-navigation-icon-color: #000;\n --tooltip-color: #000;\n --tooltip-background-light: #fff;\n --tooltip-background-dark: #fff; }\n\n.sg-theme-hcl {\n --first-level-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 5px 0 rgba(0, 0, 0, 0.16);\n --second-level-box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.16), 0 8px 14px 0 rgba(0, 0, 0, 0.18);\n --third-level-box-shadow: 0 17px 40px 0 rgba(0, 0, 0, 0.17), 0 12px 15px 0 rgba(0, 0, 0, 0.2);\n --fourth-level-box-shadow: 0 25px 45px 0 rgba(0, 0, 0, 0.2), 0 16px 24px 0 rgba(0, 0, 0, 0.22);\n --fifth-level-box-shadow: 0 40px 60px 0 rgba(0, 0, 0, 0.22), 0 27px 22px 0 rgba(0, 0, 0, 0.2);\n --focus-shadow: inset 1px 1px 0 #24b8d2, inset -1px -1px 0 #24b8d2; }\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n /* custom scrollbar styles TODO: edit colors with opacity, when provided */\n scrollbar-face-color: var(--color-scrollbar);\n scrollbar-highlight-color: var(--color-scrollbar);\n scrollbar-shadow-color: var(--color-scrollbar);\n scrollbar-track-color: var(--color-scrollbar);\n -webkit-overflow-scrolling: touch; }\n\n::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: var(--color-scrollbar); }\n\n::-webkit-scrollbar-thumb {\n background-color: var(--color-scrollbar-thumb);\n border-radius: 10px; }\n\n::-webkit-scrollbar-thumb:hover {\n background-color: var(--color-scrollbar-thumb-hover); }\n\n::-webkit-scrollbar-corner {\n background-color: var(--color-scrollbar); }\n\nheader,\nnav,\nsection,\nmain,\narticle,\naside,\nfigure,\ntoolbar,\niframe,\nobject,\nsvg {\n display: block; }\n\nhtml {\n height: 100%;\n background: #fff;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n overflow: hidden; }\n\nbody {\n height: 100%;\n color: var(--typography-darkest);\n background: var(--background-main);\n font: 400 14px/18px "Open Sans", Arial, Helvetica, sans-serif;\n overflow: hidden; }\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n line-height: normal; }\n\ndl,\ndt,\ndd,\nul {\n list-style: none; }\n\nol {\n padding: 0 0 0 20px; }\n\nform,\ninput,\ntextarea,\nselect {\n resize: none; }\n\nform,\ntextarea {\n width: 100%; }\n\ninput,\ntextarea,\nselect {\n border-radius: 0; }\n input:focus,\n textarea:focus,\n select:focus {\n outline: none; }\n input[type="submit"]:focus,\n textarea[type="submit"]:focus,\n select[type="submit"]:focus {\n border: none !important; }\n\nbutton {\n outline: none;\n border-radius: 0; }\n\nimg {\n max-width: 100%;\n height: auto;\n display: block;\n border: 0; }\n\ntable {\n border-collapse: collapse; }\n\na {\n text-decoration: none;\n color: #000; }\n\n.divider {\n border-bottom: 1px solid #ECECEC; }\n\n.right--actions {\n text-align: right; }\n\n.sg-tabs__tab.sg-optimizer-tab {\n padding: 0 20px; }\n .sg-tabs__tab.sg-optimizer-tab:first-child {\n padding-left: 30px; }\n\n.sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 500px; }\n\n.sg-checkbox__input {\n display: none !important; }\n\n.sg-field-wrapper--large .sg-input-addon .sg-text-truncate {\n max-width: none !important; }\n\n.sg-text {\n word-break: break-word !important; }\n\n.sg-slider .sg-slider__labels {\n display: none; }\n\n.sg-flex.margin-top--x-small {\n margin-top: 5px; }\n\n.position--relative {\n position: relative; }\n\n.loader-image-optimization .sg-loader-message,\n.loader-image-optimization .sg-loader__message {\n max-width: none; }\n\n.sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 350px !important; }\n\n.label-wrapper--absolute {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%); }\n\n.sg-optimizer-intro-section.single .sg-carousel__indicators {\n display: none; }\n\n.feature-box--highlight {\n border-radius: 3px;\n border: 1px solid var(--border-color-outer);\n border-top: 3px solid var(--bronze-base);\n text-align: center; }\n\n@media (max-width: 800px) {\n .right--actions {\n text-align: left; } }\n\n@media (min-width: 801px) and (max-width: 1500px) {\n .sg-field-wrapper--small .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--medium .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--large .sg-input-addon .sg-text-truncate {\n max-width: 80.64px !important; }\n .sg-field-wrapper--x-large .sg-input-addon .sg-text-truncate {\n max-width: 100.8px !important; } }\n\n@media (min-width: 801px) {\n .button--fluid {\n width: 100%; } }\n\n.loader-cloudflare-optimization .sg-loader__message {\n min-width: 300px; }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t){e.exports=function(e){return null===e}},function(e,t){e.exports=function(e){return null==e}},function(e,t,n){var r=n(761),o=n(190),i=n(191),a=n(765),s=n(768),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var u=e.length;return n<0&&(n=l(u+n,0)),i(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&r(e,t,n)>-1}},function(e,t,n){var r=n(762),o=n(763),i=n(764);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(766);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(767);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(189),o=n(192),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(769),o=n(770);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(424);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(771),o=n(428),i=n(190);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(772),o=n(425),i=n(108),a=n(426),s=n(775),l=n(427),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,g=f?r(e.length,String):[],m=g.length;for(var h in e)!t&&!c.call(e,h)||f&&("length"==h||d&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,m))||g.push(h);return g}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(78),o=n(93);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(78),o=n(423),i=n(93),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(416),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(1)(e))},function(e,t,n){var r=n(417)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(428),o=n(781),i=n(425),a=n(108),s=n(190),l=n(426),c=n(429),u=n(427),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){var r=n(782),o=n(787),i=n(788),a=n(789),s=n(790),l=n(78),c=n(431),u=c(r),d=c(o),p=c(i),f=c(a),g=c(s),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case d:return"[object Map]";case p:return"[object Promise]";case f:return"[object Set]";case g:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(109)(n(60),"DataView");e.exports=r},function(e,t,n){var r=n(94),o=n(784),i=n(189),a=n(431),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},function(e,t,n){var r,o=n(785),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(60)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(109)(n(60),"Map");e.exports=r},function(e,t,n){var r=n(109)(n(60),"Promise");e.exports=r},function(e,t,n){var r=n(109)(n(60),"Set");e.exports=r},function(e,t,n){var r=n(109)(n(60),"WeakMap");e.exports=r},function(e,t,n){var r=n(792);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(187),o=n(424),i=n(108),a=n(192),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e).map((function(n){return(0,r.default)(n,e[n],t)})),a=i.default.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n));return function(e,t){return a(e,t)}};var r=a(n(422)),o=a(n(794)),i=a(n(795));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys)return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e)));return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){return t.reduce((function(e,t){return t(e,n)}),e)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=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};t.default=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if((0,p.default)(n.every(c.default)&&((0,c.default)(e)||(0,s.default)(e)),"Expected optional object followed by string action types"),(0,c.default)(e))return h([e].concat(n));return o({},m(e),h(n))};var i=f(n(188)),a=f(n(797)),s=f(n(130)),l=f(n(108)),c=f(n(191)),u=f(n(94)),d=f(n(420)),p=f(n(20));function f(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return Object.keys(e).reduce((function(t,n){var s=e[n];(0,p.default)(function(e){if((0,u.default)(e))return!0;if((0,l.default)(e)){var t=r(e,2),n=t[0],o=void 0===n?i.default:n,a=t[1];return(0,u.default)(o)&&(0,u.default)(a)}return!1}(s),"Expected function, undefined, or array with payload and meta functions for "+n);var c=(0,l.default)(s)?d.default.apply(void 0,[n].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(s))):(0,d.default)(n,s);return o({},t,g({},(0,a.default)(n),c))}),{})}function h(e){return m(e.reduce((function(e,t){return o({},e,g({},t,i.default))}),{}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:(?:1ST|2ND|3RD|(?![123])\dTH)\b)|\d*(?:(?:1st|2nd|3rd|(?![123])\dth)\b)|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g;function o(e){return e.match(r).reduce((function(e,t,n){return e+(0===n?t.toLowerCase():t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())}),"")}t.default=function(e){return e.split("/").map(o).join("/")}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(92),s=n(411),l=n(799),c=n(803),u=n(806),d=n(807),p=n(814),f=l.default(),g={key:window.optimizerData.home_url,storage:c.default,stateReconciler:u.default,whitelist:["isAnalysing","device"]},m=s.persistReducer(g,d.default);t.store=a.createStore(m,a.applyMiddleware(f)),t.persistor=s.persistStore(t.store),f.run(p.default),o=n(0).default,i=n(0).leaveModule,o&&(o.register(f,"sagaMiddleware","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),o.register(g,"persistConfig","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),o.register(m,"persistedReducer","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/store/index.ts"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.effects=t.CANCEL=t.delay=t.throttle=t.takeLatest=t.takeEvery=t.buffers=t.channel=t.eventChannel=t.END=t.runSaga=void 0;var r=n(800);Object.defineProperty(t,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(132);Object.defineProperty(t,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(t,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(t,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(133);Object.defineProperty(t,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(433);Object.defineProperty(t,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(t,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(52);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(t,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var l,c=n(801),u=(l=c)&&l.__esModule?l:{default:l},d=f(n(79)),p=f(n(802));function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=u.default,t.effects=d,t.utils=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runSaga=function(e,t){var n=t.subscribe,r=t.dispatch,i=t.getState,s=t.context,l=t.sagaMonitor,c=t.logger,u=t.onError;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var d=(0,o.uid)();l&&l.effectTriggered({effectId:d,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}});var p=(0,a.default)(e,n,(0,o.wrapSagaDispatch)(r),i,s,{sagaMonitor:l,logger:c,onError:u},d,e.name);l&&l.effectResolved(d,p);return p};var r,o=n(52),i=n(193),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=c(e,["context"]),i=void 0,u=r.sagaMonitor;u&&(u.effectTriggered=u.effectTriggered||o.noop,u.effectResolved=u.effectResolved||o.noop,u.effectRejected=u.effectRejected||o.noop,u.effectCancelled=u.effectCancelled||o.noop,u.actionDispatched=u.actionDispatched||o.noop);if(o.is.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(r.logger&&!o.is.func(r.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");r.onerror&&(o.isDev&&(0,o.log)("warn","`options.onerror` is deprecated. Use `options.onError` instead."),r.onError=r.onerror,delete r.onerror);if(r.onError&&!o.is.func(r.onError))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!o.is.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function d(e){var t=e.getState,c=e.dispatch;i=function(e,o,i){return(0,a.default)(e.apply(void 0,l(o)),d.subscribe,p,t,n,r,i,e.name)};var d=(0,s.emitter)();d.emit=(r.emitter||o.ident)(d.emit);var p=(0,o.wrapSagaDispatch)(c);return function(e){return function(t){u&&u.actionDispatched(t);var n=e(t);return d.emit(t),n}}}return d.run=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,o.check)(i,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(e,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var a=(0,o.uid)();u&&u.effectTriggered({effectId:a,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:n}});var s=i(e,n,a);return u&&u.effectResolved(a,s),s},d.setContext=function(e){(0,o.check)(e,o.is.object,(0,o.createSetContextWarning)("sagaMiddleware",e)),o.object.assign(n,e)},d};var r,o=n(52),i=n(193),a=(r=i)&&r.__esModule?r:{default:r},s=n(132);function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52);Object.defineProperty(t,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(t,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(t,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(t,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(t,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(131);Object.defineProperty(t,"asEffect",{enumerable:!0,get:function(){return o.asEffect}});var i=n(193);Object.defineProperty(t,"CHANNEL_END",{enumerable:!0,get:function(){return i.CHANNEL_END}})},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(804),i=(r=o)&&r.__esModule?r:{default:r};t.default=(0,i.default)("local")},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=(0,i.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var r,o=n(805),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";t.__esModule=!0;var r="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};function o(){}t.default=function(e){var t=e+"Storage";return function(e){if("object"!==("undefined"==typeof self?"undefined":r(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist "+e+" test";t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(e){return!1}return!0}(t)?self[t]:i};var i={getItem:o,setItem:o,removeItem:o}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(92),s=n(808),l=n(809),c=n(810),u=n(811),d=n(812),p=n(813),f=n(255),g=a.combineReducers({Environment:s.default,Options:l.default,Cache:c.default,Notifications:u.default,Report:d.default,Cloudflare:p.default,routing:f.routerReducer});t.default=g,o=n(0).default,i=n(0).leaveModule,o&&(o.register(g,"rootReducer","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/index.ts"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(51),c=n(35),u={};t.default=l.handleActions(((o={})[c.PAGE_INIT]=function(e,t){return i({},e,t.payload)},o[c.PAGE_RESIZE]=function(e,t){return i({},e,t.payload)},o),u),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),a.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),a.register(u,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/environment.ts"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16);t.default=s.handleActions(((o={})[l.fetchOptionsSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,n)},o[l.optionEnabled]=function(e,t){var n=e[t.payload.payload.option]=1;return Object.assign({},e,n)},o[l.optionDisabled]=function(e,t){var n=e[t.payload.payload.option]=0;return Object.assign({},e,n)},o[l.optionChanged]=function(e,t){var n,r=t.payload;return Object.assign({},e,((n={})[r.payload.id]=r.payload.value,n))},o[l.isLoading]=function(e,t){var n=t.payload,r=e.isLoading=Number(n);return Object.assign({},e,r)},o[l.updateExcludeListSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,{excluded_urls:n})},o[l.updateExcludesSuccess]=function(e,t){var n,r=t.payload;return Object.assign({},e,((n={})[r.type]=r.handles,n))},o),{assets:[],enable_cache:0,database_optimization:0,heartbeat_control:0,heartbeat_dashboard_interval:0,heartbeat_dashboard_status:0,heartbeat_post_interval:0,heartbeat_post_status:0,heartbeat_frontend_interval:0,heartbeat_frontend_status:0,dns_prefetch:0,dns_prefetch_urls:[],fix_insecure_content:0,autoflush_cache:0,enable_memcached:0,memcache_notice:0,memcache_crashed:0,memcache_dropin_crashed:0,ssl_enabled:0,enable_gzip_compression:0,enable_browser_caching:0,optimize_html:0,optimize_javascript:0,combine_javascript:0,combine_javascript_error:0,optimize_javascript_async:0,optimize_css:0,combine_css:0,remove_query_strings:0,disable_emojis:0,optimize_images:0,image_optimization_stopped:0,lazyload_images:0,lazyload_mobile:0,isLoading:0,lazyload_woocommerce:0,lazyload_iframes:0,lazyload_videos:0,lazyload_shortcodes:0,image_optimization_status:1,total_unoptimized_images:0,user_agent_header:0,excluded_urls:[],minify_javascript_exclude:[],combine_javascript_exclude:[],async_javascript_exclude:[],minify_css_exclude:[],combine_css_exclude:[],minify_html_exclude:[],excluded_lazy_load_classes:[],php_versions:[],current_php_version:0,php_version_manually_changed:0,multisite_permissions:{},sites_data:[],dismiss_cron_notice:0,hide_rating:0,has_images:0,combine_google_fonts:0,has_images_for_optimization:0,webp_support:0,webp_enabled:0,quality_type:"",webp_conversion_status:1,webp_quality_changed:0,has_images_for_conversion:0,total_non_converted_images:0,fonts_preload_urls:[],cloudflare_optimization_status:0,cloudflare_optimization:0,cloudflare_email:"",cloudflare_auth_key:"",cloudflare_slots_deletion:0,has_cloudflare:0,post_types:[],post_types_exclude:[]}),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/options.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16);t.default=s.handleActions(((o={})[l.purgeCache]=function(e,t){t.payload;return Object.assign({},e,{cachePurged:!1})},o[l.purgeCacheSuccess]=function(e,t){t.payload;return Object.assign({},e,{cachePurged:!0})},o),{cachePurged:!0}),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cache.tsx"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var s,l,c=n(51),u=n(44),d=n(35),p={notifications:[]},f=((o={})[d.ADD_NOTIFICATION]=function(e,t){var n=t.payload,r=a(e.notifications);return r.push(n),Object.assign({},e,{notifications:r})},o[d.REMOVE_NOTIFICATION]=function(e,t){var n=t.payload,r=e.notifications;r=u.remove(e.notifications,(function(e){return e.id!==n.id}));return Object.assign({},e,{notifications:r})},o);t.default=c.handleActions(f,p),s=n(0).default,l=n(0).leaveModule,s&&(s.register(i,"__read","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(a,"__spread","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(p,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),s.register(f,"reducerMap","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/notifications.ts"),l(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16),c={report:{},isAnalysing:0,device:"desktop"};t.default=s.handleActions(((o={})[l.runAnalysisSuccess]=function(e,t){var n=t.payload;return Object.assign({},e,{report:n,isAnalysing:0})},o[l.runAnalysisFail]=function(e,t){t.payload;return Object.assign({},e,c)},o[l.analysisisLoading]=function(e,t){t.payload;return Object.assign({},e,{isAnalysing:1})},o[l.analysisChangeDevice]=function(e,t){var n=t.payload;return Object.assign({},e,{device:n.device})},o),c),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/report.ts"),i.register(c,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/report.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r,o;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(51),l=n(16),c={isOptimizing:0,isDeauthenticating:0,cloudflareCachePurged:!0};t.default=s.handleActions(((o={})[l.runCloudflareOptimizationSuccess]=function(e,t){t.payload;return Object.assign({},e,{isOptimizing:0})},o[l.runCloudflareOptimizationFail]=function(e,t){t.payload;return Object.assign({},e,c)},o[l.cloudflareOptimizationLoading]=function(e,t){t.payload;return Object.assign({},e,{isOptimizing:1})},o[l.purgeCloudflareCache]=function(e,t){t.payload;return Object.assign({},e,{cloudflareCachePurged:!1})},o[l.purgeCloudflareCacheSuccess]=function(e,t){t.payload;return Object.assign({},e,{cloudflareCachePurged:!0})},o[l.deauthenticateSuccess]=function(e,t){t.payload;return Object.assign({},e,{isDeauthenticating:0})},o[l.isDeauthenticating]=function(e,t){t.payload;return Object.assign({},e,{isDeauthenticating:1})},o[l.deauthenticateFail]=function(e,t){t.payload;return Object.assign({},e,c)},o),c),i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"_a","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cloudflare.ts"),i.register(c,"initialState","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/reducers/cloudflare.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(815),l=n(817),c=n(818),u=n(819),d=n(820),p=n(821);function f(){return o(this,(function(e){switch(e.label){case 0:return[4,[c.default(),l.default(),d.default(),u.default(),p.default(),s.default()]];case 1:return e.sent(),[2]}}))}t.default=f,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/index.ts"),i.register(f,"sagas","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/index.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(16),u=n(35),d=n(95);function p(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,12,,14]),[4,s.put(c.cloudflareOptimizationLoading())];case 1:return r.sent(),[4,s.put(c.fetchOptionsSuccess({cloudflare_slots_deletion:0}))];case 2:return r.sent(),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/authenticate-cloudflare","POST",e.payload,{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,s.put(c.runCloudflareOptimizationSuccess(t.data))]:[3,7];case 4:return r.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 5:return r.sent(),[4,s.put(c.addNotification({id:"cloudflare-disable",type:t.success?"success":"error",message:t.data.message}))];case 6:return r.sent(),[3,11];case 7:return[4,s.put(c.runCloudflareOptimizationFail())];case 8:return r.sent(),[4,s.put(c.addNotification({id:"cloudflare-authentication-failed",type:"error",message:t.data.message}))];case 9:return r.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 10:r.sent(),r.label=11;case 11:return[3,14];case 12:return n=r.sent(),[4,s.put(c.runCloudflareOptimizationFail())];case 13:return r.sent(),console.error(""+n,n),[3,14];case 14:return[2]}}))}function f(e){var t,n;return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,10,,12]),[4,s.put(c.isDeauthenticating())];case 1:return e.sent(),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/deauthenticate-cloudflare","GET"))];case 2:return(t=e.sent()).success?[4,s.put(c.deauthenticateSuccess())]:[3,6];case 3:return e.sent(),[4,s.put(c.fetchOptionsSuccess(t.data.data))];case 4:return e.sent(),[4,s.put(c.addNotification({id:"cloudflare-deauthenticate-enable",type:t.success?"success":"error",message:t.data.message}))];case 5:return e.sent(),[3,9];case 6:return[4,s.put(c.deauthenticateFail())];case 7:return e.sent(),[4,s.put(c.addNotification({id:"cloudflare-deauthenticate-disable",type:"error",message:t.data.message}))];case 8:e.sent(),e.label=9;case 9:return[3,12];case 10:return n=e.sent(),[4,s.put(c.deauthenticateFail())];case 11:return e.sent(),console.error(""+n,n),[3,12];case 12:return[2]}}))}function g(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,5]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/purge-cloudflare-cache","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:"cloudflare-cache-purged",type:"success",message:l.translate("Cloudflare Cache Successfully Purged")}})];case 2:return t.sent(),[4,s.put(c.purgeCloudflareCacheSuccess())];case 3:return t.sent(),[3,5];case 4:return e=t.sent(),console.error(""+e,e),[3,5];case 5:return[2]}}))}function m(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.PURGE_CLOUDFLARE_CACHE,g)];case 1:return e.sent(),[4,s.takeLatest(u.AUTHENTICATE,p)];case 2:return e.sent(),[4,s.takeLatest(u.DEAUTHENTICATE,f)];case 3:return e.sent(),[2]}}))}t.default=m,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(p,"handleAuthenticate","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(f,"handleDeauthenticate","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(g,"handeCloudflareCachePurge","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),i.register(m,"cloudflare","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cloudflare.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){!function(e){"use strict";var t="URLSearchParams"in self,n="Symbol"in self&&"iterator"in Symbol,r="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in self,i="ArrayBuffer"in self;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){var n;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&r&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=f(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=l(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[l(e)]},d.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},d.prototype.set=function(e,t){this.map[l(e)]=c(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),u(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),u(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),u(e)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},h.call(b.prototype),h.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];x.redirect=function(e,t){if(-1===v.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},e.DOMException=self.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function M(t,n){return new Promise((function(o,i){var a=new b(t,n);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;o(new x(r,n))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&r&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}M.polyfill=!0,self.fetch||(self.fetch=M,self.Headers=d,self.Request=b,self.Response=x),e.Headers=d,e.Request=b,e.Response=x,e.fetch=M,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(79),a=n(10),s=n(16);window.optimizerData=window.optimizerData||{};var l,c,u=n(35),d=n(95);function p(){var e,t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/fetch-options","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return void 0!==(e=r.sent())?[3,3]:[4,i.put(s.addNotification({id:"fetchoptionserror",type:"error",title:a.translate("Could not connect to the WordPress REST API"),message:a.translate("Either a security plugin, custom function or rules in your .htaccess file is preventing the WordPress REST API from working properly. SG Optimizer is using it to store its options and other functionalities so please make sure it works properly.")}))];case 2:r.sent(),r.label=3;case 3:return[4,i.call(d.mainApi("https://updates.sgvps.net/supported-versions.json","GET",{},{},!1))];case 4:return t=r.sent(),e.data.php_versions=t,e.data.current_php_version=window.optimizerData.php_version,e.data.php_version_manually_changed=parseInt(window.optimizerData.is_php_changed),[4,i.put(s.fetchOptionsSuccess(e.data))];case 5:return r.sent(),[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function f(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-option","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"enable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function g(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-option","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"disable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function m(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-multisite-optimization","POST",{blog_id:e.payload.blogId,setting:"enable_"+e.payload.setting+"_optimization"},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success||!t.data.message?[3,3]:[4,i.put(s.addNotification({id:"bulk_error_message",type:"error",message:t.data.message}))];case 2:return r.sent(),[3,5];case 3:return[4,i.put(s.fetchOptions())];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function h(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-multisite-optimization","POST",{blog_id:e.payload.blogId,setting:"disable_"+e.payload.setting+"_optimization"},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success||!t.data.message.lenght?[3,3]:[4,i.put(s.addNotification({id:"bulk_error_message",type:"error",message:t.data.message}))];case 2:return r.sent(),[3,5];case 3:return[4,i.put(s.fetchOptions())];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function y(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-memcache"))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 4:return r.sent(),[3,6];case 5:return n=r.sent(),console.error(""+n,n),[3,6];case 6:return[2]}}))}function b(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-memcache"))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 4:return r.sent(),[3,6];case 5:return n=r.sent(),console.error(""+n,n),[3,6];case 6:return[2]}}))}function _(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return[4,i.put(s.isLoading(!0))];case 1:r.sent(),r.label=2;case 2:return r.trys.push([2,8,,9]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-ssl","POST",{option_key:"siteground_optimizer_"+e.payload.option},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[4,i.put(s.isLoading(!1))];case 6:return r.sent(),[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 7:return r.sent(),[3,9];case 8:return n=r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function x(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return[4,i.put(s.isLoading(!0))];case 1:r.sent(),r.label=2;case 2:return r.trys.push([2,8,,9]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-ssl","POST",{option_key:"siteground_optimizer_"+e.payload.option},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 3:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[4,i.put(s.isLoading(!1))];case 6:return r.sent(),[4,i.put(s.addNotification({id:e.payload,type:t.success?"success":"error",message:t.data.message}))];case 7:return r.sent(),[3,9];case 8:return n=r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function v(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/update-excluded-urls","POST",{excluded_urls:JSON.stringify(e.payload)},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,i.put(s.updateExcludeListSuccess(t.data))];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function M(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/update-exclude-list","POST",{type:e.payload.type,handle:e.payload.handle},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,i.put(s.updateExcludesSuccess({type:e.payload.type,handles:t.handles}))];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function w(e){var t,n;return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/hide-rating"))];case 1:return e.sent(),t={hide_rating:1},[4,i.put(s.fetchOptionsSuccess(t))];case 2:return e.sent(),[3,4];case 3:return n=e.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function z(e){var t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/change-option","POST",{option_key:"siteground_optimizer_"+e.payload.id,value:e.payload.value},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return n.sent().success?[4,i.put(s.optionChanged(e))]:[3,3];case 2:n.sent(),n.label=3;case 3:return[3,5];case 4:return t=n.sent(),console.error(""+t,t),[3,5];case 5:return[2]}}))}function S(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/enable-database-optimization","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionEnabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"enable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function L(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),[4,i.call(d.mainApi(window.optimizerData.rest_base+"/disable-database-optimization","POST",{option_key:"siteground_optimizer_"+e.payload.option,is_multisite:e.payload.isMultisite},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return(t=r.sent()).success?[4,i.put(s.optionDisabled(e))]:[3,3];case 2:r.sent(),r.label=3;case 3:return e.payload.showNotification?[4,i.put(s.addNotification({id:e.payload.option+"disable",type:t.success?"success":"error",message:t.data.message}))]:[3,5];case 4:r.sent(),r.label=5;case 5:return[3,7];case 6:return n=r.sent(),console.error(""+n,n),[3,7];case 7:return[2]}}))}function A(){return o(this,(function(e){switch(e.label){case 0:return[4,i.takeLatest(u.ENABLE_OPTION,f)];case 1:return e.sent(),[4,i.takeLatest(u.DISABLE_OPTION,g)];case 2:return e.sent(),[4,i.takeLatest(u.ENABLE_BLOG_SETTINGS,m)];case 3:return e.sent(),[4,i.takeLatest(u.DISABLE_BLOG_SETTINGS,h)];case 4:return e.sent(),[4,i.takeLatest(u.FETCH_OPTIONS,p)];case 5:return e.sent(),[4,i.takeLatest(u.UPDATE_EXCLUDE_LIST,v)];case 6:return e.sent(),[4,i.takeLatest(u.UPDATE_EXCLUDES,M)];case 7:return e.sent(),[4,i.takeLatest(u.ENABLE_MEMCACHE,y)];case 8:return e.sent(),[4,i.takeLatest(u.DISABLE_MEMCACHE,b)];case 9:return e.sent(),[4,i.takeLatest(u.ENABLE_SSL,_)];case 10:return e.sent(),[4,i.takeLatest(u.DISABLE_SSL,x)];case 11:return e.sent(),[4,i.takeLatest(u.HIDE_RATING,w)];case 12:return e.sent(),[4,i.takeLatest(u.CHANGE_OPTION,z)];case 13:return e.sent(),[4,i.takeLatest(u.ENABLE_DATABASE_OPTIMIZATION,S)];case 14:return e.sent(),[4,i.takeLatest(u.DISABLE_DATABASE_OPTIMIZATION,L)];case 15:return e.sent(),[2]}}))}t.default=A,l=n(0).default,c=n(0).leaveModule,l&&(l.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(p,"handleFetchOptions","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(f,"handleOptionEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(g,"handleOptionDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(m,"handleBlogSettingsEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(h,"handleBlogSettingsDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(y,"handleMemcacheEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(b,"handleMemcacheDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(_,"handleSslEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(x,"handleSslDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(v,"handleUpdateExcludeList","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(M,"handleUpdateExcludes","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(w,"handleHideRating","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(z,"handleChangeOption","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(S,"handleDatabaseOptimizationEnable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(L,"handleDatabaseOptimizationDisable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),l.register(A,"options","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/options.ts"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(16),u=n(35),d=n(95);function p(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,5]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/purge-cache","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:"cache-purged",type:"success",message:l.translate("Dynamic Cache Successfully Purged")}})];case 2:return t.sent(),[4,s.put(c.purgeCacheSuccess())];case 3:return t.sent(),[3,5];case 4:return e=t.sent(),console.error(""+e,e),[3,5];case 5:return[2]}}))}function f(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,s.call(d.mainApi(window.optimizerData.rest_base+"/test-url-cache","POST",{url:window.optimizerData.home_url+e.payload},{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t=r.sent(),[4,s.put({type:u.ADD_NOTIFICATION,payload:{id:e.payload,type:t.data.cached?"success":"error",message:t.data.cached?"The URL is cached":"The URL is not cached"}})];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),console.error(""+n,n),[3,4];case 4:return[2]}}))}function g(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.PURGE_CACHE,p)];case 1:return e.sent(),[4,s.takeLatest(u.TEST_URL,f)];case 2:return e.sent(),[2]}}))}t.default=g,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(p,"handeCachePurge","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(f,"handleTestUrl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),i.register(g,"cache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/cache.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(16),c=n(35),u=n(95);function d(e){var t,n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,7,,9]),[4,s.put(l.analysisisLoading())];case 1:return r.sent(),[4,s.call(u.mainApi(window.optimizerData.rest_base+"/run-analysis","POST",e.payload,{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 2:return(t=r.sent()).success?[4,s.put(l.runAnalysisSuccess(t.data))]:[3,4];case 3:return r.sent(),[3,6];case 4:return[4,s.put(l.runAnalysisFail())];case 5:r.sent(),r.label=6;case 6:return[3,9];case 7:return n=r.sent(),[4,s.put(l.runAnalysisFail())];case 8:return r.sent(),console.error(""+n,n),[3,9];case 9:return[2]}}))}function p(e){return o(this,(function(t){switch(t.label){case 0:return[4,s.put({type:c.ADD_NOTIFICATION,payload:{id:e.type,type:"error",message:"We failed to connect to Google servers, please try later!"}})];case 1:return t.sent(),[2]}}))}function f(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(c.RUN_ANALYSIS,d)];case 1:return e.sent(),[4,s.takeLatest(c.RUN_ANALYSIS_FAIL,p)];case 2:return e.sent(),[4,s.takeLatest(c.ANALYSIS_CHANGE_DEVICE,l.analysisChangeDevice)];case 3:return e.sent(),[2]}}))}t.default=f,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(d,"handleRunAnalysis","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(p,"handleRunAnalysisFail","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),i.register(f,"report","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/report.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(16),c=n(95),u=n(35);function d(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/check-image-optimizing-status?"+ +(new Date).getTime()))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function p(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/optimize-images"))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function f(){var e,t;return o(this,(function(n){switch(n.label){case 0:e={has_images_for_optimization:1},n.label=1;case 1:return n.trys.push([1,4,,5]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/reset-images-optimization"))];case 2:return n.sent(),[4,s.put(l.fetchOptionsSuccess(e))];case 3:return n.sent(),[3,5];case 4:return t=n.sent(),console.error(""+t,t),[3,5];case 5:return[2]}}))}function g(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/stop-images-optimization"))];case 1:return e=n.sent(),[4,s.put(l.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function m(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(u.CHECK_IMAGE_OPTIMIZATION_STATUS,d)];case 1:return e.sent(),[4,s.takeLatest(u.INIT_IMAGES_OPTIMIZATION,p)];case 2:return e.sent(),[4,s.takeLatest(u.STOP_IMAGES_OPTIMIZATION,g)];case 3:return e.sent(),[4,s.takeLatest(u.RESET_IMAGES_OPTIMIZATION,f)];case 4:return e.sent(),[2]}}))}t.default=m,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(d,"handleCheckImageOptimizationStatus","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(p,"handleInitImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(f,"handleResetImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(g,"handleStopImagesOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),i.register(m,"imageOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/image-optimization.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(79),l=n(10),c=n(95),u=n(16),d=n(35);function p(){var e;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/delete-webp-files","GET",{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}))];case 1:return t.sent(),[4,s.put({type:d.ADD_NOTIFICATION,payload:{id:"webp-files-deleted",type:"success",message:l.translate("WebP Files Successfully Deleted")}})];case 2:return t.sent(),[3,4];case 3:return e=t.sent(),console.error(""+e,e),[3,4];case 4:return[2]}}))}function f(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/generate-webp-files"))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function g(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/stop-webp-conversion"))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function m(){var e,t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,s.call(c.mainApi(window.optimizerData.rest_base+"/check-webp-conversion-status?"+ +(new Date).getTime()))];case 1:return e=n.sent(),[4,s.put(u.fetchOptionsSuccess(e.data))];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),console.error(""+t,t),[3,4];case 4:return[2]}}))}function h(){return o(this,(function(e){switch(e.label){case 0:return[4,s.takeLatest(d.DELETE_WEBP_FILES,p)];case 1:return e.sent(),[4,s.takeLatest(d.GENERATE_WEBP_FILES,f)];case 2:return e.sent(),[4,s.takeLatest(d.STOP_WEBP_CONVERSION,g)];case 3:return e.sent(),[4,s.takeLatest(d.CHECK_WEBP_CONVERSION_STATUS,m)];case 4:return e.sent(),[2]}}))}t.default=h,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__generator","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(p,"handleDeleteWebpFiles","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(f,"handleGenerateWebpFiles","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(g,"handleStopWebpConversion","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(m,"handleCheckWebpConversionStatus","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),i.register(h,"cache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/sagas/webp.ts"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(258),d=n(44),p=n(838),f=n(1143),g=n(1151),m=n(1152),h=n(1160),y=n(1161),b=n(1162),_=n(1166),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e={supercacher:p.default,environment:f.default,frontend:g.default,images:m.default,global:h.default,defaults:y.default,analytics:b.default,cloudflare:_.default};return l.createElement(c.Provider,{store:this.props.store},l.createElement(u.Router,{history:this.props.history,key:Math.random()},l.createElement(l.Fragment,null,l.createElement(u.Redirect,{exact:!0,from:"/",to:Object.keys(window.optimizerData.tabs)[0]}),d.map(window.optimizerData.tabs,(function(t,n){return l.createElement(u.Route,{key:Math.random(),path:n,component:e[n]})})))))},t}(l.Component);t.default=x,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/root/index.tsx"),a.register(x,"Root","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/root/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(824);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(45);t.__esModule=!0,t.createProvider=l,t.default=void 0;var o=r(n(434)),i=n(2),a=r(n(23)),s=n(435);r(n(194));function l(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){(0,o.default)(a,t);var r=a.prototype;function a(n,r){var o;return(o=t.call(this,n,r)||this)[e]=n.store,o}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return i.Children.only(this.props.children)},a}(i.Component);return r.propTypes={store:s.storeShape.isRequired,children:a.default.element.isRequired},r.childContextTypes=((t={})[e]=s.storeShape.isRequired,t[n]=s.subscriptionShape,t),r}var c=l();t.default=c},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";var r=n(437),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var o=f(n);o&&o!==g&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),h=0;h<a.length;++h){var y=a[h];if(!(i[y]||r&&r[y]||m&&m[y]||s&&s[y])){var b=p(n,y);try{c(t,y,b)}catch(e){}}}}return t}},function(e,t,n){"use strict";
|
324 |
/** @license React v16.13.1
|
325 |
* react-is.production.min.js
|
326 |
*
|
333 |
* http://hammerjs.github.io/
|
334 |
*
|
335 |
* Copyright (c) 2016 Jorik Tangelder;
|
336 |
+
* Licensed under the MIT license */!function(o,i,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d=Math.round,p=Math.abs,f=Date.now;function g(e,t,n){return setTimeout(v(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(h(e,n[t],n),!0)}function h(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function y(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var b=y((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&void 0===e[r[o]])&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),_=y((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function x(e,t,n){var r,o=t.prototype;(r=e.prototype=Object.create(o)).constructor=e,r._super=o,n&&l(r,n)}function v(e,t){return function(){return e.apply(t,arguments)}}function M(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function w(e,t){return void 0===e?t:e}function z(e,t,n){h(O(t),(function(t){e.addEventListener(t,n,!1)}))}function S(e,t,n){h(O(t),(function(t){e.removeEventListener(t,n,!1)}))}function L(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function A(e,t){return e.indexOf(t)>-1}function O(e){return e.trim().split(/\s+/g)}function k(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function E(e,t,n){for(var r=[],o=[],i=0;i<e.length;){var a=t?e[i][t]:e[i];k(o,a)<0&&r.push(e[i]),o[i]=a,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function N(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i<c.length;){if((r=(n=c[i])?n+o:t)in e)return r;i++}}var j=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var P="ontouchstart"in o,C=void 0!==N(o,"PointerEvent"),W=P&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),I=["x","y"],R=["clientX","clientY"];function Y(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){M(e.options.enable,[e])&&n.handler(t)},this.init()}function q(e,t,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&t&&r-o==0,a=12&t&&r-o==0;n.isFirst=!!i,n.isFinal=!!a,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,o=r.length;n.firstInput||(n.firstInput=H(t));o>1&&!n.firstMultiple?n.firstMultiple=H(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,l=t.center=B(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Q(s,l),t.distance=X(s,l),function(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}(n,t),t.offsetDirection=U(t.deltaX,t.deltaY);var c=F(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,t.scale=a?(u=a.pointers,d=r,X(d[0],d[1],R)/X(u[0],u[1],R)):1,t.rotation=a?function(e,t){return Q(t[1],t[0],R)+Q(e[1],e[0],R)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,o,i,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(s>25||void 0===a.velocity)){var l=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,u=F(s,l,c);r=u.x,o=u.y,n=p(u.x)>p(u.y)?u.x:u.y,i=U(l,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}(n,t);var u,d;var g=e.element;L(t.srcEvent.target,g)&&(g=t.srcEvent.target);t.target=g}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function H(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:d(e.pointers[n].clientX),clientY:d(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:B(t),deltaX:e.deltaX,deltaY:e.deltaY}}function B(e){var t=e.length;if(1===t)return{x:d(e[0].clientX),y:d(e[0].clientY)};for(var n=0,r=0,o=0;o<t;)n+=e[o].clientX,r+=e[o].clientY,o++;return{x:d(n/t),y:d(r/t)}}function F(e,t,n){return{x:t/e||0,y:n/e||0}}function U(e,t){return e===t?1:p(e)>=p(t)?e<0?2:4:t<0?8:16}function X(e,t,n){n||(n=I);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function Q(e,t,n){n||(n=I);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}Y.prototype={handler:function(){},init:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(D(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4};function V(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,Y.apply(this,arguments)}x(V,Y,{handler:function(e){var t=G[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:"touch",3:"pen",4:"mouse",5:"kinect"},$="pointerdown",Z="pointermove pointerup pointercancel";function ee(){this.evEl=$,this.evWin=Z,Y.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&($="MSPointerDown",Z="MSPointerMove MSPointerUp MSPointerCancel"),x(ee,Y,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),o=K[r],i=J[e.pointerType]||e.pointerType,a="touch"==i,s=k(t,e.pointerId,"pointerId");1&o&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&o&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Y.apply(this,arguments)}function re(e,t){var n=T(e.touches),r=T(e.changedTouches);return 12&t&&(n=E(n.concat(r),"identifier",!0)),[n,r]}x(ne,Y,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var oe={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ie(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},Y.apply(this,arguments)}function ae(e,t){var n=T(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=T(e.changedTouches),s=[],l=this.target;if(i=n.filter((function(e){return L(e.target,l)})),1===t)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),12&t&&delete r[a[o].identifier],o++;return s.length?[E(i.concat(s),"identifier",!0),s]:void 0}x(ie,Y,{handler:function(e){var t=oe[e.type],n=ae.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});function se(){Y.apply(this,arguments);var e=v(this.handler,this);this.touch=new ie(this.manager,e),this.mouse=new V(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function le(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ce.call(this,t)):12&e&&ce.call(this,t)}function ce(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ue(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(t-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}x(se,Y,{handler:function(e,t,n){var r="touch"==n.pointerType,o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)le.call(this,t,n);else if(o&&ue.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var de=N(u.style,"touchAction"),pe=void 0!==de,fe=function(){if(!pe)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}();function ge(e,t){this.manager=e,this.set(t)}ge.prototype={set:function(e){"compute"==e&&(e=this.compute()),pe&&this.manager.element.style&&fe[e]&&(this.manager.element.style[de]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return h(this.manager.recognizers,(function(t){M(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(A(e,"none"))return"none";var t=A(e,"pan-x"),n=A(e,"pan-y");if(t&&n)return"none";if(t||n)return t?"pan-x":"pan-y";if(A(e,"manipulation"))return"manipulation";return"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,o=A(r,"none")&&!fe.none,i=A(r,"pan-y")&&!fe["pan-y"],a=A(r,"pan-x")&&!fe["pan-x"];if(o){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(s&&l&&c)return}if(!a||!i)return o||i&&6&n||a&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};function me(e){this.options=l({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function he(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ye(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function be(e,t){var n=t.manager;return n?n.get(e):e}function _e(){me.apply(this,arguments)}function xe(){_e.apply(this,arguments),this.pX=null,this.pY=null}function ve(){_e.apply(this,arguments)}function Me(){me.apply(this,arguments),this._timer=null,this._input=null}function we(){_e.apply(this,arguments)}function ze(){_e.apply(this,arguments)}function Se(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Le(e,t){return(t=t||{}).recognizers=w(t.recognizers,Le.defaults.preset),new Ae(e,t)}me.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=be(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=be(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===k(t,e=be(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=be(e,this);var t=k(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+he(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+he(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!M(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},x(_e,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,o=this.attrTest(e);return r&&(8&n||!o)?16|t:r||o?4&n?8|t:2&t?4|t:2:32}}),x(xe,_e,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,o=e.direction,i=e.deltaX,a=e.deltaY;return o&t.direction||(6&t.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(o=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=o,n&&r>t.threshold&&o&t.direction},attrTest:function(e){return _e.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ye(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),x(ve,_e,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),x(Me,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!o)this.reset();else if(1&e.eventType)this.reset(),this._timer=g((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),x(we,_e,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),x(ze,_e,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return xe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ye(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),x(Se,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||X(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=g((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=g((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Le.VERSION="2.0.7",Le.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[we,{enable:!1}],[ve,{enable:!1},["rotate"]],[ze,{direction:6}],[xe,{direction:6},["swipe"]],[Se],[Se,{event:"doubletap",taps:2},["tap"]],[Me]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Ae(e,t){var n;this.options=l({},Le.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(C?ee:W?ie:P?se:V))(n,q),this.touchAction=new ge(this,this.options.touchAction),Oe(this,!0),h(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Oe(e,t){var n,r=e.element;r.style&&(h(e.options.cssProps,(function(o,i){n=N(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}Ae.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,o=t.curRecognizer;(!o||o&&8&o.state)&&(o=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&14&n.state&&(o=t.curRecognizer=n),i++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=k(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return h(O(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return h(O(e),(function(e){t?n[e]&&n[e].splice(k(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Oe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Le,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ae,Input:Y,TouchAction:ge,TouchInput:ie,MouseInput:V,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:_e,Tap:Se,Pan:xe,Swipe:ze,Pinch:ve,Rotate:we,Press:Me,on:z,off:S,each:h,merge:_,extend:b,assign:l,inherit:x,bindFn:v,prefixed:N}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Le,void 0===(r=function(){return Le}.call(t,n,t,e))||(e.exports=r)}(window,document)},function(e,t,n){var r=n(1075);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Table Row\n ========================================================================== */\n.table-row__loader-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 100%; }\n\n.hammerjs-wrapper {\n user-select: auto !important; }\n\n@keyframes spin {\n 100% {\n transform: rotate(360deg); } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1077);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Table Body\n ========================================================================== */\n.sg-table-dnd-placeholder {\n width: 100%; }\n .sg-table-dnd-placeholder tr {\n display: flex; }\n .sg-table-dnd-placeholder td {\n display: flex;\n align-items: center;\n flex: 1; }\n\n.sg-icon-expandable {\n margin-right: 15px; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n/* ==========================================================================\n Table\n ========================================================================== */\n.sg-table-wrapper {\n width: 100%;\n max-width: 100%;\n border-radius: 3px;\n background-color: var(--background-component-primary); }\n\n.sg-theme-hcl .sg-table-wrapper,\n.sg-theme-hcb .sg-table-wrapper {\n border: 1px solid var(--high-contrast-foreground); }\n\n.sg-table-wrapper--box-shadow {\n box-shadow: var(--first-level-box-shadow); }\n\n.sg-table {\n width: 100%;\n border-radius: 3px;\n text-align: start;\n table-layout: fixed; }\n .sg-table .sg-table__head .sg-table__cell:first-of-type {\n border-top-left-radius: 3px; }\n .sg-table .sg-table__head .sg-table__cell:last-of-type {\n border-top-right-radius: 3px; }\n .sg-table .sg-table__row:last-of-type .sg-table__cell:first-of-type {\n border-bottom-left-radius: 3px; }\n .sg-table .sg-table__row:last-of-type .sg-table__cell:last-of-type {\n border-bottom-right-radius: 3px; }\n\n.sg-table__head .sg-table__cell {\n color: var(--typography-light);\n font-family: Roboto;\n font-weight: 500;\n font-size: 12px;\n line-height: 20px;\n text-align: left;\n border-top: none; }\n\n.sg-table__head-tile {\n background-color: var(--background-component-secondary);\n text-align: center; }\n\n.sg-table__head--background-default .sg-table__cell {\n background-color: var(--background-component-secondary); }\n\n.sg-table__head--background-white .sg-table__cell {\n background-color: var(--background-component-primary); }\n\n.sg-table__footer--background-default .sg-table__cell {\n background-color: var(--background-component-secondary); }\n\n.sg-table__footer--background-white .sg-table__cell {\n background-color: var(--background-component-primary); }\n\n/* Rows\n ========================================================================== */\n.sg-table__row--animation-enter {\n opacity: 0;\n transition: opacity 0.5s linear; }\n\n.sg-table__row--animation-enter-active {\n opacity: 1; }\n\n.sg-table__row--animation-exit {\n pointer-events: none;\n transition: opacity 0.5s linear; }\n\n.sg-table__row--animation-exit-active {\n opacity: 0; }\n\n.sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-table__cell--is-in-row-selection {\n background-color: var(--background-component-secondary); }\n\n.sg-theme-hcl .sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-theme-hcl .sg-table__cell--is-in-row-selection,\n.sg-theme-hcb .sg-table__cell.sg-table__cell--is-in-row-selection,\n.sg-theme-hcb .sg-table__cell--is-in-row-selection {\n background-color: var(--component-background-hover); }\n\n/* Cells\n ========================================================================== */\n.sg-table__cell {\n position: relative;\n padding: 0 20px;\n vertical-align: middle;\n background-color: var(--background-component-primary);\n border-top: 1px solid var(--border-color-inner);\n font-size: 14px;\n line-height: 20px;\n text-align: left; }\n .sg-table__cell:focus {\n outline: none; }\n .sg-keyboard .sg-table__cell:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-table__cell--height-small {\n height: 40px; }\n\n.sg-table__cell--height-medium {\n height: 60px; }\n\n.sg-table__cell-dnd-wrapper {\n display: flex;\n align-items: center; }\n .sg-table__cell-dnd-wrapper .sg-icon-move {\n display: none; }\n .sg-table__cell-dnd-wrapper .sg-icon-dnd {\n margin-right: 15px;\n color: var(--color-icon-button); }\n\n.sg-table__after-content {\n border-top: 1px solid var(--border-color-inner); }\n\n.sg-table-load-more {\n display: flex;\n justify-content: center;\n padding: 20px;\n background-color: var(--background-component-secondary); }\n\n.sg-theme-hcl .sg-table-load-more,\n.sg-theme-hcb .sg-table-load-more {\n border-top: 1px solid var(--high-contrast-foreground); }\n\n.sg-table .sg-table__row .sg-table__cell.sg-table__expand-toggle {\n text-align: center;\n background-color: var(--background-component-secondary);\n padding: 20px 15px; }\n\n/* Density\n ========================================================================== */\n.sg-table-wrapper--density-none .sg-table__cell {\n padding: 0; }\n\n.sg-table-wrapper--density-none .sg-table__after-content {\n padding: 0; }\n\n.sg-table-wrapper--density-small .sg-table__cell:first-child {\n padding-left: 20px; }\n\n.sg-table-wrapper--density-small .sg-table__cell:last-child {\n padding-right: 20px; }\n\n.sg-table-wrapper--density-small .sg-table__after-content {\n padding: 20px 20px; }\n\n.sg-table-wrapper--density-small .sg-table-wrapper--density-small .sg-table__cell:first-child {\n padding-left: 40px; }\n\n.sg-table-wrapper--density-small .sg-table-wrapper--density-small .sg-table__cell:last-child {\n padding-right: 40px; }\n\n.sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 30px; }\n .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 5px; }\n\n.sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 30px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 5px; }\n\n.sg-table-wrapper--density-medium .sg-table__after-content {\n padding: 20px 30px; }\n\n.sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 60px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 10px; }\n\n.sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 60px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 10px; }\n\n.sg-table-wrapper--density-large .sg-table__cell:first-child {\n padding-left: 60px; }\n\n.sg-table-wrapper--density-large .sg-table__after-content {\n padding: 20px 60px; }\n\n.sg-table-wrapper--density-large .sg-table__cell:last-child {\n padding-right: 60px; }\n\n.sg-table-wrapper--density-large .sg-table-wrapper--density-large .sg-table__cell:first-child {\n padding-left: 120px; }\n\n.sg-table-wrapper--density-large .sg-table-wrapper--density-large .sg-table__cell:last-child {\n padding-right: 120px; }\n\n/* Product Table\n ========================================================================== */\n.sg-product-table {\n width: 100%; }\n .sg-product-table .sg-toolbar {\n margin: 0; }\n\n.sg-product-table--selected {\n border: 2px solid var(--color-primary); }\n\n.sg-product-table__row {\n border-bottom: 1px solid var(--border-color-inner); }\n\n/* Media queries\n ========================================================================== */\n@media (min-width: 801px) {\n .sg-table.sg-table--no-footer .sg-table__row:last-child .sg-table__cell--is-selected::before {\n border-bottom: 2px solid var(--color-primary); }\n .sg-table__cell--is-selected::before {\n content: " ";\n position: absolute;\n display: block;\n top: -1px;\n bottom: 0;\n right: 0;\n left: -2px;\n border-left: 2px solid var(--color-primary);\n border-right: 2px solid var(--color-primary);\n pointer-events: none; }\n .sg-table__head .sg-table__cell--is-selected::before {\n border-top: 2px solid var(--color-primary); }\n .sg-table__footer .sg-table__cell--is-selected::before {\n border-bottom: 2px solid var(--color-primary); } }\n\n@media (min-width: 801px) {\n .sg-theme-hcl .sg-table__row:hover .sg-table__cell,\n .sg-theme-hcb .sg-table__row:hover .sg-table__cell {\n background-color: var(--component-background-hover); }\n .sg-table__row:hover .sg-table__cell {\n background-color: var(--background-component-secondary); } }\n\n@media (max-width: 800px) {\n .sg-table {\n table-layout: fixed; }\n .sg-table-wrapper .sg-table__after-content {\n padding: 0; }\n .sg-table-wrapper--mobile-card .sg-table__cell,\n .sg-table-wrapper--mobile-card .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card .sg-table__cell:last-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:last-child {\n padding: 24px 20px 15px 20px; }\n .sg-table-wrapper--mobile-card .sg-table__cell:first-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__cell:last-child,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__footer,\n .sg-table-wrapper--mobile-card-flat .sg-table__footer {\n display: none; }\n .sg-table-wrapper--mobile-card.sg-table-wrapper,\n .sg-table-wrapper--mobile-card-flat.sg-table-wrapper {\n background-color: transparent; }\n .sg-table-wrapper--mobile-card:not(.sg-table-wrapper--no-data).sg-table-wrapper--box-shadow,\n .sg-table-wrapper--mobile-card-flat:not(.sg-table-wrapper--no-data).sg-table-wrapper--box-shadow {\n box-shadow: none; }\n .sg-table-wrapper--mobile-card .sg-table__head,\n .sg-table-wrapper--mobile-card-flat .sg-table__head {\n display: none; }\n .sg-table-wrapper--mobile-card .sg-table__row,\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n display: block;\n border-radius: 3px; }\n .sg-table-wrapper--mobile-card .sg-table__row {\n box-shadow: var(--first-level-box-shadow); }\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n box-shadow: none; }\n .sg-table-wrapper--mobile-card-flat .sg-table__row {\n border: 1px solid var(--border-color-outer); }\n .sg-table__cell-expandable-wrapper .sg-table__row {\n border-width: 1px 0 0; }\n .sg-table-wrapper--mobile-card:not(.sg-table-wrapper--reordable) .sg-table__row:not(:last-child),\n .sg-table-wrapper--mobile-card-flat:not(.sg-table-wrapper--reordable) .sg-table__row:not(:last-child) {\n margin-bottom: 20px; }\n .sg-table-wrapper--mobile-card .sg-table__cell,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell {\n height: auto;\n display: block;\n position: relative;\n border: none; }\n .sg-table-wrapper--mobile-card .sg-table__cell:nth-child(n+2)::after,\n .sg-table-wrapper--mobile-card-flat .sg-table__cell:nth-child(n+2)::after {\n content: attr(data-label);\n display: block;\n position: absolute;\n top: 4px;\n left: 20px;\n font-family: Roboto;\n font-size: 12px;\n line-height: 16px;\n color: var(--typography-light);\n text-align: initial;\n text-transform: capitalize; }\n .sg-table-load-more {\n margin-top: 20px;\n padding: 0;\n background: none; } }\n\n@media (max-width: 1500px) {\n .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 20px; }\n .sg-table-wrapper--density-medium .sg-table__cell:first-child::before {\n left: 5px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 20px; }\n .sg-table-wrapper--density-medium .sg-table__cell:last-child::before {\n right: 5px; }\n .sg-table-wrapper--density-medium .sg-table__after-content {\n padding: 20px 20px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:first-child {\n padding-left: 40px; }\n .sg-table-wrapper--density-medium .sg-table-wrapper--density-medium .sg-table__cell:last-child {\n padding-right: 40px; }\n .sg-table__cell--height-medium {\n height: 50px; } }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l,c,u=n(2),d=n(9),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.createMobileColumnsOptions=function(e,t,n){if(!e)return e;var r=d.deepclone(e);if(t)return r;var o={width:"100%",flexWrap:"nowrap"},i={flexShrink:0},s=r[0],l=r.pop(),c=s.render?s.render:function(e){return e},p=l.render?l.render:function(e){return e};return delete s.header,s.style=a({fontWeight:"bold"},s.style),s.render=function(e,t){return n?u.createElement(d.Flex,{justify:"space-between",align:"center",gutter:"none",margin:"none",style:o},u.createElement(d.Title,{level:"4",density:"none",truncate:!0},c(e,t)),u.createElement("div",{style:i},p(t[l.accessor],t))):c(e,t)},r},t.createDesktopColumnsOptions=function(e,t,n){if(!e||!t||0===t.length)return e;var r=d.deepclone(e),o=r[r.length-1];return o.style=a({paddingLeft:n&&"0px",textAlign:"right",whiteSpace:"nowrap"},o.style),n&&(o.mSize=o.mSize||"100px"),r},t.prototype.render=function(){var e=this.context.device,n=this.props,r=n.columns,o=n.data,i=n.disableMobileArrange,l=n.hasMenu,c=n.onMouseOver,p=s(n,["columns","data","disableMobileArrange","hasMenu","onMouseOver"]),f=t.createMobileColumnsOptions(r,i,e.isPhone),g=t.createDesktopColumnsOptions(r,o,l);return e.isPhone?u.createElement(d.Table,a({data:o,columns:f},p)):u.createElement(d.Table,a({data:o,columns:g,onMouseOver:c},p))},t.contextType=d.Context,t.defaultProps={hasMenu:!0,"data-e2e":"action-table"},t}(u.Component);t.default=p,l=n(0).default,c=n(0).leaveModule,l&&(l.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),l.register(p,"ActionTable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/action-table.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(1081),l=n(54),c=n(213),u=n(464),d=n(1082),p=n(211),f=n(1085),g=n(481);n(485);var m,h,y=function(e){var t=a.useContext(l.Context).device,n=e.columns,r=e.data,f=e.onCellSelection,m=e.selectedColumns,h=i(e,["columns","data","onCellSelection","selectedColumns"]),y=n.map((function(e){return o({},e)})),b=y.shift();return t.isPhone?a.createElement(s.default,o({},h),y.map((function(e,t){return a.createElement("div",{key:e.accessor,className:"sg-product-table"+(m.includes(t+1)?" sg-product-table--selected":"")},a.createElement(d.default,{border:"none",padding:"medium",className:"sg-table__head-tile"},e.renderHead?e.renderHead:e.header),r.map((function(n){return a.createElement(c.Flex,{className:"sg-product-table__row",key:n.accessor,padding:["none","medium"],gutter:"none",margin:"none",background:"white"},a.createElement(c.Box,{xs:"8",flex:!0,align:"center",justify:"flex-start"},b.render?b.render(n[b.accessor],n,b.accessor,t+1):n[b.accessor]),a.createElement(c.Box,{xs:"4",flex:!0,align:"center",justify:"center",style:{textAlign:"right"}},a.createElement(u.Grid,{padding:["medium","none"]},e.render(n[e.accessor],n,e.accessor,t+1))))})),e.footer&&a.createElement(p.default,{background:"light",justify:"center"},e.footer(t+1)))}))):a.createElement(g.default,o({className:"sg-product-table",mobileLayout:"row",data:r,columns:n,onCellSelection:f,selectedColumns:m},h))};y.defaultProps={selectedColumns:[]},t.default=f.default(y),m=n(0).default,h=n(0).leaveModule,m&&(m.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),m.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),m.register(y,"ProductTable","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/table/table-types/product-table.tsx"),h(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(447);t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(486);t.default=r.default},function(e,t,n){var r=n(1084);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Tile\n ========================================================================== */\n.sg-tile:focus {\n outline: none; }\n\n.sg-keyboard .sg-tile:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tile,\n.sg-tile.sg-with-border {\n border-radius: 0; }\n\n@media (max-width: 800px) {\n .sg-tile.sg-with-border + .sg-tile.sg-with-border {\n border-top: none; }\n .sg-tile:first-of-type {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px; }\n .sg-tile:last-of-type {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px; } }\n\n@media (min-width: 801px) {\n .sg-tile.sg-with-border + .sg-tile.sg-with-border {\n border-left: none; }\n .sg-tile:first-of-type {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px; }\n .sg-tile:last-of-type {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px; } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(218);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(7),u=n(8),d=n(11),p=n(199),f=n(145),g=function(e){switch(e.key){case d.default.SPACE:case d.default.ENTER:e.preventDefault(),e.stopPropagation(),e.target.click()}},m=l.forwardRef((function(e,t){var n=e.active,r=e.disabled,a=e.className,s=e.children,d=e.padding,m=e.tabIndex,h=e["data-e2e"],y=e["data-component"],b=i(e,["active","disabled","className","children","padding","tabIndex","data-e2e","data-component"]),_=c.default("sg-tabs__tab",n&&"sg-tabs__tab--active",r&&"sg-tabs__tab--disabled",f.default(d),a);return l.createElement(p.default,o({tag:"li",ref:t,className:_,tabIndex:m,"data-e2e":h,"data-component":y,role:"tab","aria-selected":n,"aria-controls":"panel-"+m},u.default(b),{onKeyDown:g}),s)}));m.displayName="Tab",m.defaultProps={tabIndex:-1,"data-e2e":"tab","data-component":"tab"},t.default=m,a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(g,"handleKeyDown","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),a.register(m,"Tab","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tab.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(7),u=n(53),d=n(33),p=n(64),f=n(8),g=n(11),m=n(25);n(1088);var h,y,b=function(e){function t(t){var n=e.call(this,t)||this;return n.onKeyDown=function(e){var t=p.getFocusableElement(n.tabsRef,{isDirectionForward:!0}),r=p.getFocusableElement(n.tabsRef,{isDirectionForward:!1});switch(e.key){case g.default.RIGHT:case g.default.DOWN:if(r===e.target)return;return e.target===n.tabsRootRef&&u.focusDomElement(t),void d.focusNextComponent({event:e});case g.default.LEFT:case g.default.UP:if(t===e.target)return;return e.target===n.tabsRootRef&&u.focusDomElement(r),void d.focusNextComponent({event:e,isDirectionForward:!1});default:return}},n.state={hasArrows:!1},n.tabsWrapperWith=null,n.tabsWidth=null,n.initialClientXLocation=0,n.deltaXFromLastTranslateRequest=0,n.deltaXfromLastMoveEvent=0,n.tabsRootRef=l.createRef(),n.tabsWrapperRef=l.createRef(),n.tabsRef=l.createRef(),n.applyTransformXStyle=n.applyTransformXStyle.bind(n),n.saveComponentDimensions=n.saveComponentDimensions.bind(n),n.resizeHandler=n.resizeHandler.bind(n),n.onMouseDown=n.onMouseDown.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){this.saveComponentDimensions(),this.setState({hasArrows:this.tabsWrapperWith<this.tabsWidth}),window.addEventListener("resize",this.resizeHandler,!1)},t.prototype.componentDidUpdate=function(e){e.children.length!==this.props.children.length&&this.setState({hasArrows:this.tabsWrapperWith<this.tabsWidth}),this.saveComponentDimensions()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.resizeHandler,!1)},t.prototype.onMouseDown=function(e){this.tabsWrapperWith>=this.tabsWidth||(this.initialClientXLocation=e.clientX||e.touches[0].clientX)},t.prototype.onMouseMove=function(e){if(this.initialClientXLocation){var t=e.clientX||e.touches[0].clientX;this.translateTabs(t)}},t.prototype.onMouseUp=function(){this.initialClientXLocation=0,this.deltaXFromLastTranslateRequest=this.deltaXfromLastMoveEvent},t.prototype.saveComponentDimensions=function(){this.tabsWrapperRef&&(this.tabsWrapperWith=this.tabsWrapperRef.getClientRects()[0].width,this.tabsWidth=this.tabsRef.getClientRects()[0].width)},t.prototype.translateTabs=function(e){var t=this.tabsWidth-this.tabsWrapperWith,n=e-this.initialClientXLocation+this.deltaXFromLastTranslateRequest,r=Math.min(Math.max(parseInt(n,10),-t),0);this.deltaXfromLastMoveEvent=r,this.applyTransformXStyle(r)},t.prototype.applyTransformXStyle=function(e){this.tabsRef.style.webkitTransform="translateX("+e+"px)",this.tabsRef.style.transform="translateX("+e+"px)"},t.prototype.resizeHandler=function(){var e=this.tabsWrapperWith<this.tabsWidth;this.state.hasArrows!==e&&this.setState({hasArrows:e}),this.applyTransformXStyle(0),this.saveComponentDimensions()},t.prototype.render=function(){var e=this,t=this.props,n=t.activeColor,r=t.className,o=t.children,i=t.border,u=t.size,d=t.tabIndex,p=t["data-e2e"],g=t["data-component"],h=t["aria-label"],y=s(t,["activeColor","className","children","border","size","tabIndex","data-e2e","data-component","aria-label"]),b=c.default("sg-tabs-wrapper",i&&"sg-tabs-wrapper--border-"+i,r),_=c.default("sg-tabs","sg-tabs--background-transparent","sg-tabs--"+u,n&&"sg-tabs--active-color-"+n),x=this.state.hasArrows;return l.createElement("div",a({ref:function(t){e.tabsRootRef=t},className:b,"data-e2e":p,"data-component":g,tabIndex:d},f.default(y),{onMouseDown:this.onMouseDown,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,onMouseLeave:this.onMouseUp,onTouchStart:this.onMouseDown,onTouchMove:this.onMouseMove,onTouchEnd:this.onMouseUp,onKeyDown:this.onKeyDown}),x&&l.createElement("div",{className:"sg-tabs__arrow sg-tabs__arrow--start",onClick:function(){return e.translateTabs(40)}},l.createElement(m.default,{name:"arrow-left-thin",size:"10"})),l.createElement("div",{className:"sg-tabs_container",ref:function(t){e.tabsWrapperRef=t}},l.createElement("ul",a({className:_,ref:function(t){e.tabsRef=t},role:"tablist","aria-label":h},y),o)),x&&l.createElement("div",{className:"sg-tabs__arrow sg-tabs__arrow--end",onClick:function(){return e.translateTabs(-40)}},l.createElement(m.default,{name:"arrow-right-thin",size:"10"})))},t.defaultProps={activeColor:"sky",size:"medium",tabIndex:0,"data-e2e":"tabs","data-component":"tabs"},t}(l.Component);t.default=b,h=n(0).default,y=n(0).leaveModule,h&&(h.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),h.register(b,"Tabs","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tabs/tabs.tsx"),y(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1089);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n/* ==========================================================================\n Tabs\n ========================================================================== */\n.sg-tabs-wrapper {\n display: flex;\n flex-shrink: 0;\n user-select: none;\n max-width: 100%; }\n .sg-tabs-wrapper:focus {\n outline: none; }\n .sg-keyboard .sg-tabs-wrapper:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tabs_container {\n overflow: hidden; }\n\n.sg-tabs__arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 60px;\n background: inherit;\n color: var(--color-icon-button);\n cursor: pointer; }\n .sg-tabs__arrow:hover {\n color: var(--typography-dark); }\n\n.sg-tabs {\n display: inline-flex; }\n\n.sg-tabs__tab {\n align-items: center;\n display: flex;\n position: relative;\n white-space: nowrap;\n height: 60px;\n padding: 0 30px;\n color: var(--typography-light);\n cursor: pointer;\n text-transform: uppercase; }\n .sg-tabs__tab:focus {\n outline: none; }\n .sg-keyboard .sg-tabs__tab:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n .sg-tabs__tab:hover, .sg-tabs__tab:active, .sg-tabs__tab--active {\n color: var(--typography-darker); }\n .sg-tabs__tab:active::after, .sg-tabs__tab--active::after {\n content: "";\n display: block;\n position: absolute;\n height: 2px;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: currentColor;\n z-index: 1; }\n .sg-tabs__tab a {\n color: var(--typography-darkest); }\n\n/* Background\n ========================================================================== */\n.sg-tabs--background-transparent {\n background-color: transparent; }\n\n/* Borders\n ========================================================================== */\n.sg-tabs-wrapper--border-light {\n position: relative; }\n .sg-tabs-wrapper--border-light::before {\n content: "";\n display: block;\n position: absolute;\n height: 1px;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--border-color-outer); }\n\n.sg-tabs--active-color-sky .sg-tabs__tab--active::after,\n.sg-tabs--active-color-sky .sg-tabs__tab:active::after {\n background-color: var(--ocean-base); }\n\n.sg-tabs--active-color-romantic .sg-tabs__tab--active,\n.sg-tabs--active-color-romantic .sg-tabs__tab:active {\n color: var(--royal-base); }\n\n.sg-tabs--active-color-dark .sg-tabs__tab--active,\n.sg-tabs--active-color-dark .sg-tabs__tab:active {\n color: var(--typography-darker); }\n\n/* Sizes\n ========================================================================== */\n.sg-tabs--small {\n font: 500 12px/16px Roboto; }\n\n.sg-tabs--medium {\n font: 600 14px/20px Roboto; }\n\n.sg-tabs--large {\n font: 600 16px/24px Roboto; }\n\n/* Disabled\n ========================================================================== */\n.sg-tabs__tab--disabled {\n color: var(--color-disabled);\n pointer-events: none; }\n\n@media (max-width: 1500px) {\n .sg-tabs__tab {\n padding: 0 20px;\n height: 50px; } }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=n(8),c=n(1091);n(1092);var u,d,p=function(e){var t=e.className,n=e.background,r=e.onRefsReady,c=e.tabIndex,u=e["data-e2e"],d=e["data-component"],p=i(e,["className","background","onRefsReady","tabIndex","data-e2e","data-component"]),f=s.default(t,"sg-textarea",n&&"sg-textarea--background-"+n);return a.createElement("textarea",o({ref:function(e){r&&r(e)},className:f,"data-e2e":u,"data-component":d,tabIndex:c},l.default(p)))},f=c.default(p);f.displayName="Textarea",p.defaultProps={tabIndex:0,"data-e2e":"textarea","data-component":"textarea"},t.default=f,u=n(0).default,d=n(0).leaveModule,u&&(u.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(p,"Textarea","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),u.register(f,"WrappedTextarea","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/textarea/textarea.tsx"),d(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(461);t.default=r.default},function(e,t,n){var r=n(1093);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n.sg-field-wrapper .sg-textarea {\n height: auto; }\n\n/* Backgrounds\n ========================================================================== */\n.sg-textarea.sg-textarea--background-light {\n background-color: var(--background-main); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(7),c=n(205),u=n(11),d=n(141),p=n(112),f=n(206),g=n(25),m=n(113),h=n(98),y=n(1095);n(1098);var b,_,x=function(e){function t(t){var n=e.call(this,t)||this;return n.handleHourKeyDown=function(e){switch(e.key){case u.default.SPACE:case u.default.ENTER:return e.preventDefault(),void e.stopPropagation();case u.default.UP:case u.default.RIGHT:return void n.handleHourIncrease();case u.default.DOWN:case u.default.LEFT:return void n.handleHourDecrease();default:return}},n.handleMinuteKeyDown=function(e){switch(e.key){case u.default.SPACE:case u.default.ENTER:return e.preventDefault(),void e.stopPropagation();case u.default.UP:case u.default.RIGHT:return void n.handleMinuteIncrease();case u.default.DOWN:case u.default.LEFT:return void n.handleMinuteDecrease();default:return}},n.state={viewType:"TIME",selectedTime:+(new Date).setMinutes(0),inputValue:null,isTimePickerVisible:!1},n.openTimePicker=n.openTimePicker.bind(n),n.closeTimePicker=n.closeTimePicker.bind(n),n.handleTimePick=n.handleTimePick.bind(n),n.handleTimeChange=n.handleTimeChange.bind(n),n.handleHourIncrease=n.handleHourIncrease.bind(n),n.handleHourSelection=n.handleHourSelection.bind(n),n.handleHourDecrease=n.handleHourDecrease.bind(n),n.handleMinuteIncrease=n.handleMinuteIncrease.bind(n),n.handleMinuteSelection=n.handleMinuteSelection.bind(n),n.handleMinuteDecrease=n.handleMinuteDecrease.bind(n),n.handleDayPeriodChange=n.handleDayPeriodChange.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){var e=this.props.value,t=this.state.selectedTime;e&&t!==e&&this.setStateFromValue(e)},t.prototype.componentDidUpdate=function(e){""===this.props.value&&null!==this.state.inputValue&&this.setState({inputValue:null}),e.value!==this.props.value&&this.setStateFromValue(this.props.value)},t.prototype.setStateFromValue=function(e){var t=+new Date(1e3*parseInt(e,10));"string"!=typeof e?this.setState({selectedTime:t,inputValue:t}):this.setState({selectedTime:+new Date,inputValue:""})},t.prototype.getTimeFromLocales=function(){var e=this.state.inputValue,t=this.props.locales;return c.getTime(e,t)},t.prototype.getHours=function(){var e=this.state.selectedTime;return new Date(e).getHours()},t.prototype.getMinutes=function(){var e=this.state.selectedTime;return new Date(e).getMinutes()},t.prototype.getFormattedTime=function(e){return Math.floor(e/1e3)},t.prototype.getHumanReadableSelectedHour=function(){var e=this.props.locales,t=this.state.selectedTime,n=c.getHoursFromDateTimeFormat(e,new Date(t));return parseInt(n,10).toString().padStart(2,"0")},t.prototype.getHumanReadableSelectedMinute=function(){var e=this.getMinutes().toString();return parseInt(e,10).toString().padStart(2,"0")},t.prototype.getHumanReadableSelectedDayPeriod=function(){return this.getHours()>=12?"PM":"AM"},t.prototype.closeTimePicker=function(){this.setState({isTimePickerVisible:!1,viewType:"TIME"})},t.prototype.openTimePicker=function(){this.props.disabled||this.setState({isTimePickerVisible:!0})},t.prototype.handleTimePick=function(){var e=this.props.onChange,t=this.state.selectedTime,n=this.getFormattedTime(t);this.setState({inputValue:t},(function(){return e(n)}))},t.prototype.handleTimeChange=function(e){var t=e.hour,n=e.minute,r=this.state.selectedTime,o=new Date(r),i=void 0!==t?t:o.getHours(),a=void 0!==n?n:o.getMinutes(),s=+new Date(o.getFullYear(),o.getMonth(),o.getDate(),i,a,0);this.setState({selectedTime:s})},t.prototype.handleHourIncrease=function(){var e=this.getHours(),t=23===e?0:e+1;this.handleTimeChange({hour:t})},t.prototype.handleHourDecrease=function(){var e=this.getHours(),t=0===e?23:e-1;this.handleTimeChange({hour:t})},t.prototype.handleHourSelection=function(e){var t=this;this.setState({viewType:"TIME"},(function(){return t.handleTimeChange({hour:e})}))},t.prototype.handleMinuteIncrease=function(){var e=this.getMinutes(),t=59===e?0:e+1;this.handleTimeChange({minute:t})},t.prototype.handleMinuteDecrease=function(){var e=this.getMinutes(),t=0===e?59:e-1;this.handleTimeChange({minute:t})},t.prototype.handleMinuteSelection=function(e){var t=this;this.setState({viewType:"TIME"},(function(){return t.handleTimeChange({minute:e})}))},t.prototype.handleDayPeriodChange=function(){var e=this.getHours(),t=e>=12?e-12:e+12;this.handleTimeChange({hour:t})},t.prototype.shouldUse12hFormat=function(){var e=this.state.selectedTime,t=this.props.locales,n=c.getHoursFromDateTimeFormat(t,new Date(e));return Boolean(["A","M","P","a","m","p"].find((function(e){return n.includes(e)})))},t.prototype.renderInput=function(){var e=this,t=this.props.disabled,n=this.state.inputValue,r={label:this.props.label,placeholder:this.props.placeholder,size:this.props.size,validationMessage:this.props.validationMessage,validationMessageTemplate:this.props.validationMessageTemplate,state:this.props.state,disabled:this.props.disabled,readOnly:this.props.readOnly,ariaLabel:this.props["aria-label"],"data-e2e":this.props["data-e2e-input"]},o=n?this.getTimeFromLocales():"",i=l.default("sg-time-picker__input",t&&"sg-time-picker__input--disabled"),c=l.default("sg-time-picker__field",t&&"sg-time-picker__field--disabled");return s.createElement(m.default,a({className:i,fieldClassName:c,value:o,prefix:s.createElement(g.default,{name:"generic-clock",color:"ocean",size:"18",className:"date-picker-calendar-icon","aria-hidden":!0}),onClick:this.openTimePicker,role:"button","aria-label":r.ariaLabel,onKeyDown:function(t){t.key!==u.default.SPACE&&t.key!==u.default.ENTER||(t.preventDefault(),t.stopPropagation(),e.openTimePicker())}},r))},t.prototype.renderTimePickerDialog=function(){var e=this.state,t=e.isTimePickerVisible,n=e.viewType,r=this.props.className,o=l.default("sg-time-picker",r);return t?s.createElement(f.default,{className:o,density:"none",size:"small",footer:this.renderFooter(),onCloseHandler:this.closeTimePicker,"data-e2e":this.props["data-e2e"],"aria-hidden":t,role:"region","aria-live":"polite"},"TIME"===n&&this.renderClock(),"HOUR"===n&&this.renderHourPicker(),"MINUTE"===n&&this.renderMinutePicker()):null},t.prototype.renderFooter=function(){var e=this,t=this.props.translation;return s.createElement(s.Fragment,null,s.createElement(p.default,{onClick:this.closeTimePicker,"data-e2e":"timepicker-cancel-button"},t.cancelButton),s.createElement(p.default,{"data-e2e":"timepicker-confirm-button",color:"primary",disabled:this.props.shouldDisableTime(this.getFormattedTime(this.state.selectedTime)),onClick:function(){e.handleTimePick(),e.closeTimePicker()}},t.okButton))},t.prototype.renderClock=function(){var e=this,t=this.shouldUse12hFormat(),n=this.getHumanReadableSelectedHour(),r=this.getHumanReadableSelectedMinute(),o=this.getHumanReadableSelectedDayPeriod(),i=this.props.ariaProps;return s.createElement("div",{className:"sg-time-picker__content sg-time-picker__content--flex","data-e2e":"timepicker-clock",role:"group"},s.createElement("div",{className:"sg-time-picker__column"},s.createElement(y.default,{size:"xx-large",tabIndex:0,style:{order:1},onClick:function(){return e.setState({viewType:"HOUR"})},onKeyDown:this.handleHourKeyDown,"data-e2e":"timepicker-hour",role:"spinbutton","aria-valuenow":parseInt(n),"aria-valuetext":n,"aria-valuemin":1,"aria-valuemax":t?12:24,"aria-label":i.ariaLabelHours,"aria-live":"polite"},n),s.createElement(y.default,{color:"secondary",style:{order:0},onClick:this.handleHourIncrease,"data-e2e":"timepicker-hour-increase",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-up",size:"16"})),s.createElement(y.default,{color:"secondary",style:{order:2},onClick:this.handleHourDecrease,"data-e2e":"timepicker-hour-decrease",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-down",size:"16"}))),s.createElement("div",{className:"sg-time-picker__column sg-time-picker__column--justify-center"},":"),s.createElement("div",{className:"sg-time-picker__column"},s.createElement(y.default,{color:"secondary",onClick:this.handleMinuteIncrease,"data-e2e":"timepicker-hour-increase",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-up",size:"16"})),s.createElement(y.default,{size:"xx-large",tabIndex:0,onClick:function(){return e.setState({viewType:"MINUTE"})},onKeyDown:this.handleMinuteKeyDown,"data-e2e":"timepicker-minute",role:"spinbutton","aria-valuenow":parseInt(r),"aria-valuetext":r,"aria-valuemin":0,"aria-valuemax":59,"aria-label":i.ariaLabelMinutes,"aria-live":"assertive"},r),s.createElement(y.default,{color:"secondary",onClick:this.handleMinuteDecrease,"data-e2e":"timepicker-minute-decrease",role:"presentation","aria-hidden":"true"},s.createElement(g.default,{name:"arrow-down",size:"16"}))),t&&s.createElement("div",{className:l.default("sg-time-picker__column","sg-time-picker__column--justify-center","sg-time-picker__column--margin-start")},s.createElement(y.default,{background:"secondary",onClick:this.handleDayPeriodChange,tabIndex:0,"data-e2e":"timepicker-period-change","aria-label":"am/pm",role:"button","aria-valuetext":o},o)))},t.prototype.renderHourPicker=function(){var e=this,t=this.getHours(),n=this.shouldUse12hFormat(),r=Array(n?12:24).fill(null).map((function(e,t){return n?t+1:t}));return s.createElement("div",{className:"sg-time-picker__content","data-e2e":"timepicker-hour"},r.map((function(n){var r=t===n,o=l.default("sg-time-picker-entity",r&&"sg-time-picker-entity--selected");return s.createElement("span",{key:n,ref:function(e){return r&&d.default(e,{block:"center"})},"data-e2e":"timepicker-hours"},s.createElement(h.default,{className:o,color:"dark",weight:"bold",onClick:function(){return e.handleHourSelection(n)}},n.toString().padStart(2,"0")))})))},t.prototype.renderMinutePicker=function(){var e=this,t=this.getMinutes(),n=Array(60).fill(null).map((function(e,t){return t}));return s.createElement("div",{className:"sg-time-picker__content","data-e2e":"timepicker-minutes"},n.map((function(n){var r=t===n,o=l.default("sg-time-picker-entity",r&&"sg-time-picker-entity--selected");return s.createElement("span",{key:n,ref:function(e){return r&&d.default(e,{block:"center"})},"data-e2e":"timepicker-minute"},s.createElement(h.default,{className:o,weight:"bold",onClick:function(){return e.handleMinuteSelection(n)}},n.toString().padStart(2,"0")))})))},t.prototype.render=function(){return s.createElement(s.Fragment,null,this.renderInput(),this.renderTimePickerDialog())},t.defaultProps={locales:navigator.language||"en-US",placeholder:"Select a time",onChange:function(){return!1},shouldDisableTime:function(){return!1},translation:{cancelButton:"Cancel",okButton:"Ok"},"data-e2e":"timepicker","data-e2e-input":"timepicker-input",ariaProps:{ariaLabelMinutes:"Minutes",ariaLabelHours:"Hour"}},t}(s.Component);t.default=x,b=n(0).default,_=n(0).leaveModule,b&&(b.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("TIME","TIME_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("HOUR","HOUR_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register("MINUTE","MINUTE_VIEW","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),b.register(x,"TimePicker","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker.tsx"),_(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7);n(1096);var l,c,u=function(e){var t=e.color,n=e.children,r=e.className,l=e.background,c=e.size,u=e.tabIndex,d=i(e,["color","children","className","background","size","tabIndex"]),p=s.default("sg-time-picker-button",t&&"sg-time-picker-button--color-"+t,l&&"sg-time-picker-button--background-"+l,"sg-time-picker-button--size-"+c,r);return a.createElement("button",o({className:p,type:"button",tabIndex:u},d),n)};u.defaultProps={size:"large",tabIndex:-1},t.default=u,l=n(0).default,c=n(0).leaveModule,l&&(l.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),l.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),l.register(u,"TimePickerButton","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/time-picker/time-picker-button/time-picker-button.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1097);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TimePickerButton\n ========================================================================== */\n.sg-time-picker-button {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 60px;\n background-color: transparent;\n color: var(--typography-dark);\n border: none;\n border-radius: 3px;\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n text-transform: uppercase; }\n .sg-time-picker-button:hover {\n cursor: pointer; }\n .sg-time-picker-button:hover, .sg-time-picker-button:focus {\n color: var(--component-color-hover);\n background-color: var(--component-background-hover); }\n\n/* Sizes\n ========================================================================== */\n.sg-time-picker-button--size-large {\n height: 40px; }\n\n.sg-time-picker-button--size-xx-large {\n height: 60px; }\n\n/* Colors\n ========================================================================== */\n.sg-time-picker-button--color-secondary {\n color: var(--color-secondary); }\n\n/* Backgrounds\n ========================================================================== */\n.sg-time-picker-button--background-secondary {\n color: var(--typography-white);\n background-color: var(--color-secondary); }\n .sg-time-picker-button--background-secondary:focus, .sg-time-picker-button--background-secondary:hover {\n background-color: var(--color-secondary-hovered); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1099);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TimePicker\n ========================================================================== */\n.sg-time-picker.sg-dialog {\n padding: 0; }\n\n.sg-time-picker .sg-time-picker-header {\n margin-top: 0; }\n\n.sg-time-picker__input,\n.sg-time-picker__field {\n cursor: pointer;\n caret-color: transparent; }\n .sg-time-picker__input.sg-time-picker__input--disabled, .sg-time-picker__input.sg-time-picker__field--disabled,\n .sg-time-picker__field.sg-time-picker__input--disabled,\n .sg-time-picker__field.sg-time-picker__field--disabled {\n cursor: not-allowed; }\n\n.sg-time-picker__content {\n padding-top: 30px;\n padding-bottom: 30px;\n height: 280px;\n width: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n overflow-y: overlay; }\n\n.sg-time-picker__content--flex {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n.sg-time-picker__column {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n min-width: 50px;\n min-height: 160px; }\n\n.sg-time-picker__column--justify-center {\n justify-content: center; }\n\n.sg-time-picker__column--margin-start {\n margin-left: 30px; }\n\n.sg-time-picker-entity {\n cursor: pointer;\n line-height: 36px; }\n .sg-time-picker-entity:hover {\n color: var(--color-secondary); }\n\n.sg-time-picker-entity--selected {\n color: var(--color-secondary);\n font-size: 26px; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(7),c=n(53),u=n(8),d=n(11),p=n(25);n(1101);var f,g,m=function(e,t){if(!e)return null;e.children&&e.children[t]&&c.focusDomElement(e.children[t])},h=function(e){var t=e.event,n=e.timelineRef,r=e.focusIndex,o=e.timelineLength,i=e.onChange;switch(t.key){case d.default.LEFT:var a=Math.min(Math.max(r-1,0),o);m(n.current,a);break;case d.default.RIGHT:var s=Math.min(Math.max(r+1,0),o);m(n.current,s);break;case d.default.ENTER:case d.default.SPACE:i(r+1)}},y=function(e){var t=e.activeStep,n=e.className,r=e.onChange,c=e.steps,d=e.tabIndex,f=e["data-e2e"],g=e["data-component"],m=e["aria-label"],y=i(e,["activeStep","className","onChange","steps","tabIndex","data-e2e","data-component","aria-label"]),b=s.useRef(null),_=a(s.useState(-1),2),x=_[0],v=_[1],M=l.default("sg-timeline",n),w=c.map((function(e,n){var i=n+1,a=i<=t,d=l.default("sg-timeline__item",a&&"sg-timeline__item--active",i===t&&"sg-timeline__item--bold",i>c.length&&"sg-timeline__item--bold");return s.createElement("li",o({key:n,className:d,tabIndex:-1},u.default(y),{onClick:a?function(){return r(i)}:null,onFocus:function(){return v(n)},"data-e2e":"timeline-step"}),s.createElement("div",{className:"sg-timeline__top-row"},i<t?s.createElement("span",{className:"sg-timeline__step","aria-hidden":"true"},s.createElement(p.default,{name:"check",size:"12"})):s.createElement("span",{className:"sg-timeline__step","aria-hidden":"true"},i)),s.createElement("div",{className:"sg-timeline__bottom-row"},s.createElement("span",{className:"sg-timeline__text"},c[n])))}));return s.createElement("ul",{ref:b,className:M,tabIndex:d,"data-e2e":f,role:"timeline","aria-label":m,"data-component":g,onKeyDown:function(e){return h({event:e,timelineRef:b,focusIndex:x,timelineLength:w.length,onChange:r})}},w)};y.defaultProps={onChange:function(){},tabIndex:0,"data-e2e":"timeline","data-component":"timeline"},t.default=y,f=n(0).default,g=n(0).leaveModule,f&&(f.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(a,"__read","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(m,"focusItem","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(h,"handleKeyDown","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),f.register(y,"Timeline","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/timeline/timeline.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1102);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,'/* stylelint-disable */\n\n.sg-timeline {\n display: flex; }\n .sg-timeline:focus {\n outline: none; }\n .sg-keyboard .sg-timeline:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-timeline__item {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-basis: 0; }\n .sg-timeline__item:focus {\n outline: none; }\n .sg-keyboard .sg-timeline__item:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-timeline__item:first-child .sg-timeline__top-row::before {\n background: transparent; }\n\n.sg-timeline__item:last-child .sg-timeline__top-row::after {\n background: transparent; }\n\n.sg-timeline__item--active {\n cursor: pointer; }\n .sg-timeline__item--active .sg-timeline__step {\n background: var(--ocean-base); }\n\n.sg-timeline__item--bold {\n font-weight: 600; }\n\n.sg-timeline__top-row {\n display: flex;\n align-items: center; }\n\n.sg-timeline__bottom-row {\n display: flex;\n justify-content: center;\n text-align: center;\n padding: 5px 10px; }\n\n.sg-timeline__top-row::before,\n.sg-timeline__top-row::after {\n content: "";\n display: block;\n height: 1px;\n flex-grow: 1;\n background: var(--color-disabled); }\n\n.sg-timeline__top-row::before {\n margin-right: 10px; }\n\n.sg-timeline__top-row::after {\n margin-left: 10px; }\n\n.sg-timeline__step {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 25px;\n height: 25px;\n line-height: 25px;\n border-radius: 50%;\n color: var(--typography-white);\n background: var(--color-disabled);\n font-family: Roboto;\n font-weight: 700; }\n',""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(7),u=n(8),d=n(1104);n(1107);var p,f,g=function(e){function t(t){var n=e.call(this,t)||this;return n.nodes={},n.rootRef=null,n.onCheck=function(e){var t=n.props,r=t.noCascade,o=t.onCheck;n.toggleChecked(e,e.checked,r),o(n.serializeList("checked"),e)},n.onExpand=function(e){var t=n.props.onExpand;n.toggleNode("expanded",e,e.expanded),t(n.serializeList("expanded"),e)},n.rootRef=l.createRef(),n.flattenNodes(t.nodes),n.unserializeLists({checked:t.checked,expanded:t.expanded}),n}return i(t,e),t.prototype.getFormattedNodes=function(e){var t=this;return e.map((function(e){var n=a({},e);return n.checked=t.nodes[e.value].checked,n.expanded=t.nodes[e.value].expanded,Array.isArray(e.children)&&e.children.length>0?n.children=t.getFormattedNodes(n.children):n.children=null,n}))},t.prototype.getCheckState=function(e,t){return null===e.children||t||this.props.noCascadeOnDisabledNode&&e.disabled?e.checked?1:0:this.isEveryChildChecked(e)?1:this.isSomeChildChecked(e)?2:0},t.prototype.getDisabledState=function(e,t,n,r){return!!n||(this.props.noCascadeOnDisabledNode&&t.disabled?Boolean(e.disabled):!(r||!t.disabled)||Boolean(e.disabled))},t.prototype.toggleChecked=function(e,t,n){var r=this;if(null===e.children||n){var o=this.props.noCascadeOnDisabledNode&&e.disabled?e.value:t;this.toggleNode("checked",e,o)}else e.children.forEach((function(e){r.toggleChecked(e,t)}))},t.prototype.toggleNode=function(e,t,n){this.nodes[t.value][e]=n},t.prototype.flattenNodes=function(e){var t=this;Array.isArray(e)&&0!==e.length&&e.forEach((function(e){t.nodes[e.value]={},t.flattenNodes(e.children)}))},t.prototype.unserializeLists=function(e){var t=this;Object.keys(this.nodes).forEach((function(n){Object.keys(e).forEach((function(e){t.nodes[n][e]=!1}))})),Object.keys(e).forEach((function(n){e[n].forEach((function(e){void 0!==t.nodes[e]&&(t.nodes[e][n]=!0)}))}))},t.prototype.serializeList=function(e){var t=this,n=[];return Object.keys(this.nodes).forEach((function(r){t.nodes[r][e]&&n.push(r)})),n},t.prototype.isEveryChildChecked=function(e){var t=this;return e.children.every((function(e){return null!==e.children?t.isEveryChildChecked(e):e.checked}))},t.prototype.isSomeChildChecked=function(e){var t=this;return e.children.some((function(e){return null!==e.children?t.isSomeChildChecked(e):e.checked}))},t.prototype.renderTreeNodes=function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=0);var o=this.props,i=o.disabled,a=o.noCascade,s=o.optimisticToggle,c=o.collapsedIcon,u=o.expandedIcon,p=o["data-component"],f=e.map((function(e){var o=""+e.value,f=r.getCheckState(e,a),g=r.renderChildNodes(e),m=r.getDisabledState(e,t,i,a);return l.createElement(d.default,{key:o,checked:f,disabled:m,depth:n,expanded:e.expanded,label:e.label,forceShowToggleIcon:e.forceShowToggleIcon,entity:e.entity,optimisticToggle:s,rawChildren:e.children,value:e.value,showCheckbox:e.showCheckbox,onCheck:r.onCheck,onExpand:r.onExpand,collapsedIcon:c,expandedIcon:u,parentRootRef:r.rootRef.current,htmlAttributes:e.htmlAttributes,"data-component":p+"-node"},g)}));return l.createElement("ol",{className:"sg-tree__list"},f)},t.prototype.renderChildNodes=function(e){var t=this.props.depth;return null!==e.children&&e.expanded?this.renderTreeNodes(e.children,e,t+1):null},t.prototype.render=function(){var e=this.props,t=e.nodes,n=e.checked,r=e.expanded;this.flattenNodes(t),this.unserializeLists({checked:n,expanded:r});var o=this.getFormattedNodes(t),i=this.props,d=i.className,p=i.tabIndex,f=i["data-e2e"],g=i["data-component"],m=s(i,["className","tabIndex","data-e2e","data-component"]),h=c.default("sg-tree",d);return l.createElement("div",a({ref:this.rootRef,className:h,"data-e2e":f,"data-component":g,tabIndex:p,role:"tree"},u.default(m)),this.renderTreeNodes(o))},t.defaultProps={depth:0,checked:[],disabled:!1,expanded:[],noCascade:!1,noCascadeOnDisabledNode:!1,optimisticToggle:!0,collapsedIcon:"arrow-right",expandedIcon:"arrow-down",onCheck:function(){return null},onExpand:function(){return null},"data-e2e":"tree","data-component":"tree"},t}(l.PureComponent);t.default=g,p=n(0).default,f=n(0).leaveModule,p&&(p.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),p.register(g,"Tree","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree.tsx"),f(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),l=n(33),c=n(81),u=n(11),d=n(200),p=n(26);n(1105);var f,g,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onCheck=function(){var e=t.props,n=e.checked,r=e.entity,o=e.value,i=e.optimisticToggle,a=e.rawChildren,s=!1;0===n&&(s=!0),2===n&&(s=i),(0,e.onCheck)({value:o,checked:s,entity:r,children:a})},t.onExpand=function(){var e=t.props,n=e.expanded,r=e.entity,o=e.value;(0,e.onExpand)({expanded:!n,value:o,entity:r})},t.handleKeyDown=function(e){var n=t.props,r=n.expanded,o=n["data-component"],i=n.parentRootRef;if(u.isEventFromTab(e))l.focusNextComponent({event:e,startingElement:i});else if(u.isEventFromShiftPlusTab(e))l.focusNextComponent({event:e,isDirectionForward:!1,startingElement:i});else{var a=document.querySelectorAll('[data-component="'+o+'"]');switch(e.key){case u.default.DOWN:return e.preventDefault(),e.stopPropagation(),void l.focusNextComponent({event:e,includeChildren:!0,onComponentFiltering:function(e){return e.getAttribute("data-component")===o}});case u.default.UP:return e.preventDefault(),e.stopPropagation(),void l.focusNextComponent({event:e,includeChildren:!0,isDirectionForward:!1,onComponentFiltering:function(e){return e.getAttribute("data-component")===o}});case u.default.LEFT:if(e.preventDefault(),e.stopPropagation(),!r)return;return t.onExpand();case u.default.RIGHT:if(e.preventDefault(),e.stopPropagation(),r)return;return t.onExpand();case u.default.ENTER:case u.default.SPACE:return e.preventDefault(),e.stopPropagation(),t.onCheck();case u.default.END:var s=a&&a[a.length-1];return void l.focusNextComponent({event:e,isDirectionForward:!0,onComponentFiltering:function(e){return e===s}});case u.default.HOME:var c=a&&a[0];return void l.focusNextComponent({event:e,isDirectionForward:!1,onComponentFiltering:function(e){return e===c}})}}},t}return i(t,e),t.prototype.hasChildren=function(){return null!==this.props.rawChildren},t.prototype.renderExpandCollapseButton=function(){var e=this.props,t=e.expanded,n=e.forceShowToggleIcon,r=e.expandedIcon,o=e.collapsedIcon;return this.hasChildren()||n?s.createElement(p.default,{name:t?r:o,size:"10",color:"light",onClick:this.onExpand,"data-e2e":"tree-node-expand"}):s.createElement("div",{className:"sg-tree-node__spacer",style:{width:"10px",height:"10px"}})},t.prototype.renderLabel=function(){var e=this.props,t=e.checked,n=e.disabled,r=e.entity,o=e.label,i=e.value,a=e.showCheckbox,l=c.cn("sg-tree-node__label");return s.createElement("label",{className:l,role:"treeitem",onDoubleClick:this.onExpand,"data-e2e":"tree-node-label"},a&&s.createElement(d.default,{className:"sg-tree-node__checkbox",value:i,checked:1===t,indeterminate:2===t,disabled:n,onChange:this.onCheck,tabIndex:-1}),"function"==typeof o?o(r):o)},t.prototype.renderChildren=function(){return this.props.expanded?this.props.children:null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,r=e.depth,o=e.showCheckbox,i=e.checked,l=e.expanded,u=e.htmlAttributes,d=e.tabIndex,p=e["data-e2e"],f=e["data-component"],g=c.cn("sg-tree-node",n&&"sg-tree-node--disabled",t);return s.createElement("li",a({className:g,style:{paddingLeft:20*r+"px"},tabIndex:d,role:"treeitem","aria-checked":o?Boolean(i):void 0,"aria-expanded":l,"data-e2e":p,"data-component":f,onKeyDown:this.handleKeyDown},u),s.createElement("span",{className:"sg-tree-node__header"},this.renderExpandCollapseButton(),this.renderLabel()),this.renderChildren())},t.defaultProps={children:null,className:null,depth:0,rawChildren:null,forceShowToggleIcon:!1,showCheckbox:!0,tabIndex:0,"data-e2e":"tree-node","data-component":"tree-node"},t}(s.Component);t.default=m,f=n(0).default,g=n(0).leaveModule,f&&(f.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),f.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),f.register(m,"TreeNode","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/tree/tree-node/tree-node.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1106);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n TreeNode\n ========================================================================== */\n.sg-tree-node:focus {\n outline: none; }\n\n.sg-keyboard .sg-tree-node:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tree-node__header {\n display: flex;\n align-items: center;\n min-height: 26px; }\n .sg-tree-node__header .sg-tree-node__spacer {\n flex-shrink: 0; }\n\n.sg-tree-node__label {\n display: flex;\n align-items: center;\n width: 100%;\n padding-left: 5px;\n flex-shrink: 0; }\n .sg-tree-node__label--no-icon {\n padding-left: 15px; }\n\n.sg-tree-node__checkbox {\n padding: 0 15px 0 0; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){var r=n(1108);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Tree\n ========================================================================== */\n.sg-tree {\n width: 100%;\n overflow-x: auto; }\n .sg-tree:focus {\n outline: none; }\n .sg-keyboard .sg-tree:focus {\n outline: none;\n box-shadow: var(--focus-shadow); }\n\n.sg-tree__list {\n list-style: none;\n padding: 0; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(62),u=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hasPermission:!1,windowFocus:!0},n.registerServiceWorker=function(){var e=n.props.pathToServiceWorker;navigator.serviceWorker.register(e).then((function(e){n.swRegistration=e,n.swRegistration.getNotifications().then((function(e){return e.forEach((function(e){return e.close()}))})),console.log("Registration successful, scope is:",e.scope),n.askForPermission(),n.addEvents()})).catch((function(e){console.log("Service worker registration failed, error:",e.message)}))},n.handleWindowFocus=function(){n.setState({windowFocus:!0})},n.handleWindowBlur=function(){n.setState({windowFocus:!1})},n.isPushNotificationSupported=function(){return"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window},n.askForPermission=function(){Notification.requestPermission().then((function(e){n.setState({hasPermission:"granted"===e})}))},n.createNotification=function(e,t){n.state.windowFocus||n.state.hasPermission&&("string"!=typeof t.tag&&(t.tag=c.uniqueId("sg-web-notification-")),n.notification[t.tag]||n.swRegistration&&n.swRegistration.showNotification&&(window.self=n.swRegistration,n.swRegistration.showNotification(e,t).catch((function(e){return console.log(e)})),n.notification[t.tag]={}))},n.notification={},n}return i(t,e),t.prototype.addEvents=function(){this.props.alwaysShow||(window.addEventListener("focus",this.handleWindowFocus),window.addEventListener("blur",this.handleWindowBlur))},t.prototype.removeEvents=function(){window.removeEventListener("focus",this.handleWindowFocus),window.removeEventListener("blur",this.handleWindowBlur)},t.prototype.componentDidMount=function(){this.isPushNotificationSupported()&&this.registerServiceWorker()},t.prototype.componentDidUpdate=function(e,t){var n=this.props.notification;e.notification!==n&&n&&this.createNotification(n.title,n.options)},t.prototype.componentWillUnmount=function(){this.removeEvents()},t.prototype.render=function(){return l.createElement("input",{type:"hidden",name:"web-notification",style:{display:"none"}})},t.defaultProps={alwaysShow:!1},t}(l.Component);t.default=u,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/web-notification/web-notification.tsx"),a.register(u,"WebNotification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/web-notification/web-notification.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(134),u=n(8),d=function(e){var t=e.link,n=i(e,["link"]);return l.createElement("span",o({},u.default(n)),t)};t.default=c.default(d,{preventTooltipOnMobile:!0}),a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),a.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),a.register(d,"SGTooltip","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/sg-tooltip/sg-tooltip.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1112);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=n(2),c=n(81),u=n(25),d=n(210);n(1113);var p,f,g={success:"success",warning:"warning",error:"error"},m=function(e){return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={value:e.props.value},e.onChangeHandler=function(t){var n=e.props.onChange;e.setState({value:t.target.value}),n&&n(t)},e.getRegexValidation=function(t){var n=!t.match&&void 0!==t.match;if(Array.isArray(t.regex))return!t.regex.find((function(t){return!(n?!t.test(e.state.value):t.test(e.state.value))}));var r=n?!t.regex.test(e.state.value):t.regex.test(e.state.value);return t&&r},e.getModifyRuleObject=function(t){var n=Object.assign({},t),r=e.getRegexValidation(t);return Boolean(e.props.value)?n.icon=r?"success":n.required?"error":"warning":n.icon="error",n},e.getSemanticScore=function(){var t=e.props.rules.filter((function(t){return e.getRegexValidation(t)}));return Boolean(e.props.value)?t.length===e.props.rules.length?"success":"error":"default"},e.renderHint=function(e){var t=e.icon,n=e.description,r=c.cn("sg-rules-box__hint-icon",t&&"sg-rules-box__hint-icon--"+t);return l.createElement("div",{className:"sg-rules-box__hint",key:n},l.createElement(u.default,{name:g[t],size:"14",className:r}),n)},e.renderHints=function(){return e.props.rules.map((function(t){return e.getModifyRuleObject(t)})).map((function(t){return e.renderHint({icon:t.icon,description:t.description})}))},e.renderStrengthMeter=function(){var t=c.cn("sg-rules-box__hints",e.getSemanticScore()&&"sg-rules-box__hints--"+e.getSemanticScore());return l.createElement("div",{className:t},l.createElement(d.default,{level:"6",density:"cozy"},e.props.translation.title),l.createElement("div",{className:"sg-rules-box__meter"}),e.renderHints())},e}return i(n,t),n.prototype.render=function(){var t=this.props,n=t.className,r=s(t,["className"]),o=(r.rules,r.dispatch,r.onChange,s(r,["rules","dispatch","onChange"])),i=c.cn("sg-rules-box","sg-rules-box--custom-validation",n);return l.createElement(e,a({validationMessageTemplate:this.renderStrengthMeter,className:i,onChange:this.onChangeHandler},o))},n.defaultProps={rules:[],translation:{title:"Recommendations"}},n}(l.Component)};t.default=m,p=n(0).default,f=n(0).leaveModule,p&&(p.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(g,"ICON","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),p.register(m,"withFieldRules","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/with-field-rules/with-field-rules.tsx"),f(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1114);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Recommendations\n ========================================================================== */\n.sg-rules-box .sg-input-addon--suffix {\n padding-right: 5px; }\n\n.sg-rules-box--custom-validation {\n background-color: var(--background-component-primary); }\n .sg-rules-box--custom-validation .sg-validation {\n background: var(--background-component-primary);\n border: 1px solid transparent;\n color: var(--typography-darkest);\n font-size: 14px; }\n .sg-rules-box--custom-validation .sg-validation--success {\n border-color: var(--color-success); }\n .sg-rules-box--custom-validation .sg-validation--error {\n border-color: var(--color-error); }\n .sg-rules-box--custom-validation .sg-validation--hint {\n border-color: var(--color-hint); }\n\n.sg-theme-hcl .sg-rules-box--custom-validation .sg-validation,\n.sg-theme-hcb .sg-rules-box--custom-validation .sg-validation {\n border-color: var(--high-contrast-foreground); }\n\n/* Hits wrapper\n ========================================================================== */\n.sg-rules-box__hints {\n display: flex;\n flex-direction: column;\n flex: 1 1 0;\n text-align: left; }\n\n.sg-rules-box__hints--error .sg-rules-box__meter {\n background: var(--color-error); }\n\n.sg-rules-box__hints--success .sg-rules-box__meter {\n background: var(--color-success); }\n\n.sg-rules-box__hints--default .sg-rules-box__meter {\n background: var(--color-hint); }\n\n/* Meter\n ========================================================================== */\n.sg-rules-box__meter {\n height: 2px;\n width: 100%; }\n\n/* Hit row\n ========================================================================== */\n.sg-rules-box__hint {\n display: flex;\n align-items: center;\n padding: 10px 0; }\n\n.sg-rules-box__hint-icon {\n margin-right: 5px; }\n\n.sg-rules-box__hint-icon--success {\n color: var(--color-success); }\n\n.sg-rules-box__hint-icon--error {\n color: var(--color-error); }\n\n.sg-rules-box__hint-icon--warning {\n color: var(--color-warning); }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1116);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=n(8),c=n(26),u=n(47);n(1117);var d,p,f={success:"success",error:"error",warning:"warning",info:"information",instruction:"information",hint:"information"},g=function(e){var t=e.children,n=e.className,r=e.density,d=e.title,p=e.type,g=e.tabIndex,m=e["data-e2e"],h=e["data-component"],y=i(e,["children","className","density","title","type","tabIndex","data-e2e","data-component"]),b=s.default("sg-banner-notice",p&&"sg-banner-notice--type-"+p,r&&"sg-banner-notice--density-"+r,n),_=s.default("sg-banner-notice__content"),x=t?"compact":"none";return a.createElement("div",o({className:b,"data-e2e":m,"data-component":h,tabIndex:g,role:"alert","aria-live":"assertive"},l.default(y)),a.createElement(c.default,{name:f[p],size:"20",className:"sg-banner-notice__icon",color:"white"}),a.createElement("div",{className:_},d&&a.createElement(u.default,{level:"6",density:x,className:"sg-banner-notice__title",color:"white",weight:"medium"},d),t))};g.defaultProps={density:"medium",type:"hint",tabIndex:0,"data-e2e":"banner-notification","data-component":"banner-notification"},t.default=g,d=n(0).default,p=n(0).leaveModule,d&&(d.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(i,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(f,"icons","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),d.register(g,"BannerNotification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/node_modules/sg-styleguide/lib/components/banner-notification/banner-notification.tsx"),p(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1118);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n/* ==========================================================================\n Banner Notification\n ========================================================================== */\n.sg-banner-notice {\n display: flex;\n align-items: center;\n position: relative;\n text-align: start; }\n .sg-banner-notice:focus {\n outline: none; }\n .sg-keyboard .sg-banner-notice:focus {\n outline: none;\n box-shadow: var(--first-level-box-shadow), var(--focus-shadow); }\n .sg-banner-notice .sg-banner-notice__title {\n padding-top: 0; }\n .sg-banner-notice .sg-banner-notice__close-icon {\n color: var(--typography-white); }\n\n.sg-banner-notice--density-small {\n padding: 10px 15px; }\n\n.sg-banner-notice--density-medium {\n padding: 10px 20px; }\n\n.sg-banner-notice__icon {\n margin-right: 10px; }\n\n.sg-banner-notice__content {\n display: flex;\n align-items: center;\n flex-direction: column;\n padding: 0;\n word-break: break-word; }\n\n.sg-banner-notice__close-icon {\n position: absolute;\n top: 15px;\n right: 20px; }\n\n/* Borders and Shadows\n ========================================================================== */\n.sg-banner-notice--border {\n border-left: 3px solid transparent; }\n\n.sg-banner-notice--shadow {\n box-shadow: var(--first-level-box-shadow); }\n\n/* Types\n ========================================================================== */\n.sg-banner-notice--type-success {\n background: var(--color-success); }\n .sg-banner-notice--type-success .sg-list__icon {\n color: var(--color-success); }\n\n.sg-banner-notice--type-error {\n background: var(--color-error); }\n .sg-banner-notice--type-error .sg-list__icon {\n color: var(--color-error); }\n\n.sg-banner-notice--type-warning {\n background: var(--color-warning); }\n .sg-banner-notice--type-warning .sg-list__icon {\n color: var(--color-warning); }\n\n.sg-banner-notice--type-instruction {\n background: var(--ocean-base); }\n .sg-banner-notice--type-instruction .sg-list__icon {\n color: var(--ocean-base); }\n\n.sg-banner-notice--type-info {\n background: var(--royal-base); }\n .sg-banner-notice--type-info .sg-list__icon {\n color: var(--royal-base); }\n\n.sg-banner-notice--type-hint {\n background: var(--color-hint); }\n .sg-banner-notice--type-hint .sg-list__icon {\n color: var(--color-hint); }\n\n@media (max-width: 1500px) {\n .sg-banner-notice .sg-banner-notice__icon {\n max-width: 20px;\n max-height: 20px;\n margin-right: 5px; }\n .sg-banner-notice__title {\n padding-bottom: 0; }\n .sg-banner-notice__content {\n padding: 0 5px; }\n .sg-banner-notice--border {\n border-width: 2px; } }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51),o=n(35);t.onPageInit=r.createAction(o.PAGE_INIT),t.onPageResize=r.createAction(o.PAGE_RESIZE)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i,a,s=n(2),l=n(10),c=n(44),u=n(9),d=n(1121),p=function(e){var t,n="sg-optimizer-intro-section single";return void 0!==window.optimizerData.cards&&(Object.keys(window.optimizerData.cards.cards).length>1&&(n="sg-optimizer-intro-section"),t=c.filter(window.optimizerData.cards.cards,(function(t,n){if("cloudflare_optimization"!=t.optimization||0!=e.hasCloudflare)return t;delete window.optimizerData.cards.whats_new[n]}))),s.createElement(u.Section,{className:n},s.createElement(u.Flex,{padding:["none","none","medium","none"],direction:"column",gutter:"none"},s.createElement(u.TitleOne,null,l.translate("SG Optimizer"))),void 0!==t&&s.createElement(u.Carousel,{showArrows:!1,renderContent:function(e){if(void 0!==t&&void 0!==window.optimizerData.cards.whats_new)return window.optimizerData.cards.whats_new.includes(e)?s.createElement("div",{className:"label-wrapper--absolute"},s.createElement(u.Label,{size:"small",color:"success"},"New feature")):void 0}},Object.keys(t).map((function(n){return"default"==t[n].type?s.createElement(d.DefaultCard,o({},t[n],{key:n,onClick:e.enableOption})):"optimizations"==t[n].type?s.createElement(d.OptimizationsCard,o({},t[n],{key:n,onClick:e.enableOption})):void 0}))))};t.default=p,i=n(0).default,a=n(0).leaveModule,i&&(i.register(o,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/intro/index.tsx"),i.register(p,"Intro","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/intro/index.tsx"),a(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1122);t.DefaultCard=r.default;var o=n(1123);t.OptimizationsCard=o.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(9),l=function(e){return a.createElement(s.Card,{key:e.index,iconName:e.icon,iconColor:e.icon_color,text:e.text,title:e.title,size:"x-large",outline:"none"},void 0!==e.button&&a.createElement(s.Button,{onClick:function(t){e.onClick(e.optimization,!0),window.location.hash=e.button.link},color:e.button.color},e.button.text))};t.default=l,o=n(0).default,i=n(0).leaveModule,o&&(o.register(l,"DefaultCard","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cards/default.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Container,{elevation:"none",padding:"responsive",className:"features-container"},a.createElement(l.Grid,{gap:"responsive"},a.createElement(l.Title,{density:"none",level:"2",weight:"bold",color:"darkest"},s.translate("Top 3 Optimization Opportunities")),a.createElement(l.Grid,{sm:"3",gap:"responsive"},e.boxes.map((function(t,n){return a.createElement(l.Container,{key:n,padding:"responsive",elevation:"none",className:"feature-box--highlight"},a.createElement(l.Grid,{gap:"small"},a.createElement(l.Title,{level:"5",weight:"bold",density:"none"},t.title),a.createElement(l.Text,null,t.text),a.createElement("div",null,a.createElement(l.Button,{onClick:function(n){e.onClick(t.optimization,!0),window.location.hash=t.link},color:"primary",size:"small"},"Enable Now"))))})))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"OptimizationsCard","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cards/optimizations.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(16),d=n(9),p=n(10),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this;return window.optimizerData.network_settings.is_multisite&&!window.optimizerData.network_settings.is_network_admin||1==this.props.hideRatingOption?"":l.createElement(d.Section,null,l.createElement(d.Container,{padding:"large",className:"sg-rate"},l.createElement(d.Flex,{margin:"none",gutter:"xx-large",expand:!0},l.createElement(d.Box,{sm:"3",flex:!0,align:"center",justify:"center",className:"sg-rate--stars"},l.createElement(d.Link,{href:"https://wordpress.org/support/plugin/sg-cachepress/reviews/?rate=5#new-post",target:"_blank",style:{width:"100%"}},l.createElement(d.StarRating,{rating:5,size:"large",style:{width:"100%"}}))),l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},p.translate("Thanks for using SG Optimizer to make your site faster!")),l.createElement(d.Link,{href:"https://wordpress.org/support/plugin/sg-cachepress/reviews/?rate=5#new-post",target:"_blank",style:{paddingBottom:"10px"}},p.translate("Help more people optimize their sites by rating our plugin."))),l.createElement(d.Button,{size:"small",type:"link",className:"sg-button--hide",style:{color:"#a4a4a4"},onClick:function(t){return e.props.hideRating()}},p.translate("Don’t Show This Again")))))},t}(l.Component),g=function(e){return{hideRatingOption:e.Options.hide_rating}},m=function(e){return{hideRating:function(){return e(u.hideRating())}}};t.default=c.connect(g,m)(f),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(f,"Rating","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(g,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),a.register(m,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/rating/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s,l,c=n(2),u=n(24),d=n(9),p=n(487),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return c.createElement(d.Notifications,a({},this.props),this.props.notifications&&this.props.notifications.map((function(e){return c.createElement(p.Notification,{notification:e,message:e.message,key:e.id})})))},t}(c.Component),g=function(e){return{notifications:e.Notifications.notifications}},m=function(e){return{}};t.default=u.connect(g,m)(f),s=n(0).default,l=n(0).leaveModule,s&&(s.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(f,"Notifications","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(g,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),s.register(m,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notifications.tsx"),l(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l,c,u=n(2),d=n(24),p=n(16),f=n(9),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.removeNotification=function(){var e=t.props,n=e.removeNotification,r=e.notification;void 0!==t.timeout&&(clearTimeout(t.timeout),t.timeout=void 0,n({id:r.id}))},t}return i(t,e),t.prototype.componentWillMount=function(){var e=this;this.timeout=setTimeout((function(){e.removeNotification()}),4e3)},t.prototype.componentWillUnmount=function(){this.removeNotification()},t.prototype.render=function(){var e=this.props,t=e.notification,n=(e.removeNotification,s(e,["notification","removeNotification"]));return u.createElement(f.Notification,a({type:t.type,title:t.title,message:t.message,onClose:this.removeNotification},n))},t}(u.Component),m=function(e){return{notifications:e.Notifications.notifications}},h=function(e){return{removeNotification:function(t){return e(p.removeNotification(t))}}};t.default=d.connect(m,h)(g),l=n(0).default,c=n(0).leaveModule,l&&(l.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(a,"__assign","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(s,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(g,"Notification","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(m,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),l.register(h,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/containers/notifications/notification.tsx"),c(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(9),d=n(16),p=n(10),f=n(1128),g=n(146),m=n(100),h=n(65),y=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.toogleDialog=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.state={showUrlsDialog:!1,showCacheDialog:!1},n}return i(t,e),t.prototype.filterSelectedValues=function(e,t){return e.length?e.filter((function(e){return t.some((function(t){return e===t.value}))})):e},t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(h.Row,{title:p.translate("Dynamic Caching"),checked:this.props.options.enable_cache,name:"enable_cache",onChange:this.changeOption,hasExpand:1},p.translate("Store your content in the server’s memory for a faster access with this full-page caching solution powered by NGINX.")),1===this.props.options.enable_cache&&l.createElement(u.Flex,{gutter:"large"},l.createElement(u.Box,{sm:"12"},l.createElement(u.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(u.Box,{sm:"10"},l.createElement(u.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},p.translate("Manual Cache Purge")),l.createElement(u.Text,null,p.translate("Clear the Dynamic Cache for your entire website."))),l.createElement(u.Box,{sm:"2"},l.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.props.purgeCache},this.props.cachePurged?p.translate("Purge Cache"):p.translate("Purging ...")))),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Automatic Cache Purge"),checked:this.props.options.autoflush_cache,name:"autoflush_cache",onChange:this.changeOption},p.translate("Automatically perform a smart cache purge after every content modification.")," ",l.createElement(u.Link,{onClick:function(t){return e.toogleDialog("showCacheDialog")},"aria-haspopup":"true",role:"button"}," ",p.translate("See rules"))),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Browser-Specific Caching"),checked:this.props.options.user_agent_header,name:"user_agent_header",onChange:this.changeOption},p.translate("We recommend you to enable this feature {{strong}}only{{/strong}} if you’re experiencing issues with plugins, generating mobile version of your site or similar functionality. Once enabled, the cache has to be generated separately for different browsers which lowers its efficiency.",{components:{strong:l.createElement("strong",null)}})),l.createElement(u.Flex,{className:"divider"}),l.createElement(u.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(u.Box,{sm:"12"},l.createElement(u.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},p.translate("Exclude Post Types")),l.createElement(u.Text,null,p.translate("Use this feature to exclude certains types of pages from being cached.")))),l.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(u.Box,{sm:"12"},l.createElement(u.MultipleDropdown,{searchable:!0,name:"post_types_exclude",placeholder:"Please, select the post types you wish to exclude from the list below",options:this.props.options.post_types,optionValue:"value",optionLabel:"title",selectedValue:this.filterSelectedValues(this.props.options.post_types_exclude,this.props.options.post_types),groupBy:"group_title",onChange:function(t,n,r){return e.props.updateExcludes("post_types_exclude",t)}}))),l.createElement(u.Flex,{className:"divider"}),l.createElement(h.InnerRow,{title:p.translate("Excluding URLs")},p.translate("Use this feature if you want to exclude certain parts of your website from being cached and keep them dynamic.")," ",l.createElement(u.Link,{onClick:function(t){return e.toogleDialog("showUrlsDialog")},"aria-haspopup":"true",role:"button"}," ",p.translate("See examples"))),l.createElement(g.UrlsExclude,{updateExcludeList:this.props.updateExcludeList,excludedUrls:this.props.options.excluded_urls,addNotification:this.props.addNotification,prefix:window.optimizerData.home_url}),l.createElement(u.Flex,{className:"divider"}),l.createElement(f.default,{testUrl:this.props.testUrl})))),this.state.showUrlsDialog&&l.createElement(m.UrlsDialog,{toogleDialog:function(t){return e.toogleDialog("showUrlsDialog")}}),this.state.showCacheDialog&&l.createElement(m.CacheDialog,{toogleDialog:function(t){return e.toogleDialog("showCacheDialog")}}))},t}(l.Component),b=function(e){return{options:e.Options,cachePurged:e.Cache.cachePurged}},_=function(e){return{enableOption:function(t,n){return e(d.enableOption(t,n,!1))},disableOption:function(t,n){return e(d.disableOption(t,n,!1))},updateExcludeList:function(t){return e(d.updateExcludeList(t))},purgeCache:function(){return e(d.purgeCache())},testUrl:function(t){return e(d.testUrl(t))},addNotification:function(t){return e(d.addNotification(t))},updateExcludes:function(t,n){return e(d.updateExcludes(t,n))}}};t.default=c.connect(b,_)(y),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(y,"DynamicCache","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(b,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),a.register(_,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dynamic-cache/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(9),u=n(10),d=function(e){function t(t){var n=e.call(this,t)||this;return n.handleKeyPressTestCache=function(e){"Enter"==e.key&&n.testUrlCache()},n.handleTestUrlInputChange=function(e){n.setState({testInputValue:e.target.value})},n.testUrlCache=function(){var e=n.state.testInputValue.replace(window.optimizerData.home_url,"");n.props.testUrl(e)},n.state={testInputValue:""},n}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(c.Flex,{direction:"row",gutter:"large",margin:"medium"},l.createElement(c.Box,{sm:"12"},l.createElement(c.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Test URLs for Cache Status")),l.createElement(c.Text,null,u.translate("Check if the Dynamic Cache is working on a certain URL. Especially useful to make sure your Exclude list is working the way it should.")))),l.createElement(c.Flex,{direction:"row",gutter:"large",margin:"medium"},l.createElement(c.Box,{sm:"10"},l.createElement(c.Input,{type:"text",size:"medium",prefix:window.optimizerData.home_url,value:this.state.testInputValue,onChange:function(t){return e.handleTestUrlInputChange(t)},onKeyPress:this.handleKeyPressTestCache})),l.createElement(c.Box,{sm:"2"},l.createElement(c.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.testUrlCache},u.translate("Test")))))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cache-tester/index.tsx"),a.register(d,"CacheTester","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/cache-tester/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(44),u=n(9),d=n(10),p=function(e){function t(t){var n=e.call(this,t)||this;return n.transformExcludedItems=function(){var e=[];return n.props.excludedItems.map((function(t){e.push({value:t})})),e.reverse()},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.updateExcludeList()},n.handleExcludeInputChange=function(e){n.setState({excludeInputValue:e.target.value})},n.isValidUrl=function(e){var t=new RegExp(n.props.regex);return null!==e.match(t)},n.updateExcludeList=function(){if(-1!==n.props.excludedItems.indexOf(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue,type:"error",message:d.translate("This item already exists in exclude list.")}),!1;if(c.isEmpty(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue+"error",type:"error",message:d.translate("You must input a class name.")}),!1;var e=n.state.excludeInputValue;if(n.props.regex){if(!1===n.isValidUrl(n.state.excludeInputValue))return n.props.addNotification({id:n.state.excludeInputValue,type:"error",message:d.translate("Please provide correct URL.")}),!1;var t=new RegExp(n.props.regex);e=e.replace(t,"//$1")}var r=n.props.excludedItems;r.push(e),n.props.updateExcludeList(r),n.setState({excludeInputValue:""})},n.deleteItem=function(e){var t=n.props.excludedItems,r=t.indexOf(e);t.splice(r,1),n.props.updateExcludeList(t)},n.getColumns=function(){return[{header:"",accessor:"value",render:function(e){return l.createElement(u.Flex,{margin:"none",gutter:"none"},l.createElement(u.Text,{weight:"bold"},e))}},{header:"",render:function(e,t){return l.createElement(u.IconButton,{icon:"trash",shape:"circle",onClick:function(e){return n.deleteItem(t.value)}})},style:{textAlign:"right"}}]},n.state={excludeInputValue:""},n}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(u.Flex,{gutter:"large",direction:"row",margin:"small"},l.createElement(u.Box,{sm:"10"},l.createElement(u.Input,{type:"text",size:"medium",prefix:this.props.prefix,value:this.state.excludeInputValue,onChange:function(t){return e.handleExcludeInputChange(t)},onKeyPress:this.handleKeyPressExcludeList})),l.createElement(u.Box,{sm:"2"},l.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.updateExcludeList},this.props.buttonText?this.props.buttonText:d.translate("Exclude")))),this.props.excludedItems.length>0&&l.createElement(u.Flex,{gutter:"large",direction:"column"},l.createElement(u.Box,null,l.createElement(u.Table,{data:this.transformExcludedItems(),columns:this.getColumns()}))))},t}(l.Component);t.default=p,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/simple-exclude.tsx"),a.register(p,"SimpleExclude","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/simple-exclude.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(9),u=n(10),d=n(1131),p=function(e){function t(t){var n=e.call(this,t)||this;return n.transformExcludedUrls=function(){var e=[];return n.props.excludedUrls.map((function(t){e.push({value:d.unTrailingSlashIt(window.optimizerData.home_url)+t})})),e.reverse()},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.updateExcludeList()},n.handleExcludeInputChange=function(e){n.setState({excludeInputValue:e.target.value})},n.updateExcludeList=function(){var e=n.getAndValidateExcludeUrl();if(!1!==e){var t=n.props.excludedUrls;t.push(e),n.props.updateExcludeList(t),n.setState({excludeInputValue:""})}},n.deleteUrl=function(e){var t=e.replace(window.optimizerData.home_url,"/"),r=n.props.excludedUrls,o=r.indexOf(t);r.splice(o,1),n.props.updateExcludeList(r)},n.getColumns=function(){return[{header:"",accessor:"value",render:function(e){return l.createElement(c.Flex,{margin:"none",gutter:"none"},l.createElement(c.Text,{weight:"bold"},e))}},{header:"",render:function(e,t){return l.createElement(c.IconButton,{icon:"trash",shape:"circle",onClick:function(e){return n.deleteUrl(t.value)}})},style:{textAlign:"right"}}]},n.state={excludeInputValue:""},n}return i(t,e),t.prototype.getAndValidateExcludeUrl=function(){var e=new RegExp("^/+|"+window.optimizerData.home_url,"g"),t=this.state.excludeInputValue.replace(e,"");return"*"!==t.slice(-1)&&(t=d.trailingSlashIt(t)),"/"!==t&&(t="/"+t),-1!==this.props.excludedUrls.indexOf(t)?(this.props.addNotification({id:t,type:"error",message:u.translate("This URL already exists in exclude list.")}),!1):t},t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(c.Flex,{gutter:"large",direction:"row",margin:"none"},l.createElement(c.Box,{sm:"10"},l.createElement(c.Input,{type:"text",size:"medium",prefix:this.props.prefix,value:this.state.excludeInputValue,onChange:function(t){return e.handleExcludeInputChange(t)},onKeyPress:this.handleKeyPressExcludeList})),l.createElement(c.Box,{sm:"2"},l.createElement(c.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.updateExcludeList},u.translate("Exclude")))),this.props.excludedUrls.length>0&&l.createElement(c.Flex,{gutter:"large",direction:"column",margin:"medium"},l.createElement(c.Box,null,l.createElement(c.Table,{data:this.transformExcludedUrls(),columns:this.getColumns()}))))},t}(l.Component);t.default=p,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/urls-exclude.tsx"),a.register(p,"UrlsExclude","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/exclude/urls-exclude.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";var r=function e(t){return t.endsWith("/")||t.endsWith("\\")?e(t.slice(0,-1)):t},o=function(e){return r(e)+"/"};e.exports=o,e.exports.trailingSlashIt=o,e.exports.unTrailingSlashIt=r},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Check Your Website!",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Defering render-blocking JavaScript may cause issues with scripts that require certain order of execution. This is why we advise you to check the frontend of your website after you enable this optimization."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you notice issues with certain functionality, use the Exclude functionality to keep those scripts loading in a render-blocking manner."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"AsyncDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/async-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Automatic Purge Rule",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Close")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate("Purge your installation's entire Dynamic Cache or select parts in order to achieve the best hit-to-cache ratio for your account. Here are the plugin's purge rules:"))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Full Purge on page, posts, and category deletion, plugin and theme activation, deactivation, or update, and on WordPress core updates."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Specific URL Purge on comment actions and page, post, and category updates."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"CacheDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/cache-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Important",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},"manual"==e.type&&s.translate("You’re switching to PHP %(version)s manually and you will stay on that version until you change it to a newer one. In case you experience any issues after the update, switch back the PHP version from your {{strong}}cPanel{{/strong}} > {{strong}}PHP Version Manager{{/strong}} tool.",{args:{version:e.version},components:{strong:a.createElement("strong",null)}}),"managed"==e.type&&s.translate("You’re about to switch to Managed PHP service. This means that SiteGround will automatically update your PHP version once we are sure there’s a better, safer and more stable version."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"PhpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/php-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Force HTTPS",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:e.toogleConfirm,color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate("In order to force HTTPS on your site, we will automatically update your database replacing all insecure links. In addition to that, we will add a rule in your .htaccess file, forcing all requests to go through encrypted connection."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"SslDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/ssl-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Excluding URLs",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Close")))},a.createElement(l.Flex,{gutter:"none",margin:"none"},a.createElement(l.Text,{align:"left"},s.translate('You can exclude full or partial URLs using "*" as a wildcard. For example:'))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("{{strong}}www.site.com/parent-page/sub-page{{/strong}} will exclude only that single URL.",{components:{strong:a.createElement("strong",null)}}))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate('{{strong}}www.site.com/parent-page/*{{/strong}} will exclude all sub-pages of "parent-page".',{components:{strong:a.createElement("strong",null)}}))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"UrlsDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/urls-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Delete All WebP Files",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("This will delete all WebP files in your uploads folder! In case you need them, you will have to regenerate them again or restore that folder from a backup."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"DeleteWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/delete-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Re-generate All WebP Files",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Doing this will delete all WebP files in your uploads folder and generate them anew!"))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"RegenerateWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/regenerate-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Check Your Website!",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Combining JavaScript files may cause issues with scripts that require certain order of execution. This is why we advise you to check the frontend of your website after you enable this optimization."))),a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you notice issues with parts of your site, use the Exclude functionality to keep those scripts separate from the combination."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"JsCombineDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/js-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",title:"Warning for CDN Users",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("If you're using CloudFlare or other CDN provider, please keep this optimization disabled and check if you can have WebP enabled by your CDN provider."))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"EnableWebpDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/enable-webp-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",size:"large",title:e.title,icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleDialog},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm(e.name)},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none",align:"left"},a.createElement(l.Box,{sm:"6"},a.createElement(l.RadioButton,{key:"ultrafast",value:1,align:"flex-start",name:e.statusName,size:"medium",onChange:function(t){return e.changeStatus(e.statusName,t)},checked:1==e.status?1:0},s.translate("Enabled"))),a.createElement(l.Box,{sm:"6"},a.createElement(l.RadioButton,{key:"standard",value:0,align:"flex-start",name:e.statusName,size:"medium",onChange:function(t){return e.changeStatus(e.statusName,t)},checked:0==e.status?1:0},s.translate("Disable")))),a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!0},a.createElement(l.Text,{align:"left"},e.message))),1==e.status&&a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Slider,{max:300,min:15,step:5,value:e.interval,label:"s",onChange:function(t){return e.changeInterval(e.intervalName,t)}}),a.createElement(l.Text,{align:"center"},s.translate("Select Heartbeat Frequency")))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"HeartbeatDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/heartbeat-control-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Dialog,{state:"info",icon:"information",footer:a.createElement("div",null,a.createElement(l.Button,{onClick:e.toogleClose},s.translate("Cancel")),a.createElement(l.Button,{onClick:function(t){return e.toogleConfirm()},color:"primary"},s.translate("Confirm")))},a.createElement(l.Flex,{gutter:"none"},a.createElement(l.Text,{align:"left"},s.translate("Your Cloudflare account may have page rules set that might affect the work of our integration. SG Optimizer will {{strong}}delete all Page Rules{{/strong}} and replace that functionality with {{strong}}Cloudflare workers{{/strong}}. Note, that Cloudflare workers are free up to 100 000 requests a day and if you go past that number you may need to upgrade your account in order to keep using this functionality.",{components:{strong:a.createElement("strong",null)}}))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"CloudflareDialog","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/dialogs/cloudflare-dialog.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(100),m=n(489),h=n(61),y=n(490),b=n(1144),_=n(1149),x=n(1150),v=n(491),M=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleSslDialog=function(){n.setState({showSslDialog:!n.state.showSslDialog})},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.toogleDatabaseOptimization=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableDatabaseOptimization(e.name,t):n.props.disableDatabaseOptimization(e.name,t)},n.toogleSsl=function(){n.props.options.ssl_enabled?(n.props.disableSsl("ssl_enabled"),n.props.disableOption("fix_insecure_content")):(n.props.enableSsl("ssl_enabled"),n.setState({showSslDialog:!1}))},n.state={showSslDialog:!1},n}return i(t,e),t.prototype.render=function(){var e=this;return 1===window.optimizerData.network_settings.is_multisite&&0===window.optimizerData.network_settings.is_network_admin&&!0,l.createElement(h.default,null,d.includes(window.optimizerData.modules,"ssl")&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},1===this.props.isLoading&&l.createElement(p.Loader,{style:{position:"absolute"}}),l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Enable HTTPS")),l.createElement(p.Text,null,u.translate("Configures your site to work correctly via HTTPS and forces a secure connection to your site."))),l.createElement(p.Box,{sm:"2",className:"right--actions"},l.createElement(p.Switch,{size:"small",checked:this.props.options.ssl_enabled,name:"ssl_enabled","aria-haspopup":!0,"aria-expanded":1==this.props.options.ssl_enabled,onChange:function(t){return t.target.checked?e.toogleSslDialog():e.toogleSsl()}}))),1===this.props.options.ssl_enabled&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Fix Insecure Content")),l.createElement(p.Text,null,u.translate("Enable this option in case you’re getting insecure content errors on your website. We will dynamically rewrite insecure requests for resources coming from your site"))),l.createElement(p.Box,{sm:"2",className:"right--actions"},l.createElement(p.Switch,{size:"small",checked:this.props.options.fix_insecure_content,name:"fix_insecure_content",onChange:function(t){return e.changeOption(t.target,!0)}})))))),l.createElement(p.Flex,{className:"divider"})),l.createElement(b.default,null),l.createElement(_.default,{dns_prefetch:this.props.options.dns_prefetch,dns_prefetch_urls:this.props.options.dns_prefetch_urls,changeOption:this.changeOption,updateExcludes:this.props.updateExcludes,addNotification:this.props.addNotification}),l.createElement(x.default,{checked:this.props.options.database_optimization,toogleOptimization:this.toogleDatabaseOptimization}),d.includes(window.optimizerData.modules,"phpchecker")&&l.createElement(m.default,null),l.createElement(v.default,{checked:this.props.options.enable_gzip_compression,changeOption:this.changeOption}),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{checked:this.props.options.enable_browser_caching,changeOption:this.changeOption}),this.state.showSslDialog&&l.createElement(g.SslDialog,{toogleClose:this.toogleSslDialog,toogleConfirm:this.toogleSsl}))},t}(l.Component),w=function(e){return{options:e.Options,isLoading:e.Options.isLoading}},z=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},enableDatabaseOptimization:function(t,n){return e(f.enableDatabaseOptimization(t,n,!1))},disableDatabaseOptimization:function(t,n){return e(f.disableDatabaseOptimization(t,n,!1))},addNotification:function(t){return e(f.addNotification(t))},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))},enableSsl:function(t){return e(f.enableSsl(t))},disableSsl:function(t){return e(f.disableSsl(t))}}};t.default=c.connect(w,z)(M),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(M,"EnvironmentOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(w,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),a.register(z,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/environment-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(44),d=n(9),p=n(16),f=n(10),g=n(1145),m=n(65),h=n(100),y=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.changeStatus=function(e,t){var r;n.setState(((r={})[e]=t.target.value,r))},n.changeInterval=function(e,t){var r;n.setState(((r={})[e]=t,r))},n.toogleDialog=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.toogleConfirm=function(e){var t,r=n.getOptions(e),o="heartbeat_"+r.option+"_status",i="heartbeat_"+r.option+"_interval";1===parseInt(n.state[r.status])?n.props.enableOption(o,!1):n.props.disableOption(o,!1),n.props.changeOption(i,n.state[r.interval]),n.setState(((t={})[r.dialog]=!n.state[r.dialog],t))},n.getOptions=function(e){var t={dashboard:{title:f.translate("WordPress Admin Pages"),dialog:"showDashboardDialog",status:"dashboardStatus",interval:"dashboardInterval",option:"dashboard",message:f.translate("Select whether the Heartbeat API to work or not on your {{strong}}WordPress Admin Pages{{/strong}}. Unless you rely on it to execute scheduled tasks, we recommend to keep it disabled.",{components:{strong:l.createElement("strong",null)}})},post:{title:f.translate("Post and Page Edit"),dialog:"showPostDialog",status:"frontendStatus",interval:"frontendInterval",option:"post",message:f.translate("Select whether the WordPress Heartbeat API to work or not on your {{strong}}Post and Page Edit{{/strong}} screens. We recommend that you keep it enabled at 180 seconds.",{components:{strong:l.createElement("strong",null)}})},frontend:{title:f.translate("Site Frontend"),dialog:"showFrontendDialog",status:"editStatus",interval:"editInterval",option:"frontend",message:f.translate("Select whether the WordPress Heartbeat API to work or not on your {{strong}}Site Frontend{{/strong}}. Unless you rely on it to execute scheduled tasks, we recommend to keep it disabled.",{components:{strong:l.createElement("strong",null)}})}};return!1===e?t:t[e]},n.getMessage=function(e){var t="heartbeat_"+e.option+"_status",r="heartbeat_"+e.option+"_interval";return 0===parseInt(n.props.options[t])?f.translate("Disabled"):n.props.options[r]+"s"},n.state={showDashboardDialog:!1,showPostDialog:!1,showFrontendDialog:!1,dashboardStatus:0,frontendStatus:0,editStatus:0,dashboardInterval:0,frontendInterval:0,editInterval:0,keys:["status","interval"]},n}return i(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.getOptions(!1);u.map(n,(function(n){u.map(t.state.keys,(function(r){var o,i="heartbeat_"+n.option+"_"+r;t.props.options[i]!==e.options[i]&&t.setState(((o={})[n[r]]=t.props.options[i],o))}))}))},t.prototype.render=function(){var e=this;return l.createElement(l.Fragment,null,l.createElement(m.Row,{title:f.translate("WordPress Heartbeat Optimization"),checked:this.props.options.heartbeat_control,name:"heartbeat_control",onChange:function(t){return e.changeOption(t,!0)},hasExpand:1},f.translate("Enable this option to allow SG Optimizer to control the WordPress Heartbeat API.")),1===this.props.options.heartbeat_control&&l.createElement(l.Fragment,null,l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!1},f.translate("By default, the WordPress Heartbeat API checks every 15 seconds on your post edit pages and every 60 seconds on your dashboard and frontend whether there is a scheduled tasks to be executed. This can generate high CPU usage if you leave browser tabs in which you're logged to WordPress opened for a longer period of time. With this option, you can make the checks run less frequently or completely disable them.")))),l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"medium",direction:"row",style:{padding:"0",margin:"0"}},u.map(this.getOptions(!1),(function(t,n){return l.createElement(d.Box,{sm:"4",key:n},l.createElement(g.default,{label:f.translate(t.title)},e.getMessage(t),l.createElement(d.IconButton,{icon:"edit",shape:"circle",onClick:function(n){return e.toogleDialog(t.dialog)}})))})))))),l.createElement(d.Flex,{className:"divider"}),u.map(this.getOptions(!1),(function(t,n){return e.state[t.dialog]&&l.createElement(h.HeartbeatControl,{name:n,key:n,title:t.title,message:t.message,toogleDialog:function(n){return e.toogleDialog(t.dialog)},changeStatus:e.changeStatus,confirm:e.toogleConfirm,changeInterval:e.changeInterval,toogleConfirm:e.toogleConfirm,statusName:t.status,status:e.state[t.status],interval:e.state[t.interval],intervalName:t.interval})})))},t}(l.Component),b=function(e){return{options:e.Options}},_=function(e){return{enableOption:function(t,n){return e(p.enableOption(t,n,!1))},disableOption:function(t,n){return e(p.disableOption(t,n,!1))},changeOption:function(t,n){return e(p.changeOption(t,n))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(b,_)(y),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(y,"Heartbeat_Control","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(b,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),a.register(_,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/heartbeat-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1146);t.default=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);n(1147);var a,s,l=n(9),c=function(e){var t=e.children,n=e.label;o(e,["children","label"]);return i.createElement("div",{className:"form-field-wrapper","data-e2e":"form-field-wrapper"},i.createElement(l.Text,{color:"dark",size:"large",align:"left",weight:"bold",tag:"span",className:"sg-form-label"},n),i.createElement("div",{className:"form-field-wrapper__content"},t))};t.default=c,a=n(0).default,s=n(0).leaveModule,a&&(a.register(o,"__rest","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/form-field-wrapper/form-field-wrapper.tsx"),a.register(c,"FormFieldWrapper","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/form-field-wrapper/form-field-wrapper.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1148);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(5)(!1)).push([e.i,"/* stylelint-disable */\n\n.form-field-wrapper__content {\n height: 40px;\n display: flex;\n align-items: center; }\n",""]),t.locals={"fonts-groups":"fontFamily | fontSize | fontWeight | lineHeight | fontAspectRatio | fontSizeLetterWidth","fontFamily-font-family-main":"Roboto","fontSize-font-size-x-small":"11px","fontSize-font-size-small":"12px","fontSize-font-size-medium":"14px","fontSize-font-size-large":"16px","fontSize-font-size-x-large":"20px","fontWeight-font-weight-light":"300","fontWeight-font-weight-regular":"400","fontWeight-font-weight-medium":"500","fontWeight-font-weight-bold":"600","fontWeight-font-weight-extra-bold":"700","lineHeight-line-height-size-small":"17px","lineHeight-line-height-size-medium":"19px","lineHeight-line-height-size-large":"21px","lineHeight-line-height-size-x-large":"25px","fontAspectRatio-font-aspect-ratio":"0.42","fontSizeLetterWidth-font-size-small-letter-width":"5.04px","fontSizeLetterWidth-font-size-medium-letter-width":"5.88px","fontSizeLetterWidth-font-size-large-letter-width":"6.72px","fontSizeLetterWidth-font-size-x-large-letter-width":"8.4px","density-groups":"densityTitle","densityTitle-title-density-airy":"32px","densityTitle-title-density-comfortable":"22px","densityTitle-title-density-cozy":"16px","densityTitle-title-density-compact":"2px","densityTitle-title-density-none":"0","space-groups":"spacingFactor | spaces","spacingFactor-spacing-factor":"5px","spaces-space-xx-small":"5px","spaces-space-x-small":"10px","spaces-space-small":"15px","spaces-space-medium":"20px","spaces-space-large":"30px","spaces-space-x-large":"40px","spaces-space-xx-large":"60px","border-groups":"borderRadius","borderRadius-radius-small":"2px","borderRadius-radius-medium":"3px","borderRadius-radius-large":"5px","borderRadius-radius-x-large":"10px","borderRadius-radius-full":"50%","shadow-groups":"boxShadow","other-groups":"constants","constants-page-content-width":"1240px","constants-drawer-width":"260px","constants-prefix-postfix-max-allowed-letters":"18","constants-input-addon-height":"38px","constants-header-height":"80px","constants-header-height-mobile":"60px","constants-grid-buffer-for-ie":"1px","constants-timing-small":"0.3s","constants-timing-medium":"0.7s","constants-ease":"ease","responsive-groups":"mediaQuery","mediaQuery-max-phone-size":"800px","mediaQuery-media-query-max-phone":'"max-width: 800px"',"mediaQuery-media-query-min-tablet":'"min-width: 801px"',"mediaQuery-media-query-max-tablet":'"max-width: 1500px"',"mediaQuery-media-query-min-large-tablet":'"min-width: 1024px"',"mediaQuery-media-query-max-large-tablet":'"max-width: 1199px"',"mediaQuery-media-query-min-desktop":'"min-width: 1501px"',"mediaQuery-media-query-ie10plus":'"screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none)"',"z-index-group":"zIndex","zIndex-drawer":"10","zIndex-dropdown":"20","zIndex-sticky":"30","zIndex-fixed":"40","zIndex-modalBackground":"60","zIndex-modal":"70","zIndex-loadingModal":"80","zIndex-contextWraper":"90","zIndex-notification":"100","zIndex-popover":"110","zIndex-tooltip":"130"}},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=n(65),u=n(146),d=n(221),p=function(e){return a.createElement(a.Fragment,null,a.createElement(c.Row,{title:s.translate("DNS Pre-fetch for External Domains"),checked:e.dns_prefetch,name:"dns_prefetch",onChange:e.changeOption},s.translate("With this functionality you can enable the DNS pre-fetching for external domains. Doing this will save DNS lookup for resources loaded from these domains.")),1===e.dns_prefetch&&a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},a.createElement(d.default,{margin:"medium"},s.translate("Add only your domain names without http:// or https:// - DNS prefetching will work for both")),a.createElement(u.SimpleExclude,{updateExcludeList:function(t,n,r){return e.updateExcludes("dns_prefetch_urls",t)},excludedItems:e.dns_prefetch_urls,addNotification:e.addNotification,buttonText:s.translate("Add"),regex:"(?:(?:https?:)?(?:\\/\\/)(?:www\\.|(?!www)))?((?:.*?)\\.(?:[a-zA-Z\\d-]+){2,})"})))),a.createElement(l.Flex,{className:"divider"}))};t.default=p,o=n(0).default,i=n(0).leaveModule,o&&(o.register(p,"DNSPrefetch","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/dns-prefetch/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=n(65),u=function(e){return a.createElement(a.Fragment,null,a.createElement(c.Row,{title:s.translate("Scheduled Database Maintenance"),checked:e.checked,name:"database_optimization",onChange:e.toogleOptimization},s.translate("Enable this option to regularly cleanup your database and keep it small and optimized.")),a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},a.createElement(l.Notice,{type:"instruction",background:"light",contentSize:"expanded",shadow:!1,title:s.translate("Enabling this optimization will perform these tasks once a week:")},a.createElement(l.List,{color:"dark","data-e2e":"list",density:"medium",justify:"center",orientation:"vertical",size:"small"},a.createElement(l.ListItem,{icon:"dot"},s.translate("Perform Database Optimization for MyISAM tables")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all automatically created post and page drafts")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all page and post revisions")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all posts and pages in your Trash")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all comments marked as Spam")),a.createElement(l.ListItem,{icon:"dot"},s.translate("Delete all expired Transients"))))))),a.createElement(l.Flex,{className:"divider"}))};t.default=u,o=n(0).default,i=n(0).leaveModule,o&&(o.register(u,"DatabaseOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/modules/database-optimization/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(100),m=n(61),h=n(146),y=n(220),b=n(221),_=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleAsyncDialog=function(){n.setState({showAsyncDialog:!n.state.showAsyncDialog})},n.toogleAsync=function(){n.props.options.optimize_javascript_async?n.props.disableOption("optimize_javascript_async",!0):(n.props.enableOption("optimize_javascript_async",!0),n.setState({showAsyncDialog:!1}))},n.toogleJsCombineDialog=function(){n.setState({showJsCombineDialog:!n.state.showJsCombineDialog})},n.toogleJsCombination=function(){n.props.options.combine_javascript?n.props.disableOption("combine_javascript",!0):(n.props.enableOption("combine_javascript",!0),n.props.disableOption("combine_javascript_error",!1),n.setState({showJsCombineDialog:!1}))},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.openExclude=function(e){var t;n.setState(((t={})[e]=!n.state[e],t))},n.updateExclude=function(e,t,r){var o;n.props.updateExcludes(e,t),n.setState(((o={})[r]=!0,o))},n.state={showMinifyCssExclude:!1,showCombineCssExclude:!1,showMinifyJavascriptExclude:!1,showCombineJavascriptExclude:!1,showAsyncJavascriptExclude:!1,showHtmlMinifyExclude:!1,showAsyncDialog:!1,showJsCombineDialog:!1},n}return i(t,e),t.prototype.filterSelectedValues=function(e,t){return e.length?e.filter((function(e){return t.some((function(t){return e===t.value}))})):e},t.prototype.render=function(){var e=this,t=d.filter(this.props.jsAssets,{is_minified:0}),n=(d.filter(this.props.jsAssets,{in_footer:0}),d.filter(this.props.cssAssets,{is_minified:0})),r=this.filterSelectedValues(this.props.options.minify_javascript_exclude,t),o=this.filterSelectedValues(this.props.options.async_javascript_exclude,this.props.jsAssets),i=this.filterSelectedValues(this.props.options.minify_css_exclude,n),a=this.filterSelectedValues(this.props.options.combine_css_exclude,this.props.cssAssets),s=this.filterSelectedValues(this.props.options.combine_javascript_exclude,this.props.jsAssets);return l.createElement(m.default,null,l.createElement(y.default,{title:u.translate("Minify the HTML Output"),checked:this.props.options.optimize_html,name:"optimize_html",onChange:this.changeOption},u.translate("Removes unnecessary characters from your HTML output saving data and improving your site speed. "),!!this.props.options.optimize_html&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showHtmlMinifyExclude")},"aria-expanded":!!this.state.showHtmlMinifyExclude}," ",u.translate("Exclude URLs from HTML Minification"))),1===this.props.options.optimize_html&&(this.props.options.minify_html_exclude.length||this.state.showHtmlMinifyExclude)&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},l.createElement(b.default,{margin:"medium",title:u.translate("Exclude URLs from HTML Minification")},u.translate("With this functionality, you can exclude different pages from HTML minification.")),l.createElement(h.UrlsExclude,{updateExcludeList:function(t,n,r){return e.updateExclude("minify_html_exclude",t,"showHtmlMinifyExclude")},excludedUrls:this.props.options.minify_html_exclude,addNotification:this.props.addNotification,prefix:window.optimizerData.home_url})))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Minify JavaScript Files"),checked:this.props.options.optimize_javascript,name:"optimize_javascript",onChange:this.changeOption},u.translate("Minify your JavaScript files in order to reduce their size and reduce the number of requests to the server. "),!!this.props.options.optimize_javascript&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showMinifyJavascriptExclude")},"aria-expanded":!!this.state.showMinifyJavascriptExclude}," ",u.translate("Exclude from JavaScript Minification"))),1===this.props.options.optimize_javascript&&(r.length||this.state.showMinifyJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"minify_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:t,optionValue:"value",optionLabel:"title",selectedValue:r,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("minify_javascript_exclude",t,"showMinifyJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Combine JavaScript Files"),checked:this.props.options.combine_javascript,name:"combine_javascript",hasPopup:1,onChange:function(t){return 0===e.props.options.combine_javascript?e.toogleJsCombineDialog():e.toogleJsCombination()}},u.translate("Combine your JavaScript files in order to reduce the number of requests to the server."),!!this.props.options.combine_javascript&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showCombineJavascriptExclude")},"aria-expanded":!!this.state.showCombineJavascriptExclude}," ",u.translate("Exclude from JavaScript Combination"))),1===this.props.options.combine_javascript_error&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"error",background:"light",contentSize:"expanded",shadow:!1,title:u.translate("JAVASCRIPT COMBINATION DISABLED")},u.translate("We have detected that a script is generating uniquely named files which results in our combined assets taking up huge amount of disk space. Please, exclude any scripts that generate unique JS code per page or per visit in order to avoid this from happening again.")))),1===this.props.options.combine_javascript&&(s.length||this.state.showCombineJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"combine_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.jsAssets,optionValue:"value",optionLabel:"title",selectedValue:s,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("combine_javascript_exclude",t,"showCombineJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Defer Render-blocking JS"),checked:this.props.options.optimize_javascript_async,name:"optimize_javascript_async",hasPopup:1,onChange:function(t){return 0===e.props.options.optimize_javascript_async?e.toogleAsyncDialog():e.toogleAsync()}},u.translate("Defer loading of render-blocking JavaScript files for faster initial site load. "),!!this.props.options.optimize_javascript_async&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showAsyncJavascriptExclude")},"aria-expanded":!!this.state.showAsyncJavascriptExclude}," ",u.translate("Exclude from Loading JS Files Asynchronously"))),1===this.props.options.optimize_javascript_async&&(o.length||this.state.showAsyncJavascriptExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"async_javascript_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.jsAssets,optionValue:"value",optionLabel:"title",selectedValue:o,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("async_javascript_exclude",t,"showAsyncJavascriptExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Minify CSS Files"),checked:this.props.options.optimize_css,name:"optimize_css",onChange:this.changeOption},u.translate("Minify your CSS files in order to reduce their size and reduce the number of requests to the server. "),!!this.props.options.optimize_css&&!!n.length&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showMinifyCssExclude")},"aria-expanded":!!this.state.showMinifyCssExclude}," ",u.translate("Exclude From CSS Minification"))),1===this.props.options.optimize_css&&(i.length||this.state.showMinifyCssExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"minify_css_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:n,optionValue:"value",optionLabel:"title",selectedValue:i,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("minify_css_exclude",t,"showMinifyCssExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Combine CSS Files"),checked:this.props.options.combine_css,name:"combine_css",onChange:this.changeOption},u.translate("Combine multiple CSS files into one to lower the number of requests your site generates. "),!!this.props.options.combine_css&&l.createElement(p.Link,{onClick:function(t){return e.openExclude("showCombineCssExclude")},"aria-expanded":!!this.state.showCombineCssExclude}," ",u.translate("Exclude from CSS Combination"))),1===this.props.options.combine_css&&(a.length||this.state.showCombineCssExclude)&&l.createElement(p.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(p.Box,{sm:"12"},l.createElement(p.MultipleDropdown,{searchable:!0,name:"combine_css_exclude",placeholder:"Place select from the list below or type the name of the script you wish to exclude",options:this.props.cssAssets,optionValue:"value",optionLabel:"title",selectedValue:a,groupBy:"group_title",onChange:function(t,n,r){return e.updateExclude("combine_css_exclude",t,"showCombineCssExclude")}}))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Web Fonts Optimization"),checked:this.props.options.optimize_web_fonts,name:"optimize_web_fonts",onChange:this.changeOption},u.translate("With this optimization we're changing the default way to load Google fonts in order to save HTTP requests. In addition to that, all other fonts that your website uses will be properly preloaded so browsers take the least possible amount of time to cache and render them.")),1===this.props.options.optimize_web_fonts&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",style:{paddingBottom:"20px"}},l.createElement(b.default,{margin:"medium",title:u.translate("Fonts Preloading")},u.translate("With this optimization you can preload the fonts you’re using for faster rendering and better site performance. Make sure you preload only the fonts you are actually using and that you paste the {{strong}}full URL to the font{{/strong}}.",{components:{strong:l.createElement("strong",null)}})),l.createElement(h.SimpleExclude,{updateExcludeList:function(t,n,r){return e.updateExclude("fonts_preload_urls",t,"showHtmlMinifyExclude")},excludedItems:this.props.options.fonts_preload_urls,addNotification:this.props.addNotification,buttonText:u.translate("Preload")})))),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Remove Query Strings From Static Resources"),checked:this.props.options.remove_query_strings,name:"remove_query_strings",onChange:this.changeOption},u.translate("Removes version query strings from your static resources improving the caching of those resources.")),l.createElement(p.Flex,{className:"divider"}),l.createElement(y.default,{title:u.translate("Disable Emojis"),checked:this.props.options.disable_emojis,name:"disable_emojis",onChange:this.changeOption},u.translate("Enable to prevent WordPress from automatically detecting and generating emojis in your pages.")),this.state.showAsyncDialog&&l.createElement(g.AsyncDialog,{toogleConfirm:this.toogleAsync}),this.state.showJsCombineDialog&&l.createElement(g.JsCombineDialog,{toogleConfirm:this.toogleJsCombination}))},t}(l.Component),x=function(e){return{options:e.Options,jsAssets:e.Options.assets.scripts,cssAssets:e.Options.assets.styles}},v=function(e){return{enableOption:function(t,n,r){return e(f.enableOption(t,n,r))},disableOption:function(t,n,r){return e(f.disableOption(t,n,r))},addNotification:function(t){return e(f.addNotification(t))},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))}}};t.default=c.connect(x,v)(_),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(_,"FrontendOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(x,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),a.register(v,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/frontend-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(44),p=n(9),f=n(16),g=n(61),m=n(146),h=n(1153),y=n(492),b=n(65),_=function(e){function t(t){var n=e.call(this,t)||this;return n.stopImagesOptimization=function(){clearInterval(n.interval),n.interval="",n.props.stopImagesOptimization()},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.updateLazyLoadExcludeList=function(e,t,r){n.props.updateExcludes(e,t)},n.interval="",n}return i(t,e),t.prototype.componentDidUpdate=function(){1==this.props.options.image_optimization_status?(clearInterval(this.interval),this.interval=""):this.interval||0!=this.props.options.image_optimization_status||(this.interval=setInterval(this.props.checkImageOptimizationStatus,1e4))},t.prototype.componentDidMount=function(){0==this.props.options.image_optimization_status&&(this.interval=setInterval(this.props.checkImageOptimizationStatus,1e4))},t.prototype.render=function(){var e=this;return l.createElement(g.default,null,d.includes(window.optimizerData.modules,"optimize_images")&&l.createElement(l.Fragment,null,l.createElement(b.Row,{title:u.translate("New Images Optimization"),checked:this.props.options.optimize_images,name:"optimize_images",onChange:this.changeOption},u.translate("We will automatically optimize all new images that you upload to your Media Library.")),l.createElement(p.Flex,{className:"divider"}),l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(p.Box,{sm:"9"},l.createElement(p.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Existing Images Optimization")),l.createElement(p.Text,null,u.translate("We will optimize all your existing images with minimal or no loss in quality. Note, that this will overwrite your original images."))),0!==this.props.options.image_optimization_status&&0<this.props.options.has_images_for_optimization&&(0===parseInt(window.optimizerData.is_cron_disabled)||1===this.props.options.dismiss_cron_notice)&&l.createElement(p.Box,{sm:"3"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-expanded":0===this.props.options.image_optimization_status,onClick:function(t){return e.props.initImagesOptimization()}},1===this.props.options.image_optimization_stopped?u.translate("Resume Optimization"):u.translate("Start Optimization")))),1===parseInt(window.optimizerData.is_cron_disabled)&&0===this.props.options.dismiss_cron_notice&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"error"},u.translate("We've detected that the WordPress cronjob functionality is not working. Please, enable it following the instructions in {{link}}this article{{/link}} and refresh this page. If you’re using a real cron job, you can {{link2}}ignore this message{{/link2}} at your own risk. Note, that in this case, those operations may take longer than usual to complete.",{components:{link:l.createElement(p.Link,{href:u.translate("https://www.siteground.com/kb/disable-enable-wordpress-cron/"),target:"_blank",style:{textDecoration:"underline"}}),link2:l.createElement(p.Link,{style:{textDecoration:"underline"},onClick:function(t){return e.props.enableOption("dismiss_cron_notice")}})}})))),0===this.props.options.image_optimization_status&&l.createElement(y.ImageLoader,{stopOptimization:this.stopImagesOptimization,totalImages:this.props.options.has_images_for_optimization,totalUnoptimizedImages:this.props.options.total_unoptimized_images}),1===this.props.options.image_optimization_status&&(0===parseInt(window.optimizerData.is_cron_disabled)||1===this.props.options.dismiss_cron_notice)&&0===this.props.options.has_images_for_optimization&&1===this.props.options.has_images&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"success"},u.translate("All images in your Media Library have been optimized successfully! Force {{link}}re-optimization{{/link}} of your images.",{components:{link:l.createElement(p.Link,{onClick:this.props.resetImagesOptimization,style:{textDecoration:"underline"}})}}))))),l.createElement(h.WebP,null),d.includes(window.optimizerData.modules,"lazyload_images")&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(b.Row,{title:u.translate("Lazy Load Media"),checked:this.props.options.lazyload_images,name:"lazyload_images",onChange:this.changeOption,hasExpand:1},u.translate("Load images only when they are visible in the browser")),1==this.props.options.lazyload_images&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Iframes"),checked:this.props.options.lazyload_iframes,name:"lazyload_iframes",onChange:this.changeOption,tooltip:u.translate("We will lazy load iframes often used for things like video embeds from another sources. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Videos"),checked:this.props.options.lazyload_videos,name:"lazyload_videos",onChange:this.changeOption,tooltip:u.translate("We will lazy load all videos you have added directly to your pages."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Gravatars"),checked:this.props.options.lazyload_gravatars,name:"lazyload_gravatars",onChange:this.changeOption,tooltip:u.translate("When users comment under your posts, WordPress tries to load their avatars from gravatar.com. We recommend lazy-loading them as your users scroll down through your page if you have a high number of comments. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Thumbnails"),checked:this.props.options.lazyload_thumbnails,name:"lazyload_thumbnails",onChange:this.changeOption,tooltip:u.translate("Enable if you want to lazy-load the thumbnail sizes of your original images."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Responsive Images"),checked:this.props.options.lazyload_responsive,name:"lazyload_responsive",onChange:this.changeOption,tooltip:u.translate("Certain plugins and themes generate multiple images from a single upload to work better on different devices. Enable if you want to lazy-load these too."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Widgets"),checked:this.props.options.lazyload_textwidgets,name:"lazyload_textwidgets",onChange:this.changeOption,tooltip:u.translate("Enable this option if you want the images in your widget areas to load only when users reach them. "),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load for Mobile"),checked:this.props.options.lazyload_mobile,name:"lazyload_mobile",onChange:this.changeOption,tooltip:u.translate("Enable if you want to use lazy-loading features for mobile requests to your site."),titleDensity:"none"}),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Fix for Lazy Loading Short Codes"),checked:this.props.options.lazyload_shortcodes,name:"lazyload_shortcodes",onChange:this.changeOption,tooltip:u.translate("If your images generated by shortcodes are not lazy loaded, please enable this feature."),titleDensity:"none"}),1===parseInt(window.optimizerData.is_shop)&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Lazy Load Product Images"),checked:this.props.options.lazyload_woocommerce,name:"lazyload_woocommerce",onChange:this.changeOption,tooltip:u.translate("Enable if you want to enable lazy-load images in your store, product and other WooCommerce pages."),titleDensity:"none"})),l.createElement(p.Flex,{className:"divider"}),l.createElement(b.InnerRow,{margin:"medium",title:u.translate("Exclude from Lazy Load")},u.translate("In order to exclude images from lazy loading, please add their CSS classes to the exclusion list. Add each CSS class on a separate line.")),l.createElement(m.SimpleExclude,{updateExcludeList:function(t,n,r){return e.props.updateExcludes("excluded_lazy_load_classes",t)},excludedItems:this.props.options.excluded_lazy_load_classes,addNotification:this.props.addNotification}),l.createElement(p.Flex,null))))))},t}(l.Component),x=function(e){return{options:e.Options}},v=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},addNotification:function(t){return e(f.addNotification(t))},checkImageOptimizationStatus:function(){return e(f.checkImageOptimizationStatus())},initImagesOptimization:function(){return e(f.initImagesOptimization())},stopImagesOptimization:function(){return e(f.stopImagesOptimization())},resetImagesOptimization:function(){return e(f.resetImagesOptimization())},updateExcludes:function(t,n){return e(f.updateExcludes(t,n))}}};t.default=c.connect(x,v)(_),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(_,"ImageOptimization","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(x,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),a.register(v,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/image-optimization/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1154);t.WebP=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(65),f=n(100),g=n(492),m=n(1157),h=n(16),y=n(1159),b=function(e){function t(t){var n=e.call(this,t)||this;return n.toogleDeleteWebpDialog=function(){n.setState({showDeleteWebpDialog:!n.state.showDeleteWebpDialog})},n.toogleRegenerateWebpDialog=function(){n.setState({showRegenerateWebpDialog:!n.state.showRegenerateWebpDialog})},n.deleteWebpFiles=function(){n.props.deleteWebpFiles(),n.setState({showDeleteWebpDialog:!1})},n.regenerateWebpFiles=function(){n.props.deleteWebpFiles(),n.props.generateWebpFiles(),n.setState({showRegenerateWebpDialog:!1})},n.stopWebpOptimization=function(){clearInterval(n.webpInterval),n.webpInterval="",n.props.stopWebpConvertion()},n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.getHeight=function(){return 0===n.props.options.webp_conversion_status?250:"auto"},n.changeWebpQuality=function(e,t){n.setState({webpQuality:t,showWebpNotice:!0}),clearTimeout(n.webpQualityInterval),n.webpQualityInterval=setTimeout((function(){n.props.changeOption(e,t)}),100)},n.changeWebpType=function(e,t){n.setState({showWebpNotice:!0}),n.props.changeOption(e,t)},n.toogleEnableWebp=function(){n.props.options.webp_support?n.props.disableOption("webp_support",!0):(n.props.enableOption("webp_support",!0),n.setState({showEnableWebpDialog:!1}))},n.toogleEnableWebpDialog=function(){n.setState({showEnableWebpDialog:!n.state.showEnableWebpDialog})},n.render=function(){return 1===parseInt(window.optimizerData.is_avalon)&&l.createElement(l.Fragment,null,l.createElement(d.Flex,{className:"divider"}),l.createElement("div",{className:"position--relative "},0===n.props.options.webp_conversion_status&&l.createElement(g.WebpLoader,{stopOptimization:n.stopWebpOptimization,totalImages:n.props.options.has_images_for_conversion,totalUnoptimizedImages:n.props.options.total_non_converted_images}),l.createElement(p.Row,{title:u.translate("Generate WebP Copies of New Images"),checked:n.props.options.webp_support,name:"webp_support",onChange:function(e){return 0===n.props.options.webp_support?n.toogleEnableWebpDialog():n.toogleEnableWebp()}},u.translate("WebP is a next generation image format supported by modern browers which greatly reduces the size of your images.")),1==n.props.options.webp_support&&l.createElement(m.QualitySlider,{title:u.translate("Optimization Level"),description:u.translate("Chose the quality of WebP copies created by us. Higher quality means higher image size."),options:[{type:"lossy",title:"Lossy"},{type:"lossless",title:"Lossless"}],sliderName:"quality_webp",dropdownName:"quality_type",dropdownLabel:u.translate("Optimization Type"),selectedValue:n.props.options.quality_type,changeQuality:n.changeWebpQuality,showNotice:n.state.showWebpNotice,changeType:n.changeWebpType,value:n.state.webpQuality,regenerate:n.toogleRegenerateWebpDialog}),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center",style:{minHeight:n.getHeight(),position:"relative"}},l.createElement(d.Box,{sm:"6"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Manage WebP Copies for Existing Images")),l.createElement(d.Text,null,u.translate("Generate or delete a WebP copy of your existing media library."))),0==n.props.options.has_images_for_conversion&&l.createElement(d.Box,{sm:"3"}),l.createElement(d.Box,{sm:"3"},l.createElement(d.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-haspopup":!0,onClick:function(e){return n.toogleDeleteWebpDialog()}},u.translate("Delete all WebP Files"))),0!==n.props.options.has_images_for_conversion&&l.createElement(d.Box,{sm:"3"},l.createElement(d.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid","aria-expanded":0===n.props.options.webp_conversion_status,onClick:function(e){return n.props.generateWebpFiles()}},u.translate("Bulk Generate WebP Files")))),0==n.props.options.has_images_for_conversion&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Notice,{type:"success"},u.translate("All WebP copies of your files have been generated successfully! Force {{link}}re-generation{{/link}} of your images.",{components:{link:l.createElement(d.Link,{onClick:n.toogleRegenerateWebpDialog,style:{textDecoration:"underline"},"aria-haspopup":!0})}})))),n.state.showEnableWebpDialog&&l.createElement(f.EnableWebpDialog,{toogleClose:n.toogleEnableWebpDialog,toogleConfirm:n.toogleEnableWebp}),n.state.showDeleteWebpDialog&&l.createElement(f.DeleteWebpDialog,{toogleClose:n.toogleDeleteWebpDialog,toogleConfirm:n.deleteWebpFiles}),n.state.showRegenerateWebpDialog&&l.createElement(f.RegenerateWebpDialog,{toogleClose:n.toogleRegenerateWebpDialog,toogleConfirm:n.regenerateWebpFiles})))},n.state={showDeleteWebpDialog:!1,showRegenerateWebpDialog:!1,webpQuality:t.options.quality_webp,showWebpNotice:!1,showEnableWebpDialog:!1},n.webpInterval="",n.webpQualityInterval="",n}return i(t,e),t.prototype.componentDidUpdate=function(e){this.props.options.webp_conversion_status!==e.options.webp_conversion_status&&1==this.props.options.webp_conversion_status&&this.setState({showWebpNotice:!1}),this.props.options.quality_webp!==e.options.quality_webp&&this.setState({webpQuality:this.props.options.quality_webp}),1==this.props.options.webp_conversion_status?(clearInterval(this.webpInterval),this.webpInterval=""):this.webpInterval||0!=this.props.options.webp_conversion_status||(this.webpInterval=setInterval(this.props.checkWebpConversionStatus,1e4))},t.prototype.componentDidMount=function(){0==this.props.options.webp_conversion_status&&(this.webpInterval=setInterval(this.props.checkWebpConversionStatus,1e4))},t}(l.Component),_=function(e){return{options:e.Options}},x=function(e){return{enableOption:function(t,n){return e(h.enableOption(t,n,!1))},disableOption:function(t,n){return e(h.disableOption(t,n,!1))},addNotification:function(t){return e(h.addNotification(t))},deleteWebpFiles:function(t){return e(y.deleteWebpFiles(t))},changeOption:function(t,n){return e(h.changeOption(t,n))},stopWebpConvertion:function(){return e(y.stopWebpConvertion())},generateWebpFiles:function(){return e(y.generateWebpFiles())},checkWebpConversionStatus:function(){return e(y.checkWebpConversionStatus())}}};t.default=c.connect(_,x)(b),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(b,"WebP","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(_,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),a.register(x,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/webp/webp.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(10),u=n(9),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getProgessPercent=function(){var e=(t.props.totalUnoptimizedImages-t.props.totalImages)/t.props.totalUnoptimizedImages*100;return e<1?1:e},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(u.Flex,{gutter:"xx-large",style:{minHeight:250,position:"relative"}},l.createElement(u.Loader,{style:{position:"absolute"},className:"loader-image-optimization"},l.createElement(u.Title,{level:"4",density:"compact",weight:"bold",color:"darkest"},c.translate("Please be patient, this process may take some time")),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",padding:"10px 0"}},c.translate("Optimized %(optimized)s of %(total)s images",{args:{optimized:this.props.totalUnoptimizedImages-this.props.totalImages,total:this.props.totalUnoptimizedImages}})),l.createElement(u.Progress,{color:"blue","data-component":"progress","data-e2e":"progress",percent:this.getProgessPercent()}),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",paddingBottom:"10px"}}),l.createElement(u.Button,{color:"secondary",size:"small",type:"outlined",onClick:function(t){return e.props.stopOptimization()}},c.translate("Pause"))))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/image-loader.tsx"),a.register(d,"ImageLoader","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/image-loader.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(10),u=n(9),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getProgessPercent=function(){var e=(t.props.totalUnoptimizedImages-t.props.totalImages)/t.props.totalUnoptimizedImages*100;return e<1?1:e},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(u.Loader,{style:{position:"absolute"},className:"loader-image-optimization"},l.createElement(u.Title,{level:"4",density:"compact",weight:"bold",color:"darkest"},c.translate("Please be patient, this process may take some time")),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",padding:"10px 0"}},c.translate("Generated %(optimized)s of %(total)s webp copies",{args:{optimized:this.props.totalUnoptimizedImages-this.props.totalImages,total:this.props.totalUnoptimizedImages}})),l.createElement(u.Progress,{color:"blue","data-component":"progress","data-e2e":"progress",percent:this.getProgessPercent()}),l.createElement("span",{style:{width:"100%",textAlign:"center",display:"inline-block",color:"#a4a4a4",paddingBottom:"10px"}}),l.createElement(u.Button,{color:"secondary",size:"small",type:"outlined",onClick:function(t){return e.props.stopOptimization()}},c.translate("Pause")))},t}(l.Component);t.default=d,a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/webp-loader.tsx"),a.register(d,"WebpLoader","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/loaders/webp-loader.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1158);t.QualitySlider=r.default},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(10),l=n(9),c=function(e){return a.createElement(l.Flex,{gutter:"large"},a.createElement(l.Box,{sm:"12"},a.createElement(l.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},a.createElement(l.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(l.Box,{sm:"10"},a.createElement(l.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},e.title),a.createElement(l.Text,null,e.description)),a.createElement(l.Box,{sm:"2"},a.createElement(l.Dropdown,{options:e.options,optionValue:"type",optionLabel:"title",selectedValue:e.selectedValue,onChange:function(t){return e.changeType(e.dropdownName,t)},label:e.dropdownLabel}))),a.createElement(l.Flex,{gutter:"xx-large",direction:"column",className:"margin-top--x-small"},a.createElement(l.Grid,{gap:"small"},"lossy"==e.selectedValue&&a.createElement(l.Slider,{max:100,min:1,step:1,value:e.value,label:"%",onChange:function(t){return e.changeQuality(e.sliderName,t)}}),e.showNotice&&a.createElement(l.Notice,{type:"warning"},s.translate("WebP settings have been changed, please, {{link}}re-generate{{/link}} your images!.",{components:{link:a.createElement(l.Link,{onClick:e.regenerate,style:{textDecoration:"underline"},"aria-haspopup":!0})}})))))))};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"QualitySlider","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/slider/quality-slider.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51),o=n(35);t.stopWebpConvertion=r.createAction(o.STOP_WEBP_CONVERSION),t.deleteWebpFiles=r.createAction(o.DELETE_WEBP_FILES),t.generateWebpFiles=r.createAction(o.GENERATE_WEBP_FILES),t.checkWebpConversionStatus=r.createAction(o.CHECK_WEBP_CONVERSION_STATUS)},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(16),f=n(61),g=n(489),m=n(488),h=n(491),y=n(490),b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changeSiteOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n,!0):t.props.disableOption(e.name,n,!0)},t.changeOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n):t.props.disableOption(e.name,n)},t}return i(t,e),t.prototype.toogleMemcache=function(e){e.checked?this.props.enableMemcache(e.name):this.props.disableMemcache(e.name)},t.prototype.render=function(){var e=this;return l.createElement(f.default,null,l.createElement(g.default,null),l.createElement(h.default,{checked:this.props.options.enable_gzip_compression,changeOption:this.changeOption}),l.createElement(y.default,{checked:this.props.options.enable_browser_caching,changeOption:this.changeOption}),l.createElement(m.default,{enable_memcached:this.props.options.enable_memcached,enableMemcache:this.props.enableMemcache,disableMemcache:this.props.disableMemcache}),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Site Admin Permissions")),l.createElement(d.Text,null,u.translate("In this section, set the access permission for admins of separate sites.")))),l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("SuperCacher Settings")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's SuperCacher tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.supercacher_permissions,name:"supercacher_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Frontend Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Frontend Optmization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.frontend_permissions,name:"frontend_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Image Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Image Optimization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.images_permissions,name:"images_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Environment Optimizations")),l.createElement(d.Text,null,u.translate("Select whether site admins can access and make changes within the SiteGround Optimizer's Environment Optimization tab."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.environment_permissions,name:"environment_permissions",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))))},t}(l.Component),_=function(e){return{options:e.Options}},x=function(e){return{enableMemcache:function(t){return e(p.enableMemcache(t))},disableMemcache:function(t){return e(p.disableMemcache(t))},enableOption:function(t,n,r){return e(p.enableOption(t,n,r))},disableOption:function(t,n,r){return e(p.disableOption(t,n,r))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(_,x)(b),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(b,"MultisiteControl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(_,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),a.register(x,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/multisite-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(9),p=n(16),f=n(61),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changeSiteOption=function(e,n){void 0===n&&(n=!1),e.checked?t.props.enableOption(e.name,n,!0):t.props.disableOption(e.name,n,!0)},t}return i(t,e),t.prototype.render=function(){var e=this;return l.createElement(f.default,null,l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("SUPERCACHER SETTINGS")))),l.createElement(d.Flex,{direction:"row",align:"center",gutter:"large"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Dynamic Caching")),l.createElement(d.Text,null,u.translate("Select whether new sites should have the Dynamic Caching enabled for them or not."))),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_enable_cache,name:"default_enable_cache",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1===this.props.options.default_enable_cache&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"9"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Automatic Cache Purge")),l.createElement(d.Text,null,u.translate("Automatically perform a smart cache purge after every content modification.")," ")),l.createElement(d.Box,{sm:"3",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_autoflush_cache,name:"default_autoflush_cache",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("ENVIRONMENT OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},1===this.props.isLoading&&l.createElement(d.Loader,{style:{position:"absolute"}}),l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Enable HTTPS")),l.createElement(d.Text,null,u.translate("Configures your site to work correctly via HTTPS and forces a secure connection to your site."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_ssl_enabled,name:"default_ssl_enabled",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1===this.props.options.default_ssl_enabled&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Fix Insecure Content")),l.createElement(d.Text,null,u.translate("Enable this option in case you’re getting insecure content errors on your website. We will dynamically rewrite insecure requests for resources coming from your site"))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_fix_insecure_content,name:"default_fix_insecure_content",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("FRONTEND OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify the HTML Output")),l.createElement(d.Text,null,u.translate("Removes unnecessary characters from your HTML output saving data and improving your site speed."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_html,name:"default_optimize_html",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify JavaScript Files")),l.createElement(d.Text,null,u.translate("Combine and minify your JavaScript files in order to reduce their size, improve cachability, and reduce the number of requests to the server."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_javascript,name:"default_optimize_javascript",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Load Render-blocking JavaScript Files Asynchronously")),l.createElement(d.Text,null,u.translate("Add async parameter to the JavaScript files loaded in the header section of your site so they don’t block your page rendering."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_javascript_async,name:"default_optimize_javascript_async",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Minify CSS Files")),l.createElement(d.Text,null,u.translate("Combine and minify your CSS files in order to reduce their size, improve cachability, and reduce the number of requests to the server."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_css,name:"default_optimize_css",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Combine CSS Files")),l.createElement(d.Text,null,u.translate("Combine multiple CSS files into one to lower the number of requests your site generates."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_combine_css,name:"default_combine_css",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Remove Query Strings From Static Resources")),l.createElement(d.Text,null,u.translate("Removes version query strings from your static resources improving the caching of those resources."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_remove_query_strings,name:"default_remove_query_strings",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Disable Emojis")),l.createElement(d.Text,null,u.translate("Enable to prevent WordPress from automatically detecting and generating emojis in your pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_disable_emojis,name:"default_disable_emojis",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Title,{level:"4",density:"compact",weight:"medium",color:"darkest"},u.translate("IMAGE OPTIMIZATION")))),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Image Optimization")),l.createElement(d.Text,null,u.translate("We will optimize all your existing images with minimal or no loss in quality. Note, that this will overwrite your original images."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_optimize_images,name:"default_optimize_images",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{direction:"row",gutter:"large",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},u.translate("Lazy Load Images")),l.createElement(d.Text,null,u.translate("Load images only when they are visible in the browser"))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_images,name:"default_lazyload_images",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),1==this.props.options.default_lazyload_images&&l.createElement(d.Flex,{gutter:"large"},l.createElement(d.Box,{sm:"12"},l.createElement(d.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Iframes")),l.createElement(d.Text,null,u.translate("We will lazy load iframes often used for things like video embeds from another sources. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_iframes,name:"default_lazyload_iframes",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Videos")),l.createElement(d.Text,null,u.translate("We will lazy load all videos you have added directly to your pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_videos,name:"default_lazyload_videos",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Thumbnails")),l.createElement(d.Text,null,u.translate("Enable if you want to enable lazy-load images in your store, product and other WooCommerce pages."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_woocommerce,name:"default_lazyload_woocommerce",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Gravatars")),l.createElement(d.Text,null,u.translate("When users comment under your posts, WordPress tries to load their avatars from gravatar.com. We recommend lazy-loading them as your users scroll down through your page if you have a high number of comments. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_gravatars,name:"default_lazyload_gravatars",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Thumbnails")),l.createElement(d.Text,null,u.translate("Enable if you want to lazy-load the thumbnail sizes of your original images."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_thumbnails,name:"default_lazyload_thumbnails",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Responsive Images")),l.createElement(d.Text,null,u.translate("Certain plugins and themes generate multiple images from a single upload to work better on different devices. Enable if you want to lazy-load these too."))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_responsive,name:"default_lazyload_responsive",onChange:function(t){return e.changeSiteOption(t.target,!0)}}))),l.createElement(d.Flex,{className:"divider"}),l.createElement(d.Flex,{gutter:"large",direction:"row",align:"center"},l.createElement(d.Box,{sm:"10"},l.createElement(d.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Lazy Load Widgets")),l.createElement(d.Text,null,u.translate("Enable this option if you want the images in your widget areas to load only when users reach them. "))),l.createElement(d.Box,{sm:"2",className:"right--actions"},l.createElement(d.Switch,{size:"small",checked:this.props.options.default_lazyload_textwidgets,name:"default_lazyload_textwidgets",onChange:function(t){return e.changeSiteOption(t.target,!0)}})))))))},t}(l.Component),m=function(e){return{options:e.Options}},h=function(e){return{enableOption:function(t,n,r){return e(p.enableOption(t,n,r))},disableOption:function(t,n,r){return e(p.disableOption(t,n,r))},addNotification:function(t){return e(p.addNotification(t))}}};t.default=c.connect(m,h)(g),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(g,"SitesControl","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(m,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),a.register(h,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/sites-control/index.tsx"),s(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(24),l=n(44),c=n(10),u=n(9),d=n(61),p=n(1163);n(1164);var f,g,m=n(16),h=function(e){function t(t){var n=e.call(this,t)||this;return n.getDevices=function(){return[{type:"desktop",title:"Desktop"},{type:"mobile",title:"Mobile"}]},n.handleKeyPressExcludeList=function(e){"Enter"==e.key&&n.runAnalysis()},n.updateCurrentUrl=function(e){var t=new RegExp("^/+|"+window.optimizerData.home_url,"g"),r=e.target.value.replace(t,"");n.setState({currentUrl:r})},n.getInputValue=function(){var e=new RegExp("^/+|"+window.optimizerData.home_url,"g");return n.state.currentUrl.replace(e,"")},n.runAnalysis=function(){n.props.runAnalysis(n.props.device,n.state.currentUrl)},n.prepareData=function(e){return l.map(e,(function(e){var t=new RegExp(/\s?\[.*?\]\(.*?\)\.?/g);e.description=e.description.replace(t,"")})),e},n.html=function(e){var t=e/100*352;return{__html:'<div class="lh-gauge__wrapper lh-gauge__wrapper--pass lh-gauge__wrapper--huge"><div class="lh-gauge__svg-wrapper"><svg viewBox="0 0 120 120" class="lh-gauge"><circle class="lh-gauge-arc lh-gauge-arc-placeholder" transform="rotate(-90 60 60)" r="56" cx="60" cy="60"></circle><circle class="lh-gauge-arc" transform="rotate(-90 60 60)" r="56" cx="60" cy="60" style="stroke-dasharray: {PERCENTAGE}, 352;"></circle></svg></div><div class="lh-gauge__percentage">{SCORE}</div></div>'.replace("{SCORE}",e).replace("{PERCENTAGE}",t.toString())}},n.renderSuccessfullyCompleted=function(e){return l.map(n.prepareData(e),(function(e){return a.createElement(u.Flex,{gutter:"large",direction:"column"},a.createElement(u.Box,null,a.createElement(u.Notice,{type:"success"},e.title," ",a.createElement(p.default,{tooltip:e.description,tooltipSize:"small"}))))}))},n.state={currentUrl:""},n}return i(t,e),t.prototype.render=function(){var e=this;return a.createElement(d.default,null,a.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(u.Box,{sm:"10"},a.createElement(u.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},c.translate("Score Check")),a.createElement(u.Text,null,c.translate("Test how optimized your website is. Our performance check is powered by Google PageSpeed.")))),a.createElement(u.Flex,{gutter:"large"},a.createElement(u.Box,{sm:"12"},a.createElement(u.Flex,{gutter:"none",background:"light",margin:"none",direction:"column",border:"small"},a.createElement(u.Flex,{gutter:"large",direction:"row",align:"flex-end"},a.createElement(u.Box,{sm:"2"},a.createElement(u.Dropdown,{options:this.getDevices(),optionValue:"type",optionLabel:"title",selectedValue:this.props.device,onChange:function(t){return e.props.analysisChangeDevice(t)},label:c.translate("Device Type")})),a.createElement(u.Box,{sm:"8"},a.createElement(u.Input,{type:"text",size:"medium",label:c.translate("URL"),value:this.state.currentUrl,onChange:function(t){return e.updateCurrentUrl(t)},prefix:window.optimizerData.home_url,onKeyPress:this.handleKeyPressExcludeList})),a.createElement(u.Box,{sm:"2"},a.createElement(u.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:function(){return e.runAnalysis()}},c.translate("Analyze"))),!!this.props.isAnalysing&&a.createElement(u.Loader,{style:{position:"absolute"},className:"loader-analysis"},c.translate("Please Wait, We Are Performing a Google PageSpeed Test on Your Page"))),a.createElement(u.Flex,{className:"divider"}),a.createElement(u.Container,{elevation:"none",padding:"large",className:"sg-score"},a.createElement(u.Flex,{gutter:"none",margin:"none",align:"center",direction:"column",background:"white"},a.createElement("div",{className:"sg-placeholder__images-container"},a.createElement("div",{className:"sg-placeholder__background-elements"},a.createElement(u.Icon,{multicolor:!0,name:"background-dots",width:"800",height:"240"}))),(l.isEmpty(this.props.report)||!l.isEmpty(this.props.report)&&1==this.props.isAnalysing)&&a.createElement(u.Icon,{name:"presentational-no-data-dotted",color:"ocean",width:this.props.isPhone?"200":"300",height:this.props.isPhone?"120":"240",multicolor:!0}),!l.isEmpty(this.props.report)&&0==this.props.isAnalysing&&a.createElement("div",{dangerouslySetInnerHTML:this.html(this.props.report.score),className:this.props.report.class_name}),a.createElement(u.Title,{level:"3",weight:"light",density:"cozy",align:"center"},l.isEmpty(this.props.report.title)?c.translate("There is nothing here yet"):this.props.report.title),!l.isEmpty(this.props.report)&&a.createElement(u.Text,{align:"center"},this.props.report.message)))))),!l.isEmpty(this.props.report)&&0==this.props.isAnalysing&&Object.keys(this.props.report.data).map((function(t){return a.createElement(a.Fragment,{key:t},a.createElement(u.Flex,{className:"divider"}),a.createElement(u.Flex,{gutter:"large",direction:"row",align:"center"},a.createElement(u.Box,{sm:"12"},a.createElement(u.Title,{level:"4",density:"compact",weight:"light",color:"darkest"},e.props.report.data[t].info.title),"opportunities"==e.props.report.data[t].info.id&&a.createElement(u.Flex,{gutter:"none"},a.createElement(u.Table,{data:e.prepareData(e.props.report.data[t].data),border:"small",className:"border-"+e.props.report.data[t].info.id,columns:[{header:"Optimization",accessor:"title",style:{fontWeight:"bold"},render:function(e,t){return a.createElement(u.Text,null,e," ",a.createElement(p.default,{tooltip:t.description,tooltipSize:"small"}))}},{header:"Action",accessor:"action",style:{fontWeight:"bold"},render:function(e,t){return a.createElement(u.Text,null,u.textToHTML(e,["a","strong"],["href"]))}}]})))),"opportunities"!==e.props.report.data[t].info.id&&e.renderSuccessfullyCompleted(e.props.report.data[t].data))})))},t}(a.Component),y=function(e){return{report:e.Report.report,isAnalysing:e.Report.isAnalysing,device:e.Report.device,isPhone:e.Environment.isPhone}},b=function(e){return{runAnalysis:function(t,n){return e(m.runAnalysis(t,n))},analysisChangeDevice:function(t,n){return e(m.analysisChangeDevice(t))}}};t.default=s.connect(y,b)(h),f=n(0).default,g=n(0).leaveModule,f&&(f.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(h,"Analytics","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(y,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),f.register(b,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/analytics/index.tsx"),g(e))}).call(this,n(1)(e))},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e),Object.defineProperty(t,"__esModule",{value:!0});var o,i,a=n(2),s=n(9),l=n(81),c=function(e){var t=e.tooltip,n=e.size,r=void 0===n?"11":n,o=e.tooltipSize,i=void 0===o?"medium":o,c=e.color,u=void 0===c?"light":c;return a.createElement(s.Icon,{color:u,tabIndex:0,name:"information",size:r,tooltip:l.textToHTML(t),tooltipSize:i,className:"ua-margin-horizontal-xx-small ua-v-align-middle"})};t.default=c,o=n(0).default,i=n(0).leaveModule,o&&(o.register(c,"InfoIcon","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/info-icon/index.tsx"),i(e))}).call(this,n(1)(e))},function(e,t,n){var r=n(1165);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(6)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(5)(!1)).push([e.i,"td .sg-typography--truncate {\n white-space: initial !important; }\n\n.border-opportunities {\n border-top: 2px solid #F54545; }\n\n.border-passed {\n border-top: 2px solid #6ACA4C; }\n\n.placeholder-without-svg {\n padding: 0; }\n\n.placeholder-without-svg .sg-icon svg {\n display: none; }\n\n.loader-analysis .sg-loader__message {\n max-width: none; }\n\n.lh-gauge__percentage {\n display: block;\n font-size: 42.1px;\n height: 150px;\n line-height: 0;\n position: absolute;\n text-align: center;\n top: 75px;\n width: 150px;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge-arc {\n animation-delay: 0.25s;\n display: inline;\n fill: none;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n font-size: 16px;\n height: auto;\n line-height: 24px;\n stroke-width: 5px;\n text-size-adjust: 100%;\n transform-origin: 0px 0px;\n width: auto;\n word-break: break-word;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge__svg-wrapper {\n display: block;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n font-size: 16px;\n height: 150px;\n line-height: 24px;\n position: relative;\n text-size-adjust: 100%;\n width: 150px;\n word-break: break-word;\n -webkit-font-smoothing: antialiased; }\n\n.lh-gauge__wrapper {\n font-size: 16px;\n height: 150px;\n line-height: 24px;\n margin-bottom: 12px;\n margin-left: 0px;\n margin-right: 0px;\n margin-top: 24px;\n position: relative;\n width: 150px;\n -webkit-font-smoothing: antialiased; }\n\n.sg-score-holder {\n top: 15%;\n position: absolute; }\n\n.sg-score {\n position: relative; }\n\n.lh-gauge-arc-placeholder {\n color: #EBEBEB;\n stroke: #EBEBEB; }\n\n.placeholder-meduim .lh-gauge__percentage,\n.placeholder-meduim .lh-gauge__svg-wrapper,\n.placeholder-meduim .lh-gauge__wrapper {\n color: #eca03e;\n fill: #eca03e;\n stroke: #eca03e; }\n\n.placeholder-meduim .lh-gauge-arc {\n color: #eca03e; }\n\n.placeholder-low .lh-gauge__percentage,\n.placeholder-low .lh-gauge__svg-wrapper,\n.placeholder-low .lh-gauge__wrapper {\n color: #F54545;\n fill: #F54545;\n stroke: #F54545; }\n\n.placeholder-low .lh-gauge-arc {\n color: #F54545; }\n\n.placeholder-top .lh-gauge__percentage,\n.placeholder-top .lh-gauge__svg-wrapper,\n.placeholder-top .lh-gauge__wrapper {\n color: #6ACA4D;\n fill: #6ACA4D;\n stroke: #6ACA4D; }\n\n.placeholder-top .lh-gauge-arc {\n color: #6ACA4D; }\n\n.sg-tooltip {\n z-index: 9999; }\n",""])},function(e,t,n){"use strict";(function(e){var r;(r=n(0).enterModule)&&r(e);var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a,s,l=n(2),c=n(24),u=n(10),d=n(61),p=n(9),f=n(16),g=n(220),m=n(100),h=function(e){function t(t){var n=e.call(this,t)||this;return n.changeOption=function(e,t){void 0===t&&(t=!1),e.checked?n.props.enableOption(e.name,t):n.props.disableOption(e.name,t)},n.updateState=function(e){var t;n.setState(((t={})[e.target.name]=e.target.value,t))},n.toogleCloudflareDialog=function(){n.setState({showCloudflareDialog:!n.state.showCloudflareDialog})},n.authenticate=function(){n.setState({showCloudflareDialog:!1}),n.props.authenticate(n.state.cloudflare_email,n.state.cloudflare_auth_key)},n.validate=function(){n.validateEmail(n.state.cloudflare_email)&&n.validateKey(n.state.cloudflare_auth_key)&&n.toogleCloudflareDialog()},n.validateKey=function(e){var t=e.length;return n.setState({keyValidationError:!t}),t},n.updateKey=function(e){n.validateKey(e.target.value),n.updateState(e)},n.updateEmail=function(e){n.validateEmail(e.target.value),n.updateState(e)},n.validateEmail=function(e){var t=new RegExp(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/,"g").test(e);return n.setState({emailValidationError:!t}),t},n.state={showCloudflareDialog:!1,cloudflare_email:"",cloudflare_auth_key:"",emailValidationError:!1,keyValidationError:!1},n}return i(t,e),t.prototype.componentDidUpdate=function(e){this.props.options.cloudflare_email!==e.options.cloudflare_email&&this.props.options.cloudflare_auth_key!==e.options.cloudflare_auth_key&&this.setState({cloudflare_email:this.props.options.cloudflare_email,cloudflare_auth_key:this.props.options.cloudflare_auth_key}),this.props.options.cloudflare_slots_deletion!==e.options.cloudflare_slots_deletion&&this.setState({showCloudflareDialog:this.props.options.cloudflare_slots_deletion})},t.prototype.render=function(){var e=this,t=u.translate("Cloudflare API Key get it from {{link}}here{{/link}}",{components:{link:l.createElement(p.Link,{onClick:function(e){e.preventDefault(),window.open("https://dash.cloudflare.com/profile/api-tokens")},style:{textDecoration:"underline"}})}});return l.createElement(d.default,null,l.createElement(p.Flex,{gutter:"none",direction:"column",margin:"none",style:{position:"relative"}},!!this.props.isOptimizing&&l.createElement(p.Loader,{style:{position:"absolute"},className:"loader-cloudflare-optimization"},u.translate("Cloudflare optimization in progress")),!!this.props.isDeauthenticating&&l.createElement(p.Loader,{style:{position:"absolute"},className:"loader-cloudflare-optimization"},u.translate("Cloudflare deauthentication in progress")),l.createElement(g.default,{title:u.translate("Cloudflare Full Page Caching"),checked:this.props.options.cloudflare_optimization,name:"cloudflare_optimization",onChange:this.changeOption},u.translate("This option will enable full-page caching on your Cloudflare CDN edges. This will reduce the load on your SiteGround server and improve the loading speeds of your pages because by default Cloudflare will cache only your static resources.")),0!==this.props.options.cloudflare_optimization&&l.createElement(p.Flex,{gutter:"large"},l.createElement(p.Box,{sm:"12"},l.createElement(p.Flex,{gutter:"none",background:"light",margin:"none",direction:"column"},l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center"},1==this.props.options.cloudflare_optimization_status&&l.createElement(p.Box,{sm:"12"},l.createElement(p.Notice,{type:"success",background:"white",contentSize:"expanded",shadow:!0},l.createElement(p.Text,{align:"left"},u.translate("You have successfully authenticated to your Cloudflare account. If you want to stop using this service, please {{link}}Deauthenticate{{/link}} first.",{components:{link:l.createElement(p.Link,{onClick:this.props.deauthenticate,style:{textDecoration:"underline"}})}})))),0==this.props.options.cloudflare_optimization_status&&l.createElement(l.Fragment,null,l.createElement(p.Box,{sm:"5"},l.createElement(p.Input,{type:"text",label:u.translate("Email used with Cloudflare"),size:"medium",value:this.state.cloudflare_email,name:"cloudflare_email",state:this.state.emailValidationError?"error":"",onChange:function(t){return e.updateState(t)},onBlur:function(t){return e.updateEmail(t)},showValidation:!!this.state.emailValidationError,validationMessage:!!this.state.emailValidationError&&u.translate("Please provide valid email address")})),l.createElement(p.Box,{sm:"5"},l.createElement(p.Input,{type:"text",label:t,size:"medium",value:this.state.cloudflare_auth_key,name:"cloudflare_auth_key",onChange:function(t){return e.updateState(t)},onBlur:function(t){return e.updateKey(t)},state:this.state.keyValidationError?"error":"",showValidation:!!this.state.keyValidationError,validationMessage:!!this.state.keyValidationError&&u.translate("Please provide API key")})),l.createElement(p.Box,{sm:"2"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:function(t){return e.validate()}},u.translate("Authenticate"))))),1==this.props.options.cloudflare_optimization_status&&l.createElement(l.Fragment,null,l.createElement(p.Flex,{className:"divider"}),l.createElement(p.Flex,{gutter:"large",direction:"row",align:"center",style:{marginTop:0}},l.createElement(p.Box,{sm:"10"},l.createElement(p.Title,{level:"5",density:"compact",weight:"medium",color:"darkest"},u.translate("Purge Cloudflare Cache")),l.createElement(p.Text,null,u.translate("This will perform a complete manual purge of all Cloudflare assets. {{b}}It may take some time until the cache is purged on all edges.{{/b}}",{components:{b:l.createElement("strong",null)}}))),l.createElement(p.Box,{sm:"2"},l.createElement(p.Button,{color:"secondary",size:"large",type:"outlined",className:"button--fluid",onClick:this.props.purgeCloudflareCache},this.props.cloudflareCachePurged?u.translate("Purge Cache"):u.translate("Purging ..."))))))))),!!this.state.showCloudflareDialog&&l.createElement(m.CloudflareDialog,{toogleClose:this.toogleCloudflareDialog,toogleConfirm:this.authenticate}))},t}(l.Component),y=function(e){return{options:e.Options,isOptimizing:e.Cloudflare.isOptimizing,isDeauthenticating:e.Cloudflare.isDeauthenticating,cloudflareCachePurged:e.Cloudflare.cloudflareCachePurged}},b=function(e){return{enableOption:function(t,n){return e(f.enableOption(t,n,!1))},disableOption:function(t,n){return e(f.disableOption(t,n,!1))},authenticate:function(t,n){return e(f.authenticate(t,n))},deauthenticate:function(){return e(f.deauthenticate())},purgeCloudflareCache:function(){return e(f.purgeCloudflareCache())}}};t.default=c.connect(y,b)(h),a=n(0).default,s=n(0).leaveModule,a&&(a.register(i,"__extends","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(h,"Cloudflare","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(y,"mapStateToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),a.register(b,"mapDispatchToProps","/Users/stanimirstoyanov/Server/projects/wordpress/wp-content/plugins/sg-cachepress/src-js/components/tabs/cloudflare/index.tsx"),s(e))}).call(this,n(1)(e))}]);
|
core/Install_Service/Install_5_7_4.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace SiteGround_Optimizer\Install_Service;
|
3 |
+
use SiteGround_Optimizer\Htaccess\Htaccess;
|
4 |
+
use SiteGround_Optimizer\Options\Options;
|
5 |
+
use SiteGround_Optimizer\Helper\Helper;
|
6 |
+
|
7 |
+
class Install_5_7_4 extends Install {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* The default install version. Overridden by the installation packages.
|
11 |
+
*
|
12 |
+
* @since 5.7.4
|
13 |
+
*
|
14 |
+
* @access protected
|
15 |
+
*
|
16 |
+
* @var string $version The install version.
|
17 |
+
*/
|
18 |
+
protected static $version = '5.7.4';
|
19 |
+
|
20 |
+
public function __construct() {
|
21 |
+
$this->htaccess = new Htaccess();
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Run the install procedure.
|
26 |
+
*
|
27 |
+
* @since 5.7.4
|
28 |
+
*/
|
29 |
+
public function install() {
|
30 |
+
if (
|
31 |
+
Options::is_enabled( 'siteground_optimizer_enable_browser_caching' ) &&
|
32 |
+
! Helper::is_avalon()
|
33 |
+
) {
|
34 |
+
$this->htaccess->enable( 'browser-caching' );
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
}
|
core/Install_Service/Install_Service.php
CHANGED
@@ -26,6 +26,7 @@ use SiteGround_Optimizer\Install_Service\Install_5_5_4;
|
|
26 |
use SiteGround_Optimizer\Install_Service\Install_5_6_3;
|
27 |
use SiteGround_Optimizer\Install_Service\Install_5_6_7;
|
28 |
use SiteGround_Optimizer\Install_Service\Install_5_7_0;
|
|
|
29 |
use SiteGround_Optimizer\Install_Service\Install_Cleanup;
|
30 |
use SiteGround_Optimizer\Supercacher\Supercacher;
|
31 |
|
@@ -63,6 +64,7 @@ class Install_Service {
|
|
63 |
new Install_5_6_3(),
|
64 |
new Install_5_6_7(),
|
65 |
new Install_5_7_0(),
|
|
|
66 |
);
|
67 |
|
68 |
add_action( 'upgrader_process_complete', array( $this, 'install' ) );
|
26 |
use SiteGround_Optimizer\Install_Service\Install_5_6_3;
|
27 |
use SiteGround_Optimizer\Install_Service\Install_5_6_7;
|
28 |
use SiteGround_Optimizer\Install_Service\Install_5_7_0;
|
29 |
+
use SiteGround_Optimizer\Install_Service\Install_5_7_4;
|
30 |
use SiteGround_Optimizer\Install_Service\Install_Cleanup;
|
31 |
use SiteGround_Optimizer\Supercacher\Supercacher;
|
32 |
|
64 |
new Install_5_6_3(),
|
65 |
new Install_5_6_7(),
|
66 |
new Install_5_7_0(),
|
67 |
+
new Install_5_7_4(),
|
68 |
);
|
69 |
|
70 |
add_action( 'upgrader_process_complete', array( $this, 'install' ) );
|
core/Options/Options.php
CHANGED
@@ -391,6 +391,46 @@ class Options {
|
|
391 |
return count( $images );
|
392 |
}
|
393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
/**
|
395 |
* Prepare response message for react app.
|
396 |
*
|
391 |
return count( $images );
|
392 |
}
|
393 |
|
394 |
+
/**
|
395 |
+
* Get all post types.
|
396 |
+
*
|
397 |
+
* @since 5.7.0
|
398 |
+
*
|
399 |
+
* @return array $post_types All post types and their names.
|
400 |
+
*/
|
401 |
+
public function get_post_types() {
|
402 |
+
// Get the post types object.
|
403 |
+
$post_types_result = get_post_types(
|
404 |
+
array(
|
405 |
+
'public' => true,
|
406 |
+
'_builtin' => false,
|
407 |
+
),
|
408 |
+
'object'
|
409 |
+
);
|
410 |
+
|
411 |
+
// Set the default ones.
|
412 |
+
$post_types = array(
|
413 |
+
array(
|
414 |
+
'value' => 'post',
|
415 |
+
'title' => 'Post',
|
416 |
+
),
|
417 |
+
array(
|
418 |
+
'value' => 'page',
|
419 |
+
'title' => 'Page',
|
420 |
+
),
|
421 |
+
);
|
422 |
+
|
423 |
+
// Add the custom types to the default ones.
|
424 |
+
foreach ( $post_types_result as $type ) {
|
425 |
+
$post_types[] = array(
|
426 |
+
'value' => $type->name,
|
427 |
+
'title' => $type->label,
|
428 |
+
);
|
429 |
+
}
|
430 |
+
|
431 |
+
return $post_types;
|
432 |
+
}
|
433 |
+
|
434 |
/**
|
435 |
* Prepare response message for react app.
|
436 |
*
|
core/Rest/Rest_Helper_Cache.php
CHANGED
@@ -134,6 +134,30 @@ class Rest_Helper_Cache extends Rest_Helper {
|
|
134 |
);
|
135 |
}
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
/**
|
138 |
* Test if url is cached.
|
139 |
*
|
134 |
);
|
135 |
}
|
136 |
|
137 |
+
/**
|
138 |
+
* Update excluded post types.
|
139 |
+
*
|
140 |
+
* @since 5.7.0
|
141 |
+
*
|
142 |
+
* @param object $request Request data.
|
143 |
+
*/
|
144 |
+
public function update_excluded_post_types( $request ) {
|
145 |
+
$data = $this->validate_and_get_option_value( $request, 'excluded_post_types' );
|
146 |
+
|
147 |
+
// Convert the json urls to array.
|
148 |
+
$post_types = json_decode( $data, true );
|
149 |
+
|
150 |
+
// Update the option.
|
151 |
+
$result = update_option( 'siteground_optimizer_excluded_post_types', $post_types );
|
152 |
+
|
153 |
+
wp_send_json(
|
154 |
+
array(
|
155 |
+
'success' => $result,
|
156 |
+
'data' => $post_types,
|
157 |
+
)
|
158 |
+
);
|
159 |
+
}
|
160 |
+
|
161 |
/**
|
162 |
* Test if url is cached.
|
163 |
*
|
core/Rest/Rest_Helper_Cloudflare.php
CHANGED
@@ -49,7 +49,8 @@ class Rest_Helper_Cloudflare extends Rest_Helper {
|
|
49 |
* @since 5.7.0
|
50 |
*/
|
51 |
public function purge_cloudflare_cache_from_rest() {
|
52 |
-
|
|
|
53 |
// Disable the option.
|
54 |
wp_send_json_success();
|
55 |
}
|
49 |
* @since 5.7.0
|
50 |
*/
|
51 |
public function purge_cloudflare_cache_from_rest() {
|
52 |
+
// Purge the cache.
|
53 |
+
Supercacher::purge_cache();
|
54 |
// Disable the option.
|
55 |
wp_send_json_success();
|
56 |
}
|
core/Rest/Rest_Helper_Misc.php
CHANGED
@@ -41,6 +41,7 @@ class Rest_Helper_Misc extends Rest_Helper {
|
|
41 |
'dns_prefetch_urls',
|
42 |
'combine_javascript_exclude',
|
43 |
'fonts_preload_urls',
|
|
|
44 |
);
|
45 |
|
46 |
// Get the type and handles data from the request.
|
41 |
'dns_prefetch_urls',
|
42 |
'combine_javascript_exclude',
|
43 |
'fonts_preload_urls',
|
44 |
+
'post_types_exclude',
|
45 |
);
|
46 |
|
47 |
// Get the type and handles data from the request.
|
core/Rest/Rest_Helper_Options.php
CHANGED
@@ -118,11 +118,11 @@ class Rest_Helper_Options extends Rest_Helper {
|
|
118 |
if ( is_multisite() ) {
|
119 |
$options['sites_data'] = $this->multisite->get_sites_info();
|
120 |
}
|
121 |
-
|
122 |
$options['has_images'] = $this->options->check_for_images();
|
123 |
$options['has_images_for_optimization'] = $this->options->check_for_unoptimized_images();
|
124 |
$options['assets'] = Front_End_Optimization::get_instance()->get_assets();
|
125 |
$options['quality_type'] = get_option( 'siteground_optimizer_quality_type', '' );
|
|
|
126 |
|
127 |
// Check for non converted images when we are on avalon server.
|
128 |
if ( Helper::is_avalon() ) {
|
118 |
if ( is_multisite() ) {
|
119 |
$options['sites_data'] = $this->multisite->get_sites_info();
|
120 |
}
|
|
|
121 |
$options['has_images'] = $this->options->check_for_images();
|
122 |
$options['has_images_for_optimization'] = $this->options->check_for_unoptimized_images();
|
123 |
$options['assets'] = Front_End_Optimization::get_instance()->get_assets();
|
124 |
$options['quality_type'] = get_option( 'siteground_optimizer_quality_type', '' );
|
125 |
+
$options['post_types'] = $this->options->get_post_types();
|
126 |
|
127 |
// Check for non converted images when we are on avalon server.
|
128 |
if ( Helper::is_avalon() ) {
|
core/Supercacher/Supercacher_Helper.php
CHANGED
@@ -36,7 +36,8 @@ class Supercacher_Helper {
|
|
36 |
// Bail if the cache is not enabled or if the url is excluded from cache.
|
37 |
if (
|
38 |
0 === $is_cache_enabled ||
|
39 |
-
self::is_url_excluded( $url )
|
|
|
40 |
) {
|
41 |
$headers['X-Cache-Enabled'] = 'False';
|
42 |
return $headers;
|
@@ -133,4 +134,46 @@ class Supercacher_Helper {
|
|
133 |
return ! empty( $matches ) ? true : false;
|
134 |
}
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
}
|
36 |
// Bail if the cache is not enabled or if the url is excluded from cache.
|
37 |
if (
|
38 |
0 === $is_cache_enabled ||
|
39 |
+
self::is_url_excluded( $url ) ||
|
40 |
+
self::is_post_type_excluded( $url )
|
41 |
) {
|
42 |
$headers['X-Cache-Enabled'] = 'False';
|
43 |
return $headers;
|
134 |
return ! empty( $matches ) ? true : false;
|
135 |
}
|
136 |
|
137 |
+
/**
|
138 |
+
* Check if the curent url's post type has been excluded.
|
139 |
+
*
|
140 |
+
* @since 5.7.0
|
141 |
+
*
|
142 |
+
* @param string $url The url to check.
|
143 |
+
*
|
144 |
+
* @return boolean True if the url matches an excluded type, false otherwise.
|
145 |
+
*/
|
146 |
+
public static function is_post_type_excluded( $url ) {
|
147 |
+
// Get the post/page ID.
|
148 |
+
$post_id = url_to_postid( $url );
|
149 |
+
|
150 |
+
// Bail if the page is not found.
|
151 |
+
if ( 0 === $post_id ) {
|
152 |
+
return false;
|
153 |
+
}
|
154 |
+
|
155 |
+
// Bail if we are on the home page.
|
156 |
+
if ( get_option( 'page_on_front' ) === $post_id ) {
|
157 |
+
return false;
|
158 |
+
}
|
159 |
+
|
160 |
+
// Get excluded post_types.
|
161 |
+
$post_types = \get_option( 'siteground_optimizer_post_types_exclude', array() );
|
162 |
+
|
163 |
+
// Bail if there are no excluded post types.
|
164 |
+
if ( empty( $post_types ) ) {
|
165 |
+
return false;
|
166 |
+
}
|
167 |
+
|
168 |
+
// Get the post type.
|
169 |
+
$post_type = get_post_type( $post_id );
|
170 |
+
|
171 |
+
// Check if the post type is in the exclude list.
|
172 |
+
if ( in_array( $post_type, $post_types ) ) {
|
173 |
+
return true;
|
174 |
+
}
|
175 |
+
|
176 |
+
return false;
|
177 |
+
}
|
178 |
+
|
179 |
}
|
readme.txt
CHANGED
@@ -215,6 +215,11 @@ Our plugin uses a cookie in order to function properly. It does not store person
|
|
215 |
|
216 |
== Changelog ==
|
217 |
|
|
|
|
|
|
|
|
|
|
|
218 |
= Version 5.7.3 =
|
219 |
* Improved cache purge on Cludflare activation
|
220 |
* Improved deauthentication of Cloudflare
|
215 |
|
216 |
== Changelog ==
|
217 |
|
218 |
+
= Version 5.7.4 =
|
219 |
+
* Improved Leverage Browser Caching rules
|
220 |
+
* Add exclude by post type
|
221 |
+
* Improved Cloudflare cache purge
|
222 |
+
|
223 |
= Version 5.7.3 =
|
224 |
* Improved cache purge on Cludflare activation
|
225 |
* Improved deauthentication of Cloudflare
|
sg-cachepress.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: SG Optimizer
|
11 |
* Plugin URI: https://siteground.com
|
12 |
* Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
|
13 |
-
* Version: 5.7.
|
14 |
* Author: SiteGround
|
15 |
* Author URI: https://www.siteground.com
|
16 |
* Text Domain: sg-cachepress
|
@@ -31,7 +31,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
31 |
|
32 |
// Define version constant.
|
33 |
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
|
34 |
-
define( __NAMESPACE__ . '\VERSION', '5.7.
|
35 |
}
|
36 |
|
37 |
// Define slug constant.
|
10 |
* Plugin Name: SG Optimizer
|
11 |
* Plugin URI: https://siteground.com
|
12 |
* Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
|
13 |
+
* Version: 5.7.4
|
14 |
* Author: SiteGround
|
15 |
* Author URI: https://www.siteground.com
|
16 |
* Text Domain: sg-cachepress
|
31 |
|
32 |
// Define version constant.
|
33 |
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
|
34 |
+
define( __NAMESPACE__ . '\VERSION', '5.7.4' );
|
35 |
}
|
36 |
|
37 |
// Define slug constant.
|
templates/browser-caching.tpl
CHANGED
@@ -1,13 +1,8 @@
|
|
1 |
# Leverage Browser Caching by SG-Optimizer
|
2 |
<IfModule mod_expires.c>
|
3 |
ExpiresActive on
|
4 |
-
ExpiresDefault "access plus 6 months"
|
5 |
# CSS
|
6 |
ExpiresByType text/css "access plus 1 year"
|
7 |
-
# HTML components (HTCs)
|
8 |
-
ExpiresByType text/x-component "access plus 0 seconds"
|
9 |
-
# HTML
|
10 |
-
ExpiresByType text/html "access plus 0 seconds"
|
11 |
# JavaScript
|
12 |
ExpiresByType application/javascript "access plus 1 year"
|
13 |
ExpiresByType application/x-javascript "access plus 1 year"
|
1 |
# Leverage Browser Caching by SG-Optimizer
|
2 |
<IfModule mod_expires.c>
|
3 |
ExpiresActive on
|
|
|
4 |
# CSS
|
5 |
ExpiresByType text/css "access plus 1 year"
|
|
|
|
|
|
|
|
|
6 |
# JavaScript
|
7 |
ExpiresByType application/javascript "access plus 1 year"
|
8 |
ExpiresByType application/x-javascript "access plus 1 year"
|