diff --git a/.wordpress-org/icon-256x256.png b/.wordpress-org/icon-256x256.png index d4ac838..bb89077 100644 Binary files a/.wordpress-org/icon-256x256.png and b/.wordpress-org/icon-256x256.png differ diff --git a/README.txt b/README.txt index f4224b1..b137f6d 100644 --- a/README.txt +++ b/README.txt @@ -3,8 +3,8 @@ Contributors: addonify Tags: compare, woocommerce compare, products comparison, compare products, compare woocommerce, addonify, woocommerce Requires at least: 5.9 -Tested up to: 6.2.2 -Stable tag: 1.1.10 +Tested up to: 6.3.1 +Stable tag: 1.1.11 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -74,6 +74,10 @@ Yes, Addonify Product Compare should work with all themes if the theme authors h Yes, you can select the fields from Dashboard > Addonify > Compare > Settings to display in the compare table. += Is there a shortcode for adding product compare button? + +Yes, there is. Use `[addonify_compare_button]` to add product compare button. `product_id` , `button_label`, `classes`, and `button_icon_position` are the shortcode attributes that can be used. Shortcode attribute, `product_id` is required in order to display the compare button outside the products loop. Value for shortcode attribute `classes` should be CSS classes separated by a space. The value for `button_icon_position`, should be either 'left', 'right' or 'none';. For more information [check doc.](https://docs.addonify.com/kb/woocommerce-compare-products/getting-started/compare-button/) + = I'm a developer, is it possible to customize frontend output? = Yes, you can do it. Copy template from "/plublic/templates" the plugin's folder and paste them inside "/addonify/addonify-compare-products" of your theme's folder. For more information, read the [plugin's documentation](https://docs.addonify.com/kb/woocommerce-compare-products/) @@ -98,6 +102,17 @@ Yes, you can do it. Copy template from "/plublic/templates" the plugin's folder == Changelog == += 1.1.11 - 04 August, 2023 = + +- Added: Option to enable compare product button for logged in user. +- Added: Options to enable compare product button on product single page. +- Added: Option to enable product button on products loop. +- Added: Shortcode, `[addonify_compare_button]`, for adding compare button. +- Updated: Plugin setting page link moved before the 'Deactivate' link in plugins list page. +- Updated: Compare dock is now visible only if there is compare button on a page. +- Tested: Up to WooCommerce version 8.0.3. +- Tested: WordPress version 6.3.1. + = 1.1.10 - 20 June, 2023 = - Fix: Translation issue. String "N/A" is now translation ready. #181 @@ -168,20 +183,20 @@ Yes, you can do it. Copy template from "/plublic/templates" the plugin's folder - Tested: with WordPress version 6.0.2. -== 1.0.3 - 7 August 2022 == += 1.0.3 - 7 August 2022 = - Updated: Removed button from button.addonify-cp-button in custom.js -== 1.0.2 - 29 July 2022 == += 1.0.2 - 29 July 2022 = - Updated: Readme.txt file. - Fixed: Author URL. -== 1.0.1 - 29 July 2022 == += 1.0.1 - 29 July 2022 = - Added: wordpress.org graphics. - Fixed: Typo in vue js files. -== 1.0.0 - 28 July 2022 == += 1.0.0 - 28 July 2022 = - New: Initial release \ No newline at end of file diff --git a/addonify-compare-products.php b/addonify-compare-products.php index a2fe132..cc5a9c5 100644 --- a/addonify-compare-products.php +++ b/addonify-compare-products.php @@ -10,7 +10,7 @@ * Plugin Name: Addonify - Compare Products For WooCommerce * Plugin URI: https://wordpress.org/plugins/addonify-compare-products/ * Description: Addonify Compare Products is a WooCommerce extension that allows website visitors to compare multiple products on your online store. - * Version: 1.1.10 + * Version: 1.1.11 * Author: Addonify * Author URI: https://addonify.com/ * License: GPL-2.0+ @@ -24,7 +24,8 @@ die; } -define( 'ADDONIFY_COMPARE_PRODUCTS_VERSION', '1.1.10' ); +define( 'ADDONIFY_COMPARE_PRODUCTS_VERSION', '1.1.11' ); +define( 'ADDONIFY_COMPARE_PRODUCTS_BASENAME', plugin_basename( __FILE__ ) ); define( 'ADDONIFY_CP_DB_INITIALS', 'addonify_cp_' ); define( 'ADDONIFY_CP_PLUGIN_PATH', dirname( __FILE__ ) ); @@ -64,8 +65,21 @@ function deactivate_addonify_compare_products() { */ function run_addonify_compare_products() { - $plugin = new Addonify_Compare_Products(); - $plugin->run(); + if ( class_exists( 'WooCommerce' ) ) { + $plugin = new Addonify_Compare_Products(); + $plugin->run(); + } else { + add_action( + 'admin_notices', + function() { + ?> +
+

+
+ {n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-checkbox-group{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:20px;justify-content:flex-start}.adfy-checkbox-group .input-checkbox{align-items:center;display:inline-flex;flex-direction:row;flex-wrap:wrap}.adfy-checkbox-group .input-checkbox input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;background:none;border:2px solid var(--addonify_border_color);border-radius:2px!important;box-shadow:none!important;clear:none;cursor:pointer;display:inline-block!important;height:21px!important;line-height:0!important;margin:0 3px 0 0!important;min-width:21px!important;opacity:1!important;outline:0!important;padding:0!important;position:relative;text-align:center;transition:all .5s ease;vertical-align:text-top;width:21px!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:hover{background-color:transparent;border-color:var(--addonify_primary_color);box-shadow:none;opacity:1}.adfy-checkbox-group .input-checkbox input[type=checkbox]:focus{box-shadow:none}.adfy-checkbox-group .input-checkbox input[type=checkbox]:before{content:\"\";display:none}.adfy-checkbox-group .input-checkbox input[type=checkbox]:after{background-color:transparent!important;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='m10 15.172 9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E\")!important;background-position:50%;background-repeat:no-repeat;background-size:18px;border:none!important;border-radius:0!important;content:\"\";height:18px!important;left:0!important;margin:0!important;opacity:0!important;overflow:hidden!important;padding:0!important;position:absolute!important;top:0!important;transition:all .26s cubic-bezier(.25,.8,.25,1);width:18px!important;z-index:2!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked{background-color:var(--addonify_primary_color);border-color:var(--addonify_primary_color);box-shadow:none!important;opacity:1!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked:before{content:\"\";display:none!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked:after{content:\"\";opacity:1!important}.adfy-checkbox-group .input-checkbox label{margin-left:3px}",""]);const a=r},8233:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,'.unsupported-control-text{font-size:14px}.adfy-button.fake-button.forward-to-doc-link{fill:var(--addonify_primary_color);color:var(--addonify_primary_color);font-size:14px}.adfy-button.fake-button.forward-to-doc-link:after,.adfy-button.fake-button.forward-to-doc-link:before{bottom:-5px;content:"";height:2px}.adfy-button.fake-button.forward-to-doc-link:after{background-color:var(--addonify_primary_color);content:""}.adfy-button.fake-button.forward-to-doc-link:hover{fill:var(--addonify_base_text_color);color:var(--addonify_base_text_color)}.adfy-button.fake-button.forward-to-doc-link:hover:after,.adfy-button.fake-button.forward-to-doc-link:hover:before{background-color:var(--addonify_base_text_color);content:""}',""]);const a=r},5823:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-input-number--large{width:140px}",""]);const a=r},9033:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".radio-input-group.svg-icons-choices .adfy-radio-input{align-items:center;display:flex;flex-direction:row;gap:20px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio{align-items:center;border:1px solid var(--addonify_border_color);border-radius:4px;display:inline-flex;margin:0;padding:20px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio svg{fill:#444;height:16px;line-height:1;width:16px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio.is-checked{border-color:#468cff}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio.is-checked svg{fill:#468cff}",""]);const a=r},3517:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-color-picker__color,.adfy-options .el-color-picker__color-inner,.adfy-options .el-color-picker__trigger{border:none;border-radius:100%}.adfy-options .el-color-picker__trigger{border:2px solid #fff;box-shadow:0 5px 10px rgba(0,0,0,.1);height:42px;padding:3px;width:42px}.adfy-options .el-color-picker .el-color-picker__icon{color:#fff;font-size:16px;line-height:1}.adfy-options .el-color-picker .el-color-picker__empty{color:red;font-size:20px;line-height:1}",""]);const a=r},5644:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".wp-admin .el-select-dropdown__item.selected{font-weight:400}",""]);const a=r},9603:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-textarea__inner{display:block;font-family:monospace;min-height:200px;padding:15px;width:100%}",""]);const a=r},9031:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,"#recommended-hot-products .el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#e1e1e1 25%,#d8d8d8 37%,#c7c7c7 63%);background-size:400% 100%}",""]);const a=r},7218:()=>{},1632:(e,t,n)=>{var o=n(4865),r=n(9876),a=n(9489);n(5190);function i(e){return i="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},i(e)}var c={},l=wp.apiFetch,u=wp.i18n.__,s=lodash,d=s.isEqual,p=s.cloneDeep,f=ADDONIFY_COMPARE_PRODUCTS_LOCOLIZER.rest_namespace,m=(0,r.Q_)({id:"Options",state:function(){return{data:{},options:{},message:"",isLoading:!0,isSaving:!1,errors:""}},getters:{needSave:function(e){return!d(e.options,c)},haveStateInMemory:function(e){return"array"==typeof e.options?0!==e.options.length:"object"===i(e.options)?0!==Object.keys(e.options).length:void 0}},actions:{fetchOptions:function(){var e=this;l({path:f+"/get_options",method:"GET"}).then((function(t){var n=t.settings_values;e.data=t.tabs,e.options=n,c=p(n)})).catch((function(e){console.log(e),a.z8.error({message:u("Something went wrong while fetching settings.","addonify-compare-products"),offset:50,duration:1e4})})).finally((function(){e.isLoading=!1}))},handleUpdateOptions:function(){var e={},t=this.options;Object.keys(t).map((function(n){d(t[n],c[n])||(e[n]=t[n])})),this.updateOptions(e)},updateOptions:function(e){var t=this;this.isSaving=!0,l({path:f+"/update_options",method:"POST",data:{settings_values:e}}).then((function(e){t.isSaving=!1,t.message=e.message,!0===e.success?a.z8.success({message:t.message,offset:50,duration:3e3}):a.z8.error({message:t.message,offset:50,duration:3e3});var n=p(t.options);t.options={},t.options=p(n),c=p(t.options)})).catch((function(e){console.log(e),a.z8.error({message:u("Something went wrong while updating settings.","addonify-compare-products"),offset:50,duration:5e3})}))}}}),h={class:"adfy-header"},y={class:"adfy-row"},v={class:"adfy-col start"},g={class:"branding"},k=(0,o.createElementVNode)("svg",{width:"205",height:"44",viewBox:"0 0 205 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"M62.1637 24.8555H60.1417C60.1048 24.5939 60.0294 24.3615 59.9155 24.1584C59.8016 23.9522 59.6554 23.7768 59.4769 23.6321C59.2984 23.4875 59.0922 23.3767 58.8583 23.2997C58.6275 23.2228 58.3767 23.1843 58.1058 23.1843C57.6165 23.1843 57.1902 23.3059 56.8271 23.549C56.4639 23.7891 56.1823 24.1399 55.9822 24.6016C55.7822 25.0601 55.6822 25.6172 55.6822 26.2727C55.6822 26.9467 55.7822 27.513 55.9822 27.9716C56.1854 28.4302 56.4685 28.7764 56.8317 29.0103C57.1948 29.2442 57.6149 29.3612 58.092 29.3612C58.3597 29.3612 58.6075 29.3258 58.8352 29.255C59.0661 29.1842 59.2707 29.0811 59.4492 28.9457C59.6277 28.8072 59.7755 28.6394 59.8924 28.4425C60.0124 28.2455 60.0955 28.0208 60.1417 27.7685L62.1637 27.7777C62.1114 28.2116 61.9806 28.6302 61.7713 29.0334C61.5651 29.4335 61.2866 29.792 60.9357 30.109C60.5879 30.4229 60.1725 30.6722 59.6893 30.8569C59.2092 31.0385 58.666 31.1293 58.0597 31.1293C57.2164 31.1293 56.4624 30.9384 55.7976 30.5568C55.1359 30.1752 54.6127 29.6228 54.228 28.8995C53.8464 28.1763 53.6555 27.3007 53.6555 26.2727C53.6555 25.2417 53.8494 24.3646 54.2372 23.6413C54.625 22.9181 55.1513 22.3672 55.8161 21.9886C56.4808 21.607 57.2287 21.4162 58.0597 21.4162C58.6075 21.4162 59.1153 21.4931 59.5831 21.647C60.054 21.8009 60.471 22.0256 60.8342 22.321C61.1973 22.6134 61.4928 22.9719 61.7205 23.3967C61.9513 23.8214 62.0991 24.3076 62.1637 24.8555ZM72.9353 26.2727C72.9353 27.3037 72.7399 28.1809 72.349 28.9041C71.9613 29.6274 71.4319 30.1798 70.761 30.5614C70.0931 30.94 69.3422 31.1293 68.5081 31.1293C67.6679 31.1293 66.9139 30.9384 66.2461 30.5568C65.5782 30.1752 65.0504 29.6228 64.6626 28.8995C64.2748 28.1763 64.0809 27.3007 64.0809 26.2727C64.0809 25.2417 64.2748 24.3646 64.6626 23.6413C65.0504 22.9181 65.5782 22.3672 66.2461 21.9886C66.9139 21.607 67.6679 21.4162 68.5081 21.4162C69.3422 21.4162 70.0931 21.607 70.761 21.9886C71.4319 22.3672 71.9613 22.9181 72.349 23.6413C72.7399 24.3646 72.9353 25.2417 72.9353 26.2727ZM70.9087 26.2727C70.9087 25.6049 70.8087 25.0417 70.6086 24.5831C70.4117 24.1245 70.1331 23.7768 69.773 23.5398C69.413 23.3028 68.9913 23.1843 68.5081 23.1843C68.0249 23.1843 67.6033 23.3028 67.2432 23.5398C66.8831 23.7768 66.6031 24.1245 66.403 24.5831C66.206 25.0417 66.1076 25.6049 66.1076 26.2727C66.1076 26.9406 66.206 27.5038 66.403 27.9624C66.6031 28.4209 66.8831 28.7687 67.2432 29.0057C67.6033 29.2427 68.0249 29.3612 68.5081 29.3612C68.9913 29.3612 69.413 29.2427 69.773 29.0057C70.1331 28.7687 70.4117 28.4209 70.6086 27.9624C70.8087 27.5038 70.9087 26.9406 70.9087 26.2727ZM75.0661 21.5455H77.5313L80.135 27.8977H80.2458L82.8494 21.5455H85.3146V31H83.3757V24.8462H83.2972L80.8505 30.9538H79.5302L77.0835 24.8232H77.005V31H75.0661V21.5455ZM87.6116 31V21.5455H91.3417C92.0588 21.5455 92.6697 21.6824 93.1744 21.9563C93.6792 22.2272 94.0639 22.6042 94.3286 23.0874C94.5963 23.5675 94.7302 24.1214 94.7302 24.7493C94.7302 25.3771 94.5948 25.9311 94.3239 26.4112C94.0531 26.8913 93.6607 27.2653 93.1467 27.533C92.6358 27.8008 92.0172 27.9347 91.2909 27.9347H88.9134V26.3327H90.9678C91.3525 26.3327 91.6695 26.2666 91.9188 26.1342C92.1711 25.9988 92.3589 25.8126 92.482 25.5756C92.6081 25.3356 92.6712 25.0601 92.6712 24.7493C92.6712 24.4354 92.6081 24.1615 92.482 23.9276C92.3589 23.6906 92.1711 23.5075 91.9188 23.3782C91.6664 23.2459 91.3463 23.1797 90.9585 23.1797H89.6105V31H87.6116ZM97.2164 31H95.0743L98.3382 21.5455H100.914L104.173 31H102.031L99.6631 23.706H99.5893L97.2164 31ZM97.0825 27.2837H102.142V28.8441H97.0825V27.2837ZM105.961 31V21.5455H109.691C110.406 21.5455 111.015 21.6732 111.52 21.9286C112.027 22.181 112.414 22.5395 112.678 23.0043C112.946 23.4659 113.08 24.0091 113.08 24.6339C113.08 25.2617 112.945 25.8018 112.674 26.2543C112.403 26.7036 112.011 27.0483 111.497 27.2884C110.986 27.5284 110.367 27.6484 109.641 27.6484H107.143V26.0419H109.318C109.699 26.0419 110.016 25.9896 110.269 25.8849C110.521 25.7803 110.709 25.6233 110.832 25.4141C110.958 25.2048 111.021 24.9447 111.021 24.6339C111.021 24.32 110.958 24.0553 110.832 23.8398C110.709 23.6244 110.519 23.4613 110.264 23.3505C110.012 23.2366 109.693 23.1797 109.308 23.1797H107.96V31H105.961ZM111.067 26.6974L113.417 31H111.21L108.911 26.6974H111.067ZM115.143 31V21.5455H121.513V23.1935H117.142V25.4464H121.186V27.0945H117.142V29.3519H121.532V31H115.143ZM127.411 31V21.5455H131.141C131.859 21.5455 132.469 21.6824 132.974 21.9563C133.479 22.2272 133.864 22.6042 134.128 23.0874C134.396 23.5675 134.53 24.1214 134.53 24.7493C134.53 25.3771 134.395 25.9311 134.124 26.4112C133.853 26.8913 133.461 27.2653 132.947 27.533C132.436 27.8008 131.817 27.9347 131.091 27.9347H128.713V26.3327H130.768C131.152 26.3327 131.469 26.2666 131.719 26.1342C131.971 25.9988 132.159 25.8126 132.282 25.5756C132.408 25.3356 132.471 25.0601 132.471 24.7493C132.471 24.4354 132.408 24.1615 132.282 23.9276C132.159 23.6906 131.971 23.5075 131.719 23.3782C131.466 23.2459 131.146 23.1797 130.758 23.1797H129.41V31H127.411ZM136.478 31V21.5455H140.208C140.923 21.5455 141.532 21.6732 142.037 21.9286C142.544 22.181 142.931 22.5395 143.195 23.0043C143.463 23.4659 143.597 24.0091 143.597 24.6339C143.597 25.2617 143.462 25.8018 143.191 26.2543C142.92 26.7036 142.527 27.0483 142.014 27.2884C141.503 27.5284 140.884 27.6484 140.158 27.6484H137.66V26.0419H139.835C140.216 26.0419 140.533 25.9896 140.786 25.8849C141.038 25.7803 141.226 25.6233 141.349 25.4141C141.475 25.2048 141.538 24.9447 141.538 24.6339C141.538 24.32 141.475 24.0553 141.349 23.8398C141.226 23.6244 141.036 23.4613 140.781 23.3505C140.529 23.2366 140.21 23.1797 139.825 23.1797H138.477V31H136.478ZM141.584 26.6974L143.934 31H141.727L139.428 26.6974H141.584ZM154.348 26.2727C154.348 27.3037 154.152 28.1809 153.762 28.9041C153.374 29.6274 152.844 30.1798 152.173 30.5614C151.506 30.94 150.755 31.1293 149.921 31.1293C149.08 31.1293 148.326 30.9384 147.659 30.5568C146.991 30.1752 146.463 29.6228 146.075 28.8995C145.687 28.1763 145.493 27.3007 145.493 26.2727C145.493 25.2417 145.687 24.3646 146.075 23.6413C146.463 22.9181 146.991 22.3672 147.659 21.9886C148.326 21.607 149.08 21.4162 149.921 21.4162C150.755 21.4162 151.506 21.607 152.173 21.9886C152.844 22.3672 153.374 22.9181 153.762 23.6413C154.152 24.3646 154.348 25.2417 154.348 26.2727ZM152.321 26.2727C152.321 25.6049 152.221 25.0417 152.021 24.5831C151.824 24.1245 151.546 23.7768 151.186 23.5398C150.825 23.3028 150.404 23.1843 149.921 23.1843C149.437 23.1843 149.016 23.3028 148.656 23.5398C148.296 23.7768 148.016 24.1245 147.816 24.5831C147.619 25.0417 147.52 25.6049 147.52 26.2727C147.52 26.9406 147.619 27.5038 147.816 27.9624C148.016 28.4209 148.296 28.7687 148.656 29.0057C149.016 29.2427 149.437 29.3612 149.921 29.3612C150.404 29.3612 150.825 29.2427 151.186 29.0057C151.546 28.7687 151.824 28.4209 152.021 27.9624C152.221 27.5038 152.321 26.9406 152.321 26.2727ZM159.83 31H156.479V21.5455H159.858C160.809 21.5455 161.627 21.7347 162.314 22.1133C163 22.4888 163.528 23.0289 163.897 23.7337C164.27 24.4384 164.456 25.2817 164.456 26.2635C164.456 27.2483 164.27 28.0947 163.897 28.8026C163.528 29.5104 162.997 30.0536 162.305 30.4322C161.615 30.8107 160.79 31 159.83 31ZM158.478 29.2873H159.747C160.338 29.2873 160.835 29.1826 161.238 28.9734C161.644 28.761 161.949 28.4332 162.152 27.9901C162.358 27.5438 162.462 26.9683 162.462 26.2635C162.462 25.5649 162.358 24.994 162.152 24.5508C161.949 24.1076 161.646 23.7814 161.243 23.5721C160.84 23.3628 160.343 23.2582 159.752 23.2582H158.478V29.2873ZM172.426 21.5455H174.425V27.6854C174.425 28.3748 174.261 28.978 173.931 29.495C173.605 30.0121 173.148 30.4152 172.56 30.7045C171.972 30.9908 171.288 31.1339 170.506 31.1339C169.721 31.1339 169.035 30.9908 168.447 30.7045C167.859 30.4152 167.402 30.0121 167.076 29.495C166.75 28.978 166.587 28.3748 166.587 27.6854V21.5455H168.586V27.5146C168.586 27.8746 168.664 28.1947 168.821 28.4748C168.981 28.7549 169.206 28.9749 169.495 29.1349C169.784 29.295 170.121 29.375 170.506 29.375C170.894 29.375 171.231 29.295 171.517 29.1349C171.806 28.9749 172.029 28.7549 172.186 28.4748C172.346 28.1947 172.426 27.8746 172.426 27.5146V21.5455ZM185.062 24.8555H183.04C183.003 24.5939 182.928 24.3615 182.814 24.1584C182.7 23.9522 182.554 23.7768 182.375 23.6321C182.197 23.4875 181.99 23.3767 181.757 23.2997C181.526 23.2228 181.275 23.1843 181.004 23.1843C180.515 23.1843 180.088 23.3059 179.725 23.549C179.362 23.7891 179.081 24.1399 178.88 24.6016C178.68 25.0601 178.58 25.6172 178.58 26.2727C178.58 26.9467 178.68 27.513 178.88 27.9716C179.084 28.4302 179.367 28.7764 179.73 29.0103C180.093 29.2442 180.513 29.3612 180.99 29.3612C181.258 29.3612 181.506 29.3258 181.733 29.255C181.964 29.1842 182.169 29.0811 182.347 28.9457C182.526 28.8072 182.674 28.6394 182.791 28.4425C182.911 28.2455 182.994 28.0208 183.04 27.7685L185.062 27.7777C185.01 28.2116 184.879 28.6302 184.67 29.0334C184.463 29.4335 184.185 29.792 183.834 30.109C183.486 30.4229 183.071 30.6722 182.588 30.8569C182.107 31.0385 181.564 31.1293 180.958 31.1293C180.115 31.1293 179.361 30.9384 178.696 30.5568C178.034 30.1752 177.511 29.6228 177.126 28.8995C176.745 28.1763 176.554 27.3007 176.554 26.2727C176.554 25.2417 176.748 24.3646 177.135 23.6413C177.523 22.9181 178.05 22.3672 178.714 21.9886C179.379 21.607 180.127 21.4162 180.958 21.4162C181.506 21.4162 182.014 21.4931 182.481 21.647C182.952 21.8009 183.369 22.0256 183.732 22.321C184.096 22.6134 184.391 22.9719 184.619 23.3967C184.85 23.8214 184.997 24.3076 185.062 24.8555ZM186.785 23.1935V21.5455H194.55V23.1935H191.656V31H189.68V23.1935H186.785ZM201.608 24.2646C201.571 23.8922 201.412 23.6029 201.132 23.3967C200.852 23.1905 200.472 23.0874 199.992 23.0874C199.666 23.0874 199.39 23.1335 199.166 23.2259C198.941 23.3151 198.769 23.4397 198.649 23.5998C198.532 23.7598 198.473 23.9414 198.473 24.1445C198.467 24.3138 198.503 24.4615 198.579 24.5877C198.659 24.7139 198.769 24.8232 198.907 24.9155C199.046 25.0047 199.206 25.0832 199.387 25.1509C199.569 25.2156 199.763 25.271 199.969 25.3171L200.818 25.5202C201.231 25.6126 201.609 25.7357 201.954 25.8896C202.299 26.0434 202.597 26.2327 202.85 26.4574C203.102 26.6821 203.297 26.9467 203.436 27.2514C203.578 27.5561 203.65 27.9054 203.653 28.2994C203.65 28.878 203.502 29.3796 203.21 29.8043C202.92 30.226 202.502 30.5537 201.954 30.7876C201.409 31.0185 200.752 31.1339 199.983 31.1339C199.22 31.1339 198.555 31.0169 197.989 30.783C197.425 30.5491 196.985 30.2029 196.668 29.7443C196.354 29.2827 196.19 28.7118 196.174 28.0316H198.109C198.13 28.3486 198.221 28.6133 198.381 28.8256C198.544 29.0349 198.761 29.1934 199.032 29.3011C199.306 29.4058 199.615 29.4581 199.96 29.4581C200.298 29.4581 200.592 29.4089 200.842 29.3104C201.094 29.2119 201.289 29.0749 201.428 28.8995C201.566 28.7241 201.636 28.5225 201.636 28.2947C201.636 28.0824 201.572 27.9039 201.446 27.7592C201.323 27.6146 201.142 27.4915 200.902 27.3899C200.665 27.2884 200.374 27.196 200.029 27.1129L199 26.8544C198.202 26.6605 197.573 26.3574 197.111 25.945C196.65 25.5326 196.42 24.977 196.424 24.2784C196.42 23.706 196.573 23.2058 196.881 22.7781C197.191 22.3503 197.618 22.0163 198.159 21.7763C198.701 21.5362 199.317 21.4162 200.006 21.4162C200.708 21.4162 201.32 21.5362 201.843 21.7763C202.37 22.0163 202.779 22.3503 203.071 22.7781C203.364 23.2058 203.514 23.7013 203.524 24.2646H201.608Z",fill:"#2D2D2D"}),(0,o.createElementVNode)("path",{d:"M58.335 16.174H54.837L54.166 18H53.352L56.157 10.41H57.026L59.82 18H59.006L58.335 16.174ZM58.104 15.536L56.586 11.378L55.068 15.536H58.104ZM65.4228 10.311C66.2734 10.311 67.0031 10.465 67.6118 10.773C68.2204 11.081 68.6861 11.5247 69.0088 12.104C69.3314 12.6833 69.4928 13.3727 69.4928 14.172C69.4928 14.964 69.3314 15.6497 69.0088 16.229C68.6861 16.801 68.2204 17.241 67.6118 17.549C67.0031 17.8497 66.2734 18 65.4228 18H63.1458V10.311H65.4228ZM65.4228 17.362C66.4934 17.362 67.3074 17.0833 67.8648 16.526C68.4294 15.9613 68.7118 15.1767 68.7118 14.172C68.7118 13.16 68.4294 12.3717 67.8648 11.807C67.3074 11.235 66.4934 10.949 65.4228 10.949H63.9158V17.362H65.4228ZM75.2794 10.311C76.13 10.311 76.8597 10.465 77.4684 10.773C78.077 11.081 78.5427 11.5247 78.8654 12.104C79.188 12.6833 79.3494 13.3727 79.3494 14.172C79.3494 14.964 79.188 15.6497 78.8654 16.229C78.5427 16.801 78.077 17.241 77.4684 17.549C76.8597 17.8497 76.13 18 75.2794 18H73.0024V10.311H75.2794ZM75.2794 17.362C76.35 17.362 77.1641 17.0833 77.7214 16.526C78.286 15.9613 78.5684 15.1767 78.5684 14.172C78.5684 13.16 78.286 12.3717 77.7214 11.807C77.1641 11.235 76.35 10.949 75.2794 10.949H73.7724V17.362H75.2794ZM86.313 18.077C85.6017 18.077 84.9563 17.912 84.377 17.582C83.7977 17.2447 83.3393 16.779 83.002 16.185C82.672 15.5837 82.507 14.9053 82.507 14.15C82.507 13.3947 82.672 12.72 83.002 12.126C83.3393 11.5247 83.7977 11.059 84.377 10.729C84.9563 10.3917 85.6017 10.223 86.313 10.223C87.0317 10.223 87.6807 10.3917 88.26 10.729C88.8393 11.059 89.294 11.5247 89.624 12.126C89.954 12.72 90.119 13.3947 90.119 14.15C90.119 14.9053 89.954 15.5837 89.624 16.185C89.294 16.779 88.8393 17.2447 88.26 17.582C87.6807 17.912 87.0317 18.077 86.313 18.077ZM86.313 17.406C86.885 17.406 87.3983 17.274 87.853 17.01C88.3077 16.746 88.667 16.3683 88.931 15.877C89.195 15.3783 89.327 14.8027 89.327 14.15C89.327 13.4973 89.195 12.9253 88.931 12.434C88.667 11.9427 88.3077 11.565 87.853 11.301C87.3983 11.037 86.885 10.905 86.313 10.905C85.741 10.905 85.2277 11.037 84.773 11.301C84.3183 11.565 83.959 11.9427 83.695 12.434C83.431 12.9253 83.299 13.4973 83.299 14.15C83.299 14.8027 83.431 15.3783 83.695 15.877C83.959 16.3683 84.3183 16.746 84.773 17.01C85.2277 17.274 85.741 17.406 86.313 17.406ZM99.4149 18H98.6449L94.3879 11.532V18H93.6179V10.311H94.3879L98.6449 16.768V10.311H99.4149V18ZM104.019 10.311V18H103.249V10.311H104.019ZM112.011 10.311V10.949H108.623V13.82H111.483V14.458H108.623V18H107.853V10.311H112.011ZM120.449 10.311L117.985 15.008V18H117.215V15.008L114.729 10.311H115.598L117.6 14.304L119.591 10.311H120.449Z",fill:"#313131"}),(0,o.createElementVNode)("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H41C42.6569 0 44 1.34315 44 3V29C44 37.2843 37.2843 44 29 44H3C1.34315 44 0 42.6569 0 41V3Z",fill:"#00B16E"}),(0,o.createElementVNode)("g",{"clip-path":"url(#clip0_104_2)"},[(0,o.createElementVNode)("path",{d:"M31.167 25.3333H14.2345L14.2462 25.3208L16.1162 23.4167C16.198 23.3398 16.2634 23.2472 16.3086 23.1444C16.3537 23.0416 16.3776 22.9308 16.3789 22.8185C16.3801 22.7062 16.3586 22.5949 16.3158 22.4911C16.2729 22.3874 16.2095 22.2933 16.1294 22.2147C16.0493 22.136 15.9541 22.0744 15.8496 22.0334C15.745 21.9925 15.6333 21.9731 15.5211 21.9764C15.4089 21.9797 15.2985 22.0056 15.1965 22.0526C15.0946 22.0996 15.0032 22.1668 14.9278 22.25L13.062 24.1475C12.9262 24.2833 12.7362 24.4917 12.542 24.7108C12.1933 25.1051 12.0009 25.6133 12.0009 26.1396C12.0009 26.6659 12.1933 27.1741 12.542 27.5683C12.7362 27.7867 12.9262 27.995 13.057 28.1267L14.9278 30.03C15.0847 30.1774 15.2924 30.2583 15.5076 30.2559C15.7228 30.2536 15.9287 30.1681 16.0822 30.0173C16.2358 29.8666 16.3251 29.6623 16.3314 29.4472C16.3377 29.2321 16.2606 29.0229 16.1162 28.8633L14.287 27H31.167C31.388 27 31.6 26.9122 31.7563 26.7559C31.9125 26.5997 32.0003 26.3877 32.0003 26.1667C32.0003 25.9457 31.9125 25.7337 31.7563 25.5774C31.6 25.4211 31.388 25.3333 31.167 25.3333Z",fill:"white"}),(0,o.createElementVNode)("path",{d:"M12.8333 18.6667H29.7125L27.8842 20.5275C27.8023 20.6044 27.7369 20.697 27.6918 20.7998C27.6466 20.9026 27.6227 21.0134 27.6215 21.1257C27.6202 21.238 27.6417 21.3493 27.6846 21.4531C27.7274 21.5568 27.7908 21.6509 27.8709 21.7295C27.9511 21.8082 28.0462 21.8698 28.1508 21.9108C28.2553 21.9517 28.367 21.9711 28.4793 21.9678C28.5915 21.9645 28.7019 21.9386 28.8038 21.8916C28.9058 21.8445 28.9971 21.7774 29.0725 21.6942L30.9383 19.795C31.0742 19.6592 31.2642 19.4508 31.4583 19.2325C31.807 18.8382 31.9995 18.3301 31.9995 17.8038C31.9995 17.2774 31.807 16.7693 31.4583 16.375C31.2642 16.1558 31.0742 15.9475 30.9433 15.8167L29.0725 13.9167C28.9157 13.7693 28.7079 13.6884 28.4927 13.6907C28.2776 13.6931 28.0717 13.7786 27.9181 13.9294C27.7645 14.0801 27.6753 14.2844 27.6689 14.4995C27.6626 14.7146 27.7397 14.9238 27.8842 15.0833L29.76 16.9917L29.7667 17H12.8333C12.6123 17 12.4004 17.0878 12.2441 17.2441C12.0878 17.4004 12 17.6123 12 17.8333C12 18.0544 12.0878 18.2663 12.2441 18.4226C12.4004 18.5789 12.6123 18.6667 12.8333 18.6667V18.6667Z",fill:"white"})]),(0,o.createElementVNode)("defs",null,[(0,o.createElementVNode)("clipPath",{id:"clip0_104_2"},[(0,o.createElementVNode)("rect",{width:"20",height:"20",fill:"white",transform:"translate(12 12)"})])])],-1),C={class:"adfy-col end"},b={class:"buttons"},V={href:"https://docs.addonify.com/kb/woocommerce-compare-products/",class:"adfy-button fake-button has-underline",target:"_blank"},w=["disabled","loading"],x=(0,o.createElementVNode)("span",{class:"loading-icon"},[(0,o.createElementVNode)("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})])],-1);const _={__name:"Header",setup:function(e){var t=wp.i18n.__,n=m();return function(e,r){var a=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("header",h,[(0,o.createElementVNode)("div",y,[(0,o.createElementVNode)("div",v,[(0,o.createElementVNode)("div",g,[(0,o.createVNode)(a,{class:"adfy-link",to:"/"},{default:(0,o.withCtx)((function(){return[k]})),_:1})])]),(0,o.createElementVNode)("div",C,[(0,o.createElementVNode)("div",b,[(0,o.createElementVNode)("a",V,(0,o.toDisplayString)((0,o.unref)(t)("Documentation","addonify-compare-products")),1),(0,o.createElementVNode)("button",{type:"submit",onClick:r[0]||(r[0]=function(e){return(0,o.unref)(n).handleUpdateOptions()}),class:"adfy-button",disabled:!(0,o.unref)(n).needSave,loading:(0,o.unref)(n).isSaving},[x,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Save Options","addonify-compare-products")),1)],8,w)])])])])}}},E=_;var S={class:"adfy-colopon"},B={class:"adfy-row"},N={class:"adfy-col left"},L={class:"text"},H={class:"version"},O={class:"adfy-col right"},P={class:"text"},A={href:"https://wordpress.org/plugins/addonify-compare-products/#reviews",class:"adfy-link",target:"_blank"},M=(0,o.createStaticVNode)('',1);const z={__name:"Footer",setup:function(e){var t=wp.i18n.__,n=ADDONIFY_COMPARE_PRODUCTS_LOCOLIZER.version_number,r=(new Date).getFullYear();return function(e,a){return(0,o.openBlock)(),(0,o.createElementBlock)("footer",S,[(0,o.createElementVNode)("div",B,[(0,o.createElementVNode)("div",N,[(0,o.createElementVNode)("p",L,[(0,o.createTextVNode)(" © 2020 - "+(0,o.toDisplayString)((0,o.unref)(r))+" Addonify Products Compare ",1),(0,o.createElementVNode)("span",H,(0,o.toDisplayString)((0,o.unref)(t)("Version","addonify-compare-products"))+": "+(0,o.toDisplayString)((0,o.unref)(n)),1)])]),(0,o.createElementVNode)("div",O,[(0,o.createElementVNode)("p",P,[(0,o.createElementVNode)("a",A,[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(t)("Rate","addonify-compare-products"))+" ",1),M,(0,o.createTextVNode)(" :) ")])])])])])}}},j=z,Z={__name:"App",setup:function(e){return function(e,t){var n=(0,o.resolveComponent)("router-view");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)(E),(0,o.createVNode)(n),(0,o.createVNode)(j)],64)}}};var T=n(2201),D={class:"adfy-loading"},F=[(0,o.createElementVNode)("span",{class:"pulse"},null,-1)];const I={},K=(0,n(3744).Z)(I,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("section",D,F)}]]);var U={class:"adfy-navigation"},R={class:"navigation"},G=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M2.132 13.63a9.942 9.942 0 0 1 0-3.26c1.102.026 2.092-.502 2.477-1.431.385-.93.058-2.004-.74-2.763a9.942 9.942 0 0 1 2.306-2.307c.76.798 1.834 1.125 2.764.74.93-.385 1.457-1.376 1.43-2.477a9.942 9.942 0 0 1 3.262 0c-.027 1.102.501 2.092 1.43 2.477.93.385 2.004.058 2.763-.74a9.942 9.942 0 0 1 2.307 2.306c-.798.76-1.125 1.834-.74 2.764.385.93 1.376 1.457 2.477 1.43a9.942 9.942 0 0 1 0 3.262c-1.102-.027-2.092.501-2.477 1.43-.385.93-.058 2.004.74 2.763a9.942 9.942 0 0 1-2.306 2.307c-.76-.798-1.834-1.125-2.764-.74-.93.385-1.457 1.376-1.43 2.477a9.942 9.942 0 0 1-3.262 0c.027-1.102-.501-2.092-1.43-2.477-.93-.385-2.004-.058-2.763.74a9.942 9.942 0 0 1-2.307-2.306c.798-.76 1.125-1.834.74-2.764-.385-.93-1.376-1.457-2.477-1.43zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"})])],-1),q=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm2 9h6a1 1 0 0 1 1 1v3h1v6h-4v-6h1v-2H5a1 1 0 0 1-1-1v-2h2v1zm11.732 1.732l1.768-1.768 1.768 1.768a2.5 2.5 0 1 1-3.536 0z"})])],-1),Y=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M13 16.938V19h5v2H6v-2h5v-2.062A8.001 8.001 0 0 1 4 9V3h16v6a8.001 8.001 0 0 1-7 7.938zM1 5h2v4H1V5zm20 0h2v4h-2V5z"})])],-1);const $={__name:"Navigation",setup:function(e){var t=wp.i18n.__;return function(e,n){var r=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("nav",U,[(0,o.createElementVNode)("ul",R,[(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/"},{default:(0,o.withCtx)((function(){return[G,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Settings","addonify-compare-products")),1)]})),_:1})]),(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/styles"},{default:(0,o.withCtx)((function(){return[q,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Design","addonify-compare-products")),1)]})),_:1})]),(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/products"},{default:(0,o.withCtx)((function(){return[Y,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Products","addonify-compare-products")),1)]})),_:1})])])])}}},J=$;var Q=["id"];const W={__name:"Form",props:{divId:String,className:String},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("form",{id:t.divId,class:(0,o.normalizeClass)(["adfy-form",t.className]),onSubmit:n[0]||(n[0]=(0,o.withModifiers)((function(){}),["prevent"]))},[(0,o.renderSlot)(e.$slots,"default")],42,Q)}}},X={__name:"SectionTitle",props:{section:Object,sectionkey:String,currentPage:String},setup:function(e){var t=e,n=m();return function(e,r){return t.section.title?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("h3",{key:0,class:"option-box-title"},(0,o.toDisplayString)(t.section.title),513)),[[o.vShow,(a=t.currentPage,"design"===a||"settings"===a&&(!!t.sectionkey.includes("general")||n.options.enable_product_comparison))]]):(0,o.createCommentVNode)("",!0);var a}}};var ee=n(5381),te=(n(3811),n(5781));const ne={__name:"Switch",props:{modelValue:[Boolean,Number,String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(ee.OX),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large","inline-prompt":"","active-icon":(0,o.unref)(te.JrY),"inactive-icon":(0,o.unref)(te.x8P)},null,8,["modelValue","active-icon","inactive-icon"])}}};var oe=n(8280);n(3047);const re={__name:"Text",props:{modelValue:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=wp.i18n.__,i=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(oe.EZ),{modelValue:(0,o.unref)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(i)?i.value=e:null}),placeholder:r.placeholder?r.placeholder:(0,o.unref)(a)("Enter text here...","addonify-compare-products"),size:"large"},null,8,["modelValue","placeholder"])}}},ae=re,ie={__name:"Textarea",props:{modelValue:String,className:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=wp.i18n.__,i=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(t,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(oe.EZ),{modelValue:(0,o.unref)(i),"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,o.isRef)(i)?i.value=e:null}),class:(0,o.normalizeClass)(e.className),type:"textarea",rows:"10",placeholder:r.placeholder?r.placeholder:(0,o.unref)(a)("Enter text here...","addonify-compare-products"),resize:"vertical","input-style":"display:block;width: 100%;"},null,8,["modelValue","class","placeholder"])}}};var ce=n(3379),le=n.n(ce),ue=n(9603),se={insert:"head",singleton:!1};le()(ue.Z,se);ue.Z.locals;const de=ie,pe={__name:"Number",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return parseInt(r.modelValue)},set:function(e){n("update:modelValue",e)}}),i=r.min,c=r.max;return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(oe.EZ),{type:"number",modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),min:(0,o.unref)(i)?(0,o.unref)(i):0,max:(0,o.unref)(c)},null,8,["modelValue","min","max"])}}};var fe=n(2331);n(3714),n(5312);const me={__name:"Select",props:{modelValue:{type:[Number,String,Array,Object],required:!0},choices:{type:[Object,Array],required:!1},placeholder:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue.toString()},set:function(e){n("update:modelValue",e)}}),i=(0,wp.i18n.__)("Select","addonify-compare-products");return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(fe.km),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large",filterable:"",placeholder:r.placeholder?r.placeholder:(0,o.unref)(i)},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(fe.BT),{label:e,value:t},null,8,["label","value"])})),256))]})),_:1},8,["modelValue","placeholder"])}}};var he=n(5644),ye={insert:"head",singleton:!1};le()(he.Z,ye);he.Z.locals;const ve=me;var ge={class:"icon"},ke={key:0,fill:"currentColor",viewBox:"0 0 16 16"},Ce=[(0,o.createElementVNode)("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"},null,-1)],be={key:1,fill:"currentColor",viewBox:"0 0 16 16"},Ve=[(0,o.createElementVNode)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z"},null,-1)],we={key:2,fill:"currentColor",viewBox:"0 0 16 16"},xe=[(0,o.createElementVNode)("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"},null,-1)],_e={key:3,fill:"currentColor",viewBox:"0 0 16 16"},Ee=[(0,o.createElementVNode)("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"},null,-1)],Se={key:4,fill:"currentColor",viewBox:"0 0 16 16"},Be=[(0,o.createElementVNode)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z"},null,-1)],Ne={class:"message"},Le={class:"content"};const He={__name:"Notice",props:{type:{type:String,required:!1,default:"info"},content:{type:String,required:!0}},setup:function(e){var t=e,n=t.type,r=t.content;return function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["adfy_alert",(0,o.unref)(n)])},[(0,o.createElementVNode)("div",ge,["success"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",ke,Ce)):"info"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",be,Ve)):"warning"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",we,xe)):"danger"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",_e,Ee)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",Se,Be))]),(0,o.createElementVNode)("div",Ne,[(0,o.createElementVNode)("p",Le,(0,o.toDisplayString)((0,o.unref)(r)),1)])],2)}}};var Oe={key:0,class:"adfy-checkbox-group"},Pe={class:"input-checkbox"},Ae=["id","value"],Me=["for"];const ze={__name:"Checkbox",props:{modelValue:{type:[String,Array,Object],required:!0},label:{type:String,required:!1},choices:{type:Object,required:!1},fallbackText:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=wp.i18n.__,c=r.fallbackText?r.fallbackText:i("No choices found.","addonify-compare-products");return function(e,t){return 0!==Object.keys(r.choices).length?((0,o.openBlock)(),(0,o.createElementBlock)("div",Oe,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("span",Pe,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",id:n,value:n,"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null})},null,8,Ae),[[o.vModelCheckbox,(0,o.unref)(a)]]),(0,o.createElementVNode)("label",{for:n},(0,o.toDisplayString)(e),9,Me)])})),256))])):((0,o.openBlock)(),(0,o.createBlock)(He,{key:1,type:"info",content:(0,o.unref)(c)},null,8,["content"]))}}};var je=n(4960),Ze={insert:"head",singleton:!1};le()(je.Z,Ze);je.Z.locals;const Te=ze;var De=n(669);n(6871),n(5874);const Fe={__name:"CheckboxButton",props:{modelValue:[Array],choices:Object},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(De.z5),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(De.lm),{label:t},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e),1)]})),_:2},1032,["label"])})),256))]})),_:1},8,["modelValue"])}}};var Ie=n(5143),Ke=(n(6218),n(2679),{key:0,class:"adfy-radio-input"}),Ue=["innerHTML"],Re={key:1,class:"adfy-radio-group"};const Ge={__name:"Radio",props:{modelValue:String,choices:[Object,Array],renderChoices:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=r.choices,c=r.renderChoices;return function(e,t){return"html"==(0,o.unref)(c)?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ke,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(i),(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(Ie.rh),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),label:n},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("span",{innerHTML:e},null,8,Ue)]})),_:2},1032,["modelValue","label"])})),256))])):((0,o.openBlock)(),(0,o.createElementBlock)("div",Re,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(i),(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(Ie.KD),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[1]||(t[1]=function(e){return(0,o.isRef)(a)?a.value=e:null})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)((0,o.unref)(Ie.rh),{label:n},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e),1)]})),_:2},1032,["label"])]})),_:2},1032,["modelValue"])})),256))]))}}};var qe=n(9033),Ye={insert:"head",singleton:!1};le()(qe.Z,Ye);qe.Z.locals;const $e=Ge;var Je=n(7182),Qe=(n(4382),{key:0,class:"label"});const We={__name:"ColorPicker",props:{colorVal:String,isAlphaPicker:[Boolean,String],label:String},emits:["update:colorVal"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.colorVal},set:function(e){n("update:colorVal",e)}}),i=function(e){n("update:colorVal",e)};return function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)((0,o.unref)(Je.$),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),"show-alpha":!r.isAlphaPicker||r.isAlphaPicker,onActiveChange:i},null,8,["modelValue","show-alpha"]),r.label?((0,o.openBlock)(),(0,o.createElementBlock)("span",Qe,(0,o.toDisplayString)(r.label),1)):(0,o.createCommentVNode)("",!0)],64)}}};var Xe=n(3517),et={insert:"head",singleton:!1};le()(Xe.Z,et);Xe.Z.locals;const tt=We;var nt={class:"unsupported-control-text"},ot={href:"https://docs.addonify.com/kb/woocommerce-compare-products/developer/",target:"_blank",rel:"documentation",class:"adfy-button fake-button has-underline forward-to-doc-link"};const rt={__name:"InvalidControl",setup:function(e){var t=wp.i18n.__;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("span",nt,[(0,o.createTextVNode)(" ❌ "+(0,o.toDisplayString)((0,o.unref)(t)("Input is not supported.","addonify-compare-products"))+" ",1),(0,o.createElementVNode)("a",ot,(0,o.toDisplayString)((0,o.unref)(t)("Check docs","addonify-compare-products")),1)])}}};var at=n(8233),it={insert:"head",singleton:!1};le()(at.Z,it);at.Z.locals;const ct=rt;var lt=n(3726);n(4443);const ut={__name:"NumberToggleButton",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return parseInt(r.modelValue)},set:function(e){n("update:modelValue",e)}}),i=r.min,c=r.max;return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(lt.d6),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large",min:(0,o.unref)(i)?(0,o.unref)(i):0,max:(0,o.unref)(c)?(0,o.unref)(c):365},null,8,["modelValue","min","max"])}}};var st=n(5823),dt={insert:"head",singleton:!1};le()(st.Z,dt);st.Z.locals;const pt=ut;var ft=n(9980),mt=n.n(ft),ht=["v-node"],yt={class:"adfy-draggable-box"},vt={class:"draggable-switch"},gt={class:"label-icon-box"},kt={class:"option-label"},Ct=(0,o.createElementVNode)("span",{class:"option-icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{d:"M7 20h2V8h3L8 4 4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})])],-1);const bt={__name:"Sortable",props:{modelValue:{type:[String,Array,Object],required:!0},fallbackText:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=wp.i18n.__,c=r.fallbackText?r.fallbackText:i("No choices found.","addonify-compare-products");return console.log(a),function(e,t){return 0!==(0,o.unref)(a).length?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"adfy-draggable-elements","v-node":(new Date).getTime()},[(0,o.createVNode)((0,o.unref)(mt()),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),animation:"400",easing:"ease-in-out","item-key":"id",direction:"vertical",onStart:t[1]||(t[1]=function(t){return e.drag=!0}),onEnd:t[2]||(t[2]=function(t){return e.drag=!1})},{item:(0,o.withCtx)((function(e){var t=e.element;return[((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"adfy-draggable-element",key:t.id},[(0,o.createElementVNode)("div",yt,[(0,o.createElementVNode)("div",vt,[(0,o.createVNode)((0,o.unref)(ee.OX),{modelValue:t.status,"onUpdate:modelValue":function(e){return t.status=e},size:"large","inline-prompt":"","active-icon":(0,o.unref)(te.JrY),"inactive-icon":(0,o.unref)(te.x8P)},null,8,["modelValue","onUpdate:modelValue","active-icon","inactive-icon"])]),(0,o.createElementVNode)("div",gt,[(0,o.createElementVNode)("p",kt,(0,o.toDisplayString)(t.name),1),Ct])])]))]})),_:1},8,["modelValue"])],8,ht)):((0,o.openBlock)(),(0,o.createBlock)(He,{key:1,content:(0,o.unref)(c),type:"info"},null,8,["content"]))}}},Vt=bt,wt={__name:"InputControl",props:{field:Object,fieldKey:String,label:String,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return"switch"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ne,{key:0,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["modelValue"])):"select"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ve,{key:1,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[1]||(n[1]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,placeholder:t.field.placeholder},null,8,["modelValue","choices","placeholder"])):"text"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ae,{key:2,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[2]||(n[2]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"textarea"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(de,{key:3,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[3]||(n[3]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"checkbox"==t.field.type&&"buttons"==t.field.typeStyle?((0,o.openBlock)(),(0,o.createBlock)(Fe,{key:4,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[4]||(n[4]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"checkbox"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(Te,{key:5,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[5]||(n[5]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,fallbackText:t.field.fallback_text},null,8,["modelValue","choices","fallbackText"])):"number"==t.field.type&&"toggle"==t.field.typeStyle?((0,o.openBlock)(),(0,o.createBlock)(pt,{key:6,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[6]||(n[6]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"number"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(pe,{key:7,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[7]||(n[7]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"radio"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)($e,{key:8,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[8]||(n[8]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,renderChoices:t.field.renderChoices},null,8,["modelValue","choices","renderChoices"])):"color"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(tt,{key:9,colorVal:t.reactiveState[t.fieldKey],"onUpdate:colorVal":n[9]||(n[9]=function(e){return t.reactiveState[t.fieldKey]=e}),isAlphaPicker:t.field.isAlphaPicker,label:t.field.label},null,8,["colorVal","isAlphaPicker","label"])):"sortable"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(Vt,{key:10,fallbackText:t.field.fallback_text,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[10]||(n[10]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["fallbackText","modelValue"])):((0,o.openBlock)(),(0,o.createBlock)(ct,{key:11}))}}};var xt=n(7534),_t=(n(405),{class:"adfy-options"}),Et={class:"adfy-col left"},St={class:"label"},Bt={key:0,class:"option-label"},Nt={key:1,class:"option-description"},Lt={class:"adfy-col right"},Ht={class:"input"};const Ot={__name:"OptionBox",props:{section:Object,sectionKey:[String,Object],reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=m();function r(e){return Array.isArray(e)?e.every((function(e){return n.options[e]})):n.options[e]}function a(e,n){return"settings"==t.currentPage?"enable_product_comparison"==e||r(n):"design"==t.currentPage?"load_styles_from_plugin"==e||r(n):void 0}return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.renderSlot)(e.$slots,"default"),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section.fields,(function(e,n){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",_t,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["adfy-option-columns option-box",e.className])},[(0,o.createElementVNode)("div",Et,[(0,o.createElementVNode)("div",St,[e.label?((0,o.openBlock)(),(0,o.createElementBlock)("p",Bt,[(0,o.createTextVNode)((0,o.toDisplayString)(e.label)+" ",1),e.hasOwnProperty("badge")?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(xt.Ks),{key:0,type:e.badgeType?e.badgeType:""},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e.badge),1)]})),_:2},1032,["type"])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),e.description?((0,o.openBlock)(),(0,o.createElementBlock)("p",Nt,(0,o.toDisplayString)(e.description),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",Lt,[(0,o.createElementVNode)("div",Ht,[(0,o.createVNode)(wt,{field:e,fieldKey:n,reactiveState:t.reactiveState},null,8,["field","fieldKey","reactiveState"])])])],2)],512)),[[o.vShow,a(n,e.dependent)]])})),256))],64)}}},Pt={__name:"OptionSection",props:{className:String},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",{class:(0,o.normalizeClass)(["adfy-options-section",t.className])},[(0,o.renderSlot)(e.$slots,"default")],2)}}};var At={class:"adfy-container"},Mt={class:"adfy-columns main-content"},zt={class:"adfy-col start site-secondary"},jt={class:"adfy-col end site-primary"};const Zt={__name:"Settings",setup:function(e){var t=m();return(0,o.onMounted)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",At,[(0,o.createElementVNode)("main",Mt,[(0,o.createElementVNode)("aside",zt,[(0,o.createVNode)(J)]),(0,o.createElementVNode)("section",jt,[(0,o.unref)(t).isLoading?((0,o.openBlock)(),(0,o.createBlock)(K,{key:0})):((0,o.openBlock)(),(0,o.createBlock)(W,{key:1,divId:"adfy-settings-form"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).data.settings.sections,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(Pt,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Ot,{section:e,sectionKey:n,reactiveState:(0,o.unref)(t).options,currentPage:"settings"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(X,{section:e,sectionkey:n,currentPage:"settings"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var Tt={class:"adfy-options"},Dt={class:"adfy-option-columns option-box fullwidth"},Ft={class:"adfy-col left"},It={class:"label"},Kt={key:0,class:"option-label"},Ut={key:1,class:"option-description"},Rt={class:"adfy-col right"},Gt={class:"input-group"},qt={class:"input"};const Yt={__name:"ColorGroup",props:{section:Object,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Tt,[(0,o.createElementVNode)("div",Dt,[(0,o.createElementVNode)("div",Ft,[(0,o.createElementVNode)("div",It,[""!==t.section.title?((0,o.openBlock)(),(0,o.createElementBlock)("p",Kt,(0,o.toDisplayString)(t.section.title),1)):(0,o.createCommentVNode)("",!0),""!==t.section.description?((0,o.openBlock)(),(0,o.createElementBlock)("p",Ut,(0,o.toDisplayString)(t.section.description),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",Rt,[(0,o.createElementVNode)("div",Gt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section.fields,(function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",qt,[(0,o.createVNode)(wt,{field:e,fieldKey:n,label:e.label,reactiveState:t.reactiveState},null,8,["field","fieldKey","label","reactiveState"])])})),256))])])])])}}};var $t={class:"adfy-ui-option"};const Jt={__name:"HandleDesignOptions",props:{section:Object,sectionKey:String,reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=m();return function(e,r){return(0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section,(function(e,r){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",$t,["color-options-group"==e.type?((0,o.openBlock)(),(0,o.createBlock)(Yt,{key:0,section:e,reactiveState:t.reactiveState},null,8,["section","reactiveState"])):((0,o.openBlock)(),(0,o.createBlock)(Ot,{key:1,section:e,reactiveState:t.reactiveState,currentPage:t.currentPage},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(X,{section:e,sectionKey:r,currentPage:t.currentPage},null,8,["section","sectionKey","currentPage"])]})),_:2},1032,["section","reactiveState","currentPage"]))],512)),[[o.vShow,"general"==r||(0,o.unref)(n).options.load_styles_from_plugin]])})),256)}}};var Qt={class:"adfy-container"},Wt={class:"adfy-columns main-content"},Xt={class:"adfy-col start site-secondary"},en={class:"adfy-col end site-primary"};const tn={__name:"Styles",setup:function(e){var t=m();return(0,o.onMounted)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",Qt,[(0,o.createElementVNode)("main",Wt,[(0,o.createElementVNode)("aside",Xt,[(0,o.createVNode)(J)]),(0,o.createElementVNode)("section",en,[(0,o.unref)(t).isLoading?((0,o.openBlock)(),(0,o.createBlock)(K,{key:0})):((0,o.openBlock)(),(0,o.createBlock)(W,{key:1,divId:"adfy-style-options-form"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).data.styles,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(Pt,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Jt,{section:e,sectionKey:n,reactiveState:(0,o.unref)(t).options,currentPage:"design"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(X,{section:e,sectionkey:n,currentPage:"design"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var nn=n(8130);n(4746);function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function rn(e){for(var t=1;t=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function ln(e,t,n,o,r,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(o,r)}function un(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function i(e){ln(a,o,r,i,c,"next",e)}function c(e){ln(a,o,r,i,c,"throw",e)}i(void 0)}))}}function sn(e){return sn="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},sn(e)}var dn=wp.apiFetch,pn=wp.i18n.__,fn=(0,r.Q_)({id:"Product",state:function(){return{allAddons:{},allProductSlugStatus:{},hotAddons:{},generalAddons:{},installedAddons:[],isFetching:!0,isFetchingAllInstalledAddons:!0,isSettingAddonStatus:!0}},getters:{haveAddonStateInMemory:function(e){return"array"==typeof e.installedAddons?0!==e.installedAddons.length:"object"===sn(e.installedAddons)?0!==Object.keys(e.installedAddons).length:void 0}},actions:{fetchGithubRepo:function(){var e=this;return un(cn().mark((function t(){var n,o;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("https://raw.githubusercontent.com/addonify/recommended-products/main/products.json");case 3:return n=t.sent,t.next=6,n.json();case 6:o=t.sent,200==n.status?(console.log("💥 Github repo fetched successfully."),e.processRecommendedPluginsList(o),e.isFetching=!1):(console.error("Couldn't fetch Github repo "+n),a.z8.error({message:pn("Error: couldn't fetch recommended plugins list.","addonify-compare-products"),offset:50,duration:2e4})),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.isFetching=!1;case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))()},processRecommendedPluginsList:function(e){var t=this;console.log("=> Processing the list that was retrived...."),this.hotAddons=e.data.hot,this.generalAddons=e.data.general,this.allAddons=rn(rn({},this.hotAddons),this.generalAddons),"object"===sn(this.allAddons)?Object.keys(this.allAddons).forEach((function(e){t.allProductSlugStatus[e]="null"})):(console.error("💥 Couldn't process the list plugins list."),a.z8.error({message:pn("Error: couldn't process the recommended plugins list.","addonify-compare-products"),offset:50,duration:1e4}))},fetchInstalledAddons:function(){var e=this;return un(cn().mark((function t(){var n;return cn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("=> Getting the list of all plugins installed on the site...."),t.prev=1,t.next=4,dn({method:"GET",path:"/wp/v2/plugins"});case 4:n=t.sent,console.log("=> Received the list of all installed plugins...."),e.installedAddons=n,e.setAddonStatusFlag(Object.keys(e.allProductSlugStatus)),e.isFetchingAllInstalledAddons=!1,t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),console.error(t.t0),a.z8.error({message:pn("Error: Couldn't retrive the list of installed plugins.","addonify-compare-products"),offset:50,duration:2e4}),e.isFetchingAllInstalledAddons=!1;case 16:case"end":return t.stop()}}),t,null,[[1,11]])})))()},setAddonStatusFlag:function(e){var t=this;"object"==sn(this.installedAddons)&&this.installedAddons.length>0?(console.log("=> Setting the status of the addon."),e.forEach((function(e){var n=t.installedAddons.find((function(t){return t.textdomain==e}));t.allProductSlugStatus[e]=n?n.status:"not-installed"}))):console.log("=> Bailing!!! The installed addons list is empty."),console.log("💥 Done setting the status of the addon."),this.isSettingAddonStatus=!1},handleAddonInstallation:function(e){var t=this;return un(cn().mark((function n(){var o;return cn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to install plugin ".concat(e,"...")),n.next=4,dn({method:"POST",path:"/wp/v2/plugins",data:{slug:e,status:"active"}});case 4:if(o=n.sent,console.log(o),"active"!==o.status){n.next=13;break}return console.log("=> Plugin ".concat(e," installed successfully.")),a.z8.success({message:pn("Plugin installed successfully.","addonify-compare-products"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,o;case 12:case 22:return n.abrupt("return",n.sent);case 13:n.next=23;break;case 15:return n.prev=15,n.t0=n.catch(0),console.error(n.t0),a.z8.error({message:pn("Error: couldn't install plugin.","addonify-compare-products"),offset:50,duration:2e4}),t.isWaitingForInstallation=!1,n.next=22,n.t0;case 23:case"end":return n.stop()}}),n,null,[[0,15]])})))()},updateAddonStatus:function(e){var t=this;return un(cn().mark((function n(){var o;return cn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to set the status of plugin ".concat(e,"...")),n.next=4,dn({method:"POST",path:"/wp/v2/plugins/".concat(e),data:{status:"active",plugin:"".concat(e,"/").concat(e)}});case 4:if(o=n.sent,console.log(o),"active"!=o.status){n.next=13;break}return console.log("=> Plugin ".concat(e," activated successfully.")),a.z8.success({message:pn("Plugin activated successfully.","addonify-compare-products"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,o;case 12:case 21:return n.abrupt("return",n.sent);case 13:n.next=22;break;case 15:return n.prev=15,n.t0=n.catch(0),console.log(n.t0),a.z8.error({message:pn("Error: Couldn't activate the plugin.","addonify-compare-products"),offset:50,duration:2e4}),n.next=21,n.t0;case 22:case"end":return n.stop()}}),n,null,[[0,15]])})))()}}});function mn(e){return mn="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},mn(e)}function hn(){hn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),c=new _(r||[]);return o(i,"_invoke",{value:b(e,n,c)}),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function m(){}var h={};l(h,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(E([])));v&&v!==t&&n.call(v,a)&&(h=v);var g=m.prototype=p.prototype=Object.create(h);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==mn(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function b(e,t,n){var o="suspendedStart";return function(r,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw a;return S()}for(n.method=r,n.arg=a;;){var i=n.delegate;if(i){var c=V(i,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=s(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}function V(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,V(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=s(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function E(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function yn(e,t,n,o,r,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(o,r)}var vn={class:"adfy-product-card"},gn={class:"adfy-product-box"},kn={class:"adfy-product-thumb"},Cn=["src","alt"],bn={class:"content"},Vn=["innerHTML"],wn=["innerHTML"],xn={class:"adfy-product-actions"};const _n={__name:"Recommended",props:{slug:String,name:String,description:String,thumb:String,status:String},setup:function(e){var t=e,n=wp.i18n.__,r=fn(),a=t.slug,i=t.name,c=t.thumb,l=t.description,u=(0,o.ref)(!1),s=(0,o.ref)(!1),d=(0,o.ref)(!1),p=(0,o.ref)(!1),f=n("Activate now","addonify-compare-products"),m=n("Activating...","addonify-compare-products"),h=n("Install now","addonify-compare-products"),y=n("Installing...","addonify-compare-products"),v=n("Installed","addonify-compare-products"),g=function(){var e,t=(e=hn().mark((function e(t){return hn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!0,p.value=!0,e.prev=2,e.next=5,r.handleAddonInstallation(t);case 5:"active"==e.sent.status&&(u.value=!1,p.value=!1,s.value=!0),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),u.value=!1,p.value=!1,s.value=!1;case 14:case"end":return e.stop()}}),e,null,[[2,9]])})),function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function i(e){yn(a,o,r,i,c,"next",e)}function c(e){yn(a,o,r,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",vn,[(0,o.createElementVNode)("div",gn,[(0,o.createElementVNode)("figure",kn,[(0,o.createElementVNode)("img",{src:(0,o.unref)(c),alt:(0,o.unref)(a)},null,8,Cn)]),(0,o.createElementVNode)("div",bn,[(0,o.createElementVNode)("h3",{class:"adfy-product-title",innerHTML:(0,o.unref)(i)},null,8,Vn),(0,o.createElementVNode)("p",{class:"adfy-product-description",innerHTML:(0,o.unref)(l)},null,8,wn),(0,o.createElementVNode)("div",xn,["active"==t.status||"network-active"==t.status?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(nn.mi),{key:0,size:"large",id:(0,o.unref)(a),plain:"",disabled:""},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(v)),1)]})),_:1},8,["id"])):"inactive"==t.status?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(nn.mi),{key:1,type:"success",size:"large",id:(0,o.unref)(a),plain:"",loading:u.value,disabled:s.value,onClick:n[0]||(n[0]=function(e){return function(e){u.value=!0,d.value=!0;try{"active"==r.updateAddonStatus(e).status&&(u.value=!1,d.value=!1,s.value=!0)}catch(e){u.value=!1,d.value=!1,s.value=!1}}((0,o.unref)(a))})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(d.value?(0,o.unref)(m):(0,o.unref)(f)),1)]})),_:1},8,["id","loading","disabled"])):((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(nn.mi),{key:2,type:"primary",size:"large",id:(0,o.unref)(a),plain:"",loading:u.value,disabled:s.value,onClick:n[1]||(n[1]=function(e){return g((0,o.unref)(a))})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(p.value?(0,o.unref)(y):(0,o.unref)(h)),1)]})),_:1},8,["id","loading","disabled"]))])])])])}}};var En=n(9031),Sn={insert:"head",singleton:!1};le()(En.Z,Sn);En.Z.locals;const Bn=_n;var Nn={class:"adfy-container"},Ln={class:"adfy-columns main-content"},Hn={class:"adfy-col start aside secondary"},On={class:"adfy-col end site-primary"},Pn={key:1,id:"recommended-products"},An={id:"recommended-hot-products"},Mn={class:"adfy-grid"},zn=(0,o.createElementVNode)("div",{id:"recommended-general-products"},null,-1);var jn={class:"error-404"};const Zn={__name:"404",setup:function(e){var t=wp.i18n.__;return function(e,n){var r=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("div",jn,[(0,o.createElementVNode)("h3",null,(0,o.toDisplayString)((0,o.unref)(t)("404","addonify-compare-products")),1),(0,o.createElementVNode)("p",null,(0,o.toDisplayString)((0,o.unref)(t)("Oops, page not found!","addonify-compare-products")),1),(0,o.createVNode)(r,{to:"/",class:"adfy-button"},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(t)("Go Back","addonify-compare-products")),1)]})),_:1})])}}};var Tn=[{path:"/",name:"Settings",component:Zt},{path:"/styles",name:"Styles",component:tn},{path:"/products",name:"Products",component:{__name:"Products",setup:function(e){var t=fn();return(0,o.onBeforeMount)((function(){t.haveAddonStateInMemory||t.fetchInstalledAddons()})),(0,o.onMounted)((function(){t.haveAddonStateInMemory||t.fetchGithubRepo()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",Nn,[(0,o.createElementVNode)("main",Ln,[(0,o.createElementVNode)("aside",Hn,[(0,o.createVNode)(J)]),(0,o.createElementVNode)("section",On,[!0===(0,o.unref)(t).isFetching||!0===(0,o.unref)(t).isFetchingAllInstalledAddons||!0===(0,o.unref)(t).isSettingAddonStatus?((0,o.openBlock)(),(0,o.createBlock)(K,{key:0})):((0,o.openBlock)(),(0,o.createElementBlock)("section",Pn,[(0,o.createElementVNode)("div",An,[(0,o.createElementVNode)("div",Mn,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).hotAddons,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(Bn,{slug:n,name:e.name,description:e.description,thumb:e.thumbnail,status:(0,o.unref)(t).allProductSlugStatus[n]},null,8,["slug","name","description","thumb","status"])})),256))])]),zn]))])])])}}}},{path:"/:catchAll(.*)*",name:"404",component:Zn}];const Dn=(0,T.p7)({history:(0,T.r5)(),routes:Tn});var Fn=(0,r.WB)(),In=(0,o.createApp)(Z);In.use(Fn),In.use(Dn),In.mount("#___adfy-compare-products-app___")}},e=>{var t=t=>e(e.s=t);e.O(0,[703,898],(()=>(t(1632),t(7218))));e.O()}]); \ No newline at end of file +"use strict";(self.webpackChunkaddonify_compare_products=self.webpackChunkaddonify_compare_products||[]).push([[522],{4960:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-checkbox-group{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:20px;justify-content:flex-start}.adfy-checkbox-group .input-checkbox{align-items:center;display:inline-flex;flex-direction:row;flex-wrap:wrap}.adfy-checkbox-group .input-checkbox input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;background:none;border:2px solid var(--addonify_border_color);border-radius:2px!important;box-shadow:none!important;clear:none;cursor:pointer;display:inline-block!important;height:21px!important;line-height:0!important;margin:0 3px 0 0!important;min-width:21px!important;opacity:1!important;outline:0!important;padding:0!important;position:relative;text-align:center;transition:all .5s ease;vertical-align:text-top;width:21px!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:hover{background-color:transparent;border-color:var(--addonify_primary_color);box-shadow:none;opacity:1}.adfy-checkbox-group .input-checkbox input[type=checkbox]:focus{box-shadow:none}.adfy-checkbox-group .input-checkbox input[type=checkbox]:before{content:\"\";display:none}.adfy-checkbox-group .input-checkbox input[type=checkbox]:after{background-color:transparent!important;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='m10 15.172 9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E\")!important;background-position:50%;background-repeat:no-repeat;background-size:18px;border:none!important;border-radius:0!important;content:\"\";height:18px!important;left:0!important;margin:0!important;opacity:0!important;overflow:hidden!important;padding:0!important;position:absolute!important;top:0!important;transition:all .26s cubic-bezier(.25,.8,.25,1);width:18px!important;z-index:2!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked{background-color:var(--addonify_primary_color);border-color:var(--addonify_primary_color);box-shadow:none!important;opacity:1!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked:before{content:\"\";display:none!important}.adfy-checkbox-group .input-checkbox input[type=checkbox]:checked:after{content:\"\";opacity:1!important}.adfy-checkbox-group .input-checkbox label{margin-left:3px}",""]);const a=r},8233:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,'.unsupported-control-text{font-size:14px}.adfy-button.fake-button.forward-to-doc-link{fill:var(--addonify_primary_color);color:var(--addonify_primary_color);font-size:14px}.adfy-button.fake-button.forward-to-doc-link:after,.adfy-button.fake-button.forward-to-doc-link:before{bottom:-5px;content:"";height:2px}.adfy-button.fake-button.forward-to-doc-link:after{background-color:var(--addonify_primary_color);content:""}.adfy-button.fake-button.forward-to-doc-link:hover{fill:var(--addonify_base_text_color);color:var(--addonify_base_text_color)}.adfy-button.fake-button.forward-to-doc-link:hover:after,.adfy-button.fake-button.forward-to-doc-link:hover:before{background-color:var(--addonify_base_text_color);content:""}',""]);const a=r},5823:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-input-number--large{width:140px}",""]);const a=r},9033:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".radio-input-group.svg-icons-choices .adfy-radio-input{align-items:center;display:flex;flex-direction:row;gap:20px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio{align-items:center;border:1px solid var(--addonify_border_color);border-radius:4px;display:inline-flex;margin:0;padding:20px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio svg{fill:#444;height:16px;line-height:1;width:16px}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio.is-checked{border-color:#468cff}.radio-input-group.svg-icons-choices .adfy-radio-input label.el-radio.is-checked svg{fill:#468cff}",""]);const a=r},3517:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-color-picker__color,.adfy-options .el-color-picker__color-inner,.adfy-options .el-color-picker__trigger{border:none;border-radius:100%}.adfy-options .el-color-picker__trigger{border:2px solid #fff;box-shadow:0 5px 10px rgba(0,0,0,.1);height:42px;padding:3px;width:42px}.adfy-options .el-color-picker .el-color-picker__icon{color:#fff;font-size:16px;line-height:1}.adfy-options .el-color-picker .el-color-picker__empty{color:red;font-size:20px;line-height:1}",""]);const a=r},5644:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".wp-admin .el-select-dropdown__item.selected{font-weight:400}",""]);const a=r},9603:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,".adfy-options .el-textarea__inner{display:block;font-family:monospace;min-height:200px;padding:15px;width:100%}",""]);const a=r},9031:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(3645),r=n.n(o)()((function(e){return e[1]}));r.push([e.id,"#recommended-hot-products .el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#e1e1e1 25%,#d8d8d8 37%,#c7c7c7 63%);background-size:400% 100%}",""]);const a=r},7218:()=>{},6713:(e,t,n)=>{var o=n(4865),r=n(9876),a={width:"206",height:"44",viewBox:"0 0 206 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i=[(0,o.createStaticVNode)('',5)];var c=n(3744);const l={},u=(0,c.Z)(l,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("svg",a,i)}]]);var s={key:0,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},d=[(0,o.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1)];const p={__name:"Icon",props:{name:{type:String,required:!0}},setup:function(e){var t=e.name;return function(e,n){return"spinner"===(0,o.unref)(t)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",s,d)):(0,o.createCommentVNode)("",!0)}}};var f=n(9489);n(5190);function m(e){return m="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},m(e)}var h={},y=wp.apiFetch,C=wp.i18n.__,v=lodash,g=v.isEqual,k=v.cloneDeep,b=ADDONIFY_COMPARE_PRODUCTS_LOCOLIZER.rest_namespace,V=(0,r.Q_)({id:"Options",state:function(){return{data:{},options:{},message:"",isLoading:!0,isSaving:!1,errors:""}},getters:{needSave:function(e){return!g(e.options,h)},haveStateInMemory:function(e){return"array"==typeof e.options?0!==e.options.length:"object"===m(e.options)?0!==Object.keys(e.options).length:void 0}},actions:{fetchOptions:function(){var e=this;y({path:b+"/get_options",method:"GET"}).then((function(t){var n=t.settings_values;e.data=t.tabs,e.options=n,h=k(n)})).catch((function(e){console.log(e),f.z8.error({message:C("Something went wrong while fetching settings.","addonify-compare-products"),offset:50,duration:1e4})})).finally((function(){e.isLoading=!1}))},handleUpdateOptions:function(){var e={},t=this.options;Object.keys(t).map((function(n){g(t[n],h[n])||(e[n]=t[n])})),this.updateOptions(e)},updateOptions:function(e){var t=this;this.isSaving=!0,y({path:b+"/update_options",method:"POST",data:{settings_values:e}}).then((function(e){t.isSaving=!1,t.message=e.message,!0===e.success?f.z8.success({message:t.message,offset:50,duration:3e3}):f.z8.error({message:t.message,offset:50,duration:3e3});var n=k(t.options);t.options={},t.options=k(n),h=k(t.options)})).catch((function(e){console.log(e),f.z8.error({message:C("Something went wrong while updating settings.","addonify-compare-products"),offset:50,duration:5e3})}))}}}),w={class:"adfy-header"},x={class:"adfy-row"},_={class:"adfy-col start"},S={class:"branding"},E={class:"adfy-col end"},B={class:"buttons"},N={href:"https://docs.addonify.com/kb/woocommerce-compare-products/",class:"adfy-button fake-button has-underline",target:"_blank"},L=["disabled","loading"],O={class:"loading-icon"};const M={__name:"Header",setup:function(e){var t=wp.i18n.__,n=V();return function(e,r){var a=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("header",w,[(0,o.createElementVNode)("div",x,[(0,o.createElementVNode)("div",_,[(0,o.createElementVNode)("div",S,[(0,o.createVNode)(a,{class:"adfy-link",to:"/"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(u)]})),_:1})])]),(0,o.createElementVNode)("div",E,[(0,o.createElementVNode)("div",B,[(0,o.createElementVNode)("a",N,(0,o.toDisplayString)((0,o.unref)(t)("Documentation","addonify-compare-products")),1),(0,o.createElementVNode)("button",{type:"submit",onClick:r[0]||(r[0]=function(e){return(0,o.unref)(n).handleUpdateOptions()}),class:"adfy-button",disabled:!(0,o.unref)(n).needSave,loading:(0,o.unref)(n).isSaving},[(0,o.createElementVNode)("span",O,[(0,o.createVNode)(p,{name:"spinner"})]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Save Options","addonify-compare-products")),1)],8,L)])])])])}}},Z=M;var P={class:"adfy-colopon"},A={class:"adfy-row"},H={class:"adfy-col left"},z={class:"text"},j={class:"version"},T={class:"adfy-col right"},D={class:"text"},F={href:"https://wordpress.org/plugins/addonify-compare-products/#reviews",class:"adfy-link",target:"_blank"},I=(0,o.createStaticVNode)('',1);const K={__name:"Footer",setup:function(e){var t=wp.i18n.__,n=ADDONIFY_COMPARE_PRODUCTS_LOCOLIZER.version_number,r=(new Date).getFullYear();return function(e,a){return(0,o.openBlock)(),(0,o.createElementBlock)("footer",P,[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("div",H,[(0,o.createElementVNode)("p",z,[(0,o.createTextVNode)(" © 2020 - "+(0,o.toDisplayString)((0,o.unref)(r))+" Addonify Products Compare ",1),(0,o.createElementVNode)("span",j,(0,o.toDisplayString)((0,o.unref)(t)("Version","addonify-compare-products"))+": "+(0,o.toDisplayString)((0,o.unref)(n)),1)])]),(0,o.createElementVNode)("div",T,[(0,o.createElementVNode)("p",D,[(0,o.createElementVNode)("a",F,[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(t)("Rate","addonify-compare-products"))+" ",1),I,(0,o.createTextVNode)(" :) ")])])])])])}}},U=K,R={__name:"App",setup:function(e){return function(e,t){var n=(0,o.resolveComponent)("router-view");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)(Z),(0,o.createVNode)(n),(0,o.createVNode)(U)],64)}}};var G=n(2201),q={class:"adfy-loading"},Y=[(0,o.createElementVNode)("span",{class:"pulse"},null,-1)];const $={},J=(0,c.Z)($,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("section",q,Y)}]]);var Q={class:"adfy-navigation"},W={class:"navigation"},X=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M2.132 13.63a9.942 9.942 0 0 1 0-3.26c1.102.026 2.092-.502 2.477-1.431.385-.93.058-2.004-.74-2.763a9.942 9.942 0 0 1 2.306-2.307c.76.798 1.834 1.125 2.764.74.93-.385 1.457-1.376 1.43-2.477a9.942 9.942 0 0 1 3.262 0c-.027 1.102.501 2.092 1.43 2.477.93.385 2.004.058 2.763-.74a9.942 9.942 0 0 1 2.307 2.306c-.798.76-1.125 1.834-.74 2.764.385.93 1.376 1.457 2.477 1.43a9.942 9.942 0 0 1 0 3.262c-1.102-.027-2.092.501-2.477 1.43-.385.93-.058 2.004.74 2.763a9.942 9.942 0 0 1-2.306 2.307c-.76-.798-1.834-1.125-2.764-.74-.93.385-1.457 1.376-1.43 2.477a9.942 9.942 0 0 1-3.262 0c.027-1.102-.501-2.092-1.43-2.477-.93-.385-2.004-.058-2.763.74a9.942 9.942 0 0 1-2.307-2.306c.798-.76 1.125-1.834.74-2.764-.385-.93-1.376-1.457-2.477-1.43zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"})])],-1),ee=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm2 9h6a1 1 0 0 1 1 1v3h1v6h-4v-6h1v-2H5a1 1 0 0 1-1-1v-2h2v1zm11.732 1.732l1.768-1.768 1.768 1.768a2.5 2.5 0 1 1-3.536 0z"})])],-1),te=(0,o.createElementVNode)("span",{class:"icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,o.createElementVNode)("path",{d:"M13 16.938V19h5v2H6v-2h5v-2.062A8.001 8.001 0 0 1 4 9V3h16v6a8.001 8.001 0 0 1-7 7.938zM1 5h2v4H1V5zm20 0h2v4h-2V5z"})])],-1);const ne={__name:"Navigation",setup:function(e){var t=wp.i18n.__;return function(e,n){var r=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("nav",Q,[(0,o.createElementVNode)("ul",W,[(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/"},{default:(0,o.withCtx)((function(){return[X,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Settings","addonify-compare-products")),1)]})),_:1})]),(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/styles"},{default:(0,o.withCtx)((function(){return[ee,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Design","addonify-compare-products")),1)]})),_:1})]),(0,o.createElementVNode)("li",null,[(0,o.createVNode)(r,{to:"/products"},{default:(0,o.withCtx)((function(){return[te,(0,o.createTextVNode)(" "+(0,o.toDisplayString)((0,o.unref)(t)("Products","addonify-compare-products")),1)]})),_:1})])])])}}},oe=ne;var re=["id"];const ae={__name:"Form",props:{divId:String,className:String},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("form",{id:t.divId,class:(0,o.normalizeClass)(["adfy-form",t.className]),onSubmit:n[0]||(n[0]=(0,o.withModifiers)((function(){}),["prevent"]))},[(0,o.renderSlot)(e.$slots,"default")],42,re)}}},ie={__name:"SectionTitle",props:{section:Object,sectionkey:String,currentPage:String},setup:function(e){var t=e,n=V();return function(e,r){return t.section.title?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("h3",{key:0,class:"option-box-title"},(0,o.toDisplayString)(t.section.title),513)),[[o.vShow,(a=t.currentPage,"design"===a||"settings"===a&&(!!t.sectionkey.includes("general")||n.options.enable_product_comparison))]]):(0,o.createCommentVNode)("",!0);var a}}};var ce=n(5381),le=(n(3811),n(5781));const ue={__name:"Switch",props:{modelValue:[Boolean,Number,String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(ce.OX),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large","inline-prompt":"","active-icon":(0,o.unref)(le.JrY),"inactive-icon":(0,o.unref)(le.x8P)},null,8,["modelValue","active-icon","inactive-icon"])}}};var se=n(8280);n(3047);const de={__name:"Text",props:{modelValue:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=wp.i18n.__,i=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(se.EZ),{modelValue:(0,o.unref)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(i)?i.value=e:null}),placeholder:r.placeholder?r.placeholder:(0,o.unref)(a)("Enter text here...","addonify-compare-products"),size:"large"},null,8,["modelValue","placeholder"])}}},pe=de,fe={__name:"Textarea",props:{modelValue:String,className:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=wp.i18n.__,i=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(t,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(se.EZ),{modelValue:(0,o.unref)(i),"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,o.isRef)(i)?i.value=e:null}),class:(0,o.normalizeClass)(e.className),type:"textarea",rows:"10",placeholder:r.placeholder?r.placeholder:(0,o.unref)(a)("Enter text here...","addonify-compare-products"),resize:"vertical","input-style":"display:block;width: 100%;"},null,8,["modelValue","class","placeholder"])}}};var me=n(3379),he=n.n(me),ye=n(9603),Ce={insert:"head",singleton:!1};he()(ye.Z,Ce);ye.Z.locals;const ve=fe,ge={__name:"Number",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return parseInt(r.modelValue)},set:function(e){n("update:modelValue",e)}}),i=r.min,c=r.max;return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(se.EZ),{type:"number",modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),min:(0,o.unref)(i)?(0,o.unref)(i):0,max:(0,o.unref)(c)},null,8,["modelValue","min","max"])}}};var ke=n(2331);n(3714),n(5312);const be={__name:"Select",props:{modelValue:{type:[Number,String,Array,Object],required:!0},choices:{type:[Object,Array],required:!1},placeholder:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue.toString()},set:function(e){n("update:modelValue",e)}}),i=(0,wp.i18n.__)("Select","addonify-compare-products");return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(ke.km),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large",filterable:"",placeholder:r.placeholder?r.placeholder:(0,o.unref)(i)},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(ke.BT),{label:e,value:t},null,8,["label","value"])})),256))]})),_:1},8,["modelValue","placeholder"])}}};var Ve=n(5644),we={insert:"head",singleton:!1};he()(Ve.Z,we);Ve.Z.locals;const xe=be;var _e={class:"icon"},Se={key:0,fill:"currentColor",viewBox:"0 0 16 16"},Ee=[(0,o.createElementVNode)("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"},null,-1)],Be={key:1,fill:"currentColor",viewBox:"0 0 16 16"},Ne=[(0,o.createElementVNode)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z"},null,-1)],Le={key:2,fill:"currentColor",viewBox:"0 0 16 16"},Oe=[(0,o.createElementVNode)("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"},null,-1)],Me={key:3,fill:"currentColor",viewBox:"0 0 16 16"},Ze=[(0,o.createElementVNode)("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"},null,-1)],Pe={key:4,fill:"currentColor",viewBox:"0 0 16 16"},Ae=[(0,o.createElementVNode)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z"},null,-1)],He={class:"message"},ze={class:"content"};const je={__name:"Notice",props:{type:{type:String,required:!1,default:"info"},content:{type:String,required:!0}},setup:function(e){var t=e,n=t.type,r=t.content;return function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["adfy_alert",(0,o.unref)(n)])},[(0,o.createElementVNode)("div",_e,["success"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",Se,Ee)):"info"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",Be,Ne)):"warning"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",Le,Oe)):"danger"==(0,o.unref)(n)?((0,o.openBlock)(),(0,o.createElementBlock)("svg",Me,Ze)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",Pe,Ae))]),(0,o.createElementVNode)("div",He,[(0,o.createElementVNode)("p",ze,(0,o.toDisplayString)((0,o.unref)(r)),1)])],2)}}};var Te={key:0,class:"adfy-checkbox-group"},De={class:"input-checkbox"},Fe=["id","value"],Ie=["for"];const Ke={__name:"Checkbox",props:{modelValue:{type:[String,Array,Object],required:!0},label:{type:String,required:!1},choices:{type:Object,required:!1},fallbackText:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=wp.i18n.__,c=r.fallbackText?r.fallbackText:i("No choices found.","addonify-compare-products");return function(e,t){return 0!==Object.keys(r.choices).length?((0,o.openBlock)(),(0,o.createElementBlock)("div",Te,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("span",De,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"checkbox",id:n,value:n,"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null})},null,8,Fe),[[o.vModelCheckbox,(0,o.unref)(a)]]),(0,o.createElementVNode)("label",{for:n},(0,o.toDisplayString)(e),9,Ie)])})),256))])):((0,o.openBlock)(),(0,o.createBlock)(je,{key:1,type:"info",content:(0,o.unref)(c)},null,8,["content"]))}}};var Ue=n(4960),Re={insert:"head",singleton:!1};he()(Ue.Z,Re);Ue.Z.locals;const Ge=Ke;var qe=n(669);n(6871),n(5874);const Ye={__name:"CheckboxButton",props:{modelValue:[Array],choices:Object},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(qe.z5),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.choices,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(qe.lm),{label:t},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e),1)]})),_:2},1032,["label"])})),256))]})),_:1},8,["modelValue"])}}};var $e=n(5143),Je=(n(6218),n(2679),{key:0,class:"adfy-radio-input"}),Qe=["innerHTML"],We={key:1,class:"adfy-radio-group"};const Xe={__name:"Radio",props:{modelValue:String,choices:[Object,Array],renderChoices:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=r.choices,c=r.renderChoices;return function(e,t){return"html"==(0,o.unref)(c)?((0,o.openBlock)(),(0,o.createElementBlock)("div",Je,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(i),(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)($e.rh),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),label:n},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("span",{innerHTML:e},null,8,Qe)]})),_:2},1032,["modelValue","label"])})),256))])):((0,o.openBlock)(),(0,o.createElementBlock)("div",We,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(i),(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)($e.KD),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[1]||(t[1]=function(e){return(0,o.isRef)(a)?a.value=e:null})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)((0,o.unref)($e.rh),{label:n},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e),1)]})),_:2},1032,["label"])]})),_:2},1032,["modelValue"])})),256))]))}}};var et=n(9033),tt={insert:"head",singleton:!1};he()(et.Z,tt);et.Z.locals;const nt=Xe;var ot=n(7182),rt=(n(4382),{key:0,class:"label"});const at={__name:"ColorPicker",props:{colorVal:String,isAlphaPicker:[Boolean,String],label:String},emits:["update:colorVal"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.colorVal},set:function(e){n("update:colorVal",e)}}),i=function(e){n("update:colorVal",e)};return function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)((0,o.unref)(ot.$),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),"show-alpha":!r.isAlphaPicker||r.isAlphaPicker,onActiveChange:i},null,8,["modelValue","show-alpha"]),r.label?((0,o.openBlock)(),(0,o.createElementBlock)("span",rt,(0,o.toDisplayString)(r.label),1)):(0,o.createCommentVNode)("",!0)],64)}}};var it=n(3517),ct={insert:"head",singleton:!1};he()(it.Z,ct);it.Z.locals;const lt=at;var ut={class:"unsupported-control-text"},st={href:"https://docs.addonify.com/kb/woocommerce-compare-products/developer/",target:"_blank",rel:"documentation",class:"adfy-button fake-button has-underline forward-to-doc-link"};const dt={__name:"InvalidControl",setup:function(e){var t=wp.i18n.__;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("span",ut,[(0,o.createTextVNode)(" ❌ "+(0,o.toDisplayString)((0,o.unref)(t)("Input is not supported.","addonify-compare-products"))+" ",1),(0,o.createElementVNode)("a",st,(0,o.toDisplayString)((0,o.unref)(t)("Check docs","addonify-compare-products")),1)])}}};var pt=n(8233),ft={insert:"head",singleton:!1};he()(pt.Z,ft);pt.Z.locals;const mt=dt;var ht=n(3726);n(4443);const yt={__name:"NumberToggleButton",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return parseInt(r.modelValue)},set:function(e){n("update:modelValue",e)}}),i=r.min,c=r.max;return function(e,t){return(0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(ht.d6),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),size:"large",min:(0,o.unref)(i)?(0,o.unref)(i):0,max:(0,o.unref)(c)?(0,o.unref)(c):365},null,8,["modelValue","min","max"])}}};var Ct=n(5823),vt={insert:"head",singleton:!1};he()(Ct.Z,vt);Ct.Z.locals;const gt=yt;var kt=n(9980),bt=n.n(kt),Vt=["v-node"],wt={class:"adfy-draggable-box"},xt={class:"draggable-switch"},_t={class:"label-icon-box"},St={class:"option-label"},Et=(0,o.createElementVNode)("span",{class:"option-icon"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{d:"M7 20h2V8h3L8 4 4 8h3zm13-4h-3V4h-2v12h-3l4 4z"})])],-1);const Bt={__name:"Sortable",props:{modelValue:{type:[String,Array,Object],required:!0},fallbackText:{type:String,required:!1}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,r=e,a=(0,o.computed)({get:function(){return r.modelValue},set:function(e){n("update:modelValue",e)}}),i=wp.i18n.__,c=r.fallbackText?r.fallbackText:i("No choices found.","addonify-compare-products");return console.log(a),function(e,t){return 0!==(0,o.unref)(a).length?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"adfy-draggable-elements","v-node":(new Date).getTime()},[(0,o.createVNode)((0,o.unref)(bt()),{modelValue:(0,o.unref)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,o.isRef)(a)?a.value=e:null}),animation:"400",easing:"ease-in-out","item-key":"id",direction:"vertical",onStart:t[1]||(t[1]=function(t){return e.drag=!0}),onEnd:t[2]||(t[2]=function(t){return e.drag=!1})},{item:(0,o.withCtx)((function(e){var t=e.element;return[((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"adfy-draggable-element",key:t.id},[(0,o.createElementVNode)("div",wt,[(0,o.createElementVNode)("div",xt,[(0,o.createVNode)((0,o.unref)(ce.OX),{modelValue:t.status,"onUpdate:modelValue":function(e){return t.status=e},size:"large","inline-prompt":"","active-icon":(0,o.unref)(le.JrY),"inactive-icon":(0,o.unref)(le.x8P)},null,8,["modelValue","onUpdate:modelValue","active-icon","inactive-icon"])]),(0,o.createElementVNode)("div",_t,[(0,o.createElementVNode)("p",St,(0,o.toDisplayString)(t.name),1),Et])])]))]})),_:1},8,["modelValue"])],8,Vt)):((0,o.openBlock)(),(0,o.createBlock)(je,{key:1,content:(0,o.unref)(c),type:"info"},null,8,["content"]))}}},Nt=Bt,Lt={__name:"InputControl",props:{field:Object,fieldKey:String,label:String,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return"switch"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ue,{key:0,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["modelValue"])):"select"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(xe,{key:1,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[1]||(n[1]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,placeholder:t.field.placeholder},null,8,["modelValue","choices","placeholder"])):"text"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(pe,{key:2,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[2]||(n[2]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"textarea"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ve,{key:3,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[3]||(n[3]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"checkbox"==t.field.type&&"buttons"==t.field.typeStyle?((0,o.openBlock)(),(0,o.createBlock)(Ye,{key:4,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[4]||(n[4]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"checkbox"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(Ge,{key:5,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[5]||(n[5]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,fallbackText:t.field.fallback_text},null,8,["modelValue","choices","fallbackText"])):"number"==t.field.type&&"toggle"==t.field.typeStyle?((0,o.openBlock)(),(0,o.createBlock)(gt,{key:6,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[6]||(n[6]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"number"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(ge,{key:7,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[7]||(n[7]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"radio"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(nt,{key:8,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[8]||(n[8]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,renderChoices:t.field.renderChoices},null,8,["modelValue","choices","renderChoices"])):"color"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(lt,{key:9,colorVal:t.reactiveState[t.fieldKey],"onUpdate:colorVal":n[9]||(n[9]=function(e){return t.reactiveState[t.fieldKey]=e}),isAlphaPicker:t.field.isAlphaPicker,label:t.field.label},null,8,["colorVal","isAlphaPicker","label"])):"sortable"==t.field.type?((0,o.openBlock)(),(0,o.createBlock)(Nt,{key:10,fallbackText:t.field.fallback_text,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[10]||(n[10]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["fallbackText","modelValue"])):((0,o.openBlock)(),(0,o.createBlock)(mt,{key:11}))}}};var Ot=n(7534),Mt=(n(405),{class:"adfy-options"}),Zt={class:"adfy-col left"},Pt={class:"label"},At={key:0,class:"option-label"},Ht={key:1,class:"option-description"},zt={class:"adfy-col right"},jt={class:"input"};const Tt={__name:"OptionBox",props:{section:Object,sectionKey:[String,Object],reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=V();function r(e){return Array.isArray(e)?e.every((function(e){return n.options[e]})):n.options[e]}function a(e,n){return"settings"==t.currentPage?"enable_product_comparison"==e||r(n):"design"==t.currentPage?"load_styles_from_plugin"==e||r(n):void 0}return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.renderSlot)(e.$slots,"default"),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section.fields,(function(e,n){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",Mt,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["adfy-option-columns option-box",e.className])},[(0,o.createElementVNode)("div",Zt,[(0,o.createElementVNode)("div",Pt,[e.label?((0,o.openBlock)(),(0,o.createElementBlock)("p",At,[(0,o.createTextVNode)((0,o.toDisplayString)(e.label)+" ",1),e.hasOwnProperty("badge")?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(Ot.Ks),{key:0,type:e.badgeType?e.badgeType:""},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e.badge),1)]})),_:2},1032,["type"])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),e.description?((0,o.openBlock)(),(0,o.createElementBlock)("p",Ht,(0,o.toDisplayString)(e.description),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",zt,[(0,o.createElementVNode)("div",jt,[(0,o.createVNode)(Lt,{field:e,fieldKey:n,reactiveState:t.reactiveState},null,8,["field","fieldKey","reactiveState"])])])],2)],512)),[[o.vShow,a(n,e.dependent)]])})),256))],64)}}},Dt={__name:"OptionSection",props:{className:String},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",{class:(0,o.normalizeClass)(["adfy-options-section",t.className])},[(0,o.renderSlot)(e.$slots,"default")],2)}}};var Ft={class:"adfy-container"},It={class:"adfy-columns main-content"},Kt={class:"adfy-col start site-secondary"},Ut={class:"adfy-col end site-primary"};const Rt={__name:"Settings",setup:function(e){var t=V();return(0,o.onMounted)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",Ft,[(0,o.createElementVNode)("main",It,[(0,o.createElementVNode)("aside",Kt,[(0,o.createVNode)(oe)]),(0,o.createElementVNode)("section",Ut,[(0,o.unref)(t).isLoading?((0,o.openBlock)(),(0,o.createBlock)(J,{key:0})):((0,o.openBlock)(),(0,o.createBlock)(ae,{key:1,divId:"adfy-settings-form"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).data.settings.sections,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(Dt,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Tt,{section:e,sectionKey:n,reactiveState:(0,o.unref)(t).options,currentPage:"settings"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ie,{section:e,sectionkey:n,currentPage:"settings"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var Gt={class:"adfy-options"},qt={class:"adfy-option-columns option-box fullwidth"},Yt={class:"adfy-col left"},$t={class:"label"},Jt={key:0,class:"option-label"},Qt={key:1,class:"option-description"},Wt={class:"adfy-col right"},Xt={class:"input-group"},en={class:"input"};const tn={__name:"ColorGroup",props:{section:Object,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",Gt,[(0,o.createElementVNode)("div",qt,[(0,o.createElementVNode)("div",Yt,[(0,o.createElementVNode)("div",$t,[""!==t.section.title?((0,o.openBlock)(),(0,o.createElementBlock)("p",Jt,(0,o.toDisplayString)(t.section.title),1)):(0,o.createCommentVNode)("",!0),""!==t.section.description?((0,o.openBlock)(),(0,o.createElementBlock)("p",Qt,(0,o.toDisplayString)(t.section.description),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",Wt,[(0,o.createElementVNode)("div",Xt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section.fields,(function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",en,[(0,o.createVNode)(Lt,{field:e,fieldKey:n,label:e.label,reactiveState:t.reactiveState},null,8,["field","fieldKey","label","reactiveState"])])})),256))])])])])}}};var nn={class:"adfy-ui-option"};const on={__name:"HandleDesignOptions",props:{section:Object,sectionKey:String,reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=V();return function(e,r){return(0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.section,(function(e,r){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",nn,["color-options-group"==e.type?((0,o.openBlock)(),(0,o.createBlock)(tn,{key:0,section:e,reactiveState:t.reactiveState},null,8,["section","reactiveState"])):((0,o.openBlock)(),(0,o.createBlock)(Tt,{key:1,section:e,reactiveState:t.reactiveState,currentPage:t.currentPage},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ie,{section:e,sectionKey:r,currentPage:t.currentPage},null,8,["section","sectionKey","currentPage"])]})),_:2},1032,["section","reactiveState","currentPage"]))],512)),[[o.vShow,"general"==r||(0,o.unref)(n).options.load_styles_from_plugin]])})),256)}}};var rn={class:"adfy-container"},an={class:"adfy-columns main-content"},cn={class:"adfy-col start site-secondary"},ln={class:"adfy-col end site-primary"};const un={__name:"Styles",setup:function(e){var t=V();return(0,o.onMounted)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",rn,[(0,o.createElementVNode)("main",an,[(0,o.createElementVNode)("aside",cn,[(0,o.createVNode)(oe)]),(0,o.createElementVNode)("section",ln,[(0,o.unref)(t).isLoading?((0,o.openBlock)(),(0,o.createBlock)(J,{key:0})):((0,o.openBlock)(),(0,o.createBlock)(ae,{key:1,divId:"adfy-style-options-form"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).data.styles,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(Dt,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(on,{section:e,sectionKey:n,reactiveState:(0,o.unref)(t).options,currentPage:"design"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ie,{section:e,sectionkey:n,currentPage:"design"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var sn=n(8130);n(4746);function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function pn(e){for(var t=1;t=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function hn(e,t,n,o,r,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(o,r)}function yn(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function i(e){hn(a,o,r,i,c,"next",e)}function c(e){hn(a,o,r,i,c,"throw",e)}i(void 0)}))}}function Cn(e){return Cn="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},Cn(e)}var vn=wp.apiFetch,gn=wp.i18n.__,kn=(0,r.Q_)({id:"Product",state:function(){return{allAddons:{},allProductSlugStatus:{},hotAddons:{},generalAddons:{},installedAddons:[],isFetching:!0,isFetchingAllInstalledAddons:!0,isSettingAddonStatus:!0}},getters:{haveAddonStateInMemory:function(e){return"array"==typeof e.installedAddons?0!==e.installedAddons.length:"object"===Cn(e.installedAddons)?0!==Object.keys(e.installedAddons).length:void 0}},actions:{fetchGithubRepo:function(){var e=this;return yn(mn().mark((function t(){var n,o;return mn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("https://raw.githubusercontent.com/addonify/recommended-products/main/products.json");case 3:return n=t.sent,t.next=6,n.json();case 6:o=t.sent,200==n.status?(console.log("💥 Github repo fetched successfully."),e.processRecommendedPluginsList(o),e.isFetching=!1):(console.error("Couldn't fetch Github repo "+n),f.z8.error({message:gn("Error: couldn't fetch recommended plugins list.","addonify-compare-products"),offset:50,duration:2e4})),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.isFetching=!1;case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))()},processRecommendedPluginsList:function(e){var t=this;console.log("=> Processing the list that was retrived...."),this.hotAddons=e.data.hot,this.generalAddons=e.data.general,this.allAddons=pn(pn({},this.hotAddons),this.generalAddons),"object"===Cn(this.allAddons)?Object.keys(this.allAddons).forEach((function(e){t.allProductSlugStatus[e]="null"})):(console.error("💥 Couldn't process the list plugins list."),f.z8.error({message:gn("Error: couldn't process the recommended plugins list.","addonify-compare-products"),offset:50,duration:1e4}))},fetchInstalledAddons:function(){var e=this;return yn(mn().mark((function t(){var n;return mn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("=> Getting the list of all plugins installed on the site...."),t.prev=1,t.next=4,vn({method:"GET",path:"/wp/v2/plugins"});case 4:n=t.sent,console.log("=> Received the list of all installed plugins...."),e.installedAddons=n,e.setAddonStatusFlag(Object.keys(e.allProductSlugStatus)),e.isFetchingAllInstalledAddons=!1,t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),console.error(t.t0),f.z8.error({message:gn("Error: Couldn't retrive the list of installed plugins.","addonify-compare-products"),offset:50,duration:2e4}),e.isFetchingAllInstalledAddons=!1;case 16:case"end":return t.stop()}}),t,null,[[1,11]])})))()},setAddonStatusFlag:function(e){var t=this;"object"==Cn(this.installedAddons)&&this.installedAddons.length>0?(console.log("=> Setting the status of the addon."),e.forEach((function(e){var n=t.installedAddons.find((function(t){return t.textdomain==e}));t.allProductSlugStatus[e]=n?n.status:"not-installed"}))):console.log("=> Bailing!!! The installed addons list is empty."),console.log("💥 Done setting the status of the addon."),this.isSettingAddonStatus=!1},handleAddonInstallation:function(e){var t=this;return yn(mn().mark((function n(){var o;return mn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to install plugin ".concat(e,"...")),n.next=4,vn({method:"POST",path:"/wp/v2/plugins",data:{slug:e,status:"active"}});case 4:if(o=n.sent,console.log(o),"active"!==o.status){n.next=13;break}return console.log("=> Plugin ".concat(e," installed successfully.")),f.z8.success({message:gn("Plugin installed successfully.","addonify-compare-products"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,o;case 12:case 22:return n.abrupt("return",n.sent);case 13:n.next=23;break;case 15:return n.prev=15,n.t0=n.catch(0),console.error(n.t0),f.z8.error({message:gn("Error: couldn't install plugin.","addonify-compare-products"),offset:50,duration:2e4}),t.isWaitingForInstallation=!1,n.next=22,n.t0;case 23:case"end":return n.stop()}}),n,null,[[0,15]])})))()},updateAddonStatus:function(e){var t=this;return yn(mn().mark((function n(){var o;return mn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to set the status of plugin ".concat(e,"...")),n.next=4,vn({method:"POST",path:"/wp/v2/plugins/".concat(e),data:{status:"active",plugin:"".concat(e,"/").concat(e)}});case 4:if(o=n.sent,console.log(o),"active"!=o.status){n.next=13;break}return console.log("=> Plugin ".concat(e," activated successfully.")),f.z8.success({message:gn("Plugin activated successfully.","addonify-compare-products"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,o;case 12:case 21:return n.abrupt("return",n.sent);case 13:n.next=22;break;case 15:return n.prev=15,n.t0=n.catch(0),console.log(n.t0),f.z8.error({message:gn("Error: Couldn't activate the plugin.","addonify-compare-products"),offset:50,duration:2e4}),n.next=21,n.t0;case 22:case"end":return n.stop()}}),n,null,[[0,15]])})))()}}});function bn(e){return bn="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},bn(e)}function Vn(){Vn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),c=new _(r||[]);return o(i,"_invoke",{value:b(e,n,c)}),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function m(){}var h={};l(h,a,(function(){return this}));var y=Object.getPrototypeOf,C=y&&y(y(S([])));C&&C!==t&&n.call(C,a)&&(h=C);var v=m.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==bn(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function b(e,t,n){var o="suspendedStart";return function(r,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw a;return E()}for(n.method=r,n.arg=a;;){var i=n.delegate;if(i){var c=V(i,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=s(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}function V(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,V(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=s(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function wn(e,t,n,o,r,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(o,r)}var xn={class:"adfy-product-card"},_n={class:"adfy-product-box"},Sn={class:"adfy-product-thumb"},En=["src","alt"],Bn={class:"content"},Nn=["innerHTML"],Ln=["innerHTML"],On={class:"adfy-product-actions"};const Mn={__name:"Recommended",props:{slug:String,name:String,description:String,thumb:String,status:String},setup:function(e){var t=e,n=wp.i18n.__,r=kn(),a=t.slug,i=t.name,c=t.thumb,l=t.description,u=(0,o.ref)(!1),s=(0,o.ref)(!1),d=(0,o.ref)(!1),p=(0,o.ref)(!1),f=n("Activate now","addonify-compare-products"),m=n("Activating...","addonify-compare-products"),h=n("Install now","addonify-compare-products"),y=n("Installing...","addonify-compare-products"),C=n("Installed","addonify-compare-products"),v=function(){var e,t=(e=Vn().mark((function e(t){return Vn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!0,p.value=!0,e.prev=2,e.next=5,r.handleAddonInstallation(t);case 5:"active"==e.sent.status&&(u.value=!1,p.value=!1,s.value=!0),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),u.value=!1,p.value=!1,s.value=!1;case 14:case"end":return e.stop()}}),e,null,[[2,9]])})),function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function i(e){wn(a,o,r,i,c,"next",e)}function c(e){wn(a,o,r,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();return function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("div",xn,[(0,o.createElementVNode)("div",_n,[(0,o.createElementVNode)("figure",Sn,[(0,o.createElementVNode)("img",{src:(0,o.unref)(c),alt:(0,o.unref)(a)},null,8,En)]),(0,o.createElementVNode)("div",Bn,[(0,o.createElementVNode)("h3",{class:"adfy-product-title",innerHTML:(0,o.unref)(i)},null,8,Nn),(0,o.createElementVNode)("p",{class:"adfy-product-description",innerHTML:(0,o.unref)(l)},null,8,Ln),(0,o.createElementVNode)("div",On,["active"==t.status||"network-active"==t.status?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(sn.mi),{key:0,size:"large",id:(0,o.unref)(a),plain:"",disabled:""},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(C)),1)]})),_:1},8,["id"])):"inactive"==t.status?((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(sn.mi),{key:1,type:"success",size:"large",id:(0,o.unref)(a),plain:"",loading:u.value,disabled:s.value,onClick:n[0]||(n[0]=function(e){return function(e){u.value=!0,d.value=!0;try{"active"==r.updateAddonStatus(e).status&&(u.value=!1,d.value=!1,s.value=!0)}catch(e){u.value=!1,d.value=!1,s.value=!1}}((0,o.unref)(a))})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(d.value?(0,o.unref)(m):(0,o.unref)(f)),1)]})),_:1},8,["id","loading","disabled"])):((0,o.openBlock)(),(0,o.createBlock)((0,o.unref)(sn.mi),{key:2,type:"primary",size:"large",id:(0,o.unref)(a),plain:"",loading:u.value,disabled:s.value,onClick:n[1]||(n[1]=function(e){return v((0,o.unref)(a))})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(p.value?(0,o.unref)(y):(0,o.unref)(h)),1)]})),_:1},8,["id","loading","disabled"]))])])])])}}};var Zn=n(9031),Pn={insert:"head",singleton:!1};he()(Zn.Z,Pn);Zn.Z.locals;const An=Mn;var Hn={class:"adfy-container"},zn={class:"adfy-columns main-content"},jn={class:"adfy-col start aside secondary"},Tn={class:"adfy-col end site-primary"},Dn={key:1,id:"recommended-products"},Fn={id:"recommended-hot-products"},In={class:"adfy-grid"},Kn=(0,o.createElementVNode)("div",{id:"recommended-general-products"},null,-1);var Un={class:"error-404"};const Rn={__name:"404",setup:function(e){var t=wp.i18n.__;return function(e,n){var r=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Un,[(0,o.createElementVNode)("h3",null,(0,o.toDisplayString)((0,o.unref)(t)("404","addonify-compare-products")),1),(0,o.createElementVNode)("p",null,(0,o.toDisplayString)((0,o.unref)(t)("Oops, page not found!","addonify-compare-products")),1),(0,o.createVNode)(r,{to:"/",class:"adfy-button"},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(t)("Go Back","addonify-compare-products")),1)]})),_:1})])}}};var Gn=[{path:"/",name:"Settings",component:Rt},{path:"/styles",name:"Styles",component:un},{path:"/products",name:"Products",component:{__name:"Products",setup:function(e){var t=kn();return(0,o.onBeforeMount)((function(){t.haveAddonStateInMemory||t.fetchInstalledAddons()})),(0,o.onMounted)((function(){t.haveAddonStateInMemory||t.fetchGithubRepo()})),function(e,n){return(0,o.openBlock)(),(0,o.createElementBlock)("section",Hn,[(0,o.createElementVNode)("main",zn,[(0,o.createElementVNode)("aside",jn,[(0,o.createVNode)(oe)]),(0,o.createElementVNode)("section",Tn,[!0===(0,o.unref)(t).isFetching||!0===(0,o.unref)(t).isFetchingAllInstalledAddons||!0===(0,o.unref)(t).isSettingAddonStatus?((0,o.openBlock)(),(0,o.createBlock)(J,{key:0})):((0,o.openBlock)(),(0,o.createElementBlock)("section",Dn,[(0,o.createElementVNode)("div",Fn,[(0,o.createElementVNode)("div",In,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)((0,o.unref)(t).hotAddons,(function(e,n){return(0,o.openBlock)(),(0,o.createBlock)(An,{slug:n,name:e.name,description:e.description,thumb:e.thumbnail,status:(0,o.unref)(t).allProductSlugStatus[n]},null,8,["slug","name","description","thumb","status"])})),256))])]),Kn]))])])])}}}},{path:"/:catchAll(.*)*",name:"404",component:Rn}];const qn=(0,G.p7)({history:(0,G.r5)(),routes:Gn});var Yn=(0,r.WB)(),$n=(0,o.createApp)(R);$n.use(Yn),$n.use(qn),$n.mount("#___adfy-compare-products-app___")}},e=>{var t=t=>e(e.s=t);e.O(0,[703,898],(()=>(t(6713),t(7218))));e.O()}]); \ No newline at end of file diff --git a/admin/class-addonify-compare-products-admin.php b/admin/class-addonify-compare-products-admin.php index 8a9aa05..566083e 100644 --- a/admin/class-addonify-compare-products-admin.php +++ b/admin/class-addonify-compare-products-admin.php @@ -63,29 +63,6 @@ public function __construct( $plugin_name, $version ) { $this->version = $version; } - /** - * Initialize admin hooks. - * - * @since 1.0.0 - */ - public function admin_init() { - - // Enqueue admin scripts and styles. - add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) ); - add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); - - // Display admin notice if WooCommerce is not active. - if ( ! class_exists( 'WooCommerce' ) ) { - - add_action( 'admin_notices', array( $this, 'woocommerce_not_active_notice' ) ); - } else { - // Register admin menu in the dashboard. - add_action( 'admin_menu', array( $this, 'add_menu_callback' ), 20 ); - - // Add a custom link in plugins.php page in wp-admin. - add_action( 'plugin_action_links', array( $this, 'custom_plugin_link_callback' ), 10, 2 ); - } - } /** * Register the stylesheets for the admin area. @@ -102,7 +79,6 @@ public function enqueue_styles() { } - /** * Register the JavaScript for the admin area. * @@ -160,7 +136,6 @@ public function enqueue_scripts() { } - /** * Generate admin menu for this plugin * @@ -208,23 +183,19 @@ public function add_menu_callback() { } - /** - * Print "settings" link in plugins.php admin page + * Add settings link to plugin actions. * * @since 1.0.0 - * @param string $links Links. - * @param string $file PLugin file name. + * @param array $links Plugin actions. */ - public function custom_plugin_link_callback( $links, $file ) { - - if ( plugin_basename( dirname( __FILE__, 2 ) . '/addonify-compare-products.php' ) === $file ) { + public function custom_plugin_link_callback( $links ) { - // add "Settings" link. - $links[] = '' . __( 'Settings', 'addonify-compare-products' ) . ''; - } + $action_links = array( + '' . __( 'Settings', 'addonify-compare-products' ) . '', + ); - return $links; + return array_merge( $action_links, $links ); } @@ -238,14 +209,4 @@ public function get_settings_screen_contents() {
+ /** + * Define props. + * + * @since 1.2.0 + */ + const props = defineProps({ + name: { + type: String, + required: true, + }, + }); + + const { name } = props; + + diff --git a/admin/src/components/core/Logo.vue b/admin/src/components/core/Logo.vue new file mode 100644 index 0000000..cd21ca7 --- /dev/null +++ b/admin/src/components/core/Logo.vue @@ -0,0 +1,43 @@ + + diff --git a/admin/src/components/layouts/Header.vue b/admin/src/components/layouts/Header.vue index d6126fe..a2f12f2 100644 --- a/admin/src/components/layouts/Header.vue +++ b/admin/src/components/layouts/Header.vue @@ -1,5 +1,8 @@ @@ -10,46 +13,7 @@
- - - - - - - - - - - - - - +
@@ -70,15 +34,7 @@ :loading="store.isSaving" > - - - + {{ __("Save Options", "addonify-compare-products") }} diff --git a/admin/templates/woocommerce-not-active-notice.php b/admin/templates/woocommerce-not-active-notice.php deleted file mode 100644 index 6f670c7..0000000 --- a/admin/templates/woocommerce-not-active-notice.php +++ /dev/null @@ -1,25 +0,0 @@ - - */ - -// direct access is disabled. -defined( 'ABSPATH' ) || exit; -?> -
-

-
diff --git a/includes/addonify-compare-products-helpers-functions.php b/includes/addonify-compare-products-helpers-functions.php index 977b213..62b63e1 100644 --- a/includes/addonify-compare-products-helpers-functions.php +++ b/includes/addonify-compare-products-helpers-functions.php @@ -132,3 +132,20 @@ function addonify_compare_products_is_empty_compare_cookie() { return ( is_array( $compare_cookie ) && count( $compare_cookie ) === 0 ) ? true : false; } } + + +if ( ! function_exists( 'addonify_compare_products_get_selected_compare_button_icon' ) ) { + /** + * Get selected compare button icon. + * + * @since 1.1.11 + * + * @param string $selected_icon Selected icon. + */ + function addonify_compare_products_get_selected_compare_button_icon( $selected_icon = 'icon_one' ) { + + $compare_button_icons = addonify_compare_products_get_compare_button_icons(); + + return $compare_button_icons[ $selected_icon ]; + } +} diff --git a/includes/addonify-compare-products-template-functions.php b/includes/addonify-compare-products-template-functions.php index a3a04f5..fe757fd 100644 --- a/includes/addonify-compare-products-template-functions.php +++ b/includes/addonify-compare-products-template-functions.php @@ -47,8 +47,6 @@ function addonify_compare_products_locate_template( $template_name, $template_pa } - - if ( ! function_exists( 'addonify_compare_products_get_template' ) ) { /** * Get template file from plugin templates folder. @@ -77,57 +75,24 @@ function addonify_compare_products_get_template( $template_name, $args = array() } - - if ( ! function_exists( 'addonify_compare_products_render_compare_button' ) ) { /** * Renders the compare button in products loop. * * @since 1.0.0 + * + * @param array $args Button arguments. */ - function addonify_compare_products_render_compare_button() { - - global $product; - - $compare_button_css_classes = array( 'button', 'addonify-cp-button' ); - - $button_icon = ''; - - if ( - addonify_compare_products_get_option( 'compare_products_btn_show_icon' ) && - addonify_compare_products_get_option( 'compare_products_btn_icon' ) - ) { - - $compare_button_icon_key = addonify_compare_products_get_option( 'compare_products_btn_icon' ); - - $compare_button_icons = addonify_compare_products_get_compare_button_icons(); - - $button_icon = $compare_button_icons[ $compare_button_icon_key ]; - - if ( addonify_compare_products_get_option( 'compare_products_btn_icon_position' ) === 'left' ) { - $compare_button_css_classes[] = 'icon-position-left'; - } else { - $compare_button_css_classes[] = 'icon-position-right'; - } - } - - $compare_button_args = array( - 'product_id' => $product->get_id(), - 'label' => addonify_compare_products_get_option( 'compare_products_btn_label' ), - 'classes' => apply_filters( 'addonify_compare_products_compare_button_css_classes', $compare_button_css_classes ), - 'button_icon' => $button_icon, - ); + function addonify_compare_products_render_compare_button( $args = array() ) { addonify_compare_products_get_template( 'addonify-compare-products-button.php', - apply_filters( 'addonify_compare_products_compare_button_args', $compare_button_args ) + apply_filters( 'addonify_compare_products_compare_button_args', $args ) ); } } - - if ( ! function_exists( 'addonify_compare_products_render_comparison_modal' ) ) { /** * Renders the comparison modal. @@ -168,8 +133,6 @@ function addonify_compare_products_render_docker_modal() { } - - if ( ! function_exists( 'addonify_compare_products_render_search_modal' ) ) { /** * Renders the search modal. @@ -183,7 +146,6 @@ function addonify_compare_products_render_search_modal() { } - if ( ! function_exists( 'addonify_compare_products_render_comparison_content' ) ) { /** @@ -326,8 +288,6 @@ function addonify_compare_products_render_comparison_content() { } - - if ( ! function_exists( 'addonify_compare_products_render_docker_message' ) ) { /** * Renders the message in the docker. @@ -349,8 +309,6 @@ function addonify_compare_products_render_docker_message() { } - - if ( ! function_exists( 'addonify_compare_products_render_docker_add_button' ) ) { /** * Renders the add button in the docker. @@ -364,8 +322,6 @@ function addonify_compare_products_render_docker_add_button() { } - - if ( ! function_exists( 'addonify_compare_products_render_docker_content' ) ) { /** @@ -387,8 +343,6 @@ function addonify_compare_products_render_docker_content() { } - - if ( ! function_exists( 'addonify_compare_products_render_docker_compare_button' ) ) { /** * Render the compare button in docker. @@ -413,8 +367,6 @@ function addonify_compare_products_render_docker_compare_button() { } - - if ( ! function_exists( 'addonify_compare_products_render_docker_search_result' ) ) { /** * Renders the search result in the search modal. @@ -452,6 +404,7 @@ function addonify_compare_products_product_remove_button( $product ) { } } + if ( ! function_exists( 'addonify_compare_products_product_image' ) ) { /** * HTML definition of product image displayed in compare table. @@ -472,6 +425,7 @@ function addonify_compare_products_product_image( $product ) { } } + if ( ! function_exists( 'addonify_compare_products_product_title' ) ) { /** * HTML definition of product title displayed in compare table. @@ -547,7 +501,7 @@ function addonify_compare_products_product_rating( $product ) { $rating = wc_get_rating_html( $product->get_average_rating() ); $ratings_count = $product->get_rating_counts() ? count( $product->get_rating_counts() ) : 0; - $product_rating = ( $rating ) ? wp_kses_post( $rating ) . '(' . esc_html( $ratings_count ) . ')' : esc_html__('N/A', 'addonify-compare-products'); + $product_rating = ( $rating ) ? wp_kses_post( $rating ) . '(' . esc_html( $ratings_count ) . ')' : esc_html__( 'N/A', 'addonify-compare-products' ); return apply_filters( 'addonify_compare_products_filter_product_rating', @@ -590,6 +544,7 @@ function addonify_compare_products_product_in_stock( $product ) { } } + if ( ! function_exists( 'addonify_compare_products_product_add_to_cart_button' ) ) { /** * HTML definition of product add to cart button displayed in compare table. @@ -610,6 +565,7 @@ function addonify_compare_products_product_add_to_cart_button( $product ) { } } + if ( ! function_exists( 'addonify_compare_products_product_attribute_properties' ) ) { /** * HTML definition of default product attribute displayed in compare table. @@ -645,7 +601,7 @@ function addonify_compare_products_product_attribute_properties( $product, $attr } } - $product_attribute_properties = ( $attribute_value_names ) ? wpautop( wptexturize( implode( ', ', $attribute_value_names ) ) ) : esc_html__('N/A', 'addonify-compare-products'); + $product_attribute_properties = ( $attribute_value_names ) ? wpautop( wptexturize( implode( ', ', $attribute_value_names ) ) ) : esc_html__( 'N/A', 'addonify-compare-products' ); return apply_filters( 'addonify_compare_products_filter_product_attribute_properties', @@ -656,6 +612,7 @@ function addonify_compare_products_product_attribute_properties( $product, $attr } } + if ( ! function_exists( 'addonify_compare_products_product_weight' ) ) { /** * HTML definition of product weight displayed in compare table. @@ -666,7 +623,7 @@ function addonify_compare_products_product_attribute_properties( $product, $attr */ function addonify_compare_products_product_weight( $product ) { - $product_weight = ( $product->has_weight() && $product->get_weight() ) ? wc_format_weight( $product->get_weight() ) : esc_html__('N/A', 'addonify-compare-products'); + $product_weight = ( $product->has_weight() && $product->get_weight() ) ? wc_format_weight( $product->get_weight() ) : esc_html__( 'N/A', 'addonify-compare-products' ); return apply_filters( 'addonify_compare_products_filter_product_weight', @@ -676,6 +633,7 @@ function addonify_compare_products_product_weight( $product ) { } } + if ( ! function_exists( 'addonify_compare_products_product_dimensions' ) ) { /** * HTML definition of product dimensions displayed in compare table. @@ -686,7 +644,7 @@ function addonify_compare_products_product_weight( $product ) { */ function addonify_compare_products_product_dimensions( $product ) { - $product_dimensions = ( $product->has_dimensions() && $product->get_dimensions( false ) ) ? wc_format_dimensions( $product->get_dimensions( false ) ) : esc_html__('N/A', 'addonify-compare-products'); + $product_dimensions = ( $product->has_dimensions() && $product->get_dimensions( false ) ) ? wc_format_dimensions( $product->get_dimensions( false ) ) : esc_html__( 'N/A', 'addonify-compare-products' ); return apply_filters( 'addonify_compare_products_filter_product_dimensions', @@ -735,7 +693,7 @@ function addonify_compare_products_product_additional_information( $product ) { $additional_information_html .= ''; } } else { - $additional_information_html = esc_html__('N/A', 'addonify-compare-products'); + $additional_information_html = esc_html__( 'N/A', 'addonify-compare-products' ); } return apply_filters( diff --git a/includes/class-addonify-compare-products.php b/includes/class-addonify-compare-products.php index 62811cd..e9274ec 100644 --- a/includes/class-addonify-compare-products.php +++ b/includes/class-addonify-compare-products.php @@ -169,7 +169,12 @@ private function define_admin_hooks() { $plugin_admin = new Addonify_Compare_Products_Admin( $this->get_plugin_name(), $this->get_version() ); - $this->loader->add_action( 'plugins_loaded', $plugin_admin, 'admin_init' ); + $this->loader->add_action( 'plugin_action_links_' . ADDONIFY_COMPARE_PRODUCTS_BASENAME, $plugin_admin, 'custom_plugin_link_callback' ); + + $this->loader->add_action( 'admin_menu', $plugin_admin, 'add_menu_callback', 20 ); + + $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); + $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); } /** @@ -183,7 +188,7 @@ private function define_public_hooks() { $plugin_public = new Addonify_Compare_Products_Public( $this->get_plugin_name(), $this->get_version() ); - $this->loader->add_action( 'plugins_loaded', $plugin_public, 'public_init' ); + $this->loader->add_action( 'init', $plugin_public, 'public_init' ); } diff --git a/includes/setting-functions/fields/compare-button.php b/includes/setting-functions/fields/compare-button.php index 659f5f5..cecb9d1 100644 --- a/includes/setting-functions/fields/compare-button.php +++ b/includes/setting-functions/fields/compare-button.php @@ -19,19 +19,33 @@ function addonify_compare_products_compare_button_general_fields() { return array( - 'compare_products_btn_position' => array( + 'compare_products_btn_position' => array( 'type' => 'select', 'className' => '', - 'label' => __( 'Button Position', 'addonify-compare-products' ), - 'description' => __( 'Choose where to place the compare button.', 'addonify-compare-products' ), + 'label' => __( 'Button Position in Products Loop', 'addonify-compare-products' ), + 'description' => __( 'Choose where to place the compare button in products loop.', 'addonify-compare-products' ), 'choices' => array( 'after_add_to_cart' => __( 'After Add to Cart Button', 'addonify-compare-products' ), 'before_add_to_cart' => __( 'Before Add to Cart Button', 'addonify-compare-products' ), ), - 'dependent' => array( 'enable_product_comparison' ), + 'dependent' => array( 'enable_product_comparison', 'enable_product_comparison_on_archive' ), 'value' => addonify_compare_products_get_option( 'compare_products_btn_position' ), ), - 'compare_products_btn_label' => array( + 'compare_products_btn_position_on_single' => array( + 'type' => 'select', + 'className' => '', + 'label' => __( 'Button Position in Product Single Page', 'addonify-compare-products' ), + 'description' => __( 'Choose where to place the compare button in product single page.', 'addonify-compare-products' ), + 'choices' => array( + 'before_add_to_cart_form' => __( 'Before Add to Cart Form', 'addonify-compare-products' ), + 'before_add_to_cart_button' => __( 'Before Add to Cart Button', 'addonify-compare-products' ), + 'after_add_to_cart_button' => __( 'After Add to Cart Button', 'addonify-compare-products' ), + 'after_add_to_cart_form' => __( 'After Add to Cart Form', 'addonify-compare-products' ), + ), + 'dependent' => array( 'enable_product_comparison', 'enable_product_comparison_on_single' ), + 'value' => addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ), + ), + 'compare_products_btn_label' => array( 'type' => 'text', 'className' => '', 'label' => __( 'Button Label', 'addonify-compare-products' ), @@ -39,7 +53,7 @@ function addonify_compare_products_compare_button_general_fields() { 'dependent' => array( 'enable_product_comparison' ), 'value' => addonify_compare_products_get_option( 'compare_products_btn_label' ), ), - 'compare_products_btn_show_icon' => array( + 'compare_products_btn_show_icon' => array( 'type' => 'switch', 'className' => '', 'label' => __( 'Show Icon', 'addonify-compare-products' ), @@ -47,7 +61,7 @@ function addonify_compare_products_compare_button_general_fields() { 'dependent' => array( 'enable_product_comparison' ), 'value' => addonify_compare_products_get_option( 'compare_products_btn_show_icon' ), ), - 'compare_products_btn_icon' => array( + 'compare_products_btn_icon' => array( 'type' => 'radio', 'typeStyle' => 'radioIcon', // Not used on Front-End Control. Only for Ref! 'renderChoices' => 'html', @@ -58,7 +72,7 @@ function addonify_compare_products_compare_button_general_fields() { 'dependent' => array( 'enable_product_comparison', 'compare_products_btn_show_icon' ), 'value' => addonify_compare_products_get_option( 'compare_products_btn_icon' ), ), - 'compare_products_btn_icon_position' => array( + 'compare_products_btn_icon_position' => array( 'type' => 'select', 'className' => '', 'label' => __( 'Icon Position', 'addonify-compare-products' ), diff --git a/includes/setting-functions/fields/general.php b/includes/setting-functions/fields/general.php index 63b53ac..38bfebf 100644 --- a/includes/setting-functions/fields/general.php +++ b/includes/setting-functions/fields/general.php @@ -19,7 +19,7 @@ function addonify_compare_products_general_setting_fields() { return array( - 'enable_product_comparison' => array( + 'enable_product_comparison' => array( 'label' => __( 'Enable Products Comparison', 'addonify-compare-products' ), 'description' => __( 'If disabled, products comparison will not be functional.', 'addonify-compare-products' ), 'type' => 'switch', @@ -27,7 +27,31 @@ function addonify_compare_products_general_setting_fields() { 'badge' => 'Required', 'value' => addonify_compare_products_get_option( 'enable_product_comparison' ), ), - 'compare_products_display_type' => array( + 'enable_login_required' => array( + 'label' => __( 'Enable Login Required', 'addonify-compare-products' ), + 'description' => __( 'If enabled, products comparison will be available only to logged in users.', 'addonify-compare-products' ), + 'type' => 'switch', + 'className' => '', + 'dependent' => array( 'enable_product_comparison' ), + 'value' => addonify_compare_products_get_option( 'enable_login_required' ), + ), + 'enable_product_comparison_on_archive' => array( + 'label' => __( 'Enable Products Comparison on Products Loop', 'addonify-compare-products' ), + 'description' => __( 'If disabled, products comparison will not be functional on products loop.', 'addonify-compare-products' ), + 'type' => 'switch', + 'className' => '', + 'dependent' => array( 'enable_product_comparison' ), + 'value' => addonify_compare_products_get_option( 'enable_product_comparison_on_archive' ), + ), + 'enable_product_comparison_on_single' => array( + 'label' => __( 'Enable Products Comparison on Product Single Page', 'addonify-compare-products' ), + 'description' => __( 'If disabled, products comparison will not be functional on product single page.', 'addonify-compare-products' ), + 'type' => 'switch', + 'className' => '', + 'dependent' => array( 'enable_product_comparison' ), + 'value' => addonify_compare_products_get_option( 'enable_product_comparison_on_single' ), + ), + 'compare_products_display_type' => array( 'type' => 'select', 'className' => '', 'placeholder' => __( 'Select a page', 'addonify-compare-products' ), @@ -40,7 +64,7 @@ function addonify_compare_products_general_setting_fields() { ), 'value' => addonify_compare_products_get_option( 'compare_products_display_type' ), ), - 'compare_page' => array( + 'compare_page' => array( 'type' => 'select', 'className' => '', 'placeholder' => __( 'Select a page', 'addonify-compare-products' ), @@ -50,7 +74,7 @@ function addonify_compare_products_general_setting_fields() { 'choices' => addonify_compare_products_get_pages(), 'value' => addonify_compare_products_get_option( 'compare_page' ), ), - 'compare_products_cookie_expires' => array( + 'compare_products_cookie_expires' => array( 'type' => 'number', 'className' => '', 'typeStyle' => 'toggle', // Acceptable values - 'default', 'toggle' & slider. diff --git a/includes/setting-functions/settings.php b/includes/setting-functions/settings.php index 54211ac..5ee8a81 100644 --- a/includes/setting-functions/settings.php +++ b/includes/setting-functions/settings.php @@ -62,7 +62,11 @@ function addonify_compare_products_settings_defaults( $setting_id = '' ) { array( // Settings. 'enable_product_comparison' => true, + 'enable_login_required' => false, // @since 1.1.11 + 'enable_product_comparison_on_archive' => true, // @since 1.1.11 + 'enable_product_comparison_on_single' => false, // @since 1.1.11 'compare_products_btn_position' => 'after_add_to_cart', + 'compare_products_btn_position_on_single' => 'after_add_to_cart_form', // @since 1.1.11 'compare_products_btn_show_icon' => true, 'compare_products_btn_icon' => 'icon_one', 'compare_products_btn_label' => __( 'Compare', 'addonify-compare-products' ), diff --git a/languages/addonify-compare-products.pot b/languages/addonify-compare-products.pot index 348e9bc..28cefd2 100644 --- a/languages/addonify-compare-products.pot +++ b/languages/addonify-compare-products.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: Addonify - Compare Products For WooCommerce 1.1.9\n" +"Project-Id-Version: Addonify - Compare Products For WooCommerce 1.1.11\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/addonify-compare-products\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-06-20T07:51:59+00:00\n" +"POT-Creation-Date: 2023-09-04T06:21:38+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: addonify-compare-products\n" @@ -34,46 +34,46 @@ msgstr "" msgid "https://addonify.com/" msgstr "" -#: admin/class-addonify-compare-products-admin.php:224 -#: includes/setting-functions/settings.php:306 -#: admin/assets/js/main.js:3296 -msgid "Settings" +#: addonify-compare-products.php:77 +msgid "Addonify Compare Products is enabled but not effective. This plugin requires WooCommerce plugin in order to work." msgstr "" -#: admin/templates/woocommerce-not-active-notice.php:24 -msgid "Addonify Compare Products is enabled but not effective. This plugin requires WooCommerce plugin in order to work." +#: admin/class-addonify-compare-products-admin.php:195 +#: includes/setting-functions/settings.php:310 +#: admin/assets/js/main.js:3365 +msgid "Settings" msgstr "" -#: includes/addonify-compare-products-template-functions.php:310 +#: includes/addonify-compare-products-template-functions.php:272 msgid "At least two products are needed for comparison. There is only one product in the comparison list." msgstr "" -#: includes/addonify-compare-products-template-functions.php:314 +#: includes/addonify-compare-products-template-functions.php:276 msgid "There are no products to compare." msgstr "" -#: includes/addonify-compare-products-template-functions.php:341 +#: includes/addonify-compare-products-template-functions.php:301 msgid "Select more than one item for comparison." msgstr "" -#: includes/addonify-compare-products-template-functions.php:400 -#: includes/setting-functions/settings.php:68 +#: includes/addonify-compare-products-template-functions.php:354 +#: includes/setting-functions/settings.php:72 msgid "Compare" msgstr "" -#: includes/addonify-compare-products-template-functions.php:550 -#: includes/addonify-compare-products-template-functions.php:648 -#: includes/addonify-compare-products-template-functions.php:669 -#: includes/addonify-compare-products-template-functions.php:689 -#: includes/addonify-compare-products-template-functions.php:738 +#: includes/addonify-compare-products-template-functions.php:504 +#: includes/addonify-compare-products-template-functions.php:604 +#: includes/addonify-compare-products-template-functions.php:626 +#: includes/addonify-compare-products-template-functions.php:647 +#: includes/addonify-compare-products-template-functions.php:696 msgid "N/A" msgstr "" -#: includes/addonify-compare-products-template-functions.php:577 +#: includes/addonify-compare-products-template-functions.php:531 msgid "In stock" msgstr "" -#: includes/addonify-compare-products-template-functions.php:580 +#: includes/addonify-compare-products-template-functions.php:534 msgid "Out of stock" msgstr "" @@ -98,76 +98,94 @@ msgid "Ooops, you are not allowed to manage options." msgstr "" #: includes/setting-functions/fields/compare-button.php:25 -msgid "Button Position" +msgid "Button Position in Products Loop" msgstr "" #: includes/setting-functions/fields/compare-button.php:26 -msgid "Choose where to place the compare button." +msgid "Choose where to place the compare button in products loop." msgstr "" #: includes/setting-functions/fields/compare-button.php:28 +#: includes/setting-functions/fields/compare-button.php:42 msgid "After Add to Cart Button" msgstr "" #: includes/setting-functions/fields/compare-button.php:29 +#: includes/setting-functions/fields/compare-button.php:41 msgid "Before Add to Cart Button" msgstr "" #: includes/setting-functions/fields/compare-button.php:37 -msgid "Button Label" +msgid "Button Position in Product Single Page" msgstr "" #: includes/setting-functions/fields/compare-button.php:38 +msgid "Choose where to place the compare button in product single page." +msgstr "" + +#: includes/setting-functions/fields/compare-button.php:40 +msgid "Before Add to Cart Form" +msgstr "" + +#: includes/setting-functions/fields/compare-button.php:43 +msgid "After Add to Cart Form" +msgstr "" + +#: includes/setting-functions/fields/compare-button.php:51 +msgid "Button Label" +msgstr "" + +#: includes/setting-functions/fields/compare-button.php:52 msgid "Label for compare button." msgstr "" -#: includes/setting-functions/fields/compare-button.php:45 +#: includes/setting-functions/fields/compare-button.php:59 msgid "Show Icon" msgstr "" -#: includes/setting-functions/fields/compare-button.php:46 +#: includes/setting-functions/fields/compare-button.php:60 msgid "Show icon on compare button." msgstr "" -#: includes/setting-functions/fields/compare-button.php:55 +#: includes/setting-functions/fields/compare-button.php:69 msgid "Select Icon" msgstr "" -#: includes/setting-functions/fields/compare-button.php:56 +#: includes/setting-functions/fields/compare-button.php:70 msgid "Select icon to be displayed on compare button." msgstr "" -#: includes/setting-functions/fields/compare-button.php:64 +#: includes/setting-functions/fields/compare-button.php:78 msgid "Icon Position" msgstr "" -#: includes/setting-functions/fields/compare-button.php:65 +#: includes/setting-functions/fields/compare-button.php:79 msgid "Choose position for icon in the compare button." msgstr "" -#: includes/setting-functions/fields/compare-button.php:67 +#: includes/setting-functions/fields/compare-button.php:81 msgid "Before Button Label" msgstr "" -#: includes/setting-functions/fields/compare-button.php:68 +#: includes/setting-functions/fields/compare-button.php:82 msgid "After Button Label" msgstr "" -#: includes/setting-functions/fields/compare-button.php:90 +#: includes/setting-functions/fields/compare-button.php:104 msgid "Label Color" msgstr "" -#: includes/setting-functions/fields/compare-button.php:97 +#: includes/setting-functions/fields/compare-button.php:111 msgid "Label Color on Hover" msgstr "" -#: includes/setting-functions/fields/compare-button.php:104 +#: includes/setting-functions/fields/compare-button.php:118 #: includes/setting-functions/fields/floating-compare-bar.php:24 #: includes/setting-functions/fields/search-modal.php:31 msgid "Background Color" msgstr "" -#: includes/setting-functions/fields/compare-button.php:111 +#: includes/setting-functions/fields/compare-button.php:125 msgid "Background Color on Hover" msgstr "" @@ -257,44 +275,68 @@ msgstr "" msgid "If disabled, products comparison will not be functional." msgstr "" -#: includes/setting-functions/fields/general.php:33 -#: includes/setting-functions/fields/general.php:46 +#: includes/setting-functions/fields/general.php:31 +msgid "Enable Login Required" +msgstr "" + +#: includes/setting-functions/fields/general.php:32 +msgid "If enabled, products comparison will be available only to logged in users." +msgstr "" + +#: includes/setting-functions/fields/general.php:39 +msgid "Enable Products Comparison on Products Loop" +msgstr "" + +#: includes/setting-functions/fields/general.php:40 +msgid "If disabled, products comparison will not be functional on products loop." +msgstr "" + +#: includes/setting-functions/fields/general.php:47 +msgid "Enable Products Comparison on Product Single Page" +msgstr "" + +#: includes/setting-functions/fields/general.php:48 +msgid "If disabled, products comparison will not be functional on product single page." +msgstr "" + +#: includes/setting-functions/fields/general.php:57 +#: includes/setting-functions/fields/general.php:70 msgid "Select a page" msgstr "" -#: includes/setting-functions/fields/general.php:34 +#: includes/setting-functions/fields/general.php:58 msgid "Products Comparison Display" msgstr "" -#: includes/setting-functions/fields/general.php:35 +#: includes/setting-functions/fields/general.php:59 msgid "Select a method to display product comparison." msgstr "" -#: includes/setting-functions/fields/general.php:38 +#: includes/setting-functions/fields/general.php:62 msgid "Popup Modal" msgstr "" -#: includes/setting-functions/fields/general.php:39 +#: includes/setting-functions/fields/general.php:63 msgid "Page" msgstr "" -#: includes/setting-functions/fields/general.php:47 +#: includes/setting-functions/fields/general.php:71 msgid "Products Comparison Page" msgstr "" -#: includes/setting-functions/fields/general.php:48 +#: includes/setting-functions/fields/general.php:72 msgid "Select a page to display products comparison table." msgstr "" -#: includes/setting-functions/fields/general.php:57 +#: includes/setting-functions/fields/general.php:81 msgid "Time to Save Compare Data" msgstr "" -#: includes/setting-functions/fields/general.php:80 +#: includes/setting-functions/fields/general.php:104 msgid "Enable Styles from Plugin" msgstr "" -#: includes/setting-functions/fields/general.php:81 +#: includes/setting-functions/fields/general.php:105 msgid "Enable to apply styles and colors from the plugin." msgstr "" @@ -381,43 +423,43 @@ msgstr "" msgid "Action" msgstr "" -#: includes/setting-functions/settings.php:309 +#: includes/setting-functions/settings.php:313 msgid "General Options" msgstr "" -#: includes/setting-functions/settings.php:314 +#: includes/setting-functions/settings.php:318 msgid "Compare Button Options" msgstr "" -#: includes/setting-functions/settings.php:319 +#: includes/setting-functions/settings.php:323 msgid "Comparison Table" msgstr "" -#: includes/setting-functions/settings.php:328 +#: includes/setting-functions/settings.php:332 msgid "General" msgstr "" -#: includes/setting-functions/settings.php:333 +#: includes/setting-functions/settings.php:337 msgid "Compare Button Colors" msgstr "" -#: includes/setting-functions/settings.php:340 +#: includes/setting-functions/settings.php:344 msgid "Floating Dock Colors" msgstr "" -#: includes/setting-functions/settings.php:347 +#: includes/setting-functions/settings.php:351 msgid "Search Modal Colors" msgstr "" -#: includes/setting-functions/settings.php:354 +#: includes/setting-functions/settings.php:358 msgid "Comparison Table Colors" msgstr "" -#: includes/setting-functions/settings.php:361 +#: includes/setting-functions/settings.php:365 msgid "Developer" msgstr "" -#: includes/setting-functions/settings.php:370 +#: includes/setting-functions/settings.php:374 msgid "Coming soon...." msgstr "" @@ -450,16 +492,20 @@ msgstr "" msgid "Later" msgstr "" -#: public/class-addonify-compare-products-public.php:197 -#: public/class-addonify-compare-products-public.php:219 +#: public/class-addonify-compare-products-public.php:318 +msgid "Invalid product." +msgstr "" + +#: public/class-addonify-compare-products-public.php:371 +#: public/class-addonify-compare-products-public.php:393 msgid "Invalid security token." msgstr "" -#: public/class-addonify-compare-products-public.php:228 +#: public/class-addonify-compare-products-public.php:402 msgid "Invalid product ID." msgstr "" -#: public/class-addonify-compare-products-public.php:240 +#: public/class-addonify-compare-products-public.php:414 msgid "Product added into the compare list." msgstr "" @@ -521,80 +567,80 @@ msgstr "" msgid "Error: Couldn't activate the plugin." msgstr "" -#: admin/assets/js/main.js:876 -#: admin/assets/js/main.js:1444 +#: admin/assets/js/main.js:920 +#: admin/assets/js/main.js:1488 msgid "No choices found." msgstr "" -#: admin/assets/js/main.js:1332 +#: admin/assets/js/main.js:1376 msgid "Select" msgstr "" -#: admin/assets/js/main.js:1897 +#: admin/assets/js/main.js:1947 msgid "Activate now" msgstr "" -#: admin/assets/js/main.js:1898 +#: admin/assets/js/main.js:1948 msgid "Activating..." msgstr "" -#: admin/assets/js/main.js:1899 +#: admin/assets/js/main.js:1949 msgid "Install now" msgstr "" -#: admin/assets/js/main.js:1900 +#: admin/assets/js/main.js:1950 msgid "Installing..." msgstr "" -#: admin/assets/js/main.js:1901 +#: admin/assets/js/main.js:1951 msgid "Installed" msgstr "" -#: admin/assets/js/main.js:2749 +#: admin/assets/js/main.js:2854 msgid "Input is not supported." msgstr "" -#: admin/assets/js/main.js:2749 +#: admin/assets/js/main.js:2854 msgid "Check docs" msgstr "" -#: admin/assets/js/main.js:3032 -#: admin/assets/js/main.js:3060 +#: admin/assets/js/main.js:3137 +#: admin/assets/js/main.js:3165 msgid "Enter text here..." msgstr "" -#: admin/assets/js/main.js:3108 +#: admin/assets/js/main.js:3213 msgid "Version" msgstr "" -#: admin/assets/js/main.js:3108 +#: admin/assets/js/main.js:3213 msgid "Rate" msgstr "" -#: admin/assets/js/main.js:3200 +#: admin/assets/js/main.js:3267 msgid "Documentation" msgstr "" -#: admin/assets/js/main.js:3208 +#: admin/assets/js/main.js:3277 msgid "Save Options" msgstr "" -#: admin/assets/js/main.js:3304 +#: admin/assets/js/main.js:3373 msgid "Design" msgstr "" -#: admin/assets/js/main.js:3312 +#: admin/assets/js/main.js:3381 msgid "Products" msgstr "" -#: admin/assets/js/main.js:3820 +#: admin/assets/js/main.js:3889 msgid "404" msgstr "" -#: admin/assets/js/main.js:3820 +#: admin/assets/js/main.js:3889 msgid "Oops, page not found!" msgstr "" -#: admin/assets/js/main.js:3825 +#: admin/assets/js/main.js:3894 msgid "Go Back" msgstr "" diff --git a/public/assets/build/css/conditional/perfect-scrollbar.css.map b/public/assets/build/css/conditional/perfect-scrollbar.css.map index 10b9427..55211d8 100644 --- a/public/assets/build/css/conditional/perfect-scrollbar.css.map +++ b/public/assets/build/css/conditional/perfect-scrollbar.css.map @@ -1 +1 @@ -{"version":3,"sources":["perfect-scrollbar.scss","perfect-scrollbar.css"],"names":[],"mappings":"AACA,IAII,uBAAA,CAFA,yBAAA,CACA,oBAAA,CAEA,iBAAA,CACA,qBCDJ,CDOA,YAQI,QAAA,CAFA,WCEJ,CDKA,wBAXI,YAAA,CACA,SAAA,CAOA,iBAAA,CANA,yDAAA,CACA,iECeJ,CDPA,YAQI,OAAA,CAFA,SCCJ,CDMA,oDAII,4BAAA,CADA,aCHJ,CDOA,oJAOI,UCLJ,CDQA,kJAOI,qBAAA,CACA,UCNJ,CDYA,aAQI,UAAA,CAFA,UAAA,CAFA,6DAAA,CACA,qECFJ,CDUA,0BAXI,qBAAA,CACA,iBAAA,CAOA,iBCKJ,CDFA,aAQI,SAAA,CAJA,4DAAA,CACA,oEAAA,CACA,SCJJ,CDWA,oGAII,qBAAA,CACA,UCTJ,CDYA,oGAII,qBAAA,CACA,SCVJ,CDcA,oCAEI,IAEI,uBCZN,CACF,CDeA,sEAGI,IAEI,uBChBN,CACF","file":"perfect-scrollbar.css","sourcesContent":["\r\n.ps {\r\n\r\n overflow: hidden !important;\r\n overflow-anchor: none;\r\n -ms-overflow-style: none;\r\n touch-action: auto;\r\n -ms-touch-action: auto;\r\n}\r\n\r\n/*\r\n * Scrollbar rail styles\r\n */\r\n.ps__rail-x {\r\n\r\n display: none;\r\n opacity: 0;\r\n transition: background-color .2s linear, opacity .2s linear;\r\n -webkit-transition: background-color .2s linear, opacity .2s linear;\r\n height: 15px;\r\n /* there must be 'bottom' or 'top' for ps__rail-x */\r\n bottom: 0px;\r\n /* please don't change 'position' */\r\n position: absolute;\r\n}\r\n\r\n.ps__rail-y {\r\n\r\n display: none;\r\n opacity: 0;\r\n transition: background-color .2s linear, opacity .2s linear;\r\n -webkit-transition: background-color .2s linear, opacity .2s linear;\r\n width: 6px;\r\n /* there must be 'right' or 'left' for ps__rail-y */\r\n right: 0;\r\n /* please don't change 'position' */\r\n position: absolute;\r\n}\r\n\r\n.ps--active-x>.ps__rail-x,\r\n.ps--active-y>.ps__rail-y {\r\n\r\n display: block;\r\n background-color: transparent;\r\n}\r\n\r\n.ps:hover>.ps__rail-x,\r\n.ps:hover>.ps__rail-y,\r\n.ps--focus>.ps__rail-x,\r\n.ps--focus>.ps__rail-y,\r\n.ps--scrolling-x>.ps__rail-x,\r\n.ps--scrolling-y>.ps__rail-y {\r\n\r\n opacity: 0.6;\r\n}\r\n\r\n.ps .ps__rail-x:hover,\r\n.ps .ps__rail-y:hover,\r\n.ps .ps__rail-x:focus,\r\n.ps .ps__rail-y:focus,\r\n.ps .ps__rail-x.ps--clicking,\r\n.ps .ps__rail-y.ps--clicking {\r\n\r\n background-color: #eee;\r\n opacity: 0.9;\r\n}\r\n\r\n/*\r\n * Scrollbar thumb styles\r\n */\r\n.ps__thumb-x {\r\n\r\n background-color: #aaa;\r\n border-radius: 6px;\r\n transition: background-color .2s linear, height .2s ease-in-out;\r\n -webkit-transition: background-color .2s linear, height .2s ease-in-out;\r\n height: 6px;\r\n /* there must be 'bottom' for ps__thumb-x */\r\n bottom: 2px;\r\n /* please don't change 'position' */\r\n position: absolute;\r\n}\r\n\r\n.ps__thumb-y {\r\n\r\n background-color: #aaa;\r\n border-radius: 6px;\r\n transition: background-color .2s linear, width .2s ease-in-out;\r\n -webkit-transition: background-color .2s linear, width .2s ease-in-out;\r\n width: 6px;\r\n /* there must be 'right' for ps__thumb-y */\r\n right: 2px;\r\n /* please don't change 'position' */\r\n position: absolute;\r\n}\r\n\r\n.ps__rail-x:hover>.ps__thumb-x,\r\n.ps__rail-x:focus>.ps__thumb-x,\r\n.ps__rail-x.ps--clicking .ps__thumb-x {\r\n\r\n background-color: #999;\r\n height: 6px;\r\n}\r\n\r\n.ps__rail-y:hover>.ps__thumb-y,\r\n.ps__rail-y:focus>.ps__thumb-y,\r\n.ps__rail-y.ps--clicking .ps__thumb-y {\r\n\r\n background-color: #999;\r\n width: 6px;\r\n}\r\n\r\n/* MS supports */\r\n@supports (-ms-overflow-style: none) {\r\n\r\n .ps {\r\n\r\n overflow: auto !important;\r\n }\r\n}\r\n\r\n@media screen and (-ms-high-contrast: active),\r\n(-ms-high-contrast: none) {\r\n\r\n .ps {\r\n\r\n overflow: auto !important;\r\n }\r\n}\r\n",".ps {\n overflow: hidden !important;\n overflow-anchor: none;\n -ms-overflow-style: none;\n touch-action: auto;\n -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n display: none;\n opacity: 0;\n transition: background-color 0.2s linear, opacity 0.2s linear;\n -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;\n height: 15px;\n /* there must be 'bottom' or 'top' for ps__rail-x */\n bottom: 0px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-y {\n display: none;\n opacity: 0;\n transition: background-color 0.2s linear, opacity 0.2s linear;\n -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;\n width: 6px;\n /* there must be 'right' or 'left' for ps__rail-y */\n right: 0;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n display: block;\n background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n background-color: #eee;\n opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color 0.2s linear, height 0.2s ease-in-out;\n -webkit-transition: background-color 0.2s linear, height 0.2s ease-in-out;\n height: 6px;\n /* there must be 'bottom' for ps__thumb-x */\n bottom: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__thumb-y {\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color 0.2s linear, width 0.2s ease-in-out;\n -webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out;\n width: 6px;\n /* there must be 'right' for ps__thumb-y */\n right: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n background-color: #999;\n height: 6px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n background-color: #999;\n width: 6px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n .ps {\n overflow: auto !important;\n }\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .ps {\n overflow: auto !important;\n }\n}"]} \ No newline at end of file +{"version":3,"sources":["perfect-scrollbar.scss","perfect-scrollbar.css"],"names":[],"mappings":"AACA,IAII,uBAAA,CAFA,yBAAA,CACA,oBAAA,CAEA,iBAAA,CACA,qBCDJ,CDOA,YAQI,QAAA,CAFA,WCEJ,CDKA,wBAXI,YAAA,CACA,SAAA,CAOA,iBAAA,CANA,yDAAA,CACA,iECeJ,CDPA,YAQI,OAAA,CAFA,SCCJ,CDMA,oDAII,4BAAA,CADA,aCHJ,CDOA,oJAOI,UCLJ,CDQA,kJAOI,qBAAA,CACA,UCNJ,CDYA,aAQI,UAAA,CAFA,UAAA,CAFA,6DAAA,CACA,qECFJ,CDUA,0BAXI,qBAAA,CACA,iBAAA,CAOA,iBCKJ,CDFA,aAQI,SAAA,CAJA,4DAAA,CACA,oEAAA,CACA,SCJJ,CDWA,oGAII,qBAAA,CACA,UCTJ,CDYA,oGAII,qBAAA,CACA,SCVJ,CDcA,oCAEI,IAEI,uBCZN,CACF,CDeA,sEAGI,IAEI,uBChBN,CACF","file":"perfect-scrollbar.css","sourcesContent":["\n.ps {\n\n overflow: hidden !important;\n overflow-anchor: none;\n -ms-overflow-style: none;\n touch-action: auto;\n -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n\n display: none;\n opacity: 0;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n height: 15px;\n /* there must be 'bottom' or 'top' for ps__rail-x */\n bottom: 0px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-y {\n\n display: none;\n opacity: 0;\n transition: background-color .2s linear, opacity .2s linear;\n -webkit-transition: background-color .2s linear, opacity .2s linear;\n width: 6px;\n /* there must be 'right' or 'left' for ps__rail-y */\n right: 0;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps--active-x>.ps__rail-x,\n.ps--active-y>.ps__rail-y {\n\n display: block;\n background-color: transparent;\n}\n\n.ps:hover>.ps__rail-x,\n.ps:hover>.ps__rail-y,\n.ps--focus>.ps__rail-x,\n.ps--focus>.ps__rail-y,\n.ps--scrolling-x>.ps__rail-x,\n.ps--scrolling-y>.ps__rail-y {\n\n opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n\n background-color: #eee;\n opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color .2s linear, height .2s ease-in-out;\n -webkit-transition: background-color .2s linear, height .2s ease-in-out;\n height: 6px;\n /* there must be 'bottom' for ps__thumb-x */\n bottom: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__thumb-y {\n\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color .2s linear, width .2s ease-in-out;\n -webkit-transition: background-color .2s linear, width .2s ease-in-out;\n width: 6px;\n /* there must be 'right' for ps__thumb-y */\n right: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-x:hover>.ps__thumb-x,\n.ps__rail-x:focus>.ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n\n background-color: #999;\n height: 6px;\n}\n\n.ps__rail-y:hover>.ps__thumb-y,\n.ps__rail-y:focus>.ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n\n background-color: #999;\n width: 6px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n\n .ps {\n\n overflow: auto !important;\n }\n}\n\n@media screen and (-ms-high-contrast: active),\n(-ms-high-contrast: none) {\n\n .ps {\n\n overflow: auto !important;\n }\n}\n",".ps {\n overflow: hidden !important;\n overflow-anchor: none;\n -ms-overflow-style: none;\n touch-action: auto;\n -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n display: none;\n opacity: 0;\n transition: background-color 0.2s linear, opacity 0.2s linear;\n -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;\n height: 15px;\n /* there must be 'bottom' or 'top' for ps__rail-x */\n bottom: 0px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-y {\n display: none;\n opacity: 0;\n transition: background-color 0.2s linear, opacity 0.2s linear;\n -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;\n width: 6px;\n /* there must be 'right' or 'left' for ps__rail-y */\n right: 0;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n display: block;\n background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n background-color: #eee;\n opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color 0.2s linear, height 0.2s ease-in-out;\n -webkit-transition: background-color 0.2s linear, height 0.2s ease-in-out;\n height: 6px;\n /* there must be 'bottom' for ps__thumb-x */\n bottom: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__thumb-y {\n background-color: #aaa;\n border-radius: 6px;\n transition: background-color 0.2s linear, width 0.2s ease-in-out;\n -webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out;\n width: 6px;\n /* there must be 'right' for ps__thumb-y */\n right: 2px;\n /* please don't change 'position' */\n position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n background-color: #999;\n height: 6px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n background-color: #999;\n width: 6px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n .ps {\n overflow: auto !important;\n }\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .ps {\n overflow: auto !important;\n }\n}"]} \ No newline at end of file diff --git a/public/assets/build/css/public-rtl.css b/public/assets/build/css/public-rtl.css index a165a90..71d0511 100644 --- a/public/assets/build/css/public-rtl.css +++ b/public/assets/build/css/public-rtl.css @@ -1 +1 @@ -:root{--adfy_compare_products_button_color:#fff;--adfy_compare_products_button_color_hover:#fff;--adfy_compare_products_button_bg_color:#444;--adfy_compare_products_button_bg_color_hover:#3765fa;--adfy_compare_products_search_modal_overlay_bg_color:rgba(0,0,0,.8);--adfy_compare_products_search_modal_bg_color:#fff;--adfy_compare_products_search_modal_text_color:#444;--adfy_compare_products_search_modal_add_button_color:#444;--adfy_compare_products_search_modal_add_button_color_hover:#444;--adfy_compare_products_search_modal_add_button_bg_color:#eee;--adfy_compare_products_search_modal_add_button_bg_color_hover:#d4d4d4;--adfy_compare_products_search_modal_close_button_color:hsla(0,0%,100%,.7);--adfy_compare_products_search_modal_close_button_color_hover:#fff;--adfy_compare_products_search_modal_close_button_border_color:hsla(0,0%,100%,.3);--adfy_compare_products_search_modal_close_button_border_color_hover:#fff;--adfy_compare_products_dock_bg_color:#02030e;--adfy_compare_products_dock_text_color:hsla(0,0%,100%,.7);--adfy_compare_products_dock_add_button_color:#fff;--adfy_compare_products_dock_add_button_color_hover:#fff;--adfy_compare_products_dock_add_button_bg_color:#343434;--adfy_compare_products_dock_add_button_bg_color_hover:#3765fa;--adfy_compare_products_dock_compare_button_color:#444;--adfy_compare_products_dock_compare_button_color_hover:#fff;--adfy_compare_products_dock_compare_button_bg_color:#fff;--adfy_compare_products_dock_compare_button_bg_color_hover:#3765fa;--adfy_compare_products_table_title_color:#444;--adfy_compare_products_table_title_color_hover:#3765fa;--adfy_compare_products_thumbnail_height:42px;--adfy_compare_products_dock_zindex:10000000000000;--adfy_compare_products_search_modal_zindex:10000000000010;--adfy_compare_products_search_modal_overlay_zindex:calc(var(--adfy_compare_products_search_modal_zindex) - 5);--adfy_compare_products_comparison_table_zindex:calc(var(--adfy_compare_products_search_modal_zindex) + 100)}.addonify-compare-alert{background-color:#eee;border:2px solid #ddd;border-radius:4px;color:#444;display:block;font-size:16px;font-weight:400;line-height:1.6;margin:0 0 30px;padding:15px 20px;position:relative}.addonify-compare-alert.success{background-color:#e2ffe9;border-color:#2eaf4c;color:#0c942c}.addonify-compare-alert.error{background-color:#ffe1e4;border-color:#fb6c7b;color:#b50215}.addonify-compare-alert.warning{background-color:#fff6dc;border-color:#fbc00a;color:#c38800}.addonify-compare-alert.info{background-color:#d6ebff;border-color:#3e9af7;color:#0762bd}.addonify-compare-alert .addonify-compare-alert-content p{margin:0}.addonify-loading-wave{border-radius:100%;display:none;height:20px;right:50%;opacity:1;position:absolute;top:50%;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);width:20px;z-index:1}.addonify-loading-wave:after,.addonify-loading-wave:before{border:1px solid #fff;border-radius:100%;content:"";height:100%;right:0;position:absolute;width:100%}.addonify-loading-wave:before{-webkit-animation:addonifyCompareLoadingWaveBefore .6s linear infinite;animation:addonifyCompareLoadingWaveBefore .6s linear infinite;content:"";opacity:1;-webkit-transform:scale(1);transform:scale(1)}.addonify-loading-wave:after{-webkit-animation:addonifyCompareLoadingWaveAfter .6s linear infinite;animation:addonifyCompareLoadingWaveAfter .6s linear infinite;content:"";opacity:0;-webkit-transform:scale(0);transform:scale(0)}.addonify-overlay-buttons{position:relative}.addonify-overlay-buttons .addonify-overlay-btn-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;right:0;opacity:0;position:absolute;top:0;width:100%}.addonify-cp-fake-button,.addonify-overlay-buttons .addonify-overlay-btn-wrapper,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;justify-content:center;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-fake-button,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;font-weight:400;height:auto;line-height:1;margin:0;padding:0;text-decoration:none;width:auto}.addonify-cp-fake-button:focus,.addonify-cp-fake-button:hover,a.addonify-cp-fake-button:focus,a.addonify-cp-fake-button:hover,button.addonify-cp-fake-button:focus,button.addonify-cp-fake-button:hover{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.addonify-cp-button,.woocommerce ul.products li.product .button.addonify-cp-button,.woocommerce-page ul.products li.product .button.addonify-cp-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:5px;justify-content:center;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-button .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1}.addonify-cp-button .addonify-cp-icon svg,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:16px;line-height:1;width:16px}.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.addonify-cp-button:hover,.woocommerce ul.products li.product .button.addonify-cp-button:hover,.woocommerce-page ul.products li.product .button.addonify-cp-button:hover{fill:var(--adfy_compare_products_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_button_bg_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color_hover);text-decoration:none}.addonify-cp-button:focus,.woocommerce ul.products li.product .button.addonify-cp-button:focus,.woocommerce-page ul.products li.product .button.addonify-cp-button:focus{-webkit-box-shadow:none;box-shadow:none}.addonify-cp-button.selected{cursor:not-allowed;opacity:.8}.addonify-compare-hidden{display:none}#addonify-compare-dock{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;background-color:var(--adfy_compare_products_dock_bg_color);border-radius:5px;bottom:10px;display:none;justify-content:space-between;right:50%;max-width:95vw;min-width:600px;padding:10px 15px;position:fixed;left:auto;row-gap:10px;top:auto;-webkit-transform:translateX(50%);transform:translateX(50%);-webkit-transition:all .5s ease;transition:all .5s ease;width:auto;z-index:var(--adfy_compare_products_dock_zindex)}@media (max-width:768px){#addonify-compare-dock{min-width:95vw}}#addonify-compare-dock.hidden{bottom:-100vh}.addonify-compare-dock-is-visible #addonify-compare-dock{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}#addonify-compare-dock-message{-webkit-box-flex:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--adfy_compare_products_dock_text_color);-ms-flex:auto 1;flex:auto 1}@media (max-width:575px){#addonify-compare-dock-message{width:100%}}@media (max-width:575px){#addonify-compare-dock-message:not(.addonify-compare-hidden){-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center}}#addonify-compare-dock-inner{-webkit-box-flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:auto 1;flex:auto 1;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px;justify-content:flex-end}@media (max-width:575px){#addonify-compare-dock-inner{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}}#addonify-compare-dock-inner.full{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#addonify-compare-dock-thumbnails{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;height:100%;overflow:hidden}.addonify-compare-dock-components img{border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13);height:100%;width:100%}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-dock-compare-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border:none;border-radius:2px;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:15px;font-weight:400;line-height:1;margin:0;padding:0 20px;width:auto}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-compare-dock-thumbnail,.addonify-dock-compare-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;position:relative}.addonify-compare-dock-thumbnail{-webkit-box-orient:horizontal;-webkit-box-direction:normal;background:#3c3c3c;border-radius:3px;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:var(--adfy_compare_products_thumbnail_height)}.addonify-compare-dock-thumbnail img{max-width:100%;width:100%}.addonify-compare-dock-thumbnail.loading .addonify-loading-wave{display:block}.addonify-compare-dock-remove-item-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;background-color:rgba(0,0,0,.7);border-radius:2px;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;justify-content:center;position:absolute;left:2px;top:2px;-webkit-transition:all .5s ease;transition:all .5s ease;width:20px;z-index:10}.addonify-compare-dock-remove-item-btn svg{height:14px;width:14px}.addonify-compare-dock-remove-item-btn:hover{fill:#f5f5f5;background-color:#000;color:#f5f5f5}#addonify-compare-dock-add-item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_dock_add_button_color);align-items:center;background-color:var(--adfy_compare_products_dock_add_button_bg_color);border-radius:3px;color:var(--adfy_compare_products_dock_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;margin:0;padding:0;position:relative;-webkit-transition:all .5s ease;transition:all .5s ease;width:var(--adfy_compare_products_thumbnail_height)}#addonify-compare-dock-add-item svg{height:16px;width:16px}#addonify-compare-dock-add-item:hover{fill:var(--adfy_compare_products_dock_add_button_color_hover);background:none;background-color:var(--adfy_compare_products_dock_add_button_bg_color_hover);border:none;color:var(--adfy_compare_products_dock_add_button_color_hover);text-decoration:none}#addonify-compare-dock-add-item:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn,#addonify-compare-dock-compare-btn-link{fill:var(--adfy_compare_products_dock_compare_button_color);background:transparent;background-color:var(--adfy_compare_products_dock_compare_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_dock_compare_button_color);cursor:pointer;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:hover,#addonify-compare-dock-compare-btn:hover{fill:var(--adfy_compare_products_dock_compare_button_color_hover);background-color:var(--adfy_compare_products_dock_compare_button_bg_color_hover);color:var(--adfy_compare_products_dock_compare_button_color_hover)}#addonify-compare-dock-compare-btn-link{position:relative;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn-link:hover{text-decoration:none}.addonify-compare-disable-scroll{overflow:hidden}#addonify-compare-modal-overlay,#addonify-compare-search-modal-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--adfy_compare_products_search_modal_overlay_bg_color);bottom:0;cursor:pointer;display:block;height:100%;right:0;opacity:1;position:fixed;left:0;top:0;-webkit-transition:all .5s ease;transition:all .5s ease;visibility:visible;width:100%;z-index:var(--adfy_compare_products_search_modal_overlay_zindex)}#addonify-compare-modal-overlay.addonify-compare-hidden,#addonify-compare-search-modal-overlay.addonify-compare-hidden{opacity:0;visibility:hidden}#addonify-compare-search-modal{background-color:var(--adfy_compare_products_search_modal_bg_color);border-radius:5px;-webkit-box-shadow:0 0 60px rgba(0,0,0,.2);box-shadow:0 0 60px rgba(0,0,0,.2);height:450px;right:50%;position:fixed;top:50%;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);width:600px;z-index:var(--adfy_compare_products_search_modal_zindex)}@media (max-width:768px){#addonify-compare-search-modal{width:90vw}}.addonify-compare-search-model-inner{max-width:100%;padding:30px;position:relative}@media (max-width:575px){.addonify-compare-search-model-inner{padding:20px}}.addonify-compare-search-head{position:relative}#addonify-compare-search-close-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_search_modal_close_button_color);align-items:center;background:transparent;background-color:transparent;border:2px solid var(--adfy_compare_products_search_modal_close_button_border_color);border-radius:100%;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:30px;justify-content:center;margin:0;padding:0;position:absolute;left:-30px;text-decoration:none;top:-30px;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px;z-index:10}@media (max-width:768px){#addonify-compare-search-close-button{left:-20px}}#addonify-compare-search-close-button svg{height:14px;width:14px}#addonify-compare-search-close-button:hover{fill:var(--adfy_compare_products_search_modal_close_button_color_hover);background:transparent;background-color:transparent;border-color:var(--adfy_compare_products_search_modal_close_button_border_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color_hover);text-decoration:none}#addonify-compare-search-close-button:focus{-webkit-box-shadow:none;box-shadow:none;outline:none}.addonify-compare-search-modal-content input::-webkit-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input::-moz-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content input::-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content #addonify-compare-search-query{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border:2px solid #eee;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-shadow:inset -1px 1px 3px transparent;box-shadow:inset -1px 1px 3px transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:15px;font-weight:400;height:48px;line-height:21px;max-width:100%;padding:14px 15px;-webkit-transition:all .5s ease;transition:all .5s ease;width:100%}.addonify-compare-search-modal-content #addonify-compare-search-query:focus{border-color:#3da6ff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:none}.addonify-compare-search-modal-content #addonify-compare-search-results{height:320px;margin:20px 0 0;overflow:hidden;overflow-y:auto;position:relative}.addonify-compare-search-modal-content #addonify-compare-search-results.loading{background:url(../../images/search.gif) no-repeat 50%;min-height:325px}.addonify-compare-search-modal-content #addonify-compare-search-results ul{margin:0;padding:0 0 0 10px}.addonify-compare-search-modal-content #addonify-compare-search-results li{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;justify-content:space-between;list-style:none;margin-bottom:15px;overflow:hidden;padding-bottom:15px}.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.addonify-compare-search-modal-content #addonify-compare-search-results .item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px}.addonify-compare-search-modal-content #addonify-compare-search-results .item img{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:42px;width:42px}.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title{font-size:14px;font-weight:400;letter-spacing:0;line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:var(--adfy_compare_products_search_modal_add_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color);border:none;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:30px;justify-content:center;line-height:1;text-align:center;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg{height:13px;width:13px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover{fill:var(--adfy_compare_products_search_modal_add_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color_hover);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color_hover)}#addonify-compare-close-button{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:#8b8b8b;align-items:center;background:transparent;background-color:#dfdfdf;border:none;border-radius:0;border-bottom-right-radius:4px;border-top-left-radius:5px;-webkit-box-shadow:none;box-shadow:none;color:#8b8b8b;display:none;font-size:14px;font-weight:400;height:auto;justify-content:center;right:auto;line-height:1;margin:0;padding:10px 20px;position:absolute;left:0;top:0;width:auto;z-index:10}#addonify-compare-close-button svg{height:14px;width:14px}#addonify-compare-close-button:hover{fill:#727272;background:transparent;background-color:#c1c1c1;border:none;color:#727272}#addonify-compare-modal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;border-radius:5px;bottom:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;right:0;overflow:hidden;position:fixed;left:0;top:0;width:100%;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal.addonify-compare-hidden{display:none}#addonify-compare-modal .addonify-compare-model-inner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#fff;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;margin:0 auto;max-width:2048px;overflow:hidden;position:relative;width:98vw;width:calc(100vw - 40px)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content{height:100%;margin:0;padding:0;position:relative;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper{bottom:0;display:block;height:100%;right:0;position:absolute;left:0;top:0;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice{display:none}#addonify-compare-products-table{border-collapse:collapse;display:table;margin:0;overflow:auto;padding:0;table-layout:auto}#addonify-compare-products-table.addonify-compare-hidden{display:none}#addonify-compare-products-table td,#addonify-compare-products-table th{border-color:#f5f5f5;padding:15px;text-align:right;vertical-align:top}#addonify-compare-products-table th{background-color:#f5f5f5}#addonify-compare-products-table td .price{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:16px;font-weight:700;margin-bottom:0}#addonify-compare-products-table td .price ins{background-color:transparent;color:red;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:700}#addonify-compare-products-table td .price del{color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:13px;margin-left:5px;opacity:.8}#addonify-compare-products-table td .add_to_cart_inline{margin-bottom:0}#addonify-compare-products-table td .add_to_cart_button,#addonify-compare-products-table td .woocommerce .button,#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:3px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:auto;justify-content:center;line-height:1;margin:0;padding:15px 20px;text-align:center;width:auto}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a{display:block}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img{border-radius:5px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:3px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating{float:none;margin:0}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p{margin:0}@media (max-width:1024px){#addonify-compare-products-table-wrapper{overflow-x:auto;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper{padding:20px 15px}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table{border:none;display:block;margin:0;overflow:auto;padding:0;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody{grid-row-gap:20px;display:grid;grid-auto-columns:1fr;grid-auto-flow:row}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr{grid-column-gap:20px;border:none;display:grid;grid-auto-columns:50%;grid-auto-flow:column;margin:0;padding:0}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:0}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating{float:none;margin:0}}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link{color:var(--adfy_compare_products_table_title_color);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.3}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover{color:var(--adfy_compare_products_table_title_color_hover)}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:14px;font-weight:400;height:40px;justify-content:center;line-height:1;margin:0;padding:0;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease;width:40px}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg{height:18px;width:18px}#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{background-color:#f5f5f5;width:200px}@media (max-width:1024px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{width:100px}}@media (max-width:991px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{display:none}}@-webkit-keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}}@keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}} +:root{--adfy_compare_products_button_color:#fff;--adfy_compare_products_button_color_hover:#fff;--adfy_compare_products_button_bg_color:#444;--adfy_compare_products_button_bg_color_hover:#3765fa;--adfy_compare_products_search_modal_overlay_bg_color:rgba(0,0,0,.8);--adfy_compare_products_search_modal_bg_color:#fff;--adfy_compare_products_search_modal_text_color:#444;--adfy_compare_products_search_modal_add_button_color:#444;--adfy_compare_products_search_modal_add_button_color_hover:#444;--adfy_compare_products_search_modal_add_button_bg_color:#eee;--adfy_compare_products_search_modal_add_button_bg_color_hover:#d4d4d4;--adfy_compare_products_search_modal_close_button_color:hsla(0,0%,100%,.7);--adfy_compare_products_search_modal_close_button_color_hover:#fff;--adfy_compare_products_search_modal_close_button_border_color:hsla(0,0%,100%,.3);--adfy_compare_products_search_modal_close_button_border_color_hover:#fff;--adfy_compare_products_dock_bg_color:#02030e;--adfy_compare_products_dock_text_color:hsla(0,0%,100%,.7);--adfy_compare_products_dock_add_button_color:#fff;--adfy_compare_products_dock_add_button_color_hover:#fff;--adfy_compare_products_dock_add_button_bg_color:#343434;--adfy_compare_products_dock_add_button_bg_color_hover:#3765fa;--adfy_compare_products_dock_compare_button_color:#444;--adfy_compare_products_dock_compare_button_color_hover:#fff;--adfy_compare_products_dock_compare_button_bg_color:#fff;--adfy_compare_products_dock_compare_button_bg_color_hover:#3765fa;--adfy_compare_products_table_title_color:#444;--adfy_compare_products_table_title_color_hover:#3765fa;--adfy_compare_products_thumbnail_height:42px;--adfy_compare_products_dock_zindex:10000000000000;--adfy_compare_products_search_modal_zindex:10000000000010;--adfy_compare_products_search_modal_overlay_zindex:calc(var(--adfy_compare_products_search_modal_zindex) - 5);--adfy_compare_products_comparison_table_zindex:calc(var(--adfy_compare_products_search_modal_zindex) + 100)}.addonify-compare-alert{background-color:#eee;border:2px solid #ddd;border-radius:4px;color:#444;display:block;font-size:16px;font-weight:400;line-height:1.6;margin:0 0 30px;padding:15px 20px;position:relative}.addonify-compare-alert.success{background-color:#e2ffe9;border-color:#2eaf4c;color:#0c942c}.addonify-compare-alert.error{background-color:#ffe1e4;border-color:#fb6c7b;color:#b50215}.addonify-compare-alert.warning{background-color:#fff6dc;border-color:#fbc00a;color:#c38800}.addonify-compare-alert.info{background-color:#d6ebff;border-color:#3e9af7;color:#0762bd}.addonify-compare-alert .addonify-compare-alert-content p{margin:0}.addonify-loading-wave{border-radius:100%;display:none;height:20px;right:50%;opacity:1;position:absolute;top:50%;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);width:20px;z-index:1}.addonify-loading-wave:after,.addonify-loading-wave:before{border:1px solid #fff;border-radius:100%;content:"";height:100%;right:0;position:absolute;width:100%}.addonify-loading-wave:before{-webkit-animation:addonifyCompareLoadingWaveBefore .6s linear infinite;animation:addonifyCompareLoadingWaveBefore .6s linear infinite;content:"";opacity:1;-webkit-transform:scale(1);transform:scale(1)}.addonify-loading-wave:after{-webkit-animation:addonifyCompareLoadingWaveAfter .6s linear infinite;animation:addonifyCompareLoadingWaveAfter .6s linear infinite;content:"";opacity:0;-webkit-transform:scale(0);transform:scale(0)}.addonify-overlay-buttons{position:relative}.addonify-overlay-buttons .addonify-overlay-btn-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;right:0;opacity:0;position:absolute;top:0;width:100%}.addonify-cp-fake-button,.addonify-overlay-buttons .addonify-overlay-btn-wrapper,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;justify-content:center;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-fake-button,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;font-weight:400;height:auto;line-height:1;margin:0;padding:0;text-decoration:none;width:auto}.addonify-cp-fake-button:focus,.addonify-cp-fake-button:hover,a.addonify-cp-fake-button:focus,a.addonify-cp-fake-button:hover,button.addonify-cp-fake-button:focus,button.addonify-cp-fake-button:hover{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.addonify-cp-button,.woocommerce ul.products li.product .button.addonify-cp-button,.woocommerce-js .addonify-cp-button,.woocommerce-js button.addonify-cp-button,.woocommerce-page ul.products li.product .button.addonify-cp-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:5px;justify-content:center;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-button .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,.woocommerce-js .addonify-cp-button .addonify-cp-icon,.woocommerce-js button.addonify-cp-button .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1}.addonify-cp-button .addonify-cp-icon svg,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-js .addonify-cp-button .addonify-cp-icon svg,.woocommerce-js button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:16px;line-height:1;width:16px}.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-js .addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-js button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.addonify-cp-button:hover,.woocommerce ul.products li.product .button.addonify-cp-button:hover,.woocommerce-js .addonify-cp-button:hover,.woocommerce-js button.addonify-cp-button:hover,.woocommerce-page ul.products li.product .button.addonify-cp-button:hover{fill:var(--adfy_compare_products_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_button_bg_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color_hover);text-decoration:none}.addonify-cp-button:focus,.woocommerce ul.products li.product .button.addonify-cp-button:focus,.woocommerce-js .addonify-cp-button:focus,.woocommerce-js button.addonify-cp-button:focus,.woocommerce-page ul.products li.product .button.addonify-cp-button:focus{-webkit-box-shadow:none;box-shadow:none}.addonify-cp-button.selected{cursor:not-allowed;opacity:.8}.addonify-compare-hidden{display:none}#addonify-compare-dock{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;background-color:var(--adfy_compare_products_dock_bg_color);border-radius:5px;bottom:10px;display:none;justify-content:space-between;right:50%;max-width:95vw;min-width:600px;padding:10px 15px;position:fixed;left:auto;row-gap:10px;top:auto;-webkit-transform:translateX(50%);transform:translateX(50%);-webkit-transition:all .5s ease;transition:all .5s ease;width:auto;z-index:var(--adfy_compare_products_dock_zindex)}@media (max-width:768px){#addonify-compare-dock{min-width:95vw}}#addonify-compare-dock.hidden{bottom:-100vh}.addonify-compare-dock-is-visible #addonify-compare-dock{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}#addonify-compare-dock-message{-webkit-box-flex:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--adfy_compare_products_dock_text_color);-ms-flex:auto 1;flex:auto 1}@media (max-width:575px){#addonify-compare-dock-message{width:100%}}@media (max-width:575px){#addonify-compare-dock-message:not(.addonify-compare-hidden){-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center}}#addonify-compare-dock-inner{-webkit-box-flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:auto 1;flex:auto 1;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px;justify-content:flex-end}@media (max-width:575px){#addonify-compare-dock-inner{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}}#addonify-compare-dock-inner.full{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#addonify-compare-dock-thumbnails{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;height:100%;overflow:hidden}.addonify-compare-dock-components img{border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13);height:100%;width:100%}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-dock-compare-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border:none;border-radius:2px;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:15px;font-weight:400;line-height:1;margin:0;padding:0 20px;width:auto}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-compare-dock-thumbnail,.addonify-dock-compare-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;position:relative}.addonify-compare-dock-thumbnail{-webkit-box-orient:horizontal;-webkit-box-direction:normal;background:#3c3c3c;border-radius:3px;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:var(--adfy_compare_products_thumbnail_height)}.addonify-compare-dock-thumbnail img{max-width:100%;width:100%}.addonify-compare-dock-thumbnail.loading .addonify-loading-wave{display:block}.addonify-compare-dock-remove-item-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;background-color:rgba(0,0,0,.7);border-radius:2px;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;justify-content:center;position:absolute;left:2px;top:2px;-webkit-transition:all .5s ease;transition:all .5s ease;width:20px;z-index:10}.addonify-compare-dock-remove-item-btn svg{height:14px;width:14px}.addonify-compare-dock-remove-item-btn:hover{fill:#f5f5f5;background-color:#000;color:#f5f5f5}#addonify-compare-dock-add-item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_dock_add_button_color);align-items:center;background-color:var(--adfy_compare_products_dock_add_button_bg_color);border-radius:3px;color:var(--adfy_compare_products_dock_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;margin:0;padding:0;position:relative;-webkit-transition:all .5s ease;transition:all .5s ease;width:var(--adfy_compare_products_thumbnail_height)}#addonify-compare-dock-add-item svg{height:16px;width:16px}#addonify-compare-dock-add-item:hover{fill:var(--adfy_compare_products_dock_add_button_color_hover);background:none;background-color:var(--adfy_compare_products_dock_add_button_bg_color_hover);border:none;color:var(--adfy_compare_products_dock_add_button_color_hover);text-decoration:none}#addonify-compare-dock-add-item:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn,#addonify-compare-dock-compare-btn-link{fill:var(--adfy_compare_products_dock_compare_button_color);background:transparent;background-color:var(--adfy_compare_products_dock_compare_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_dock_compare_button_color);cursor:pointer;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:hover,#addonify-compare-dock-compare-btn:hover{fill:var(--adfy_compare_products_dock_compare_button_color_hover);background-color:var(--adfy_compare_products_dock_compare_button_bg_color_hover);color:var(--adfy_compare_products_dock_compare_button_color_hover)}#addonify-compare-dock-compare-btn-link{position:relative;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn-link:hover{text-decoration:none}.addonify-compare-disable-scroll{overflow:hidden}#addonify-compare-modal-overlay,#addonify-compare-search-modal-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--adfy_compare_products_search_modal_overlay_bg_color);bottom:0;cursor:pointer;display:block;height:100%;right:0;opacity:1;position:fixed;left:0;top:0;-webkit-transition:all .5s ease;transition:all .5s ease;visibility:visible;width:100%;z-index:var(--adfy_compare_products_search_modal_overlay_zindex)}#addonify-compare-modal-overlay.addonify-compare-hidden,#addonify-compare-search-modal-overlay.addonify-compare-hidden{opacity:0;visibility:hidden}#addonify-compare-search-modal{background-color:var(--adfy_compare_products_search_modal_bg_color);border-radius:5px;-webkit-box-shadow:0 0 60px rgba(0,0,0,.2);box-shadow:0 0 60px rgba(0,0,0,.2);height:450px;right:50%;position:fixed;top:50%;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);width:600px;z-index:var(--adfy_compare_products_search_modal_zindex)}@media (max-width:768px){#addonify-compare-search-modal{width:90vw}}.addonify-compare-search-model-inner{max-width:100%;padding:30px;position:relative}@media (max-width:575px){.addonify-compare-search-model-inner{padding:20px}}.addonify-compare-search-head{position:relative}#addonify-compare-search-close-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_search_modal_close_button_color);align-items:center;background:transparent;background-color:transparent;border:2px solid var(--adfy_compare_products_search_modal_close_button_border_color);border-radius:100%;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:30px;justify-content:center;margin:0;padding:0;position:absolute;left:-30px;text-decoration:none;top:-30px;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px;z-index:10}@media (max-width:768px){#addonify-compare-search-close-button{left:-20px}}#addonify-compare-search-close-button svg{height:14px;width:14px}#addonify-compare-search-close-button:hover{fill:var(--adfy_compare_products_search_modal_close_button_color_hover);background:transparent;background-color:transparent;border-color:var(--adfy_compare_products_search_modal_close_button_border_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color_hover);text-decoration:none}#addonify-compare-search-close-button:focus{-webkit-box-shadow:none;box-shadow:none;outline:none}.addonify-compare-search-modal-content input::-webkit-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input::-moz-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content input::-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content #addonify-compare-search-query{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border:2px solid #eee;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-shadow:inset -1px 1px 3px transparent;box-shadow:inset -1px 1px 3px transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:15px;font-weight:400;height:48px;line-height:21px;max-width:100%;padding:14px 15px;-webkit-transition:all .5s ease;transition:all .5s ease;width:100%}.addonify-compare-search-modal-content #addonify-compare-search-query:focus{border-color:#3da6ff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:none}.addonify-compare-search-modal-content #addonify-compare-search-results{height:320px;margin:20px 0 0;overflow:hidden;overflow-y:auto;position:relative}.addonify-compare-search-modal-content #addonify-compare-search-results.loading{background:url(../../images/search.gif) no-repeat 50%;min-height:325px}.addonify-compare-search-modal-content #addonify-compare-search-results ul{margin:0;padding:0 0 0 10px}.addonify-compare-search-modal-content #addonify-compare-search-results li{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;justify-content:space-between;list-style:none;margin-bottom:15px;overflow:hidden;padding-bottom:15px}.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.addonify-compare-search-modal-content #addonify-compare-search-results .item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px}.addonify-compare-search-modal-content #addonify-compare-search-results .item img{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:42px;width:42px}.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title{font-size:14px;font-weight:400;letter-spacing:0;line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:var(--adfy_compare_products_search_modal_add_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color);border:none;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:30px;justify-content:center;line-height:1;text-align:center;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg{height:13px;width:13px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover{fill:var(--adfy_compare_products_search_modal_add_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color_hover);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color_hover)}#addonify-compare-close-button{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:#8b8b8b;align-items:center;background:transparent;background-color:#dfdfdf;border:none;border-radius:0;border-bottom-right-radius:4px;border-top-left-radius:5px;-webkit-box-shadow:none;box-shadow:none;color:#8b8b8b;display:none;font-size:14px;font-weight:400;height:auto;justify-content:center;right:auto;line-height:1;margin:0;padding:10px 20px;position:absolute;left:0;top:0;width:auto;z-index:10}#addonify-compare-close-button svg{height:14px;width:14px}#addonify-compare-close-button:hover{fill:#727272;background:transparent;background-color:#c1c1c1;border:none;color:#727272}#addonify-compare-modal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;border-radius:5px;bottom:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;right:0;overflow:hidden;position:fixed;left:0;top:0;width:100%;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal.addonify-compare-hidden{display:none}#addonify-compare-modal .addonify-compare-model-inner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#fff;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;margin:0 auto;max-width:2048px;overflow:hidden;position:relative;width:98vw;width:calc(100vw - 40px)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content{height:100%;margin:0;padding:0;position:relative;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper{bottom:0;display:block;height:100%;right:0;position:absolute;left:0;top:0;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice{display:none}#addonify-compare-products-table{border-collapse:collapse;display:table;margin:0;overflow:auto;padding:0;table-layout:auto}#addonify-compare-products-table.addonify-compare-hidden{display:none}#addonify-compare-products-table td,#addonify-compare-products-table th{border-color:#f5f5f5;padding:15px;text-align:right;vertical-align:top}#addonify-compare-products-table th{background-color:#f5f5f5}#addonify-compare-products-table td .price{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:16px;font-weight:700;margin-bottom:0}#addonify-compare-products-table td .price ins{background-color:transparent;color:red;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:700}#addonify-compare-products-table td .price del{color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:13px;margin-left:5px;opacity:.8}#addonify-compare-products-table td .add_to_cart_inline{margin-bottom:0}#addonify-compare-products-table td .add_to_cart_button,#addonify-compare-products-table td .woocommerce .button,#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:3px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:auto;justify-content:center;line-height:1;margin:0;padding:15px 20px;text-align:center;width:auto}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a{display:block}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img{border-radius:5px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:3px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating{float:none;margin:0}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p{margin:0}@media (max-width:1024px){#addonify-compare-products-table-wrapper{overflow-x:auto;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper{padding:20px 15px}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table{border:none;display:block;margin:0;overflow:auto;padding:0;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody{grid-row-gap:20px;display:grid;grid-auto-columns:1fr;grid-auto-flow:row}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr{grid-column-gap:20px;border:none;display:grid;grid-auto-columns:50%;grid-auto-flow:column;margin:0;padding:0}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:0}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating{float:none;margin:0}}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link{color:var(--adfy_compare_products_table_title_color);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.3}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover{color:var(--adfy_compare_products_table_title_color_hover)}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:14px;font-weight:400;height:40px;justify-content:center;line-height:1;margin:0;padding:0;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease;width:40px}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg{height:18px;width:18px}#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{background-color:#f5f5f5;width:200px}@media (max-width:1024px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{width:100px}}@media (max-width:991px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{display:none}}@-webkit-keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}}@keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}} diff --git a/public/assets/build/css/public.css b/public/assets/build/css/public.css index 9e700f9..4f0a904 100644 --- a/public/assets/build/css/public.css +++ b/public/assets/build/css/public.css @@ -1,2 +1,2 @@ -:root{--adfy_compare_products_button_color:#fff;--adfy_compare_products_button_color_hover:#fff;--adfy_compare_products_button_bg_color:#444;--adfy_compare_products_button_bg_color_hover:#3765fa;--adfy_compare_products_search_modal_overlay_bg_color:rgba(0,0,0,.8);--adfy_compare_products_search_modal_bg_color:#fff;--adfy_compare_products_search_modal_text_color:#444;--adfy_compare_products_search_modal_add_button_color:#444;--adfy_compare_products_search_modal_add_button_color_hover:#444;--adfy_compare_products_search_modal_add_button_bg_color:#eee;--adfy_compare_products_search_modal_add_button_bg_color_hover:#d4d4d4;--adfy_compare_products_search_modal_close_button_color:hsla(0,0%,100%,.7);--adfy_compare_products_search_modal_close_button_color_hover:#fff;--adfy_compare_products_search_modal_close_button_border_color:hsla(0,0%,100%,.3);--adfy_compare_products_search_modal_close_button_border_color_hover:#fff;--adfy_compare_products_dock_bg_color:#02030e;--adfy_compare_products_dock_text_color:hsla(0,0%,100%,.7);--adfy_compare_products_dock_add_button_color:#fff;--adfy_compare_products_dock_add_button_color_hover:#fff;--adfy_compare_products_dock_add_button_bg_color:#343434;--adfy_compare_products_dock_add_button_bg_color_hover:#3765fa;--adfy_compare_products_dock_compare_button_color:#444;--adfy_compare_products_dock_compare_button_color_hover:#fff;--adfy_compare_products_dock_compare_button_bg_color:#fff;--adfy_compare_products_dock_compare_button_bg_color_hover:#3765fa;--adfy_compare_products_table_title_color:#444;--adfy_compare_products_table_title_color_hover:#3765fa;--adfy_compare_products_thumbnail_height:42px;--adfy_compare_products_dock_zindex:10000000000000;--adfy_compare_products_search_modal_zindex:10000000000010;--adfy_compare_products_search_modal_overlay_zindex:calc(var(--adfy_compare_products_search_modal_zindex) - 5);--adfy_compare_products_comparison_table_zindex:calc(var(--adfy_compare_products_search_modal_zindex) + 100)}.addonify-compare-alert{background-color:#eee;border:2px solid #ddd;border-radius:4px;color:#444;display:block;font-size:16px;font-weight:400;line-height:1.6;margin:0 0 30px;padding:15px 20px;position:relative}.addonify-compare-alert.success{background-color:#e2ffe9;border-color:#2eaf4c;color:#0c942c}.addonify-compare-alert.error{background-color:#ffe1e4;border-color:#fb6c7b;color:#b50215}.addonify-compare-alert.warning{background-color:#fff6dc;border-color:#fbc00a;color:#c38800}.addonify-compare-alert.info{background-color:#d6ebff;border-color:#3e9af7;color:#0762bd}.addonify-compare-alert .addonify-compare-alert-content p{margin:0}.addonify-loading-wave{border-radius:100%;display:none;height:20px;left:50%;opacity:1;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:20px;z-index:1}.addonify-loading-wave:after,.addonify-loading-wave:before{border:1px solid #fff;border-radius:100%;content:"";height:100%;left:0;position:absolute;width:100%}.addonify-loading-wave:before{-webkit-animation:addonifyCompareLoadingWaveBefore .6s linear infinite;animation:addonifyCompareLoadingWaveBefore .6s linear infinite;content:"";opacity:1;-webkit-transform:scale(1);transform:scale(1)}.addonify-loading-wave:after{-webkit-animation:addonifyCompareLoadingWaveAfter .6s linear infinite;animation:addonifyCompareLoadingWaveAfter .6s linear infinite;content:"";opacity:0;-webkit-transform:scale(0);transform:scale(0)}.addonify-overlay-buttons{position:relative}.addonify-overlay-buttons .addonify-overlay-btn-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:0;opacity:0;position:absolute;top:0;width:100%}.addonify-cp-fake-button,.addonify-overlay-buttons .addonify-overlay-btn-wrapper,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;justify-content:center;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-fake-button,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;font-weight:400;height:auto;line-height:1;margin:0;padding:0;text-decoration:none;width:auto}.addonify-cp-fake-button:focus,.addonify-cp-fake-button:hover,a.addonify-cp-fake-button:focus,a.addonify-cp-fake-button:hover,button.addonify-cp-fake-button:focus,button.addonify-cp-fake-button:hover{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.addonify-cp-button,.woocommerce ul.products li.product .button.addonify-cp-button,.woocommerce-page ul.products li.product .button.addonify-cp-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:5px;justify-content:center;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-button .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1}.addonify-cp-button .addonify-cp-icon svg,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:16px;line-height:1;width:16px}.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.addonify-cp-button:hover,.woocommerce ul.products li.product .button.addonify-cp-button:hover,.woocommerce-page ul.products li.product .button.addonify-cp-button:hover{fill:var(--adfy_compare_products_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_button_bg_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color_hover);text-decoration:none}.addonify-cp-button:focus,.woocommerce ul.products li.product .button.addonify-cp-button:focus,.woocommerce-page ul.products li.product .button.addonify-cp-button:focus{-webkit-box-shadow:none;box-shadow:none}.addonify-cp-button.selected{cursor:not-allowed;opacity:.8}.addonify-compare-hidden{display:none}#addonify-compare-dock{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;background-color:var(--adfy_compare_products_dock_bg_color);border-radius:5px;bottom:10px;display:none;justify-content:space-between;left:50%;max-width:95vw;min-width:600px;padding:10px 15px;position:fixed;right:auto;row-gap:10px;top:auto;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:all .5s ease;transition:all .5s ease;width:auto;z-index:var(--adfy_compare_products_dock_zindex)}@media (max-width:768px){#addonify-compare-dock{min-width:95vw}}#addonify-compare-dock.hidden{bottom:-100vh}.addonify-compare-dock-is-visible #addonify-compare-dock{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}#addonify-compare-dock-message{-webkit-box-flex:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--adfy_compare_products_dock_text_color);-ms-flex:auto 1;flex:auto 1}@media (max-width:575px){#addonify-compare-dock-message{width:100%}}@media (max-width:575px){#addonify-compare-dock-message:not(.addonify-compare-hidden){-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center}}#addonify-compare-dock-inner{-webkit-box-flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:auto 1;flex:auto 1;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px;justify-content:flex-end}@media (max-width:575px){#addonify-compare-dock-inner{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}}#addonify-compare-dock-inner.full{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#addonify-compare-dock-thumbnails{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;height:100%;overflow:hidden}.addonify-compare-dock-components img{border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13);height:100%;width:100%}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-dock-compare-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border:none;border-radius:2px;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:15px;font-weight:400;line-height:1;margin:0;padding:0 20px;width:auto}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-compare-dock-thumbnail,.addonify-dock-compare-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;position:relative}.addonify-compare-dock-thumbnail{-webkit-box-orient:horizontal;-webkit-box-direction:normal;background:#3c3c3c;border-radius:3px;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:var(--adfy_compare_products_thumbnail_height)}.addonify-compare-dock-thumbnail img{max-width:100%;width:100%}.addonify-compare-dock-thumbnail.loading .addonify-loading-wave{display:block}.addonify-compare-dock-remove-item-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;background-color:rgba(0,0,0,.7);border-radius:2px;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;justify-content:center;position:absolute;right:2px;top:2px;-webkit-transition:all .5s ease;transition:all .5s ease;width:20px;z-index:10}.addonify-compare-dock-remove-item-btn svg{height:14px;width:14px}.addonify-compare-dock-remove-item-btn:hover{fill:#f5f5f5;background-color:#000;color:#f5f5f5}#addonify-compare-dock-add-item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_dock_add_button_color);align-items:center;background-color:var(--adfy_compare_products_dock_add_button_bg_color);border-radius:3px;color:var(--adfy_compare_products_dock_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;margin:0;padding:0;position:relative;-webkit-transition:all .5s ease;transition:all .5s ease;width:var(--adfy_compare_products_thumbnail_height)}#addonify-compare-dock-add-item svg{height:16px;width:16px}#addonify-compare-dock-add-item:hover{fill:var(--adfy_compare_products_dock_add_button_color_hover);background:none;background-color:var(--adfy_compare_products_dock_add_button_bg_color_hover);border:none;color:var(--adfy_compare_products_dock_add_button_color_hover);text-decoration:none}#addonify-compare-dock-add-item:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn,#addonify-compare-dock-compare-btn-link{fill:var(--adfy_compare_products_dock_compare_button_color);background:transparent;background-color:var(--adfy_compare_products_dock_compare_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_dock_compare_button_color);cursor:pointer;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:hover,#addonify-compare-dock-compare-btn:hover{fill:var(--adfy_compare_products_dock_compare_button_color_hover);background-color:var(--adfy_compare_products_dock_compare_button_bg_color_hover);color:var(--adfy_compare_products_dock_compare_button_color_hover)}#addonify-compare-dock-compare-btn-link{position:relative;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn-link:hover{text-decoration:none}.addonify-compare-disable-scroll{overflow:hidden}#addonify-compare-modal-overlay,#addonify-compare-search-modal-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--adfy_compare_products_search_modal_overlay_bg_color);bottom:0;cursor:pointer;display:block;height:100%;left:0;opacity:1;position:fixed;right:0;top:0;-webkit-transition:all .5s ease;transition:all .5s ease;visibility:visible;width:100%;z-index:var(--adfy_compare_products_search_modal_overlay_zindex)}#addonify-compare-modal-overlay.addonify-compare-hidden,#addonify-compare-search-modal-overlay.addonify-compare-hidden{opacity:0;visibility:hidden}#addonify-compare-search-modal{background-color:var(--adfy_compare_products_search_modal_bg_color);border-radius:5px;-webkit-box-shadow:0 0 60px rgba(0,0,0,.2);box-shadow:0 0 60px rgba(0,0,0,.2);height:450px;left:50%;position:fixed;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:600px;z-index:var(--adfy_compare_products_search_modal_zindex)}@media (max-width:768px){#addonify-compare-search-modal{width:90vw}}.addonify-compare-search-model-inner{max-width:100%;padding:30px;position:relative}@media (max-width:575px){.addonify-compare-search-model-inner{padding:20px}}.addonify-compare-search-head{position:relative}#addonify-compare-search-close-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_search_modal_close_button_color);align-items:center;background:transparent;background-color:transparent;border:2px solid var(--adfy_compare_products_search_modal_close_button_border_color);border-radius:100%;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:30px;justify-content:center;margin:0;padding:0;position:absolute;right:-30px;text-decoration:none;top:-30px;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px;z-index:10}@media (max-width:768px){#addonify-compare-search-close-button{right:-20px}}#addonify-compare-search-close-button svg{height:14px;width:14px}#addonify-compare-search-close-button:hover{fill:var(--adfy_compare_products_search_modal_close_button_color_hover);background:transparent;background-color:transparent;border-color:var(--adfy_compare_products_search_modal_close_button_border_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color_hover);text-decoration:none}#addonify-compare-search-close-button:focus{-webkit-box-shadow:none;box-shadow:none;outline:none}.addonify-compare-search-modal-content input::-webkit-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input::-moz-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content input::-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content #addonify-compare-search-query{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border:2px solid #eee;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-shadow:inset 1px 1px 3px transparent;box-shadow:inset 1px 1px 3px transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:15px;font-weight:400;height:48px;line-height:21px;max-width:100%;padding:14px 15px;-webkit-transition:all .5s ease;transition:all .5s ease;width:100%}.addonify-compare-search-modal-content #addonify-compare-search-query:focus{border-color:#3da6ff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:none}.addonify-compare-search-modal-content #addonify-compare-search-results{height:320px;margin:20px 0 0;overflow:hidden;overflow-y:auto;position:relative}.addonify-compare-search-modal-content #addonify-compare-search-results.loading{background:url(../../images/search.gif) no-repeat 50%;min-height:325px}.addonify-compare-search-modal-content #addonify-compare-search-results ul{margin:0;padding:0 10px 0 0}.addonify-compare-search-modal-content #addonify-compare-search-results li{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;justify-content:space-between;list-style:none;margin-bottom:15px;overflow:hidden;padding-bottom:15px}.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.addonify-compare-search-modal-content #addonify-compare-search-results .item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px}.addonify-compare-search-modal-content #addonify-compare-search-results .item img{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:42px;width:42px}.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title{font-size:14px;font-weight:400;letter-spacing:0;line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:var(--adfy_compare_products_search_modal_add_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color);border:none;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:30px;justify-content:center;line-height:1;text-align:center;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg{height:13px;width:13px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover{fill:var(--adfy_compare_products_search_modal_add_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color_hover);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color_hover)}#addonify-compare-close-button{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:#8b8b8b;align-items:center;background:transparent;background-color:#dfdfdf;border:none;border-radius:0;border-bottom-left-radius:4px;border-top-right-radius:5px;-webkit-box-shadow:none;box-shadow:none;color:#8b8b8b;display:none;font-size:14px;font-weight:400;height:auto;justify-content:center;left:auto;line-height:1;margin:0;padding:10px 20px;position:absolute;right:0;top:0;width:auto;z-index:10}#addonify-compare-close-button svg{height:14px;width:14px}#addonify-compare-close-button:hover{fill:#727272;background:transparent;background-color:#c1c1c1;border:none;color:#727272}#addonify-compare-modal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;border-radius:5px;bottom:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal.addonify-compare-hidden{display:none}#addonify-compare-modal .addonify-compare-model-inner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#fff;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;margin:0 auto;max-width:2048px;overflow:hidden;position:relative;width:98vw;width:calc(100vw - 40px)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content{height:100%;margin:0;padding:0;position:relative;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper{bottom:0;display:block;height:100%;left:0;position:absolute;right:0;top:0;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice{display:none}#addonify-compare-products-table{border-collapse:collapse;display:table;margin:0;overflow:auto;padding:0;table-layout:auto}#addonify-compare-products-table.addonify-compare-hidden{display:none}#addonify-compare-products-table td,#addonify-compare-products-table th{border-color:#f5f5f5;padding:15px;text-align:left;vertical-align:top}#addonify-compare-products-table th{background-color:#f5f5f5}#addonify-compare-products-table td .price{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:16px;font-weight:700;margin-bottom:0}#addonify-compare-products-table td .price ins{background-color:transparent;color:red;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:700}#addonify-compare-products-table td .price del{color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:13px;margin-right:5px;opacity:.8}#addonify-compare-products-table td .add_to_cart_inline{margin-bottom:0}#addonify-compare-products-table td .add_to_cart_button,#addonify-compare-products-table td .woocommerce .button,#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:3px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:auto;justify-content:center;line-height:1;margin:0;padding:15px 20px;text-align:center;width:auto}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a{display:block}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img{border-radius:5px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:3px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating{float:none;margin:0}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p{margin:0}@media (max-width:1024px){#addonify-compare-products-table-wrapper{overflow-x:auto;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper{padding:20px 15px}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table{border:none;display:block;margin:0;overflow:auto;padding:0;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody{grid-row-gap:20px;display:grid;grid-auto-columns:1fr;grid-auto-flow:row}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr{grid-column-gap:20px;border:none;display:grid;grid-auto-columns:50%;grid-auto-flow:column;margin:0;padding:0}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:0}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating{float:none;margin:0}}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link{color:var(--adfy_compare_products_table_title_color);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.3}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover{color:var(--adfy_compare_products_table_title_color_hover)}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:14px;font-weight:400;height:40px;justify-content:center;line-height:1;margin:0;padding:0;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease;width:40px}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg{height:18px;width:18px}#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{background-color:#f5f5f5;width:200px}@media (max-width:1024px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{width:100px}}@media (max-width:991px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{display:none}}@-webkit-keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}}@keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}} +:root{--adfy_compare_products_button_color:#fff;--adfy_compare_products_button_color_hover:#fff;--adfy_compare_products_button_bg_color:#444;--adfy_compare_products_button_bg_color_hover:#3765fa;--adfy_compare_products_search_modal_overlay_bg_color:rgba(0,0,0,.8);--adfy_compare_products_search_modal_bg_color:#fff;--adfy_compare_products_search_modal_text_color:#444;--adfy_compare_products_search_modal_add_button_color:#444;--adfy_compare_products_search_modal_add_button_color_hover:#444;--adfy_compare_products_search_modal_add_button_bg_color:#eee;--adfy_compare_products_search_modal_add_button_bg_color_hover:#d4d4d4;--adfy_compare_products_search_modal_close_button_color:hsla(0,0%,100%,.7);--adfy_compare_products_search_modal_close_button_color_hover:#fff;--adfy_compare_products_search_modal_close_button_border_color:hsla(0,0%,100%,.3);--adfy_compare_products_search_modal_close_button_border_color_hover:#fff;--adfy_compare_products_dock_bg_color:#02030e;--adfy_compare_products_dock_text_color:hsla(0,0%,100%,.7);--adfy_compare_products_dock_add_button_color:#fff;--adfy_compare_products_dock_add_button_color_hover:#fff;--adfy_compare_products_dock_add_button_bg_color:#343434;--adfy_compare_products_dock_add_button_bg_color_hover:#3765fa;--adfy_compare_products_dock_compare_button_color:#444;--adfy_compare_products_dock_compare_button_color_hover:#fff;--adfy_compare_products_dock_compare_button_bg_color:#fff;--adfy_compare_products_dock_compare_button_bg_color_hover:#3765fa;--adfy_compare_products_table_title_color:#444;--adfy_compare_products_table_title_color_hover:#3765fa;--adfy_compare_products_thumbnail_height:42px;--adfy_compare_products_dock_zindex:10000000000000;--adfy_compare_products_search_modal_zindex:10000000000010;--adfy_compare_products_search_modal_overlay_zindex:calc(var(--adfy_compare_products_search_modal_zindex) - 5);--adfy_compare_products_comparison_table_zindex:calc(var(--adfy_compare_products_search_modal_zindex) + 100)}.addonify-compare-alert{background-color:#eee;border:2px solid #ddd;border-radius:4px;color:#444;display:block;font-size:16px;font-weight:400;line-height:1.6;margin:0 0 30px;padding:15px 20px;position:relative}.addonify-compare-alert.success{background-color:#e2ffe9;border-color:#2eaf4c;color:#0c942c}.addonify-compare-alert.error{background-color:#ffe1e4;border-color:#fb6c7b;color:#b50215}.addonify-compare-alert.warning{background-color:#fff6dc;border-color:#fbc00a;color:#c38800}.addonify-compare-alert.info{background-color:#d6ebff;border-color:#3e9af7;color:#0762bd}.addonify-compare-alert .addonify-compare-alert-content p{margin:0}.addonify-loading-wave{border-radius:100%;display:none;height:20px;left:50%;opacity:1;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:20px;z-index:1}.addonify-loading-wave:after,.addonify-loading-wave:before{border:1px solid #fff;border-radius:100%;content:"";height:100%;left:0;position:absolute;width:100%}.addonify-loading-wave:before{-webkit-animation:addonifyCompareLoadingWaveBefore .6s linear infinite;animation:addonifyCompareLoadingWaveBefore .6s linear infinite;content:"";opacity:1;-webkit-transform:scale(1);transform:scale(1)}.addonify-loading-wave:after{-webkit-animation:addonifyCompareLoadingWaveAfter .6s linear infinite;animation:addonifyCompareLoadingWaveAfter .6s linear infinite;content:"";opacity:0;-webkit-transform:scale(0);transform:scale(0)}.addonify-overlay-buttons{position:relative}.addonify-overlay-buttons .addonify-overlay-btn-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:0;opacity:0;position:absolute;top:0;width:100%}.addonify-cp-fake-button,.addonify-overlay-buttons .addonify-overlay-btn-wrapper,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;justify-content:center;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-fake-button,a.addonify-cp-fake-button,button.addonify-cp-fake-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;font-weight:400;height:auto;line-height:1;margin:0;padding:0;text-decoration:none;width:auto}.addonify-cp-fake-button:focus,.addonify-cp-fake-button:hover,a.addonify-cp-fake-button:focus,a.addonify-cp-fake-button:hover,button.addonify-cp-fake-button:focus,button.addonify-cp-fake-button:hover{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.addonify-cp-button,.woocommerce ul.products li.product .button.addonify-cp-button,.woocommerce-js .addonify-cp-button,.woocommerce-js button.addonify-cp-button,.woocommerce-page ul.products li.product .button.addonify-cp-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:5px;justify-content:center;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}.addonify-cp-button .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,.woocommerce-js .addonify-cp-button .addonify-cp-icon,.woocommerce-js button.addonify-cp-button .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1}.addonify-cp-button .addonify-cp-icon svg,.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-js .addonify-cp-button .addonify-cp-icon svg,.woocommerce-js button.addonify-cp-button .addonify-cp-icon svg,.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:16px;line-height:1;width:16px}.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-js .addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-js button.addonify-cp-button.icon-position-right .addonify-cp-icon,.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.addonify-cp-button:hover,.woocommerce ul.products li.product .button.addonify-cp-button:hover,.woocommerce-js .addonify-cp-button:hover,.woocommerce-js button.addonify-cp-button:hover,.woocommerce-page ul.products li.product .button.addonify-cp-button:hover{fill:var(--adfy_compare_products_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_button_bg_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_button_color_hover);text-decoration:none}.addonify-cp-button:focus,.woocommerce ul.products li.product .button.addonify-cp-button:focus,.woocommerce-js .addonify-cp-button:focus,.woocommerce-js button.addonify-cp-button:focus,.woocommerce-page ul.products li.product .button.addonify-cp-button:focus{-webkit-box-shadow:none;box-shadow:none}.addonify-cp-button.selected{cursor:not-allowed;opacity:.8}.addonify-compare-hidden{display:none}#addonify-compare-dock{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;background-color:var(--adfy_compare_products_dock_bg_color);border-radius:5px;bottom:10px;display:none;justify-content:space-between;left:50%;max-width:95vw;min-width:600px;padding:10px 15px;position:fixed;right:auto;row-gap:10px;top:auto;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:all .5s ease;transition:all .5s ease;width:auto;z-index:var(--adfy_compare_products_dock_zindex)}@media (max-width:768px){#addonify-compare-dock{min-width:95vw}}#addonify-compare-dock.hidden{bottom:-100vh}.addonify-compare-dock-is-visible #addonify-compare-dock{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}#addonify-compare-dock-message{-webkit-box-flex:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--adfy_compare_products_dock_text_color);-ms-flex:auto 1;flex:auto 1}@media (max-width:575px){#addonify-compare-dock-message{width:100%}}@media (max-width:575px){#addonify-compare-dock-message:not(.addonify-compare-hidden){-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center}}#addonify-compare-dock-inner{-webkit-box-flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:auto 1;flex:auto 1;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px;justify-content:flex-end}@media (max-width:575px){#addonify-compare-dock-inner{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}}#addonify-compare-dock-inner.full{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#addonify-compare-dock-thumbnails{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;height:100%;overflow:hidden}.addonify-compare-dock-components img{border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13);height:100%;width:100%}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-dock-compare-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border:none;border-radius:2px;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:15px;font-weight:400;line-height:1;margin:0;padding:0 20px;width:auto}#addonify-compare-dock-compare-btn-link,.addonify-compare-dock-components button,.addonify-compare-dock-thumbnail,.addonify-dock-compare-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;position:relative}.addonify-compare-dock-thumbnail{-webkit-box-orient:horizontal;-webkit-box-direction:normal;background:#3c3c3c;border-radius:3px;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:var(--adfy_compare_products_thumbnail_height)}.addonify-compare-dock-thumbnail img{max-width:100%;width:100%}.addonify-compare-dock-thumbnail.loading .addonify-loading-wave{display:block}.addonify-compare-dock-remove-item-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;background-color:rgba(0,0,0,.7);border-radius:2px;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;justify-content:center;position:absolute;right:2px;top:2px;-webkit-transition:all .5s ease;transition:all .5s ease;width:20px;z-index:10}.addonify-compare-dock-remove-item-btn svg{height:14px;width:14px}.addonify-compare-dock-remove-item-btn:hover{fill:#f5f5f5;background-color:#000;color:#f5f5f5}#addonify-compare-dock-add-item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_dock_add_button_color);align-items:center;background-color:var(--adfy_compare_products_dock_add_button_bg_color);border-radius:3px;color:var(--adfy_compare_products_dock_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:var(--adfy_compare_products_thumbnail_height);justify-content:center;margin:0;padding:0;position:relative;-webkit-transition:all .5s ease;transition:all .5s ease;width:var(--adfy_compare_products_thumbnail_height)}#addonify-compare-dock-add-item svg{height:16px;width:16px}#addonify-compare-dock-add-item:hover{fill:var(--adfy_compare_products_dock_add_button_color_hover);background:none;background-color:var(--adfy_compare_products_dock_add_button_bg_color_hover);border:none;color:var(--adfy_compare_products_dock_add_button_color_hover);text-decoration:none}#addonify-compare-dock-add-item:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn,#addonify-compare-dock-compare-btn-link{fill:var(--adfy_compare_products_dock_compare_button_color);background:transparent;background-color:var(--adfy_compare_products_dock_compare_button_bg_color);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_dock_compare_button_color);cursor:pointer;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:hover,#addonify-compare-dock-compare-btn:hover{fill:var(--adfy_compare_products_dock_compare_button_color_hover);background-color:var(--adfy_compare_products_dock_compare_button_bg_color_hover);color:var(--adfy_compare_products_dock_compare_button_color_hover)}#addonify-compare-dock-compare-btn-link{position:relative;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease}#addonify-compare-dock-compare-btn-link:focus{outline:none;text-decoration:none}#addonify-compare-dock-compare-btn-link:hover{text-decoration:none}.addonify-compare-disable-scroll{overflow:hidden}#addonify-compare-modal-overlay,#addonify-compare-search-modal-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--adfy_compare_products_search_modal_overlay_bg_color);bottom:0;cursor:pointer;display:block;height:100%;left:0;opacity:1;position:fixed;right:0;top:0;-webkit-transition:all .5s ease;transition:all .5s ease;visibility:visible;width:100%;z-index:var(--adfy_compare_products_search_modal_overlay_zindex)}#addonify-compare-modal-overlay.addonify-compare-hidden,#addonify-compare-search-modal-overlay.addonify-compare-hidden{opacity:0;visibility:hidden}#addonify-compare-search-modal{background-color:var(--adfy_compare_products_search_modal_bg_color);border-radius:5px;-webkit-box-shadow:0 0 60px rgba(0,0,0,.2);box-shadow:0 0 60px rgba(0,0,0,.2);height:450px;left:50%;position:fixed;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:600px;z-index:var(--adfy_compare_products_search_modal_zindex)}@media (max-width:768px){#addonify-compare-search-modal{width:90vw}}.addonify-compare-search-model-inner{max-width:100%;padding:30px;position:relative}@media (max-width:575px){.addonify-compare-search-model-inner{padding:20px}}.addonify-compare-search-head{position:relative}#addonify-compare-search-close-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:var(--adfy_compare_products_search_modal_close_button_color);align-items:center;background:transparent;background-color:transparent;border:2px solid var(--adfy_compare_products_search_modal_close_button_border_color);border-radius:100%;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:30px;justify-content:center;margin:0;padding:0;position:absolute;right:-30px;text-decoration:none;top:-30px;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px;z-index:10}@media (max-width:768px){#addonify-compare-search-close-button{right:-20px}}#addonify-compare-search-close-button svg{height:14px;width:14px}#addonify-compare-search-close-button:hover{fill:var(--adfy_compare_products_search_modal_close_button_color_hover);background:transparent;background-color:transparent;border-color:var(--adfy_compare_products_search_modal_close_button_border_color_hover);-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_close_button_color_hover);text-decoration:none}#addonify-compare-search-close-button:focus{-webkit-box-shadow:none;box-shadow:none;outline:none}.addonify-compare-search-modal-content input::-webkit-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input::-moz-placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::-ms-input-placeholder{opacity:1}.addonify-compare-search-modal-content input::placeholder{color:#9e9e9e;font-size:13px;font-weight:400;opacity:1}.addonify-compare-search-modal-content input:-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content input::-ms-input-placeholder{color:#9e9e9e;font-size:13px;font-weight:400}.addonify-compare-search-modal-content #addonify-compare-search-query{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border:2px solid #eee;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-shadow:inset 1px 1px 3px transparent;box-shadow:inset 1px 1px 3px transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#444;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:15px;font-weight:400;height:48px;line-height:21px;max-width:100%;padding:14px 15px;-webkit-transition:all .5s ease;transition:all .5s ease;width:100%}.addonify-compare-search-modal-content #addonify-compare-search-query:focus{border-color:#3da6ff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:none}.addonify-compare-search-modal-content #addonify-compare-search-results{height:320px;margin:20px 0 0;overflow:hidden;overflow-y:auto;position:relative}.addonify-compare-search-modal-content #addonify-compare-search-results.loading{background:url(../../images/search.gif) no-repeat 50%;min-height:325px}.addonify-compare-search-modal-content #addonify-compare-search-results ul{margin:0;padding:0 10px 0 0}.addonify-compare-search-modal-content #addonify-compare-search-results li{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:20px;justify-content:space-between;list-style:none;margin-bottom:15px;overflow:hidden;padding-bottom:15px}.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.addonify-compare-search-modal-content #addonify-compare-search-results .item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:15px}.addonify-compare-search-modal-content #addonify-compare-search-results .item img{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:42px;width:42px}.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title{font-size:14px;font-weight:400;letter-spacing:0;line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:var(--adfy_compare_products_search_modal_add_button_color);align-items:center;background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color);border:none;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:30px;justify-content:center;line-height:1;text-align:center;-webkit-transition:all .5s ease;transition:all .5s ease;width:30px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg{height:13px;width:13px}.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover{fill:var(--adfy_compare_products_search_modal_add_button_color_hover);background:transparent;background-color:var(--adfy_compare_products_search_modal_add_button_bg_color_hover);border:none;-webkit-box-shadow:none;box-shadow:none;color:var(--adfy_compare_products_search_modal_add_button_color_hover)}#addonify-compare-close-button{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;fill:#8b8b8b;align-items:center;background:transparent;background-color:#dfdfdf;border:none;border-radius:0;border-bottom-left-radius:4px;border-top-right-radius:5px;-webkit-box-shadow:none;box-shadow:none;color:#8b8b8b;display:none;font-size:14px;font-weight:400;height:auto;justify-content:center;left:auto;line-height:1;margin:0;padding:10px 20px;position:absolute;right:0;top:0;width:auto;z-index:10}#addonify-compare-close-button svg{height:14px;width:14px}#addonify-compare-close-button:hover{fill:#727272;background:transparent;background-color:#c1c1c1;border:none;color:#727272}#addonify-compare-modal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;border-radius:5px;bottom:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal.addonify-compare-hidden{display:none}#addonify-compare-modal .addonify-compare-model-inner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#fff;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;height:100%;justify-content:center;margin:0 auto;max-width:2048px;overflow:hidden;position:relative;width:98vw;width:calc(100vw - 40px)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;z-index:var(--adfy_compare_products_comparison_table_zindex)}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content{height:100%;margin:0;padding:0;position:relative;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper{bottom:0;display:block;height:100%;left:0;position:absolute;right:0;top:0;width:100%}#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice{display:none}#addonify-compare-products-table{border-collapse:collapse;display:table;margin:0;overflow:auto;padding:0;table-layout:auto}#addonify-compare-products-table.addonify-compare-hidden{display:none}#addonify-compare-products-table td,#addonify-compare-products-table th{border-color:#f5f5f5;padding:15px;text-align:left;vertical-align:top}#addonify-compare-products-table th{background-color:#f5f5f5}#addonify-compare-products-table td .price{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:16px;font-weight:700;margin-bottom:0}#addonify-compare-products-table td .price ins{background-color:transparent;color:red;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:700}#addonify-compare-products-table td .price del{color:#444;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:13px;margin-right:5px;opacity:.8}#addonify-compare-products-table td .add_to_cart_inline{margin-bottom:0}#addonify-compare-products-table td .add_to_cart_button,#addonify-compare-products-table td .woocommerce .button,#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:3px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:400;height:auto;justify-content:center;line-height:1;margin:0;padding:15px 20px;text-align:center;width:auto}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a{display:block}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img{border-radius:5px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:3px}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating{float:none;margin:0}#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p{margin:0}@media (max-width:1024px){#addonify-compare-products-table-wrapper{overflow-x:auto;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper{padding:20px 15px}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table{border:none;display:block;margin:0;overflow:auto;padding:0;width:100%}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody{grid-row-gap:20px;display:grid;grid-auto-columns:1fr;grid-auto-flow:row}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr{grid-column-gap:20px;border:none;display:grid;grid-auto-columns:50%;grid-auto-flow:column;margin:0;padding:0}}@media (max-width:575px){#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:0}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating{float:none;margin:0}}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link{color:var(--adfy_compare_products_table_title_color);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.3}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover{color:var(--adfy_compare_products_table_title_color_hover)}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;fill:#fff;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:14px;font-weight:400;height:40px;justify-content:center;line-height:1;margin:0;padding:0;text-decoration:none;-webkit-transition:all .5s ease;transition:all .5s ease;width:40px}#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg{height:18px;width:18px}#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{background-color:#f5f5f5;width:200px}@media (max-width:1024px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{width:100px}}@media (max-width:991px){#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child,#addonify-compare-products-table.has-header tbody tr td:first-child{display:none}}@-webkit-keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes addonifyCompareLoadingWaveAfter{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}}@keyframes addonifyCompareLoadingWaveBefore{0%{opacity:1;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.5)}} /*# sourceMappingURL=public.css.map */ diff --git a/public/assets/build/css/public.css.map b/public/assets/build/css/public.css.map index 5d330c6..37da7a2 100644 --- a/public/assets/build/css/public.css.map +++ b/public/assets/build/css/public.css.map @@ -1 +1 @@ -{"version":3,"sources":["abstracts/_variables.scss","index.css","helpers/_class.scss","components/_buttons.scss","abstracts/_mixins.scss","components/_dock.scss","components/_modal.scss","components/_table.scss","helpers/_keyframes.scss"],"names":[],"mappings":"AAAA,MAGI,yCAAA,CACA,+CAAA,CACA,4CAAA,CACA,qDAAA,CAGA,oEAAA,CACA,kDAAA,CACA,oDAAA,CAEA,0DAAA,CACA,gEAAA,CACA,6DAAA,CACA,sEAAA,CAEA,0EAAA,CACA,kEAAA,CACA,iFAAA,CACA,yEAAA,CAGA,6CAAA,CACA,0DAAA,CAEA,kDAAA,CACA,wDAAA,CACA,wDAAA,CACA,8DAAA,CAEA,sDAAA,CACA,4DAAA,CACA,yDAAA,CACA,kEAAA,CAGA,8CAAA,CACA,uDAAA,CAGA,6CAAA,CAGA,kDAAA,CACA,0DAAA,CACA,8GAAA,CACA,4GCfJ,CC5BA,wBAWC,qBAAA,CACA,qBAAA,CAFA,iBAAA,CADA,UAAA,CAPA,aAAA,CAIA,cAAA,CAEA,eAAA,CADA,eAAA,CAFA,eAAA,CADA,iBAAA,CADA,iBDiFD,CCtEC,gCAIC,wBAAA,CADA,oBAAA,CADA,aDyEF,CCpEC,8BAIC,wBAAA,CADA,oBAAA,CADA,aDuEF,CClEC,gCAIC,wBAAA,CADA,oBAAA,CADA,aDqEF,CChEC,6BAIC,wBAAA,CADA,oBAAA,CADA,aDmEF,CC5DE,0DAEC,QD6DH,CCpDA,uBAUI,kBAAA,CARA,YAAA,CAOH,WAAA,CAHG,QAAA,CACH,SAAA,CAJG,iBAAA,CAEA,OAAA,CAMA,mDAAA,CAAA,2CAAA,CAHA,UAAA,CAJA,SDgEJ,CCtDA,2DAMC,qBAAA,CACA,kBAAA,CAJA,UAAA,CAMA,WAAA,CALG,MAAA,CACA,iBAAA,CAGH,UDyDD,CCrDA,8BAKC,sEAAA,CAAA,8DAAA,CAHG,UAAA,CACH,SAAA,CACA,0BAAA,CAAA,kBDwDD,CCpDA,6BAKC,qEAAA,CAAA,6DAAA,CAHG,UAAA,CACH,SAAA,CACA,0BAAA,CAAA,kBDuDD,CErJA,0BAEI,iBF0JJ,CEvJA,wDAOI,2BAAA,CAAA,4BAAA,CAIA,eAAA,CAHA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CADA,yBAAA,CAAA,qBAAA,CAFA,MAAA,CACA,SAAA,CAJA,iBAAA,CAEA,KAAA,CADA,UFoKJ,CEvJA,0IAPI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CCbA,iCAAA,CACA,kCAAA,CDWA,kBAAA,CACA,sBAAA,CCuDF,+BAAA,CAAA,uBH8HF,CE/KA,kFAgBI,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAEA,sBAAA,CACA,4BAAA,CAJA,uBAAA,CAAA,eAAA,CADA,cAAA,CAVA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAIA,iBAAA,CACA,eAAA,CAEA,WAAA,CAJA,aAAA,CAKA,QAAA,CACA,SAAA,CAIA,oBAAA,CAPA,UFqKJ,CElJI,wMAGI,uBAAA,CAAA,eAAA,CADA,oBF4JR,CEnJA,uJAKI,wBAAA,CAAA,qBAAA,CAEA,uBAAA,CAAA,oBAAA,CACA,8CAAA,CAHA,kBAAA,CASA,sBAAA,CACA,6DAAA,CALA,WAAA,CACA,uBAAA,CAAA,eAAA,CAFA,+CAAA,CAGA,cAAA,CARA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,OAAA,CACA,sBAAA,CAMA,oBAAA,CCJF,+BAAA,CAAA,uBH+JF,CEtJI,6MAEI,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CACA,aFyJR,CEvJQ,yNAEI,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,WAAA,CADA,aAAA,CAEA,UF0JZ,CEpJQ,yQAEI,2BAAA,CAAA,gBAAA,CAAA,OFuJZ,CEnJI,yKAII,oDAAA,CAEA,sBAAA,CACA,mEAAA,CAJA,uBAAA,CAAA,eAAA,CAEA,qDAAA,CAHA,oBF2JR,CEnJI,yKAEI,uBAAA,CAAA,eFsJR,CElJA,6BAGI,kBAAA,CADA,UFqJJ,CI5QA,yBAEI,YJiRJ,CI9QA,uBAGI,wBAAA,CAAA,qBAAA,CACA,wBAAA,CAAA,qBAAA,CDPA,iCAAA,CACA,kCAAA,CCKA,kBAAA,CAaA,2DAAA,CADA,iBAAA,CAPA,WAAA,CANH,YAAA,CAEG,6BAAA,CAMA,QAAA,CAGA,cAAA,CADA,eAAA,CAEA,iBAAA,CARA,cAAA,CAGA,UAAA,CAJA,YAAA,CAEA,QAAA,CAWA,kCAAA,CAAA,0BAAA,CD+CF,+BAAA,CAAA,uBAAA,CCtDE,UAAA,CAMA,gDJqRJ,CGnII,yBCnKJ,uBAuBQ,cJmRN,CACF,CIjRI,8BAEI,aJkRR,CI9QA,yDDnBC,6BAAA,CAAA,4BAAA,CADA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cHsSD,CI/QA,+BAEI,kBAAA,CD1CA,iCAAA,CACA,kCAAA,CC0CA,kDAAA,CADA,eAAA,CAAA,WJqRJ,CGnJI,yBCpIJ,+BAOQ,UJoRN,CACF,CGxJI,yBC1HA,6DDlCH,6BAAA,CAAA,4BAAA,CCuCW,uBAAA,CAAA,oBAAA,CDxCX,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CCsCW,sBJuRV,CACF,CInRA,6BAEI,kBAAA,CD9CH,6BAAA,CAAA,4BAAA,CCiDG,oBAAA,CAAA,iBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CDnDH,mBAAA,CAAA,mBAAA,CAAA,YAAA,CC+CG,eAAA,CAAA,WAAA,CD9CH,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CC+CG,QAAA,CACA,wBJyRJ,CG9KI,yBChHJ,6BAUQ,uBAAA,CAAA,oBAAA,CAAA,sBAAA,CADA,UJ0RN,CACF,CItRA,kCAEI,uBAAA,CAAA,oBAAA,CAAA,sBJwRJ,CIrRA,kCD/DC,6BAAA,CAAA,4BAAA,CCmEG,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CDpEH,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CCiEG,QAAA,CAGA,WAAA,CADA,eJ0RJ,CItRA,sCAII,iBAAA,CDwCA,4CAAA,CAAA,oCAAA,CC1CH,WAAA,CACG,UJ0RJ,CIrRA,+GDhGI,iCAAA,CACA,kCAAA,CC2GH,WAAA,CAGA,iBAAA,CACG,cAAA,CAZA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAUH,cAAA,CADA,eAAA,CAFG,aAAA,CADA,QAAA,CADA,cAAA,CADH,UJkSD,CIrRA,gJAhBI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CADA,kBAAA,CAYA,oDAAA,CAXA,sBAAA,CACA,iBJiTJ,CInSA,iCDrGC,6BAAA,CAAA,4BAAA,CC8GG,kBAAA,CACA,iBAAA,CAJA,WAAA,CD5GH,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CC2GG,mDJ4RJ,CIvRI,qCAGI,cAAA,CADA,UJyRR,CInRQ,gEAEI,aJoRZ,CI/QA,uCAGI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CAIA,SAAA,CALA,kBAAA,CAUA,+BAAA,CAEA,iBAAA,CARA,UAAA,CADA,cAAA,CAJA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAUA,WAAA,CARA,sBAAA,CACA,iBAAA,CAKA,SAAA,CADA,OAAA,CDrFF,+BAAA,CAAA,uBAAA,CCuFE,UAAA,CAGA,UJmRJ,CI/QI,2CAGI,WAAA,CADA,UJiRR,CI7QI,6CAGI,YAAA,CACA,qBAAA,CAFA,aJgRR,CI1QA,gCAGI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CAOA,uDAAA,CARA,kBAAA,CASA,sEAAA,CACA,iBAAA,CAHA,wDAAA,CAIA,cAAA,CAZA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAOA,oDAAA,CALA,sBAAA,CAEA,QAAA,CACA,SAAA,CAFA,iBAAA,CDjHF,+BAAA,CAAA,uBAAA,CCoHE,mDJmRJ,CI1QI,oCAEI,WAAA,CACA,UJ2QR,CIxQI,sCAGI,6DAAA,CAGA,eAAA,CACA,4EAAA,CAFA,WAAA,CAHA,8DAAA,CAEA,oBJ4QR,CItQI,sCAEI,YAAA,CACA,oBJuQR,CInQA,2EAII,2DAAA,CACA,sBAAA,CAIA,0EAAA,CAHA,WAAA,CACA,uBAAA,CAAA,eAAA,CAJA,4DAAA,CAKA,cAAA,CD5JF,+BAAA,CAAA,uBHmaF,CInQI,uFAGI,iEAAA,CACA,gFAAA,CAFA,kEJuQR,CIjQA,wCAEI,iBAAA,CACA,oBAAA,CD3KF,+BAAA,CAAA,uBH+aF,CIjQI,8CAEI,YAAA,CACA,oBJkQR,CI/PI,8CAEI,oBJgQR,CK5fA,iCAEI,eLigBJ,CK1fA,uEAYI,kCAAA,CAAA,0BAAA,CACA,2EAAA,CALA,QAAA,CAGA,cAAA,CARA,aAAA,CAOA,WAAA,CALA,MAAA,CFoFA,SAAA,CErFA,cAAA,CAEA,OAAA,CACA,KAAA,CFsDF,+BAAA,CAAA,uBAAA,CA6BE,kBAAA,CEjFA,UAAA,CAKA,gELkgBJ,CK7fA,uHFgEI,SAAA,CACA,iBHkcJ,CKxfA,+BAOI,mEAAA,CACA,iBAAA,CACA,0CAAA,CAAA,kCAAA,CAJA,YAAA,CF0EH,QAAA,CE7EG,cAAA,CF4EH,OAAA,CAEG,mDAAA,CAAA,2CAAA,CE5EA,WAAA,CAEA,wDLmgBJ,CGxYI,yBEjIJ,+BAYQ,ULigBN,CACF,CK9fA,qCAGI,cAAA,CACA,YAAA,CAFH,iBLmgBD,CG9YI,yBEvHJ,qCAOQ,YLkgBN,CACF,CK/fA,8BAEI,iBLigBJ,CK9fA,sCAGI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CAUA,iEAAA,CAXA,kBAAA,CAaA,sBAAA,CACA,4BAAA,CAFA,oFAAA,CAGA,kBAAA,CAEA,uBAAA,CAAA,eAAA,CAPA,kEAAA,CADA,cAAA,CAVA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CASA,WAAA,CAPA,sBAAA,CAKA,QAAA,CADA,SAAA,CAHA,iBAAA,CACA,WAAA,CAeA,oBAAA,CAdA,SAAA,CFRF,+BAAA,CAAA,uBAAA,CEWE,UAAA,CASA,ULogBJ,CGtbI,yBEjGJ,sCAyBQ,WLkgBN,CACF,CKhgBI,0CAGI,WAAA,CADA,ULkgBR,CK9fI,4CAEI,uEAAA,CAKA,sBAAA,CACA,4BAAA,CAJA,sFAAA,CACA,uBAAA,CAAA,eAAA,CAFA,wEAAA,CAGA,oBLigBR,CK5fI,4CAGI,uBAAA,CAAA,eAAA,CADA,YL8fR,CKvfI,wEAEI,aAAA,CAEA,cAAA,CACA,eAAA,CAFA,SL2fR,CK9fI,+DAEI,aAAA,CAEA,cAAA,CACA,eAAA,CAFA,SL2fR,CK9fI,mEAGI,SL2fR,CK9fI,oEAGI,SL2fR,CK9fI,0DAEI,aAAA,CAEA,cAAA,CACA,eAAA,CAFA,SL2fR,CKtfI,mEAEI,aAAA,CACA,cAAA,CACA,eLufR,CKpfI,oEAEI,aAAA,CACA,cAAA,CACA,eLqfR,CKlfI,sEFjIH,6BAAA,CAAA,4BAAA,CEoIO,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CAYA,eAAA,CADA,qBAAA,CAIA,iBAAA,CAFA,uBAAA,CAAA,eAAA,CAGA,gDAAA,CAEA,wCAAA,CAJA,6BAAA,CAAA,qBAAA,CARA,UAAA,CF3IP,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CEsIO,cAAA,CACA,eAAA,CAIA,WAAA,CAHA,gBAAA,CAHA,cAAA,CAKA,iBAAA,CFvFN,+BAAA,CAAA,uBAAA,CEiFM,ULugBR,CKnfQ,4EAGI,oBAAA,CACA,gFAAA,CAAA,wEAAA,CAFA,YLsfZ,CKhfI,wEAII,YAAA,CADA,eAAA,CAEA,eAAA,CACA,eAAA,CAJA,iBLqfR,CK/eQ,gFAEI,qDAAA,CACA,gBLgfZ,CK7eQ,2EACI,QAAA,CACA,kBL+eZ,CK5eQ,2EFpLP,6BAAA,CAAA,4BAAA,CEuLW,wBAAA,CAAA,qBAAA,CACA,wBAAA,CAAA,qBAAA,CADA,kBAAA,CAKA,+BAAA,CF7LX,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CEwLW,QAAA,CADA,6BAAA,CAEA,eAAA,CAIA,kBAAA,CAHA,eAAA,CAEA,mBLgfZ,CK5eQ,sFAEI,eAAA,CAEA,eAAA,CADA,gBL8eZ,CK1eQ,8EFxMP,6BAAA,CAAA,4BAAA,CE2MW,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CF5MX,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CE2MW,QL6eZ,CK3eY,kFAEI,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,WAAA,CADA,UL6ehB,CKvegB,wGAGI,cAAA,CACA,eAAA,CAEA,gBAAA,CADA,eAAA,CAHA,QAAA,CAMA,eAAA,CACA,sBAAA,CAFA,kBL0epB,CKneQ,kFAGI,uBAAA,CAAA,oBAAA,CACA,wBAAA,CAAA,qBAAA,CAOA,+DAAA,CAPA,kBAAA,CAQA,sBAAA,CACA,8EAAA,CAEA,WAAA,CAEA,iBAAA,CADA,uBAAA,CAAA,eAAA,CANA,gEAAA,CAIA,cAAA,CAZA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAKA,eAAA,CADA,WAAA,CAHA,sBAAA,CAKA,aAAA,CACA,iBAAA,CF1LV,+BAAA,CAAA,uBAAA,CEsLU,ULifZ,CKleY,sFAGI,WAAA,CADA,ULoehB,CKheY,wFAGI,qEAAA,CACA,sBAAA,CACA,oFAAA,CAEA,WAAA,CADA,uBAAA,CAAA,eAAA,CAJA,sELsehB,CKvdA,+BAGI,uBAAA,CAAA,oBAAA,CACA,wBAAA,CAAA,qBAAA,CAgBA,YAAA,CAhBA,kBAAA,CAqBA,sBAAA,CACA,wBAAA,CALA,WAAA,CACA,eAAA,CAEA,6BAAA,CADA,2BAAA,CATA,uBAAA,CAAA,eAAA,CAKA,aAAA,CAjBA,YAAA,CAaA,cAAA,CACA,eAAA,CAPA,WAAA,CANA,sBAAA,CAGA,SAAA,CAYA,aAAA,CANA,QAAA,CADA,iBAAA,CANA,iBAAA,CAEA,OAAA,CACA,KAAA,CAEA,UAAA,CAOA,ULqeJ,CK1dI,mCAGI,WAAA,CADA,UL4dR,CKxdI,qCAEI,YAAA,CAGA,sBAAA,CACA,wBAAA,CAFA,WAAA,CADA,aL4dR,CKrdA,wBF5TC,6BAAA,CAAA,4BAAA,CEgUG,uBAAA,CAAA,oBAAA,CAUA,iBAAA,CALA,QAAA,CFtNH,2CAAA,CAAA,mCAAA,CAhHA,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CE+TG,yBAAA,CAAA,qBAAA,CF9TH,kBAAA,CAAA,cAAA,CEsUG,WAAA,CAPA,sBAAA,CAIA,MAAA,CAKA,eAAA,CARA,cAAA,CAEA,OAAA,CADA,KAAA,CAIA,UAAA,CAEA,4DL4dJ,CKvdI,gDAEI,YLwdR,CKrdI,sDFlVH,6BAAA,CAAA,4BAAA,CEsVO,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CADA,kBAAA,CAWA,qBAAA,CADA,iBAAA,CFjWP,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CEqVO,yBAAA,CAAA,qBAAA,CFpVP,kBAAA,CAAA,cAAA,CE0VO,WAAA,CAJA,sBAAA,CAGA,aAAA,CAIA,gBAAA,CACA,eAAA,CAPA,iBAAA,CAIA,UAAA,CACA,wBL4dR,CKtdS,qFAEG,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CACA,4DLudZ,CKpdQ,sFAKI,WAAA,CAFA,QAAA,CACA,SAAA,CAFA,iBAAA,CAIA,ULqdZ,CKndY,+HAOI,QAAA,CALA,aAAA,CAMA,WAAA,CAJA,MAAA,CADA,iBAAA,CAEA,OAAA,CACA,KAAA,CAGA,ULodhB,CKldgB,iKAEI,YLmdpB,CMn2BA,iCAII,wBAAA,CAFA,aAAA,CAGA,QAAA,CAEA,aAAA,CADA,SAAA,CAHA,iBN42BJ,CMt2BI,yDAEI,YNu2BR,CMn2BI,wEAMI,oBAAA,CAHA,YAAA,CACA,eAAA,CACA,kBNq2BR,CMj2BI,oCAEI,wBNk2BR,CM91BQ,2CAII,6BAAA,CAAA,4BAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CAEA,UAAA,CALA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,sBAAA,CAAA,kBAAA,CADA,kBAAA,CAAA,cAAA,CAGA,cAAA,CAEA,eAAA,CACA,eN+1BZ,CM71BY,+CAKI,4BAAA,CADA,SAAA,CAFA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CACA,eNg2BhB,CM31BY,+CAKI,UAAA,CAHA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,cAAA,CADA,gBAAA,CAGA,UN41BhB,CMx1BQ,wDAEI,eNy1BZ,CMt1BQ,yMAKI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CADA,kBAAA,CASA,iBAAA,CAVA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAMA,eAAA,CAEA,WAAA,CANA,sBAAA,CAKA,aAAA,CAHA,QAAA,CACA,iBAAA,CAFA,iBAAA,CAMA,UNw1BZ,CM/0BY,8IAEI,aNg1BhB,CM90BgB,kJAEI,iBN+0BpB,CMv0BQ,6IHlFP,6BAAA,CAAA,4BAAA,CGqFW,wBAAA,CAAA,qBAAA,CAAA,kBAAA,CHtFX,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CGqFW,ON00BZ,CMx0BY,0JAEI,UAAA,CACA,QNy0BhB,CMl0BQ,yGAEI,QNm0BZ,CG7xBI,0BG7BJ,yCAKQ,eAAA,CADA,UNm0BN,CACF,CGzxBI,yBG/CJ,yCAUQ,iBNk0BN,CACF,CG9xBI,yBGlCA,0EAMQ,WAAA,CAFA,aAAA,CAGA,QAAA,CAEA,aAAA,CADA,SAAA,CAHA,UNu0BV,CACF,CG3yBI,yBGtBI,gFAOQ,iBAAA,CAHA,YAAA,CACA,qBAAA,CACA,kBNq0Bd,CACF,CGtzBI,yBGZQ,mFAOQ,oBAAA,CACA,WAAA,CAJA,YAAA,CACA,qBAAA,CACA,qBAAA,CAIA,QAAA,CADA,SNs0BlB,CACF,CGp0BI,yBGCY,sFH7Jf,6BAAA,CAAA,4BAAA,CGkKuB,wBAAA,CAAA,qBAAA,CACA,sBAAA,CAAA,mBAAA,CADA,kBAAA,CAEA,WAAA,CHrKvB,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,sBAAA,CAAA,kBAAA,CACA,kBAAA,CAAA,cAAA,CGkKuB,0BAAA,CAGA,QAAA,CADA,SNy0BtB,CMt0BsB,mGAEI,UAAA,CACA,QNu0B1B,CACF,CMp0BoB,0GAGI,oDAAA,CADA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAEA,eNq0BxB,CMn0BwB,gHAEI,0DNo0B5B,CMh0BoB,yHAGI,wBAAA,CAAA,qBAAA,CACA,uBAAA,CAAA,oBAAA,CAYA,SAAA,CAbA,kBAAA,CAWA,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAIA,iBAAA,CALA,uBAAA,CAAA,eAAA,CAIA,UAAA,CALA,cAAA,CAVA,0BAAA,CAAA,0BAAA,CAAA,mBAAA,CAGA,cAAA,CACA,eAAA,CACA,WAAA,CAHA,sBAAA,CAOA,aAAA,CADA,QAAA,CADA,SAAA,CAMA,oBAAA,CHtJtB,+BAAA,CAAA,uBAAA,CG+IsB,UN40BxB,CM/zBwB,6HAGI,WAAA,CADA,UNi0B5B,CMzyBgB,iLAGI,wBAAA,CADA,WNkzBpB,CGp5BI,0BGgGY,iLAQQ,WNizBtB,CACF,CGp5BI,yBG0FY,iLAcQ,YNizBtB,CACF,CO5jCA,mDAEC,GAAkC,SAAA,CAA3B,2BAAA,CAAA,mBPmkCN,COlkCD,GAA4B,SAAA,CAAvB,0BAAA,CAAA,kBPskCJ,CACF,CO1kCA,2CAEC,GAAkC,SAAA,CAA3B,2BAAA,CAAA,mBPmkCN,COlkCD,GAA4B,SAAA,CAAvB,0BAAA,CAAA,kBPskCJ,CACF,COrkCA,oDAEC,GAAsC,SAAA,CAA/B,0BPwkCN,COvkCD,GAAwC,SAAA,CAAnC,4BP2kCJ,CACF,CO/kCA,4CAEC,GAAsC,SAAA,CAA/B,0BPwkCN,COvkCD,GAAwC,SAAA,CAAnC,4BP2kCJ,CACF","file":"public.css","sourcesContent":[":root {\r\n\r\n // Button\r\n --adfy_compare_products_button_color: white;\r\n --adfy_compare_products_button_color_hover: white;\r\n --adfy_compare_products_button_bg_color: #444444;\r\n --adfy_compare_products_button_bg_color_hover: #3765FA;\r\n\r\n // Search Modal\r\n --adfy_compare_products_search_modal_overlay_bg_color: rgba(0, 0, 0, 0.8);\r\n --adfy_compare_products_search_modal_bg_color: white;\r\n --adfy_compare_products_search_modal_text_color: #444444;\r\n\r\n --adfy_compare_products_search_modal_add_button_color: #444444;\r\n --adfy_compare_products_search_modal_add_button_color_hover: #444444;\r\n --adfy_compare_products_search_modal_add_button_bg_color: #EEEEEE;\r\n --adfy_compare_products_search_modal_add_button_bg_color_hover: #D4D4D4;\r\n\r\n --adfy_compare_products_search_modal_close_button_color: rgba(255, 255, 255, 0.7);\r\n --adfy_compare_products_search_modal_close_button_color_hover: rgba(255, 255, 255, 1);\r\n --adfy_compare_products_search_modal_close_button_border_color: rgba(255, 255, 255, 0.3);\r\n --adfy_compare_products_search_modal_close_button_border_color_hover: rgba(255, 255, 255, 1);\r\n\r\n // Compare Dock\r\n --adfy_compare_products_dock_bg_color: #02030E;\r\n --adfy_compare_products_dock_text_color: rgba(255, 255, 255, 0.7);\r\n\r\n --adfy_compare_products_dock_add_button_color: white;\r\n --adfy_compare_products_dock_add_button_color_hover: white;\r\n --adfy_compare_products_dock_add_button_bg_color: #343434;\r\n --adfy_compare_products_dock_add_button_bg_color_hover: #3765FA;\r\n\r\n --adfy_compare_products_dock_compare_button_color: #444444;\r\n --adfy_compare_products_dock_compare_button_color_hover: white;\r\n --adfy_compare_products_dock_compare_button_bg_color: white;\r\n --adfy_compare_products_dock_compare_button_bg_color_hover: #3765FA;\r\n\r\n // Table\r\n --adfy_compare_products_table_title_color: #444444;\r\n --adfy_compare_products_table_title_color_hover: #3765FA;\r\n\r\n // Height\r\n --adfy_compare_products_thumbnail_height: 42px;\r\n\r\n // zindex\r\n --adfy_compare_products_dock_zindex: 10000000000000;\r\n --adfy_compare_products_search_modal_zindex: 10000000000010;\r\n --adfy_compare_products_search_modal_overlay_zindex: calc( var(--adfy_compare_products_search_modal_zindex) - 5 );\r\n --adfy_compare_products_comparison_table_zindex: calc( var(--adfy_compare_products_search_modal_zindex) + 100 );\r\n}",":root {\n --adfy_compare_products_button_color: white;\n --adfy_compare_products_button_color_hover: white;\n --adfy_compare_products_button_bg_color: #444444;\n --adfy_compare_products_button_bg_color_hover: #3765FA;\n --adfy_compare_products_search_modal_overlay_bg_color: rgba(0, 0, 0, 0.8);\n --adfy_compare_products_search_modal_bg_color: white;\n --adfy_compare_products_search_modal_text_color: #444444;\n --adfy_compare_products_search_modal_add_button_color: #444444;\n --adfy_compare_products_search_modal_add_button_color_hover: #444444;\n --adfy_compare_products_search_modal_add_button_bg_color: #EEEEEE;\n --adfy_compare_products_search_modal_add_button_bg_color_hover: #D4D4D4;\n --adfy_compare_products_search_modal_close_button_color: rgba(255, 255, 255, 0.7);\n --adfy_compare_products_search_modal_close_button_color_hover: rgba(255, 255, 255, 1);\n --adfy_compare_products_search_modal_close_button_border_color: rgba(255, 255, 255, 0.3);\n --adfy_compare_products_search_modal_close_button_border_color_hover: rgba(255, 255, 255, 1);\n --adfy_compare_products_dock_bg_color: #02030E;\n --adfy_compare_products_dock_text_color: rgba(255, 255, 255, 0.7);\n --adfy_compare_products_dock_add_button_color: white;\n --adfy_compare_products_dock_add_button_color_hover: white;\n --adfy_compare_products_dock_add_button_bg_color: #343434;\n --adfy_compare_products_dock_add_button_bg_color_hover: #3765FA;\n --adfy_compare_products_dock_compare_button_color: #444444;\n --adfy_compare_products_dock_compare_button_color_hover: white;\n --adfy_compare_products_dock_compare_button_bg_color: white;\n --adfy_compare_products_dock_compare_button_bg_color_hover: #3765FA;\n --adfy_compare_products_table_title_color: #444444;\n --adfy_compare_products_table_title_color_hover: #3765FA;\n --adfy_compare_products_thumbnail_height: 42px;\n --adfy_compare_products_dock_zindex: 10000000000000;\n --adfy_compare_products_search_modal_zindex: 10000000000010;\n --adfy_compare_products_search_modal_overlay_zindex: calc( var(--adfy_compare_products_search_modal_zindex) - 5 );\n --adfy_compare_products_comparison_table_zindex: calc( var(--adfy_compare_products_search_modal_zindex) + 100 );\n}\n\n/* -------------------------------------------------------------------------- \n\tMixin: Better Font Randering\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Flex\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Grid\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: transaction\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Visibility\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: position\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Box Shadow\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Breakpoints\n -------------------------------------------------------------------------- */\n/*\n===========================================================\n\n# Pugin: Addonify Compare Products\n\n# Author: https://addonify.com/\n\n# Since: 12 Sept, 2020\n\n# Last updated: \n\n# Current version: 1.0.0\n\n=====================================\n*/\n/* -------------------------------------------------------------------------- \n\tAlerts\n -------------------------------------------------------------------------- */\n.addonify-compare-alert {\n display: block;\n position: relative;\n padding: 15px 20px;\n margin: 0 0 30px 0;\n font-size: 16px;\n line-height: 1.6;\n font-weight: normal;\n color: #444444;\n border-radius: 4px;\n background-color: #EEEEEE;\n border: 2px solid #DDDDDD;\n}\n.addonify-compare-alert.success {\n color: #0C942C;\n border-color: #2EAf4C;\n background-color: #e2ffe9;\n}\n.addonify-compare-alert.error {\n color: #b50215;\n border-color: #FB6C7B;\n background-color: #ffe1e4;\n}\n.addonify-compare-alert.warning {\n color: #C38800;\n border-color: #FBC00A;\n background-color: #fff6dc;\n}\n.addonify-compare-alert.info {\n color: #0762bd;\n border-color: #3E9AF7;\n background-color: #d6ebff;\n}\n.addonify-compare-alert .addonify-compare-alert-content p {\n margin: 0;\n}\n\n/* -------------------------------------------------------------------------- \n\tLoading wave animation\n -------------------------------------------------------------------------- */\n.addonify-loading-wave {\n display: none;\n position: absolute;\n z-index: 1;\n top: 50%;\n left: 50%;\n opacity: 1;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n transform: translateX(-50%) translateY(-50%);\n}\n\n.addonify-loading-wave::before,\n.addonify-loading-wave::after {\n content: \"\";\n left: 0px;\n position: absolute;\n border: 1px white solid;\n border-radius: 100%;\n width: 100%;\n height: 100%;\n}\n\n.addonify-loading-wave::before {\n content: \"\";\n opacity: 1;\n transform: scale(1, 1);\n animation: addonifyCompareLoadingWaveBefore 0.6s infinite linear;\n}\n\n.addonify-loading-wave:after {\n content: \"\";\n opacity: 0;\n transform: scale(0, 0);\n animation: addonifyCompareLoadingWaveAfter 0.6s infinite linear;\n}\n\n/* -------------------------------------------------------------------------- \n\tGeneral button style.\n -------------------------------------------------------------------------- */\n.addonify-overlay-buttons {\n position: relative;\n}\n\n.addonify-overlay-buttons .addonify-overlay-btn-wrapper {\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n opacity: 0;\n flex-direction: column;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #444444;\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n.addonify-cp-fake-button,\na.addonify-cp-fake-button,\nbutton.addonify-cp-fake-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n font-size: inherit;\n font-weight: normal;\n width: auto;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n.addonify-cp-fake-button:focus,\na.addonify-cp-fake-button:focus,\nbutton.addonify-cp-fake-button:focus {\n text-decoration: none;\n box-shadow: none;\n}\n.addonify-cp-fake-button:hover,\na.addonify-cp-fake-button:hover,\nbutton.addonify-cp-fake-button:hover {\n text-decoration: none;\n box-shadow: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare button.\n -------------------------------------------------------------------------- */\n.addonify-cp-button,\n.woocommerce ul.products li.product .button.addonify-cp-button,\n.woocommerce-page ul.products li.product .button.addonify-cp-button {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n justify-content: center;\n fill: var(--adfy_compare_products_button_color);\n color: var(--adfy_compare_products_button_color);\n border: none;\n box-shadow: none;\n cursor: pointer;\n text-decoration: none;\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color);\n transition: all 0.5s ease;\n}\n.addonify-cp-button .addonify-cp-icon,\n.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,\n.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon {\n display: inline-flex;\n line-height: 1;\n}\n.addonify-cp-button .addonify-cp-icon svg,\n.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,\n.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg {\n display: inline-flex;\n line-height: 1;\n height: 16px;\n width: 16px;\n}\n.addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon {\n order: 2;\n}\n.addonify-cp-button:hover,\n.woocommerce ul.products li.product .button.addonify-cp-button:hover,\n.woocommerce-page ul.products li.product .button.addonify-cp-button:hover {\n text-decoration: none;\n box-shadow: none;\n fill: var(--adfy_compare_products_button_color_hover);\n color: var(--adfy_compare_products_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color_hover);\n}\n.addonify-cp-button:focus,\n.woocommerce ul.products li.product .button.addonify-cp-button:focus,\n.woocommerce-page ul.products li.product .button.addonify-cp-button:focus {\n box-shadow: none;\n}\n\n.addonify-cp-button.selected {\n opacity: 0.8;\n cursor: not-allowed;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare Footer\n -------------------------------------------------------------------------- */\n.addonify-compare-hidden {\n display: none;\n}\n\n#addonify-compare-dock {\n display: none;\n align-items: center;\n justify-content: space-between;\n row-gap: 10px;\n position: fixed;\n top: auto;\n bottom: 10px;\n right: auto;\n left: 50%;\n width: auto;\n min-width: 600px;\n max-width: 95vw;\n padding: 10px 15px;\n border-radius: 5px;\n background-color: var(--adfy_compare_products_dock_bg_color);\n z-index: var(--adfy_compare_products_dock_zindex);\n transform: translateX(-50%);\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-dock {\n min-width: 95vw;\n }\n}\n#addonify-compare-dock.hidden {\n bottom: -100vh;\n}\n\n.addonify-compare-dock-is-visible #addonify-compare-dock {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n#addonify-compare-dock-message {\n flex: auto 1;\n color: var(--adfy_compare_products_dock_text_color);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-message {\n width: 100%;\n }\n}\n#addonify-compare-dock-message:not(.addonify-compare-hidden) {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-message:not(.addonify-compare-hidden) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: center;\n }\n}\n\n#addonify-compare-dock-inner {\n flex: auto 1;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 15px;\n justify-content: flex-end;\n align-items: center;\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-inner {\n width: 100%;\n justify-content: center;\n }\n}\n\n#addonify-compare-dock-inner.full {\n justify-content: center;\n}\n\n#addonify-compare-dock-thumbnails {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n align-items: center;\n overflow: hidden;\n height: 100%;\n}\n\n.addonify-compare-dock-components img {\n height: 100%;\n width: 100%;\n border-radius: 2px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\n}\n\n.addonify-dock-compare-button,\n#addonify-compare-dock-compare-btn-link,\n.addonify-compare-dock-components button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: auto;\n padding: 0 20px;\n margin: 0;\n line-height: 1;\n border: none;\n font-weight: normal;\n font-size: 15px;\n border-radius: 2px;\n cursor: pointer;\n height: var(--adfy_compare_products_thumbnail_height);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n.addonify-compare-dock-thumbnail {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: move;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n background: #3C3C3C;\n border-radius: 3px;\n}\n.addonify-compare-dock-thumbnail img {\n width: 100%;\n max-width: 100%;\n}\n.addonify-compare-dock-thumbnail.loading .addonify-loading-wave {\n display: block;\n}\n\n.addonify-compare-dock-remove-item-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n cursor: pointer;\n color: white;\n fill: white;\n top: 2px;\n right: 2px;\n width: 20px;\n height: 20px;\n background-color: rgba(0, 0, 0, 0.7);\n z-index: 10;\n border-radius: 2px;\n transition: all 0.5s ease;\n}\n.addonify-compare-dock-remove-item-btn svg {\n width: 14px;\n height: 14px;\n}\n.addonify-compare-dock-remove-item-btn:hover {\n color: #F5F5F5;\n fill: #F5F5F5;\n background-color: rgb(0, 0, 0);\n}\n\n#addonify-compare-dock-add-item {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n margin: 0;\n padding: 0;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n color: var(--adfy_compare_products_dock_add_button_color);\n fill: var(--adfy_compare_products_dock_add_button_color);\n background-color: var(--adfy_compare_products_dock_add_button_bg_color);\n border-radius: 3px;\n cursor: pointer;\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-add-item svg {\n height: 16px;\n width: 16px;\n}\n#addonify-compare-dock-add-item:hover {\n color: var(--adfy_compare_products_dock_add_button_color_hover);\n fill: var(--adfy_compare_products_dock_add_button_color_hover);\n text-decoration: none;\n border: none;\n background: none;\n background-color: var(--adfy_compare_products_dock_add_button_bg_color_hover);\n}\n#addonify-compare-dock-add-item:focus {\n outline: none;\n text-decoration: none;\n}\n\n#addonify-compare-dock-compare-btn,\n#addonify-compare-dock-compare-btn-link {\n color: var(--adfy_compare_products_dock_compare_button_color);\n fill: var(--adfy_compare_products_dock_compare_button_color);\n background: transparent;\n border: none;\n box-shadow: none;\n cursor: pointer;\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color);\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-compare-btn:hover,\n#addonify-compare-dock-compare-btn-link:hover {\n color: var(--adfy_compare_products_dock_compare_button_color_hover);\n fill: var(--adfy_compare_products_dock_compare_button_color_hover);\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color_hover);\n}\n\n#addonify-compare-dock-compare-btn-link {\n position: relative;\n text-decoration: none;\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-compare-btn-link:focus {\n outline: none;\n text-decoration: none;\n}\n#addonify-compare-dock-compare-btn-link:hover {\n text-decoration: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tGeneral\n -------------------------------------------------------------------------- */\n.addonify-compare-disable-scroll {\n overflow: hidden;\n}\n\n/* -------------------------------------------------------------------------- \n\tOverlay\n -------------------------------------------------------------------------- */\n#addonify-compare-modal-overlay,\n#addonify-compare-search-modal-overlay {\n display: block;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n backdrop-filter: blur(10px);\n background-color: var(--adfy_compare_products_search_modal_overlay_bg_color);\n z-index: var(--adfy_compare_products_search_modal_overlay_zindex);\n opacity: 1;\n visibility: visible;\n transition: all 0.5s ease;\n}\n\n#addonify-compare-modal-overlay.addonify-compare-hidden,\n#addonify-compare-search-modal-overlay.addonify-compare-hidden {\n opacity: 0;\n visibility: hidden;\n}\n\n/* -------------------------------------------------------------------------- \n\tSearch modal box\n -------------------------------------------------------------------------- */\n#addonify-compare-search-modal {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n width: 600px;\n height: 450px;\n z-index: var(--adfy_compare_products_search_modal_zindex);\n background-color: var(--adfy_compare_products_search_modal_bg_color);\n border-radius: 5px;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-search-modal {\n width: 90vw;\n }\n}\n\n.addonify-compare-search-model-inner {\n position: relative;\n max-width: 100%;\n padding: 30px;\n /* Wide */\n}\n@media (max-width: 575px) {\n .addonify-compare-search-model-inner {\n padding: 20px;\n }\n}\n\n.addonify-compare-search-head {\n position: relative;\n}\n\n#addonify-compare-search-close-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: -30px;\n top: -30px;\n padding: 0;\n margin: 0;\n width: 30px;\n height: 30px;\n cursor: pointer;\n color: var(--adfy_compare_products_search_modal_close_button_color);\n fill: var(--adfy_compare_products_search_modal_close_button_color);\n border: 2px solid var(--adfy_compare_products_search_modal_close_button_border_color);\n background: transparent;\n background-color: transparent;\n border-radius: 100%;\n z-index: 10;\n box-shadow: none;\n text-decoration: none;\n transition: all 0.5s ease;\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-search-close-button {\n right: -20px;\n }\n}\n#addonify-compare-search-close-button svg {\n width: 14px;\n height: 14px;\n}\n#addonify-compare-search-close-button:hover {\n fill: var(--adfy_compare_products_search_modal_close_button_color_hover);\n color: var(--adfy_compare_products_search_modal_close_button_color_hover);\n border-color: var(--adfy_compare_products_search_modal_close_button_border_color_hover);\n box-shadow: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n}\n#addonify-compare-search-close-button:focus {\n outline: none;\n box-shadow: none;\n}\n\n.addonify-compare-search-modal-content input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */\n color: #9E9E9E;\n opacity: 1; /* Firefox */\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content input:-ms-input-placeholder { /* Internet Explorer 10-11 */\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content input::-ms-input-placeholder { /* Microsoft Edge */\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-query {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n width: 100%;\n max-width: 100%;\n font-size: 15px;\n font-weight: normal;\n line-height: 21px;\n color: #444444;\n padding: 14px 15px;\n height: 48px;\n border-width: 2px;\n border-style: solid;\n border-color: #EEE;\n background: white;\n box-shadow: none;\n box-sizing: border-box;\n border-radius: 4px;\n -webkit-box-shadow: inset 1px 1px 3px transparent;\n -moz-box-shadow: inset 1px 1px 3px transparent;\n box-shadow: inset 1px 1px 3px transparent;\n transition: all 0.5s ease;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-query:focus {\n outline: none;\n border-color: #3DA6FF;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results {\n position: relative;\n margin: 20px 0 0 0;\n height: 320px;\n overflow: hidden;\n overflow-y: auto;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results.loading {\n background: url(../../images/search.gif) no-repeat center;\n min-height: 325px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results ul {\n margin: 0;\n padding: 0 10px 0 0;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results li {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n list-style: none;\n overflow: hidden;\n border-bottom: solid 1px #F5F5F5;\n padding-bottom: 15px;\n margin-bottom: 15px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child {\n border-bottom: 0;\n padding-bottom: 0;\n margin-bottom: 0;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 15px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item img {\n display: inline-flex;\n width: 42px;\n height: 42px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title {\n margin: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.3;\n letter-spacing: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n font-weight: normal;\n line-height: 1;\n text-align: center;\n color: var(--adfy_compare_products_search_modal_add_button_color);\n fill: var(--adfy_compare_products_search_modal_add_button_color);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color);\n cursor: pointer;\n border: none;\n box-shadow: none;\n border-radius: 3px;\n transition: all 0.5s ease;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg {\n width: 13px;\n height: 13px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover {\n color: var(--adfy_compare_products_search_modal_add_button_color_hover);\n fill: var(--adfy_compare_products_search_modal_add_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color_hover);\n box-shadow: none;\n border: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare modal box [Compare table]\n -------------------------------------------------------------------------- */\n#addonify-compare-close-button {\n display: none;\n justify-content: center;\n align-items: center;\n position: absolute;\n left: auto;\n right: 0;\n top: 0;\n height: auto;\n width: auto;\n padding: 10px 20px;\n margin: 0;\n border: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: normal;\n z-index: 10;\n line-height: 1;\n color: #8B8B8B;\n fill: #8B8B8B;\n border: none;\n border-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-left-radius: 4px;\n background: transparent;\n background-color: #DFDFDF;\n}\n#addonify-compare-close-button svg {\n width: 14px;\n height: 14px;\n}\n#addonify-compare-close-button:hover {\n fill: #727272;\n color: #727272;\n border: none;\n background: transparent;\n background-color: #C1C1C1;\n}\n\n#addonify-compare-modal {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-direction: column;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n overflow: hidden;\n border-radius: 5px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\n}\n#addonify-compare-modal.addonify-compare-hidden {\n display: none;\n}\n#addonify-compare-modal .addonify-compare-model-inner {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n height: 100%;\n width: 98vw;\n width: calc(100vw - 40px);\n max-width: 2048px;\n overflow: hidden;\n border-radius: 5px;\n background-color: white;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button {\n display: inline-flex;\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content {\n position: relative;\n margin: 0;\n padding: 0;\n height: 100%;\n width: 100%;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper {\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice {\n display: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tBasic table style.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table {\n display: table;\n table-layout: auto;\n border-collapse: collapse;\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n#addonify-compare-products-table.addonify-compare-hidden {\n display: none;\n}\n#addonify-compare-products-table th,\n#addonify-compare-products-table td {\n padding: 15px 15px;\n text-align: left;\n vertical-align: top;\n border-color: #F5F5F5;\n}\n#addonify-compare-products-table th {\n background-color: #F5F5F5;\n}\n#addonify-compare-products-table td .price {\n display: inline-flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n font-size: 16px;\n color: #444444;\n font-weight: bold;\n margin-bottom: 0;\n}\n#addonify-compare-products-table td .price ins {\n display: inline-flex;\n font-weight: bold;\n color: red;\n background-color: transparent;\n}\n#addonify-compare-products-table td .price del {\n display: inline-flex;\n margin-right: 5px;\n font-size: 13px;\n color: #444444;\n opacity: 0.8;\n}\n#addonify-compare-products-table td .add_to_cart_inline {\n margin-bottom: 0;\n}\n#addonify-compare-products-table td .add_to_cart_button,\n#addonify-compare-products-table td .woocommerce .button,\n#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin: 0;\n padding: 15px 20px;\n font-weight: normal;\n line-height: 1;\n height: auto;\n width: auto;\n border-radius: 3px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a {\n display: block;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img {\n border-radius: 5px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 3px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating {\n float: none;\n margin: 0;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p {\n margin: 0;\n}\n\n/* -------------------------------------------------------------------------- \n\tTable in modal.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table-wrapper {\n /* Wide */\n /* Wide */\n}\n@media (max-width: 1024px) {\n #addonify-compare-products-table-wrapper {\n width: 100%;\n overflow-x: auto;\n }\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper {\n padding: 20px 15px;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table {\n display: block;\n width: 100%;\n border: none;\n margin: 0;\n padding: 0;\n overflow: auto;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody {\n display: grid;\n grid-auto-columns: 1fr;\n grid-auto-flow: row;\n grid-row-gap: 20px;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr {\n display: grid;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n grid-column-gap: 20px;\n border: none;\n padding: 0;\n margin: 0;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n border: none;\n padding: 0;\n margin: 0;\n }\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating {\n float: none;\n margin: 0;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link {\n display: inline-flex;\n color: var(--adfy_compare_products_table_title_color);\n line-height: 1.3;\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover {\n color: var(--adfy_compare_products_table_title_color_hover);\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-weight: normal;\n height: 40px;\n width: 40px;\n padding: 0;\n margin: 0;\n line-height: 1;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n fill: white;\n color: white;\n border-radius: 4px;\n transition: all 0.5s ease;\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg {\n width: 18px;\n height: 18px;\n}\n\n/* -------------------------------------------------------------------------- \n\tResize the table header & hide it after certain breakpoint.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table.has-header tbody tr td:first-child,\n#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n width: 200px;\n background-color: whitesmoke;\n /* Wide */\n /* Wide */\n}\n@media (max-width: 1024px) {\n #addonify-compare-products-table.has-header tbody tr td:first-child,\n #addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n width: 100px;\n }\n}\n@media (max-width: 991px) {\n #addonify-compare-products-table.has-header tbody tr td:first-child,\n #addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n display: none;\n }\n}\n\n/* -------------------------------------------------------------------------- \n\tLoading wave\n -------------------------------------------------------------------------- */\n@keyframes addonifyCompareLoadingWaveAfter {\n from {\n transform: scale(0.5, 0.5);\n opacity: 0;\n }\n to {\n transform: scale(1, 1);\n opacity: 1;\n }\n}\n@keyframes addonifyCompareLoadingWaveBefore {\n from {\n -webkit-transform: scale(1, 1);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(1.5, 1.5);\n opacity: 0;\n }\n}","\r\n/* -------------------------------------------------------------------------- \r\n\tAlerts\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-compare-alert {\r\n\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\tpadding: 15px 20px;\r\n\tmargin: 0 0 30px 0;\r\n\tfont-size: 16px;\r\n\tline-height: 1.6;\r\n\tfont-weight: normal;\r\n\tcolor: #444444;\r\n\tborder-radius: 4px;\r\n\tbackground-color: #EEEEEE;\r\n\tborder: 2px solid #DDDDDD;\r\n\r\n\t&.success {\r\n\r\n\t\tcolor: #0C942C;\r\n\t\tborder-color: #2EAf4C;\r\n\t\tbackground-color: #e2ffe9;\r\n\t}\r\n\r\n\t&.error {\r\n\r\n\t\tcolor: #b50215;\r\n\t\tborder-color: #FB6C7B;\r\n\t\tbackground-color: #ffe1e4;\r\n\t}\r\n\r\n\t&.warning {\r\n\r\n\t\tcolor: #C38800;\r\n\t\tborder-color: #FBC00A;\r\n\t\tbackground-color: #fff6dc;\r\n\t}\r\n\r\n\t&.info {\r\n\r\n\t\tcolor: #0762bd;\r\n\t\tborder-color: #3E9AF7;\r\n\t\tbackground-color: #d6ebff;\r\n\t}\r\n\r\n\t.addonify-compare-alert-content {\r\n\r\n\t\tp {\r\n\r\n\t\t\tmargin: 0;\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tLoading wave animation\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-loading-wave {\r\n\r\n display: none;\r\n position: absolute;\r\n z-index: 1;\r\n top: 50%;\r\n left: 50%;\r\n\topacity: 1;\r\n width: 20px;\r\n\theight: 20px;\r\n border-radius: 100%;\r\n transform: translateX(-50%)translateY(-50%);\r\n}\r\n\r\n.addonify-loading-wave::before, \r\n.addonify-loading-wave::after {\r\n\r\n\tcontent: '';\r\n left: 0px;\r\n position: absolute;\r\n\tborder: 1px white solid;\r\n\tborder-radius: 100%;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.addonify-loading-wave::before {\r\n\r\n content: '';\r\n\topacity: 1;\r\n\ttransform: scale( 1, 1 );\r\n\tanimation: addonifyCompareLoadingWaveBefore 0.6s infinite linear;\r\n}\r\n\r\n.addonify-loading-wave:after {\r\n\r\n content: '';\r\n\topacity: 0;\r\n\ttransform: scale( 0, 0 );\r\n\tanimation: addonifyCompareLoadingWaveAfter 0.6s infinite linear;\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tGeneral button style.\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-overlay-buttons {\r\n\r\n position: relative;\r\n}\r\n\r\n.addonify-overlay-buttons .addonify-overlay-btn-wrapper {\r\n\r\n position: absolute;\r\n width: 100%;\r\n top: 0;\r\n left: 0;\r\n opacity: 0;\r\n flex-direction: column;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #444444;\r\n @include transitionDelay();\r\n @include betterFontRendering();\r\n}\r\n\r\n.addonify-cp-fake-button,\r\na.addonify-cp-fake-button,\r\nbutton.addonify-cp-fake-button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n line-height: 1;\r\n font-size: inherit;\r\n font-weight: normal;\r\n width: auto;\r\n height: auto;\r\n margin: 0;\r\n padding: 0;\r\n cursor: pointer;\r\n box-shadow: none;\r\n appearance: none;\r\n text-decoration: none;\r\n background: transparent;\r\n background-color: transparent;\r\n @include transitionDelay();\r\n @include betterFontRendering();\r\n\r\n &:focus {\r\n\r\n text-decoration: none;\r\n box-shadow: none;\r\n }\r\n\r\n &:hover {\r\n\r\n text-decoration: none;\r\n box-shadow: none;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tCompare button.\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-cp-button,\r\n.woocommerce ul.products li.product .button.addonify-cp-button,\r\n.woocommerce-page ul.products li.product .button.addonify-cp-button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n gap: 5px;\r\n justify-content: center;\r\n fill: var(--adfy_compare_products_button_color);\r\n color: var(--adfy_compare_products_button_color);\r\n border: none;\r\n box-shadow: none;\r\n cursor: pointer;\r\n text-decoration: none;\r\n background: transparent;\r\n background-color: var(--adfy_compare_products_button_bg_color);\r\n @include transitionDelay();\r\n\r\n .addonify-cp-icon {\r\n\r\n display: inline-flex;\r\n line-height: 1;\r\n\r\n svg {\r\n\r\n display: inline-flex;\r\n line-height: 1;\r\n height: 16px;\r\n width: 16px;\r\n }\r\n }\r\n\r\n &.icon-position-right {\r\n\r\n .addonify-cp-icon {\r\n\r\n order: 2;\r\n }\r\n }\r\n\r\n &:hover {\r\n\r\n text-decoration: none;\r\n box-shadow: none;\r\n fill: var(--adfy_compare_products_button_color_hover);\r\n color: var(--adfy_compare_products_button_color_hover);\r\n background: transparent;\r\n background-color: var(--adfy_compare_products_button_bg_color_hover);\r\n }\r\n\r\n &:focus {\r\n\r\n box-shadow: none;\r\n }\r\n}\r\n\r\n.addonify-cp-button.selected {\r\n\r\n opacity: 0.8;\r\n cursor: not-allowed;\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tMixin: Better Font Randering\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin betterFontRendering() {\r\n\r\n -moz-osx-font-smoothing: grayscale;\r\n -webkit-font-smoothing: antialiased;\r\n}\r\n\r\n@function rem($px) {\r\n\r\n @return #{stripUnit($px) / stripUnit($html-font-size)}rem;\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: Flex\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin flex () {\r\n\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tflex-wrap: wrap;\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: Grid\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin grid() {\r\n\r\n display: grid;\r\n}\r\n\r\n@mixin grid_columns($columns) {\r\n\r\n @if $columns == 1 {\r\n grid-template-columns: repeat(1, 1fr);\r\n }\r\n @else if $columns == 2 {\r\n grid-template-columns: repeat(2, 1fr);\r\n }\r\n @else if $columns == 3 {\r\n grid-template-columns: repeat(3, 1fr);\r\n }\r\n @else if $columns == 4 {\r\n grid-template-columns: repeat(4, 1fr);\r\n }\r\n @else if $columns == 5 {\r\n grid-template-columns: repeat(5, 1fr);\r\n }\r\n @else if $columns == 6 {\r\n grid-template-columns: repeat(6, 1fr);\r\n }\r\n @else {\r\n grid-template-columns: repeat(1, 1fr);\r\n }\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: transaction\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin transitionDelay ($delay: null) {\r\n\r\n @if ($delay) {\r\n\r\n\t\ttransition: all $delay ease;\r\n\r\n\t} @else {\r\n\r\n\t\ttransition: all 0.5s ease;\r\n\t}\r\n} \r\n\r\n@mixin transactionNone () {\r\n\r\n transition: none;\r\n}\r\n\r\n@mixin scale () {\r\n\r\n transform: scale(1.1);\r\n @include transitionDelay();\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: Visibility\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin visibilityHidden() {\r\n\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n\r\n@mixin visibilityVisible() {\r\n\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: position\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin position ( $top, $bottom, $left, $right ) {\r\n\t\r\n\t top: $top;\r\n\t bottom: $bottom;\r\n\t left: $left;\r\n\t right: $right;\r\n\t transform:translateY(-50%);\r\n}\r\n\r\n@mixin positionTopLeft() {\r\n\t\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n transform: translateX(-50%) translateY(-50%);\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: Box Shadow\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin boxShadow () {\r\n\r\n\tbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\r\n}\r\n\r\n@mixin mediumBoxShadow () {\r\n\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\r\n}\r\n\r\n@mixin largeBoxShadow () {\r\n\r\n box-shadow: 0px 0px 65px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tMixin: Breakpoints\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin breakpoint($point) {\r\n /* Wide */\r\n @if $point == wide {\r\n @media (max-width: 1440px) {\r\n @content;\r\n }\r\n }\r\n /* Ipad Pro */\r\n @else if $point == ipadpro {\r\n @media (max-width: 1024px) {\r\n @content;\r\n }\r\n }\r\n /* Medium */\r\n @else if $point == medium {\r\n @media (max-width: 991px) {\r\n @content;\r\n }\r\n }\r\n /* Ipad */\r\n @else if $point == ipad {\r\n @media ( max-width: 768px ) {\r\n @content;\r\n }\r\n }\r\n /* Mobile */\r\n @else if $point == mobile {\r\n @media ( max-width: 575px ) {\r\n @content;\r\n }\r\n }\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tCompare Footer\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-compare-hidden {\r\n\r\n display: none;\r\n}\r\n\r\n#addonify-compare-dock {\r\n\r\n\tdisplay: none;\r\n align-items: center;\r\n justify-content: space-between;\r\n row-gap: 10px;\r\n position: fixed;\r\n top: auto;\r\n bottom: 10px;\r\n right: auto;\r\n left: 50%;\r\n width: auto;\r\n min-width: 600px;\r\n max-width: 95vw;\r\n padding: 10px 15px;\r\n border-radius: 5px;\r\n background-color: var(--adfy_compare_products_dock_bg_color);\r\n z-index: var(--adfy_compare_products_dock_zindex);\r\n transform: translateX(-50%);\r\n @include transitionDelay();\r\n @include betterFontRendering();\r\n @include breakpoint(ipad) {\r\n\r\n min-width: 95vw;\r\n }\r\n\r\n &.hidden {\r\n\r\n bottom: -100vh; // Hide till the products are populated in the dock.\r\n }\r\n}\r\n\r\n.addonify-compare-dock-is-visible #addonify-compare-dock {\r\n\r\n @include flex();\r\n}\r\n\r\n#addonify-compare-dock-message {\r\n\r\n flex: auto 1;\r\n color: var(--adfy_compare_products_dock_text_color);\r\n @include betterFontRendering();\r\n @include breakpoint(mobile) {\r\n\r\n width: 100%;\r\n }\r\n\r\n &:not(.addonify-compare-hidden) {\r\n\r\n @include breakpoint(mobile) {\r\n\r\n @include flex();\r\n justify-content: center;\r\n }\r\n }\r\n}\r\n\r\n#addonify-compare-dock-inner {\r\n\r\n flex: auto 1;\r\n\t@include flex();\r\n gap: 15px;\r\n justify-content: flex-end;\r\n align-items: center;\r\n @include breakpoint(mobile) {\r\n\r\n width: 100%;\r\n justify-content: center;\r\n }\r\n}\r\n\r\n#addonify-compare-dock-inner.full {\r\n\r\n justify-content: center;\r\n}\r\n\r\n#addonify-compare-dock-thumbnails {\r\n\r\n @include flex();\r\n gap: 10px;\r\n align-items: center;\r\n overflow: hidden;\r\n height: 100%;\r\n}\r\n\r\n.addonify-compare-dock-components img {\r\n\r\n\theight: 100%;\r\n width: 100%;\r\n border-radius: 2px;\r\n @include mediumBoxShadow();\r\n}\r\n\r\n.addonify-dock-compare-button,\r\n#addonify-compare-dock-compare-btn-link,\r\n.addonify-compare-dock-components button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: relative;\r\n\twidth: auto;\r\n padding: 0 20px;\r\n margin: 0;\r\n line-height: 1;\r\n\tborder: none;\r\n\tfont-weight: normal;\r\n\tfont-size: 15px;\r\n\tborder-radius: 2px;\r\n cursor: pointer;\r\n height: var(--adfy_compare_products_thumbnail_height);\r\n @include betterFontRendering();\r\n}\r\n\r\n.addonify-compare-dock-thumbnail {\r\n\r\n @include flex();\r\n justify-content: center;\r\n align-items: center;\r\n position: relative;\r\n cursor: move;\r\n width: var(--adfy_compare_products_thumbnail_height);\r\n height: var(--adfy_compare_products_thumbnail_height);\r\n background: #3C3C3C;\r\n border-radius: 3px;\r\n\r\n img {\r\n\r\n width: 100%;\r\n max-width: 100%;\r\n }\r\n\r\n &.loading {\r\n\r\n .addonify-loading-wave {\r\n\r\n display: block;\r\n }\r\n }\r\n}\r\n\r\n.addonify-compare-dock-remove-item-btn {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n cursor: pointer;\r\n color: white;\r\n fill: white;\r\n top: 2px;\r\n right: 2px;\r\n width: 20px;\r\n height: 20px;\r\n background-color: rgba(0, 0, 0, 0.7);\r\n z-index: 10;\r\n border-radius: 2px;\r\n @include transitionDelay();\r\n\r\n svg {\r\n\r\n width: 14px;\r\n height: 14px;\r\n }\r\n\r\n &:hover {\r\n\r\n color: #F5F5F5;\r\n fill: #F5F5F5;\r\n background-color: rgba(0, 0, 0, 1);\r\n }\r\n}\r\n\r\n#addonify-compare-dock-add-item {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: relative;\r\n margin: 0;\r\n padding: 0;\r\n width: var(--adfy_compare_products_thumbnail_height);\r\n height: var(--adfy_compare_products_thumbnail_height);\r\n color: var(--adfy_compare_products_dock_add_button_color);\r\n fill: var(--adfy_compare_products_dock_add_button_color);\r\n background-color: var(--adfy_compare_products_dock_add_button_bg_color);\r\n border-radius: 3px;\r\n cursor: pointer;\r\n @include transitionDelay();\r\n\r\n svg {\r\n\r\n height: 16px;\r\n width: 16px;\r\n }\r\n\r\n &:hover {\r\n\r\n color: var(--adfy_compare_products_dock_add_button_color_hover);\r\n fill: var(--adfy_compare_products_dock_add_button_color_hover);\r\n text-decoration: none;\r\n border: none;\r\n background: none;\r\n background-color: var(--adfy_compare_products_dock_add_button_bg_color_hover);\r\n }\r\n\r\n &:focus {\r\n\r\n outline: none;\r\n text-decoration: none;\r\n }\r\n}\r\n\r\n#addonify-compare-dock-compare-btn,\r\n#addonify-compare-dock-compare-btn-link {\r\n\r\n color: var(--adfy_compare_products_dock_compare_button_color);\r\n fill: var(--adfy_compare_products_dock_compare_button_color);\r\n background: transparent;\r\n border: none;\r\n box-shadow: none;\r\n cursor: pointer;\r\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color);\r\n @include transitionDelay();\r\n\r\n &:hover {\r\n\r\n color: var(--adfy_compare_products_dock_compare_button_color_hover);\r\n fill: var(--adfy_compare_products_dock_compare_button_color_hover);\r\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color_hover);\r\n }\r\n}\r\n\r\n#addonify-compare-dock-compare-btn-link {\r\n\r\n position: relative;\r\n text-decoration: none;\r\n @include transitionDelay();\r\n\r\n &:focus {\r\n\r\n outline: none;\r\n text-decoration: none;\r\n }\r\n\r\n &:hover {\r\n\r\n text-decoration: none;\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tGeneral\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-compare-disable-scroll {\r\n\r\n overflow: hidden;\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tOverlay\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-modal-overlay,\r\n#addonify-compare-search-modal-overlay {\r\n\r\n display: block;\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n width: 100%;\r\n height: 100%;\r\n cursor: pointer;\r\n backdrop-filter: blur(10px);\r\n background-color: var(--adfy_compare_products_search_modal_overlay_bg_color);\r\n z-index: var(--adfy_compare_products_search_modal_overlay_zindex);\r\n @include visibilityVisible();\r\n @include transitionDelay();\r\n}\r\n\r\n#addonify-compare-modal-overlay.addonify-compare-hidden,\r\n#addonify-compare-search-modal-overlay.addonify-compare-hidden {\r\n\r\n @include visibilityHidden();\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tSearch modal box\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-search-modal {\r\n\r\n position: fixed;\r\n @include positionTopLeft();\r\n width: 600px;\r\n height: 450px;\r\n z-index: var(--adfy_compare_products_search_modal_zindex);\r\n background-color: var(--adfy_compare_products_search_modal_bg_color);\r\n border-radius: 5px;\r\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);\r\n @include breakpoint(ipad) {\r\n\r\n width: 90vw;\r\n }\r\n}\r\n\r\n.addonify-compare-search-model-inner {\r\n\r\n\tposition: relative;\r\n max-width: 100%;\r\n padding: 30px;\r\n @include breakpoint(mobile) {\r\n\r\n padding: 20px;\r\n }\r\n}\r\n\r\n.addonify-compare-search-head {\r\n\r\n position: relative;\r\n}\r\n\r\n#addonify-compare-search-close-button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n right: -30px;\r\n top: -30px;\r\n padding: 0;\r\n margin: 0;\r\n width: 30px;\r\n height: 30px;\r\n cursor: pointer;\r\n color: var(--adfy_compare_products_search_modal_close_button_color);\r\n fill: var(--adfy_compare_products_search_modal_close_button_color);\r\n border: 2px solid var(--adfy_compare_products_search_modal_close_button_border_color);\r\n background: transparent;\r\n background-color: transparent;\r\n border-radius: 100%;\r\n z-index: 10;\r\n box-shadow: none;\r\n text-decoration: none;\r\n @include transitionDelay();\r\n @include breakpoint(ipad) {\r\n\r\n right: -20px;\r\n }\r\n\r\n svg {\r\n\r\n width: 14px;\r\n height: 14px;\r\n }\r\n\r\n &:hover {\r\n\r\n fill: var(--adfy_compare_products_search_modal_close_button_color_hover);\r\n color: var(--adfy_compare_products_search_modal_close_button_color_hover);\r\n border-color: var(--adfy_compare_products_search_modal_close_button_border_color_hover);\r\n box-shadow: none;\r\n text-decoration: none;\r\n background: transparent;\r\n background-color: transparent;\r\n }\r\n\r\n &:focus {\r\n\r\n outline: none;\r\n box-shadow: none;\r\n }\r\n}\r\n\r\n.addonify-compare-search-modal-content {\r\n\r\n input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */\r\n\r\n color: #9E9E9E;\r\n opacity: 1; /* Firefox */\r\n font-size: 13px;\r\n font-weight: normal;\r\n }\r\n\r\n input:-ms-input-placeholder { /* Internet Explorer 10-11 */\r\n\r\n color: #9E9E9E;\r\n font-size: 13px;\r\n font-weight: normal;\r\n }\r\n\r\n input::-ms-input-placeholder { /* Microsoft Edge */\r\n\r\n color: #9E9E9E;\r\n font-size: 13px;\r\n font-weight: normal;\r\n }\r\n\r\n #addonify-compare-search-query {\r\n\r\n @include flex();\r\n align-items: center;\r\n width: 100%;\r\n max-width: 100%;\r\n font-size: 15px;\r\n font-weight: normal;\r\n line-height: 21px;\r\n color: #444444;\r\n padding: 14px 15px;\r\n height: 48px;\r\n border-width: 2px;\r\n border-style: solid;\r\n border-color: #EEE;\r\n background: white;\r\n box-shadow: none;\r\n box-sizing: border-box;\r\n border-radius: 4px;\r\n -webkit-box-shadow: inset 1px 1px 3px transparent;\r\n -moz-box-shadow: inset 1px 1px 3px transparent;\r\n box-shadow: inset 1px 1px 3px transparent;\r\n @include transitionDelay();\r\n\r\n &:focus {\r\n\r\n outline: none;\r\n border-color: #3DA6FF;\r\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\r\n }\r\n }\r\n\r\n #addonify-compare-search-results {\r\n\r\n position: relative;\r\n margin: 20px 0 0 0;\r\n height: 320px;\r\n overflow: hidden;\r\n overflow-y: auto;\r\n\r\n &.loading {\r\n\r\n background: url( ../../images/search.gif) no-repeat center;\r\n min-height: 325px;\r\n }\r\n\r\n ul {\r\n margin: 0;\r\n padding: 0 10px 0 0;\r\n }\r\n\r\n li {\r\n\r\n @include flex();\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 20px;\r\n list-style: none;\r\n overflow: hidden;\r\n border-bottom: solid 1px #F5F5F5;\r\n padding-bottom: 15px;\r\n margin-bottom: 15px;\r\n }\r\n\r\n li:last-child {\r\n\r\n border-bottom: 0;\r\n padding-bottom: 0;\r\n margin-bottom: 0;\r\n }\r\n\r\n .item {\r\n\r\n @include flex();\r\n align-items: center;\r\n gap: 15px;\r\n\r\n img {\r\n\r\n display: inline-flex;\r\n width: 42px;\r\n height: 42px;\r\n }\r\n\r\n .item-name {\r\n\r\n .product-title {\r\n\r\n margin: 0;\r\n font-size: 14px;\r\n font-weight: normal;\r\n line-height: 1.3;\r\n letter-spacing: 0;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n }\r\n }\r\n }\r\n\r\n .item-add {\r\n\r\n display: inline-flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 30px;\r\n height: 30px;\r\n font-weight: normal;\r\n line-height: 1;\r\n text-align: center;\r\n color: var(--adfy_compare_products_search_modal_add_button_color);\r\n fill: var(--adfy_compare_products_search_modal_add_button_color);\r\n background: transparent;\r\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color);\r\n cursor: pointer;\r\n border: none;\r\n box-shadow: none;\r\n border-radius: 3px;\r\n @include transitionDelay();\r\n\r\n svg {\r\n\r\n width: 13px;\r\n height: 13px;\r\n }\r\n\r\n &:hover {\r\n\r\n color: var(--adfy_compare_products_search_modal_add_button_color_hover);\r\n fill: var(--adfy_compare_products_search_modal_add_button_color_hover);\r\n background: transparent;\r\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color_hover);\r\n box-shadow: none;\r\n border: none;\r\n }\r\n }\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tCompare modal box [Compare table]\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-close-button {\r\n\r\n display: none; // Hide the button on comparison page.\r\n justify-content: center;\r\n align-items: center;\r\n position: absolute;\r\n left: auto;\r\n right: 0;\r\n top: 0;\r\n height: auto;\r\n width: auto;\r\n padding: 10px 20px;\r\n margin: 0;\r\n border: none;\r\n box-shadow: none;\r\n font-size: 14px;\r\n font-weight: normal;\r\n z-index: 10;\r\n line-height: 1;\r\n color: #8B8B8B;\r\n fill: #8B8B8B;\r\n border: none;\r\n border-radius: 0;\r\n border-top-right-radius: 5px;\r\n border-bottom-left-radius: 4px;\r\n background: transparent;\r\n background-color: #DFDFDF;\r\n\r\n svg {\r\n\r\n width: 14px;\r\n height: 14px;\r\n }\r\n\r\n &:hover {\r\n\r\n fill: #727272;\r\n color: #727272;\r\n border: none;\r\n background: transparent;\r\n background-color: #C1C1C1;\r\n }\r\n}\r\n\r\n#addonify-compare-modal {\r\n\r\n @include flex();\r\n flex-direction: column;\r\n justify-content: center;\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: var(--adfy_compare_products_comparison_table_zindex);\r\n overflow: hidden;\r\n border-radius: 5px;\r\n @include boxShadow();\r\n\r\n &.addonify-compare-hidden {\r\n\r\n display: none;\r\n }\r\n\r\n .addonify-compare-model-inner {\r\n\r\n @include flex();\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n position: relative;\r\n overflow: hidden;\r\n margin: 0 auto;\r\n height: 100%;\r\n width: 98vw; // Fallback.\r\n width: calc(100vw - 40px);\r\n max-width: 2048px; // Max: 2K - 40px\r\n overflow: hidden;\r\n border-radius: 5px;\r\n background-color: white;\r\n\r\n #addonify-compare-close-button {\r\n\r\n display: inline-flex; // Display the button on comparison table modal.\r\n z-index: var(--adfy_compare_products_comparison_table_zindex);\r\n }\r\n\r\n #addonify-compare-modal-content {\r\n\r\n position: relative;\r\n margin: 0;\r\n padding: 0;\r\n height: 100%;\r\n width: 100%;\r\n\r\n #addonify-compare-products-table-wrapper {\r\n\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n height: 100%;\r\n width: 100%;\r\n\r\n #addonify-compare-products-notice {\r\n\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tBasic table style.\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-products-table {\r\n\r\n display: table;\r\n table-layout: auto;\r\n border-collapse: collapse;\r\n margin: 0;\r\n padding: 0;\r\n overflow: auto;\r\n\r\n &.addonify-compare-hidden {\r\n\r\n display: none; // Hide table if only 1 product exists in the compare list.\r\n }\r\n\r\n // All td & th style.\r\n th,\r\n td {\r\n\r\n padding: 15px 15px;\r\n text-align: left;\r\n vertical-align: top;\r\n border-color: #F5F5F5;\r\n }\r\n\r\n th {\r\n\r\n background-color: #F5F5F5;\r\n }\r\n\r\n td {\r\n .price {\r\n\r\n display: inline-flex;\r\n flex-wrap: wrap;\r\n flex-direction: row;\r\n align-items: center;\r\n font-size: 16px;\r\n color: #444444;\r\n font-weight: bold;\r\n margin-bottom: 0;\r\n\r\n ins {\r\n\r\n display: inline-flex;\r\n font-weight: bold;\r\n color: red;\r\n background-color: transparent;\r\n }\r\n\r\n del {\r\n\r\n display: inline-flex;\r\n margin-right: 5px;\r\n font-size: 13px;\r\n color: #444444;\r\n opacity: 0.8;\r\n }\r\n }\r\n\r\n .add_to_cart_inline {\r\n\r\n margin-bottom: 0;\r\n }\r\n\r\n .add_to_cart_button,\r\n .woocommerce .button,\r\n .woocommerce.add_to_cart_inline .add_to_cart_button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n margin: 0;\r\n padding: 15px 20px;\r\n font-weight: normal;\r\n line-height: 1;\r\n height: auto;\r\n width: auto;\r\n border-radius: 3px;\r\n }\r\n }\r\n\r\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-image\"] {\r\n\r\n .adfy-compare-products-table-row-content {\r\n\r\n a {\r\n\r\n display: block;\r\n\r\n img {\r\n\r\n border-radius: 5px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-rating\"] {\r\n\r\n .adfy-compare-products-table-row-content {\r\n\r\n @include flex();\r\n align-items: center;\r\n gap: 3px;\r\n\r\n .star-rating {\r\n\r\n float: none;\r\n margin: 0;\r\n }\r\n }\r\n }\r\n\r\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-attribute\"] {\r\n\r\n p {\r\n\r\n margin: 0;\r\n }\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tTable in modal.\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-products-table-wrapper {\r\n\r\n @include breakpoint(ipadpro) {\r\n\r\n width: 100%;\r\n overflow-x: auto;\r\n }\r\n\r\n @include breakpoint(mobile) {\r\n\r\n padding: 20px 15px;\r\n }\r\n\r\n #addonify-compare-products-table {\r\n\r\n @include breakpoint(mobile) {\r\n\r\n display: block;\r\n width: 100%;\r\n border: none;\r\n margin: 0;\r\n padding: 0;\r\n overflow: auto;\r\n }\r\n\r\n tbody {\r\n\r\n @include breakpoint(mobile) {\r\n\r\n display: grid;\r\n grid-auto-columns: 1fr;\r\n grid-auto-flow: row;\r\n grid-row-gap: 20px;\r\n }\r\n\r\n tr {\r\n\r\n @include breakpoint(mobile) {\r\n\r\n display: grid;\r\n grid-auto-columns: 50%;\r\n grid-auto-flow: column;\r\n grid-column-gap: 20px;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n }\r\n\r\n td {\r\n\r\n @include breakpoint(mobile) {\r\n\r\n @include flex();\r\n align-items: center;\r\n justify-content: flex-start;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n\r\n .star-rating {\r\n\r\n float: none;\r\n margin: 0;\r\n }\r\n }\r\n\r\n .product-title-link {\r\n\r\n display: inline-flex;\r\n color: var(--adfy_compare_products_table_title_color);\r\n line-height: 1.3;\r\n\r\n &:hover {\r\n\r\n color: var(--adfy_compare_products_table_title_color_hover);\r\n }\r\n }\r\n\r\n .addonify-compare-table-remove-btn {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-size: 14px;\r\n font-weight: normal;\r\n height: 40px;\r\n width: 40px;\r\n padding: 0;\r\n margin: 0;\r\n line-height: 1;\r\n cursor: pointer;\r\n box-shadow: none;\r\n appearance: none;\r\n text-decoration: none;\r\n fill: white;\r\n color: white;\r\n border-radius: 4px;\r\n @include transitionDelay();\r\n\r\n svg {\r\n\r\n width: 18px;\r\n height: 18px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tResize the table header & hide it after certain breakpoint.\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-compare-products-table.has-header,\r\n#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header {\r\n\r\n tbody {\r\n\r\n tr {\r\n\r\n td {\r\n\r\n &:first-child {\r\n\r\n width: 200px;\r\n background-color: whitesmoke;\r\n\r\n // Resize width in ipadpro breakpoint.\r\n @include breakpoint(ipadpro) {\r\n\r\n width: 100px;\r\n }\r\n\r\n // Hide afetr medium breakpoint.\r\n @include breakpoint(medium) {\r\n\r\n display: none;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tLoading wave\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes addonifyCompareLoadingWaveAfter {\r\n\r\n\tfrom { transform: scale(0.5,0.5); opacity: 0; }\r\n\tto { transform: scale(1,1); opacity: 1; }\r\n}\r\n@keyframes addonifyCompareLoadingWaveBefore {\r\n \r\n\tfrom { -webkit-transform: scale(1,1); opacity: 1; }\r\n\tto { -webkit-transform: scale(1.5,1.5); opacity: 0; }\r\n}"]} \ No newline at end of file +{"version":3,"sources":["abstracts/_variables.scss","index.css","helpers/_class.scss","components/_buttons.scss","abstracts/_mixins.scss","components/_dock.scss","components/_modal.scss","components/_table.scss","helpers/_keyframes.scss"],"names":[],"mappings":"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","file":"public.css","sourcesContent":[":root {\n\n // Button\n --adfy_compare_products_button_color: white;\n --adfy_compare_products_button_color_hover: white;\n --adfy_compare_products_button_bg_color: #444444;\n --adfy_compare_products_button_bg_color_hover: #3765FA;\n\n // Search Modal\n --adfy_compare_products_search_modal_overlay_bg_color: rgba(0, 0, 0, 0.8);\n --adfy_compare_products_search_modal_bg_color: white;\n --adfy_compare_products_search_modal_text_color: #444444;\n\n --adfy_compare_products_search_modal_add_button_color: #444444;\n --adfy_compare_products_search_modal_add_button_color_hover: #444444;\n --adfy_compare_products_search_modal_add_button_bg_color: #EEEEEE;\n --adfy_compare_products_search_modal_add_button_bg_color_hover: #D4D4D4;\n\n --adfy_compare_products_search_modal_close_button_color: rgba(255, 255, 255, 0.7);\n --adfy_compare_products_search_modal_close_button_color_hover: rgba(255, 255, 255, 1);\n --adfy_compare_products_search_modal_close_button_border_color: rgba(255, 255, 255, 0.3);\n --adfy_compare_products_search_modal_close_button_border_color_hover: rgba(255, 255, 255, 1);\n\n // Compare Dock\n --adfy_compare_products_dock_bg_color: #02030E;\n --adfy_compare_products_dock_text_color: rgba(255, 255, 255, 0.7);\n\n --adfy_compare_products_dock_add_button_color: white;\n --adfy_compare_products_dock_add_button_color_hover: white;\n --adfy_compare_products_dock_add_button_bg_color: #343434;\n --adfy_compare_products_dock_add_button_bg_color_hover: #3765FA;\n\n --adfy_compare_products_dock_compare_button_color: #444444;\n --adfy_compare_products_dock_compare_button_color_hover: white;\n --adfy_compare_products_dock_compare_button_bg_color: white;\n --adfy_compare_products_dock_compare_button_bg_color_hover: #3765FA;\n\n // Table\n --adfy_compare_products_table_title_color: #444444;\n --adfy_compare_products_table_title_color_hover: #3765FA;\n\n // Height\n --adfy_compare_products_thumbnail_height: 42px;\n\n // zindex\n --adfy_compare_products_dock_zindex: 10000000000000;\n --adfy_compare_products_search_modal_zindex: 10000000000010;\n --adfy_compare_products_search_modal_overlay_zindex: calc( var(--adfy_compare_products_search_modal_zindex) - 5 );\n --adfy_compare_products_comparison_table_zindex: calc( var(--adfy_compare_products_search_modal_zindex) + 100 );\n}",":root {\n --adfy_compare_products_button_color: white;\n --adfy_compare_products_button_color_hover: white;\n --adfy_compare_products_button_bg_color: #444444;\n --adfy_compare_products_button_bg_color_hover: #3765FA;\n --adfy_compare_products_search_modal_overlay_bg_color: rgba(0, 0, 0, 0.8);\n --adfy_compare_products_search_modal_bg_color: white;\n --adfy_compare_products_search_modal_text_color: #444444;\n --adfy_compare_products_search_modal_add_button_color: #444444;\n --adfy_compare_products_search_modal_add_button_color_hover: #444444;\n --adfy_compare_products_search_modal_add_button_bg_color: #EEEEEE;\n --adfy_compare_products_search_modal_add_button_bg_color_hover: #D4D4D4;\n --adfy_compare_products_search_modal_close_button_color: rgba(255, 255, 255, 0.7);\n --adfy_compare_products_search_modal_close_button_color_hover: rgba(255, 255, 255, 1);\n --adfy_compare_products_search_modal_close_button_border_color: rgba(255, 255, 255, 0.3);\n --adfy_compare_products_search_modal_close_button_border_color_hover: rgba(255, 255, 255, 1);\n --adfy_compare_products_dock_bg_color: #02030E;\n --adfy_compare_products_dock_text_color: rgba(255, 255, 255, 0.7);\n --adfy_compare_products_dock_add_button_color: white;\n --adfy_compare_products_dock_add_button_color_hover: white;\n --adfy_compare_products_dock_add_button_bg_color: #343434;\n --adfy_compare_products_dock_add_button_bg_color_hover: #3765FA;\n --adfy_compare_products_dock_compare_button_color: #444444;\n --adfy_compare_products_dock_compare_button_color_hover: white;\n --adfy_compare_products_dock_compare_button_bg_color: white;\n --adfy_compare_products_dock_compare_button_bg_color_hover: #3765FA;\n --adfy_compare_products_table_title_color: #444444;\n --adfy_compare_products_table_title_color_hover: #3765FA;\n --adfy_compare_products_thumbnail_height: 42px;\n --adfy_compare_products_dock_zindex: 10000000000000;\n --adfy_compare_products_search_modal_zindex: 10000000000010;\n --adfy_compare_products_search_modal_overlay_zindex: calc( var(--adfy_compare_products_search_modal_zindex) - 5 );\n --adfy_compare_products_comparison_table_zindex: calc( var(--adfy_compare_products_search_modal_zindex) + 100 );\n}\n\n/* -------------------------------------------------------------------------- \n\tMixin: Better Font Randering\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Flex\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Grid\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: transaction\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Visibility\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: position\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Box Shadow\n -------------------------------------------------------------------------- */\n/* -------------------------------------------------------------------------- \n\tMixin: Breakpoints\n -------------------------------------------------------------------------- */\n/*\n===========================================================\n\n# Pugin: Addonify Compare Products\n\n# Author: https://addonify.com/\n\n# Since: 12 Sept, 2020\n\n# Last updated: \n\n# Current version: 1.0.0\n\n=====================================\n*/\n/* -------------------------------------------------------------------------- \n\tAlerts\n -------------------------------------------------------------------------- */\n.addonify-compare-alert {\n display: block;\n position: relative;\n padding: 15px 20px;\n margin: 0 0 30px 0;\n font-size: 16px;\n line-height: 1.6;\n font-weight: normal;\n color: #444444;\n border-radius: 4px;\n background-color: #EEEEEE;\n border: 2px solid #DDDDDD;\n}\n.addonify-compare-alert.success {\n color: #0C942C;\n border-color: #2EAf4C;\n background-color: #e2ffe9;\n}\n.addonify-compare-alert.error {\n color: #b50215;\n border-color: #FB6C7B;\n background-color: #ffe1e4;\n}\n.addonify-compare-alert.warning {\n color: #C38800;\n border-color: #FBC00A;\n background-color: #fff6dc;\n}\n.addonify-compare-alert.info {\n color: #0762bd;\n border-color: #3E9AF7;\n background-color: #d6ebff;\n}\n.addonify-compare-alert .addonify-compare-alert-content p {\n margin: 0;\n}\n\n/* -------------------------------------------------------------------------- \n\tLoading wave animation\n -------------------------------------------------------------------------- */\n.addonify-loading-wave {\n display: none;\n position: absolute;\n z-index: 1;\n top: 50%;\n left: 50%;\n opacity: 1;\n width: 20px;\n height: 20px;\n border-radius: 100%;\n transform: translateX(-50%) translateY(-50%);\n}\n\n.addonify-loading-wave::before,\n.addonify-loading-wave::after {\n content: \"\";\n left: 0px;\n position: absolute;\n border: 1px white solid;\n border-radius: 100%;\n width: 100%;\n height: 100%;\n}\n\n.addonify-loading-wave::before {\n content: \"\";\n opacity: 1;\n transform: scale(1, 1);\n animation: addonifyCompareLoadingWaveBefore 0.6s infinite linear;\n}\n\n.addonify-loading-wave:after {\n content: \"\";\n opacity: 0;\n transform: scale(0, 0);\n animation: addonifyCompareLoadingWaveAfter 0.6s infinite linear;\n}\n\n/* -------------------------------------------------------------------------- \n\tGeneral button style.\n -------------------------------------------------------------------------- */\n.addonify-overlay-buttons {\n position: relative;\n}\n\n.addonify-overlay-buttons .addonify-overlay-btn-wrapper {\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n opacity: 0;\n flex-direction: column;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #444444;\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n.addonify-cp-fake-button,\na.addonify-cp-fake-button,\nbutton.addonify-cp-fake-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n font-size: inherit;\n font-weight: normal;\n width: auto;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n.addonify-cp-fake-button:focus,\na.addonify-cp-fake-button:focus,\nbutton.addonify-cp-fake-button:focus {\n text-decoration: none;\n box-shadow: none;\n}\n.addonify-cp-fake-button:hover,\na.addonify-cp-fake-button:hover,\nbutton.addonify-cp-fake-button:hover {\n text-decoration: none;\n box-shadow: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare button.\n -------------------------------------------------------------------------- */\n.addonify-cp-button,\n.woocommerce-js .addonify-cp-button,\n.woocommerce-js button.addonify-cp-button,\n.woocommerce ul.products li.product .button.addonify-cp-button,\n.woocommerce-page ul.products li.product .button.addonify-cp-button {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n justify-content: center;\n fill: var(--adfy_compare_products_button_color);\n color: var(--adfy_compare_products_button_color);\n border: none;\n box-shadow: none;\n cursor: pointer;\n text-decoration: none;\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color);\n transition: all 0.5s ease;\n}\n.addonify-cp-button .addonify-cp-icon,\n.woocommerce-js .addonify-cp-button .addonify-cp-icon,\n.woocommerce-js button.addonify-cp-button .addonify-cp-icon,\n.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon,\n.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon {\n display: inline-flex;\n line-height: 1;\n}\n.addonify-cp-button .addonify-cp-icon svg,\n.woocommerce-js .addonify-cp-button .addonify-cp-icon svg,\n.woocommerce-js button.addonify-cp-button .addonify-cp-icon svg,\n.woocommerce ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg,\n.woocommerce-page ul.products li.product .button.addonify-cp-button .addonify-cp-icon svg {\n display: inline-flex;\n line-height: 1;\n height: 16px;\n width: 16px;\n}\n.addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce-js .addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce-js button.addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon,\n.woocommerce-page ul.products li.product .button.addonify-cp-button.icon-position-right .addonify-cp-icon {\n order: 2;\n}\n.addonify-cp-button:hover,\n.woocommerce-js .addonify-cp-button:hover,\n.woocommerce-js button.addonify-cp-button:hover,\n.woocommerce ul.products li.product .button.addonify-cp-button:hover,\n.woocommerce-page ul.products li.product .button.addonify-cp-button:hover {\n text-decoration: none;\n box-shadow: none;\n fill: var(--adfy_compare_products_button_color_hover);\n color: var(--adfy_compare_products_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color_hover);\n}\n.addonify-cp-button:focus,\n.woocommerce-js .addonify-cp-button:focus,\n.woocommerce-js button.addonify-cp-button:focus,\n.woocommerce ul.products li.product .button.addonify-cp-button:focus,\n.woocommerce-page ul.products li.product .button.addonify-cp-button:focus {\n box-shadow: none;\n}\n\n.addonify-cp-button.selected {\n opacity: 0.8;\n cursor: not-allowed;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare Footer\n -------------------------------------------------------------------------- */\n.addonify-compare-hidden {\n display: none;\n}\n\n#addonify-compare-dock {\n display: none;\n align-items: center;\n justify-content: space-between;\n row-gap: 10px;\n position: fixed;\n top: auto;\n bottom: 10px;\n right: auto;\n left: 50%;\n width: auto;\n min-width: 600px;\n max-width: 95vw;\n padding: 10px 15px;\n border-radius: 5px;\n background-color: var(--adfy_compare_products_dock_bg_color);\n z-index: var(--adfy_compare_products_dock_zindex);\n transform: translateX(-50%);\n transition: all 0.5s ease;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-dock {\n min-width: 95vw;\n }\n}\n#addonify-compare-dock.hidden {\n bottom: -100vh;\n}\n\n.addonify-compare-dock-is-visible #addonify-compare-dock {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n#addonify-compare-dock-message {\n flex: auto 1;\n color: var(--adfy_compare_products_dock_text_color);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-message {\n width: 100%;\n }\n}\n#addonify-compare-dock-message:not(.addonify-compare-hidden) {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-message:not(.addonify-compare-hidden) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: center;\n }\n}\n\n#addonify-compare-dock-inner {\n flex: auto 1;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 15px;\n justify-content: flex-end;\n align-items: center;\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-dock-inner {\n width: 100%;\n justify-content: center;\n }\n}\n\n#addonify-compare-dock-inner.full {\n justify-content: center;\n}\n\n#addonify-compare-dock-thumbnails {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n align-items: center;\n overflow: hidden;\n height: 100%;\n}\n\n.addonify-compare-dock-components img {\n height: 100%;\n width: 100%;\n border-radius: 2px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\n}\n\n.addonify-dock-compare-button,\n#addonify-compare-dock-compare-btn-link,\n.addonify-compare-dock-components button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: auto;\n padding: 0 20px;\n margin: 0;\n line-height: 1;\n border: none;\n font-weight: normal;\n font-size: 15px;\n border-radius: 2px;\n cursor: pointer;\n height: var(--adfy_compare_products_thumbnail_height);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n.addonify-compare-dock-thumbnail {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: move;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n background: #3C3C3C;\n border-radius: 3px;\n}\n.addonify-compare-dock-thumbnail img {\n width: 100%;\n max-width: 100%;\n}\n.addonify-compare-dock-thumbnail.loading .addonify-loading-wave {\n display: block;\n}\n\n.addonify-compare-dock-remove-item-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n cursor: pointer;\n color: white;\n fill: white;\n top: 2px;\n right: 2px;\n width: 20px;\n height: 20px;\n background-color: rgba(0, 0, 0, 0.7);\n z-index: 10;\n border-radius: 2px;\n transition: all 0.5s ease;\n}\n.addonify-compare-dock-remove-item-btn svg {\n width: 14px;\n height: 14px;\n}\n.addonify-compare-dock-remove-item-btn:hover {\n color: #F5F5F5;\n fill: #F5F5F5;\n background-color: rgb(0, 0, 0);\n}\n\n#addonify-compare-dock-add-item {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n margin: 0;\n padding: 0;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n color: var(--adfy_compare_products_dock_add_button_color);\n fill: var(--adfy_compare_products_dock_add_button_color);\n background-color: var(--adfy_compare_products_dock_add_button_bg_color);\n border-radius: 3px;\n cursor: pointer;\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-add-item svg {\n height: 16px;\n width: 16px;\n}\n#addonify-compare-dock-add-item:hover {\n color: var(--adfy_compare_products_dock_add_button_color_hover);\n fill: var(--adfy_compare_products_dock_add_button_color_hover);\n text-decoration: none;\n border: none;\n background: none;\n background-color: var(--adfy_compare_products_dock_add_button_bg_color_hover);\n}\n#addonify-compare-dock-add-item:focus {\n outline: none;\n text-decoration: none;\n}\n\n#addonify-compare-dock-compare-btn,\n#addonify-compare-dock-compare-btn-link {\n color: var(--adfy_compare_products_dock_compare_button_color);\n fill: var(--adfy_compare_products_dock_compare_button_color);\n background: transparent;\n border: none;\n box-shadow: none;\n cursor: pointer;\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color);\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-compare-btn:hover,\n#addonify-compare-dock-compare-btn-link:hover {\n color: var(--adfy_compare_products_dock_compare_button_color_hover);\n fill: var(--adfy_compare_products_dock_compare_button_color_hover);\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color_hover);\n}\n\n#addonify-compare-dock-compare-btn-link {\n position: relative;\n text-decoration: none;\n transition: all 0.5s ease;\n}\n#addonify-compare-dock-compare-btn-link:focus {\n outline: none;\n text-decoration: none;\n}\n#addonify-compare-dock-compare-btn-link:hover {\n text-decoration: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tGeneral\n -------------------------------------------------------------------------- */\n.addonify-compare-disable-scroll {\n overflow: hidden;\n}\n\n/* -------------------------------------------------------------------------- \n\tOverlay\n -------------------------------------------------------------------------- */\n#addonify-compare-modal-overlay,\n#addonify-compare-search-modal-overlay {\n display: block;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n backdrop-filter: blur(10px);\n background-color: var(--adfy_compare_products_search_modal_overlay_bg_color);\n z-index: var(--adfy_compare_products_search_modal_overlay_zindex);\n opacity: 1;\n visibility: visible;\n transition: all 0.5s ease;\n}\n\n#addonify-compare-modal-overlay.addonify-compare-hidden,\n#addonify-compare-search-modal-overlay.addonify-compare-hidden {\n opacity: 0;\n visibility: hidden;\n}\n\n/* -------------------------------------------------------------------------- \n\tSearch modal box\n -------------------------------------------------------------------------- */\n#addonify-compare-search-modal {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n width: 600px;\n height: 450px;\n z-index: var(--adfy_compare_products_search_modal_zindex);\n background-color: var(--adfy_compare_products_search_modal_bg_color);\n border-radius: 5px;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-search-modal {\n width: 90vw;\n }\n}\n\n.addonify-compare-search-model-inner {\n position: relative;\n max-width: 100%;\n padding: 30px;\n /* Wide */\n}\n@media (max-width: 575px) {\n .addonify-compare-search-model-inner {\n padding: 20px;\n }\n}\n\n.addonify-compare-search-head {\n position: relative;\n}\n\n#addonify-compare-search-close-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: -30px;\n top: -30px;\n padding: 0;\n margin: 0;\n width: 30px;\n height: 30px;\n cursor: pointer;\n color: var(--adfy_compare_products_search_modal_close_button_color);\n fill: var(--adfy_compare_products_search_modal_close_button_color);\n border: 2px solid var(--adfy_compare_products_search_modal_close_button_border_color);\n background: transparent;\n background-color: transparent;\n border-radius: 100%;\n z-index: 10;\n box-shadow: none;\n text-decoration: none;\n transition: all 0.5s ease;\n /* Wide */\n}\n@media (max-width: 768px) {\n #addonify-compare-search-close-button {\n right: -20px;\n }\n}\n#addonify-compare-search-close-button svg {\n width: 14px;\n height: 14px;\n}\n#addonify-compare-search-close-button:hover {\n fill: var(--adfy_compare_products_search_modal_close_button_color_hover);\n color: var(--adfy_compare_products_search_modal_close_button_color_hover);\n border-color: var(--adfy_compare_products_search_modal_close_button_border_color_hover);\n box-shadow: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n}\n#addonify-compare-search-close-button:focus {\n outline: none;\n box-shadow: none;\n}\n\n.addonify-compare-search-modal-content input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */\n color: #9E9E9E;\n opacity: 1; /* Firefox */\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content input:-ms-input-placeholder { /* Internet Explorer 10-11 */\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content input::-ms-input-placeholder { /* Microsoft Edge */\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-query {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n width: 100%;\n max-width: 100%;\n font-size: 15px;\n font-weight: normal;\n line-height: 21px;\n color: #444444;\n padding: 14px 15px;\n height: 48px;\n border-width: 2px;\n border-style: solid;\n border-color: #EEE;\n background: white;\n box-shadow: none;\n box-sizing: border-box;\n border-radius: 4px;\n -webkit-box-shadow: inset 1px 1px 3px transparent;\n -moz-box-shadow: inset 1px 1px 3px transparent;\n box-shadow: inset 1px 1px 3px transparent;\n transition: all 0.5s ease;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-query:focus {\n outline: none;\n border-color: #3DA6FF;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results {\n position: relative;\n margin: 20px 0 0 0;\n height: 320px;\n overflow: hidden;\n overflow-y: auto;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results.loading {\n background: url(../../images/search.gif) no-repeat center;\n min-height: 325px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results ul {\n margin: 0;\n padding: 0 10px 0 0;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results li {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n list-style: none;\n overflow: hidden;\n border-bottom: solid 1px #F5F5F5;\n padding-bottom: 15px;\n margin-bottom: 15px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results li:last-child {\n border-bottom: 0;\n padding-bottom: 0;\n margin-bottom: 0;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 15px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item img {\n display: inline-flex;\n width: 42px;\n height: 42px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item .item-name .product-title {\n margin: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.3;\n letter-spacing: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n font-weight: normal;\n line-height: 1;\n text-align: center;\n color: var(--adfy_compare_products_search_modal_add_button_color);\n fill: var(--adfy_compare_products_search_modal_add_button_color);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color);\n cursor: pointer;\n border: none;\n box-shadow: none;\n border-radius: 3px;\n transition: all 0.5s ease;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add svg {\n width: 13px;\n height: 13px;\n}\n.addonify-compare-search-modal-content #addonify-compare-search-results .item-add:hover {\n color: var(--adfy_compare_products_search_modal_add_button_color_hover);\n fill: var(--adfy_compare_products_search_modal_add_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color_hover);\n box-shadow: none;\n border: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare modal box [Compare table]\n -------------------------------------------------------------------------- */\n#addonify-compare-close-button {\n display: none;\n justify-content: center;\n align-items: center;\n position: absolute;\n left: auto;\n right: 0;\n top: 0;\n height: auto;\n width: auto;\n padding: 10px 20px;\n margin: 0;\n border: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: normal;\n z-index: 10;\n line-height: 1;\n color: #8B8B8B;\n fill: #8B8B8B;\n border: none;\n border-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-left-radius: 4px;\n background: transparent;\n background-color: #DFDFDF;\n}\n#addonify-compare-close-button svg {\n width: 14px;\n height: 14px;\n}\n#addonify-compare-close-button:hover {\n fill: #727272;\n color: #727272;\n border: none;\n background: transparent;\n background-color: #C1C1C1;\n}\n\n#addonify-compare-modal {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-direction: column;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n overflow: hidden;\n border-radius: 5px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\n}\n#addonify-compare-modal.addonify-compare-hidden {\n display: none;\n}\n#addonify-compare-modal .addonify-compare-model-inner {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n height: 100%;\n width: 98vw;\n width: calc(100vw - 40px);\n max-width: 2048px;\n overflow: hidden;\n border-radius: 5px;\n background-color: white;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-close-button {\n display: inline-flex;\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content {\n position: relative;\n margin: 0;\n padding: 0;\n height: 100%;\n width: 100%;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper {\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n}\n#addonify-compare-modal .addonify-compare-model-inner #addonify-compare-modal-content #addonify-compare-products-table-wrapper #addonify-compare-products-notice {\n display: none;\n}\n\n/* -------------------------------------------------------------------------- \n\tBasic table style.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table {\n display: table;\n table-layout: auto;\n border-collapse: collapse;\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n#addonify-compare-products-table.addonify-compare-hidden {\n display: none;\n}\n#addonify-compare-products-table th,\n#addonify-compare-products-table td {\n padding: 15px 15px;\n text-align: left;\n vertical-align: top;\n border-color: #F5F5F5;\n}\n#addonify-compare-products-table th {\n background-color: #F5F5F5;\n}\n#addonify-compare-products-table td .price {\n display: inline-flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n font-size: 16px;\n color: #444444;\n font-weight: bold;\n margin-bottom: 0;\n}\n#addonify-compare-products-table td .price ins {\n display: inline-flex;\n font-weight: bold;\n color: red;\n background-color: transparent;\n}\n#addonify-compare-products-table td .price del {\n display: inline-flex;\n margin-right: 5px;\n font-size: 13px;\n color: #444444;\n opacity: 0.8;\n}\n#addonify-compare-products-table td .add_to_cart_inline {\n margin-bottom: 0;\n}\n#addonify-compare-products-table td .add_to_cart_button,\n#addonify-compare-products-table td .woocommerce .button,\n#addonify-compare-products-table td .woocommerce.add_to_cart_inline .add_to_cart_button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin: 0;\n padding: 15px 20px;\n font-weight: normal;\n line-height: 1;\n height: auto;\n width: auto;\n border-radius: 3px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a {\n display: block;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-image] .adfy-compare-products-table-row-content a img {\n border-radius: 5px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 3px;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-rating] .adfy-compare-products-table-row-content .star-rating {\n float: none;\n margin: 0;\n}\n#addonify-compare-products-table td:not(:first-child)[class*=adfy-compare-products-td-field-attribute] p {\n margin: 0;\n}\n\n/* -------------------------------------------------------------------------- \n\tTable in modal.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table-wrapper {\n /* Wide */\n /* Wide */\n}\n@media (max-width: 1024px) {\n #addonify-compare-products-table-wrapper {\n width: 100%;\n overflow-x: auto;\n }\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper {\n padding: 20px 15px;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table {\n display: block;\n width: 100%;\n border: none;\n margin: 0;\n padding: 0;\n overflow: auto;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody {\n display: grid;\n grid-auto-columns: 1fr;\n grid-auto-flow: row;\n grid-row-gap: 20px;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr {\n display: grid;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n grid-column-gap: 20px;\n border: none;\n padding: 0;\n margin: 0;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td {\n /* Wide */\n}\n@media (max-width: 575px) {\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n border: none;\n padding: 0;\n margin: 0;\n }\n #addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .star-rating {\n float: none;\n margin: 0;\n }\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link {\n display: inline-flex;\n color: var(--adfy_compare_products_table_title_color);\n line-height: 1.3;\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .product-title-link:hover {\n color: var(--adfy_compare_products_table_title_color_hover);\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-weight: normal;\n height: 40px;\n width: 40px;\n padding: 0;\n margin: 0;\n line-height: 1;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n fill: white;\n color: white;\n border-radius: 4px;\n transition: all 0.5s ease;\n}\n#addonify-compare-products-table-wrapper #addonify-compare-products-table tbody tr td .addonify-compare-table-remove-btn svg {\n width: 18px;\n height: 18px;\n}\n\n/* -------------------------------------------------------------------------- \n\tResize the table header & hide it after certain breakpoint.\n -------------------------------------------------------------------------- */\n#addonify-compare-products-table.has-header tbody tr td:first-child,\n#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n width: 200px;\n background-color: whitesmoke;\n /* Wide */\n /* Wide */\n}\n@media (max-width: 1024px) {\n #addonify-compare-products-table.has-header tbody tr td:first-child,\n #addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n width: 100px;\n }\n}\n@media (max-width: 991px) {\n #addonify-compare-products-table.has-header tbody tr td:first-child,\n #addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header tbody tr td:first-child {\n display: none;\n }\n}\n\n/* -------------------------------------------------------------------------- \n\tLoading wave\n -------------------------------------------------------------------------- */\n@keyframes addonifyCompareLoadingWaveAfter {\n from {\n transform: scale(0.5, 0.5);\n opacity: 0;\n }\n to {\n transform: scale(1, 1);\n opacity: 1;\n }\n}\n@keyframes addonifyCompareLoadingWaveBefore {\n from {\n -webkit-transform: scale(1, 1);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(1.5, 1.5);\n opacity: 0;\n }\n}","\n/* -------------------------------------------------------------------------- \n\tAlerts\n -------------------------------------------------------------------------- */\n\n.addonify-compare-alert {\n\n\tdisplay: block;\n\tposition: relative;\n\tpadding: 15px 20px;\n\tmargin: 0 0 30px 0;\n\tfont-size: 16px;\n\tline-height: 1.6;\n\tfont-weight: normal;\n\tcolor: #444444;\n\tborder-radius: 4px;\n\tbackground-color: #EEEEEE;\n\tborder: 2px solid #DDDDDD;\n\n\t&.success {\n\n\t\tcolor: #0C942C;\n\t\tborder-color: #2EAf4C;\n\t\tbackground-color: #e2ffe9;\n\t}\n\n\t&.error {\n\n\t\tcolor: #b50215;\n\t\tborder-color: #FB6C7B;\n\t\tbackground-color: #ffe1e4;\n\t}\n\n\t&.warning {\n\n\t\tcolor: #C38800;\n\t\tborder-color: #FBC00A;\n\t\tbackground-color: #fff6dc;\n\t}\n\n\t&.info {\n\n\t\tcolor: #0762bd;\n\t\tborder-color: #3E9AF7;\n\t\tbackground-color: #d6ebff;\n\t}\n\n\t.addonify-compare-alert-content {\n\n\t\tp {\n\n\t\t\tmargin: 0;\n\t\t}\n\t}\n}\n\n/* -------------------------------------------------------------------------- \n\tLoading wave animation\n -------------------------------------------------------------------------- */\n\n.addonify-loading-wave {\n\n display: none;\n position: absolute;\n z-index: 1;\n top: 50%;\n left: 50%;\n\topacity: 1;\n width: 20px;\n\theight: 20px;\n border-radius: 100%;\n transform: translateX(-50%)translateY(-50%);\n}\n\n.addonify-loading-wave::before, \n.addonify-loading-wave::after {\n\n\tcontent: '';\n left: 0px;\n position: absolute;\n\tborder: 1px white solid;\n\tborder-radius: 100%;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.addonify-loading-wave::before {\n\n content: '';\n\topacity: 1;\n\ttransform: scale( 1, 1 );\n\tanimation: addonifyCompareLoadingWaveBefore 0.6s infinite linear;\n}\n\n.addonify-loading-wave:after {\n\n content: '';\n\topacity: 0;\n\ttransform: scale( 0, 0 );\n\tanimation: addonifyCompareLoadingWaveAfter 0.6s infinite linear;\n}\n","/* -------------------------------------------------------------------------- \n\tGeneral button style.\n -------------------------------------------------------------------------- */\n\n.addonify-overlay-buttons {\n\n position: relative;\n}\n\n.addonify-overlay-buttons .addonify-overlay-btn-wrapper {\n\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n opacity: 0;\n flex-direction: column;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #444444;\n @include transitionDelay();\n @include betterFontRendering();\n}\n\n.addonify-cp-fake-button,\na.addonify-cp-fake-button,\nbutton.addonify-cp-fake-button {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n font-size: inherit;\n font-weight: normal;\n width: auto;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n @include transitionDelay();\n @include betterFontRendering();\n\n &:focus {\n\n text-decoration: none;\n box-shadow: none;\n }\n\n &:hover {\n\n text-decoration: none;\n box-shadow: none;\n }\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare button.\n -------------------------------------------------------------------------- */\n\n.addonify-cp-button,\n.woocommerce-js .addonify-cp-button,\n.woocommerce-js button.addonify-cp-button,\n.woocommerce ul.products li.product .button.addonify-cp-button,\n.woocommerce-page ul.products li.product .button.addonify-cp-button {\n\n display: inline-flex;\n align-items: center;\n gap: 5px;\n justify-content: center;\n fill: var(--adfy_compare_products_button_color);\n color: var(--adfy_compare_products_button_color);\n border: none;\n box-shadow: none;\n cursor: pointer;\n text-decoration: none;\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color);\n @include transitionDelay();\n\n .addonify-cp-icon {\n\n display: inline-flex;\n line-height: 1;\n\n svg {\n\n display: inline-flex;\n line-height: 1;\n height: 16px;\n width: 16px;\n }\n }\n\n &.icon-position-right {\n\n .addonify-cp-icon {\n\n order: 2;\n }\n }\n\n &:hover {\n\n text-decoration: none;\n box-shadow: none;\n fill: var(--adfy_compare_products_button_color_hover);\n color: var(--adfy_compare_products_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_button_bg_color_hover);\n }\n\n &:focus {\n\n box-shadow: none;\n }\n}\n\n.addonify-cp-button.selected {\n\n opacity: 0.8;\n cursor: not-allowed;\n}\n","/* -------------------------------------------------------------------------- \n\tMixin: Better Font Randering\n -------------------------------------------------------------------------- */\n\n@mixin betterFontRendering() {\n\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n@function rem($px) {\n\n @return #{stripUnit($px) / stripUnit($html-font-size)}rem;\n}\n\n/* -------------------------------------------------------------------------- \n\tMixin: Flex\n -------------------------------------------------------------------------- */\n\n@mixin flex () {\n\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n\n\n/* -------------------------------------------------------------------------- \n\tMixin: Grid\n -------------------------------------------------------------------------- */\n\n@mixin grid() {\n\n display: grid;\n}\n\n@mixin grid_columns($columns) {\n\n @if $columns == 1 {\n grid-template-columns: repeat(1, 1fr);\n }\n @else if $columns == 2 {\n grid-template-columns: repeat(2, 1fr);\n }\n @else if $columns == 3 {\n grid-template-columns: repeat(3, 1fr);\n }\n @else if $columns == 4 {\n grid-template-columns: repeat(4, 1fr);\n }\n @else if $columns == 5 {\n grid-template-columns: repeat(5, 1fr);\n }\n @else if $columns == 6 {\n grid-template-columns: repeat(6, 1fr);\n }\n @else {\n grid-template-columns: repeat(1, 1fr);\n }\n}\n\n\n/* -------------------------------------------------------------------------- \n\tMixin: transaction\n -------------------------------------------------------------------------- */\n\n@mixin transitionDelay ($delay: null) {\n\n @if ($delay) {\n\n\t\ttransition: all $delay ease;\n\n\t} @else {\n\n\t\ttransition: all 0.5s ease;\n\t}\n} \n\n@mixin transactionNone () {\n\n transition: none;\n}\n\n@mixin scale () {\n\n transform: scale(1.1);\n @include transitionDelay();\n}\n\n\n/* -------------------------------------------------------------------------- \n\tMixin: Visibility\n -------------------------------------------------------------------------- */\n\n@mixin visibilityHidden() {\n\n opacity: 0;\n visibility: hidden;\n}\n\n@mixin visibilityVisible() {\n\n opacity: 1;\n visibility: visible;\n}\n\n/* -------------------------------------------------------------------------- \n\tMixin: position\n -------------------------------------------------------------------------- */\n\n@mixin position ( $top, $bottom, $left, $right ) {\n\t\n\t top: $top;\n\t bottom: $bottom;\n\t left: $left;\n\t right: $right;\n\t transform:translateY(-50%);\n}\n\n@mixin positionTopLeft() {\n\t\n\ttop: 50%;\n\tleft: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n\n\n/* -------------------------------------------------------------------------- \n\tMixin: Box Shadow\n -------------------------------------------------------------------------- */\n\n@mixin boxShadow () {\n\n\tbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\n}\n\n@mixin mediumBoxShadow () {\n\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\n}\n\n@mixin largeBoxShadow () {\n\n box-shadow: 0px 0px 65px rgba(0, 0, 0, 0.1);\n}\n\n\n/* -------------------------------------------------------------------------- \n\tMixin: Breakpoints\n -------------------------------------------------------------------------- */\n\n@mixin breakpoint($point) {\n /* Wide */\n @if $point == wide {\n @media (max-width: 1440px) {\n @content;\n }\n }\n /* Ipad Pro */\n @else if $point == ipadpro {\n @media (max-width: 1024px) {\n @content;\n }\n }\n /* Medium */\n @else if $point == medium {\n @media (max-width: 991px) {\n @content;\n }\n }\n /* Ipad */\n @else if $point == ipad {\n @media ( max-width: 768px ) {\n @content;\n }\n }\n /* Mobile */\n @else if $point == mobile {\n @media ( max-width: 575px ) {\n @content;\n }\n }\n}\n","/* -------------------------------------------------------------------------- \n\tCompare Footer\n -------------------------------------------------------------------------- */\n\n.addonify-compare-hidden {\n\n display: none;\n}\n\n#addonify-compare-dock {\n\n\tdisplay: none;\n align-items: center;\n justify-content: space-between;\n row-gap: 10px;\n position: fixed;\n top: auto;\n bottom: 10px;\n right: auto;\n left: 50%;\n width: auto;\n min-width: 600px;\n max-width: 95vw;\n padding: 10px 15px;\n border-radius: 5px;\n background-color: var(--adfy_compare_products_dock_bg_color);\n z-index: var(--adfy_compare_products_dock_zindex);\n transform: translateX(-50%);\n @include transitionDelay();\n @include betterFontRendering();\n @include breakpoint(ipad) {\n\n min-width: 95vw;\n }\n\n &.hidden {\n\n bottom: -100vh; // Hide till the products are populated in the dock.\n }\n}\n\n.addonify-compare-dock-is-visible #addonify-compare-dock {\n\n @include flex();\n}\n\n#addonify-compare-dock-message {\n\n flex: auto 1;\n color: var(--adfy_compare_products_dock_text_color);\n @include betterFontRendering();\n @include breakpoint(mobile) {\n\n width: 100%;\n }\n\n &:not(.addonify-compare-hidden) {\n\n @include breakpoint(mobile) {\n\n @include flex();\n justify-content: center;\n }\n }\n}\n\n#addonify-compare-dock-inner {\n\n flex: auto 1;\n\t@include flex();\n gap: 15px;\n justify-content: flex-end;\n align-items: center;\n @include breakpoint(mobile) {\n\n width: 100%;\n justify-content: center;\n }\n}\n\n#addonify-compare-dock-inner.full {\n\n justify-content: center;\n}\n\n#addonify-compare-dock-thumbnails {\n\n @include flex();\n gap: 10px;\n align-items: center;\n overflow: hidden;\n height: 100%;\n}\n\n.addonify-compare-dock-components img {\n\n\theight: 100%;\n width: 100%;\n border-radius: 2px;\n @include mediumBoxShadow();\n}\n\n.addonify-dock-compare-button,\n#addonify-compare-dock-compare-btn-link,\n.addonify-compare-dock-components button {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n\twidth: auto;\n padding: 0 20px;\n margin: 0;\n line-height: 1;\n\tborder: none;\n\tfont-weight: normal;\n\tfont-size: 15px;\n\tborder-radius: 2px;\n cursor: pointer;\n height: var(--adfy_compare_products_thumbnail_height);\n @include betterFontRendering();\n}\n\n.addonify-compare-dock-thumbnail {\n\n @include flex();\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: move;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n background: #3C3C3C;\n border-radius: 3px;\n\n img {\n\n width: 100%;\n max-width: 100%;\n }\n\n &.loading {\n\n .addonify-loading-wave {\n\n display: block;\n }\n }\n}\n\n.addonify-compare-dock-remove-item-btn {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n cursor: pointer;\n color: white;\n fill: white;\n top: 2px;\n right: 2px;\n width: 20px;\n height: 20px;\n background-color: rgba(0, 0, 0, 0.7);\n z-index: 10;\n border-radius: 2px;\n @include transitionDelay();\n\n svg {\n\n width: 14px;\n height: 14px;\n }\n\n &:hover {\n\n color: #F5F5F5;\n fill: #F5F5F5;\n background-color: rgba(0, 0, 0, 1);\n }\n}\n\n#addonify-compare-dock-add-item {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n margin: 0;\n padding: 0;\n width: var(--adfy_compare_products_thumbnail_height);\n height: var(--adfy_compare_products_thumbnail_height);\n color: var(--adfy_compare_products_dock_add_button_color);\n fill: var(--adfy_compare_products_dock_add_button_color);\n background-color: var(--adfy_compare_products_dock_add_button_bg_color);\n border-radius: 3px;\n cursor: pointer;\n @include transitionDelay();\n\n svg {\n\n height: 16px;\n width: 16px;\n }\n\n &:hover {\n\n color: var(--adfy_compare_products_dock_add_button_color_hover);\n fill: var(--adfy_compare_products_dock_add_button_color_hover);\n text-decoration: none;\n border: none;\n background: none;\n background-color: var(--adfy_compare_products_dock_add_button_bg_color_hover);\n }\n\n &:focus {\n\n outline: none;\n text-decoration: none;\n }\n}\n\n#addonify-compare-dock-compare-btn,\n#addonify-compare-dock-compare-btn-link {\n\n color: var(--adfy_compare_products_dock_compare_button_color);\n fill: var(--adfy_compare_products_dock_compare_button_color);\n background: transparent;\n border: none;\n box-shadow: none;\n cursor: pointer;\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color);\n @include transitionDelay();\n\n &:hover {\n\n color: var(--adfy_compare_products_dock_compare_button_color_hover);\n fill: var(--adfy_compare_products_dock_compare_button_color_hover);\n background-color: var(--adfy_compare_products_dock_compare_button_bg_color_hover);\n }\n}\n\n#addonify-compare-dock-compare-btn-link {\n\n position: relative;\n text-decoration: none;\n @include transitionDelay();\n\n &:focus {\n\n outline: none;\n text-decoration: none;\n }\n\n &:hover {\n\n text-decoration: none;\n }\n}","/* -------------------------------------------------------------------------- \n\tGeneral\n -------------------------------------------------------------------------- */\n\n.addonify-compare-disable-scroll {\n\n overflow: hidden;\n}\n\n/* -------------------------------------------------------------------------- \n\tOverlay\n -------------------------------------------------------------------------- */\n\n#addonify-compare-modal-overlay,\n#addonify-compare-search-modal-overlay {\n\n display: block;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n backdrop-filter: blur(10px);\n background-color: var(--adfy_compare_products_search_modal_overlay_bg_color);\n z-index: var(--adfy_compare_products_search_modal_overlay_zindex);\n @include visibilityVisible();\n @include transitionDelay();\n}\n\n#addonify-compare-modal-overlay.addonify-compare-hidden,\n#addonify-compare-search-modal-overlay.addonify-compare-hidden {\n\n @include visibilityHidden();\n}\n\n\n/* -------------------------------------------------------------------------- \n\tSearch modal box\n -------------------------------------------------------------------------- */\n\n#addonify-compare-search-modal {\n\n position: fixed;\n @include positionTopLeft();\n width: 600px;\n height: 450px;\n z-index: var(--adfy_compare_products_search_modal_zindex);\n background-color: var(--adfy_compare_products_search_modal_bg_color);\n border-radius: 5px;\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);\n @include breakpoint(ipad) {\n\n width: 90vw;\n }\n}\n\n.addonify-compare-search-model-inner {\n\n\tposition: relative;\n max-width: 100%;\n padding: 30px;\n @include breakpoint(mobile) {\n\n padding: 20px;\n }\n}\n\n.addonify-compare-search-head {\n\n position: relative;\n}\n\n#addonify-compare-search-close-button {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: -30px;\n top: -30px;\n padding: 0;\n margin: 0;\n width: 30px;\n height: 30px;\n cursor: pointer;\n color: var(--adfy_compare_products_search_modal_close_button_color);\n fill: var(--adfy_compare_products_search_modal_close_button_color);\n border: 2px solid var(--adfy_compare_products_search_modal_close_button_border_color);\n background: transparent;\n background-color: transparent;\n border-radius: 100%;\n z-index: 10;\n box-shadow: none;\n text-decoration: none;\n @include transitionDelay();\n @include breakpoint(ipad) {\n\n right: -20px;\n }\n\n svg {\n\n width: 14px;\n height: 14px;\n }\n\n &:hover {\n\n fill: var(--adfy_compare_products_search_modal_close_button_color_hover);\n color: var(--adfy_compare_products_search_modal_close_button_color_hover);\n border-color: var(--adfy_compare_products_search_modal_close_button_border_color_hover);\n box-shadow: none;\n text-decoration: none;\n background: transparent;\n background-color: transparent;\n }\n\n &:focus {\n\n outline: none;\n box-shadow: none;\n }\n}\n\n.addonify-compare-search-modal-content {\n\n input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */\n\n color: #9E9E9E;\n opacity: 1; /* Firefox */\n font-size: 13px;\n font-weight: normal;\n }\n\n input:-ms-input-placeholder { /* Internet Explorer 10-11 */\n\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n }\n\n input::-ms-input-placeholder { /* Microsoft Edge */\n\n color: #9E9E9E;\n font-size: 13px;\n font-weight: normal;\n }\n\n #addonify-compare-search-query {\n\n @include flex();\n align-items: center;\n width: 100%;\n max-width: 100%;\n font-size: 15px;\n font-weight: normal;\n line-height: 21px;\n color: #444444;\n padding: 14px 15px;\n height: 48px;\n border-width: 2px;\n border-style: solid;\n border-color: #EEE;\n background: white;\n box-shadow: none;\n box-sizing: border-box;\n border-radius: 4px;\n -webkit-box-shadow: inset 1px 1px 3px transparent;\n -moz-box-shadow: inset 1px 1px 3px transparent;\n box-shadow: inset 1px 1px 3px transparent;\n @include transitionDelay();\n\n &:focus {\n\n outline: none;\n border-color: #3DA6FF;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n }\n }\n\n #addonify-compare-search-results {\n\n position: relative;\n margin: 20px 0 0 0;\n height: 320px;\n overflow: hidden;\n overflow-y: auto;\n\n &.loading {\n\n background: url( ../../images/search.gif) no-repeat center;\n min-height: 325px;\n }\n\n ul {\n margin: 0;\n padding: 0 10px 0 0;\n }\n\n li {\n\n @include flex();\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n list-style: none;\n overflow: hidden;\n border-bottom: solid 1px #F5F5F5;\n padding-bottom: 15px;\n margin-bottom: 15px;\n }\n\n li:last-child {\n\n border-bottom: 0;\n padding-bottom: 0;\n margin-bottom: 0;\n }\n\n .item {\n\n @include flex();\n align-items: center;\n gap: 15px;\n\n img {\n\n display: inline-flex;\n width: 42px;\n height: 42px;\n }\n\n .item-name {\n\n .product-title {\n\n margin: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.3;\n letter-spacing: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n }\n\n .item-add {\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n font-weight: normal;\n line-height: 1;\n text-align: center;\n color: var(--adfy_compare_products_search_modal_add_button_color);\n fill: var(--adfy_compare_products_search_modal_add_button_color);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color);\n cursor: pointer;\n border: none;\n box-shadow: none;\n border-radius: 3px;\n @include transitionDelay();\n\n svg {\n\n width: 13px;\n height: 13px;\n }\n\n &:hover {\n\n color: var(--adfy_compare_products_search_modal_add_button_color_hover);\n fill: var(--adfy_compare_products_search_modal_add_button_color_hover);\n background: transparent;\n background-color: var(--adfy_compare_products_search_modal_add_button_bg_color_hover);\n box-shadow: none;\n border: none;\n }\n }\n }\n}\n\n/* -------------------------------------------------------------------------- \n\tCompare modal box [Compare table]\n -------------------------------------------------------------------------- */\n\n#addonify-compare-close-button {\n\n display: none; // Hide the button on comparison page.\n justify-content: center;\n align-items: center;\n position: absolute;\n left: auto;\n right: 0;\n top: 0;\n height: auto;\n width: auto;\n padding: 10px 20px;\n margin: 0;\n border: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: normal;\n z-index: 10;\n line-height: 1;\n color: #8B8B8B;\n fill: #8B8B8B;\n border: none;\n border-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-left-radius: 4px;\n background: transparent;\n background-color: #DFDFDF;\n\n svg {\n\n width: 14px;\n height: 14px;\n }\n\n &:hover {\n\n fill: #727272;\n color: #727272;\n border: none;\n background: transparent;\n background-color: #C1C1C1;\n }\n}\n\n#addonify-compare-modal {\n\n @include flex();\n flex-direction: column;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n overflow: hidden;\n border-radius: 5px;\n @include boxShadow();\n\n &.addonify-compare-hidden {\n\n display: none;\n }\n\n .addonify-compare-model-inner {\n\n @include flex();\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n height: 100%;\n width: 98vw; // Fallback.\n width: calc(100vw - 40px);\n max-width: 2048px; // Max: 2K - 40px\n overflow: hidden;\n border-radius: 5px;\n background-color: white;\n\n #addonify-compare-close-button {\n\n display: inline-flex; // Display the button on comparison table modal.\n z-index: var(--adfy_compare_products_comparison_table_zindex);\n }\n\n #addonify-compare-modal-content {\n\n position: relative;\n margin: 0;\n padding: 0;\n height: 100%;\n width: 100%;\n\n #addonify-compare-products-table-wrapper {\n\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n\n #addonify-compare-products-notice {\n\n display: none;\n }\n }\n }\n }\n}\n","/* -------------------------------------------------------------------------- \n\tBasic table style.\n -------------------------------------------------------------------------- */\n\n#addonify-compare-products-table {\n\n display: table;\n table-layout: auto;\n border-collapse: collapse;\n margin: 0;\n padding: 0;\n overflow: auto;\n\n &.addonify-compare-hidden {\n\n display: none; // Hide table if only 1 product exists in the compare list.\n }\n\n // All td & th style.\n th,\n td {\n\n padding: 15px 15px;\n text-align: left;\n vertical-align: top;\n border-color: #F5F5F5;\n }\n\n th {\n\n background-color: #F5F5F5;\n }\n\n td {\n .price {\n\n display: inline-flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-items: center;\n font-size: 16px;\n color: #444444;\n font-weight: bold;\n margin-bottom: 0;\n\n ins {\n\n display: inline-flex;\n font-weight: bold;\n color: red;\n background-color: transparent;\n }\n\n del {\n\n display: inline-flex;\n margin-right: 5px;\n font-size: 13px;\n color: #444444;\n opacity: 0.8;\n }\n }\n\n .add_to_cart_inline {\n\n margin-bottom: 0;\n }\n\n .add_to_cart_button,\n .woocommerce .button,\n .woocommerce.add_to_cart_inline .add_to_cart_button {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin: 0;\n padding: 15px 20px;\n font-weight: normal;\n line-height: 1;\n height: auto;\n width: auto;\n border-radius: 3px;\n }\n }\n\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-image\"] {\n\n .adfy-compare-products-table-row-content {\n\n a {\n\n display: block;\n\n img {\n\n border-radius: 5px;\n }\n }\n }\n }\n\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-rating\"] {\n\n .adfy-compare-products-table-row-content {\n\n @include flex();\n align-items: center;\n gap: 3px;\n\n .star-rating {\n\n float: none;\n margin: 0;\n }\n }\n }\n\n td:not(:first-child)[class*=\"adfy-compare-products-td-field-attribute\"] {\n\n p {\n\n margin: 0;\n }\n }\n}\n\n/* -------------------------------------------------------------------------- \n\tTable in modal.\n -------------------------------------------------------------------------- */\n\n#addonify-compare-products-table-wrapper {\n\n @include breakpoint(ipadpro) {\n\n width: 100%;\n overflow-x: auto;\n }\n\n @include breakpoint(mobile) {\n\n padding: 20px 15px;\n }\n\n #addonify-compare-products-table {\n\n @include breakpoint(mobile) {\n\n display: block;\n width: 100%;\n border: none;\n margin: 0;\n padding: 0;\n overflow: auto;\n }\n\n tbody {\n\n @include breakpoint(mobile) {\n\n display: grid;\n grid-auto-columns: 1fr;\n grid-auto-flow: row;\n grid-row-gap: 20px;\n }\n\n tr {\n\n @include breakpoint(mobile) {\n\n display: grid;\n grid-auto-columns: 50%;\n grid-auto-flow: column;\n grid-column-gap: 20px;\n border: none;\n padding: 0;\n margin: 0;\n }\n\n td {\n\n @include breakpoint(mobile) {\n\n @include flex();\n align-items: center;\n justify-content: flex-start;\n border: none;\n padding: 0;\n margin: 0;\n\n .star-rating {\n\n float: none;\n margin: 0;\n }\n }\n\n .product-title-link {\n\n display: inline-flex;\n color: var(--adfy_compare_products_table_title_color);\n line-height: 1.3;\n\n &:hover {\n\n color: var(--adfy_compare_products_table_title_color_hover);\n }\n }\n\n .addonify-compare-table-remove-btn {\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-weight: normal;\n height: 40px;\n width: 40px;\n padding: 0;\n margin: 0;\n line-height: 1;\n cursor: pointer;\n box-shadow: none;\n appearance: none;\n text-decoration: none;\n fill: white;\n color: white;\n border-radius: 4px;\n @include transitionDelay();\n\n svg {\n\n width: 18px;\n height: 18px;\n }\n }\n }\n }\n }\n }\n}\n\n\n/* -------------------------------------------------------------------------- \n\tResize the table header & hide it after certain breakpoint.\n -------------------------------------------------------------------------- */\n\n#addonify-compare-products-table.has-header,\n#addonify-compare-products-table-wrapper #addonify-compare-products-table.has-header {\n\n tbody {\n\n tr {\n\n td {\n\n &:first-child {\n\n width: 200px;\n background-color: whitesmoke;\n\n // Resize width in ipadpro breakpoint.\n @include breakpoint(ipadpro) {\n\n width: 100px;\n }\n\n // Hide afetr medium breakpoint.\n @include breakpoint(medium) {\n\n display: none;\n }\n }\n }\n }\n }\n}","/* -------------------------------------------------------------------------- \n\tLoading wave\n -------------------------------------------------------------------------- */\n\n@keyframes addonifyCompareLoadingWaveAfter {\n\n\tfrom { transform: scale(0.5,0.5); opacity: 0; }\n\tto { transform: scale(1,1); opacity: 1; }\n}\n@keyframes addonifyCompareLoadingWaveBefore {\n \n\tfrom { -webkit-transform: scale(1,1); opacity: 1; }\n\tto { -webkit-transform: scale(1.5,1.5); opacity: 0; }\n}"]} \ No newline at end of file diff --git a/public/assets/build/js/public.min.js b/public/assets/build/js/public.min.js index ddb017f..2977854 100644 --- a/public/assets/build/js/public.min.js +++ b/public/assets/build/js/public.min.js @@ -1 +1 @@ -"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}!function(P){P(document).ready(function(){var o,e,t=P("body"),d=P("#addonify-compare-dock-message"),a=P("#addonify-compare-search-modal"),n=P("#addonify-compare-search-results"),r=P("#addonify-compare-modal"),c=P("#addonify-compare-modal-content"),i=P("#addonify-compare-modal-overlay"),s=P("#addonify-compare-search-modal-overlay"),l=P(".addonify-dock-compare-button"),m=addonifyCompareProductsJSObject.localDataExpiresIn,p="addonify_compare_products_plugin",f=C().length;function u(){0===f?t.removeClass("addonify-compare-dock-is-visible"):t.addClass("addonify-compare-dock-is-visible")}function y(){1\n\t\t\t\t
\n\t\t\t\t\t

'+o+"

\n\t\t\t\t
\x3c!-- // addonify-compare-alert-content --\x3e\n\t\t\t\x3c!-- // addonify-compare-modal-alert --\x3e\n\t\t\t")):""!==o&&P("#addonify-compare-products-comparison-table-on-page").html(o))}(e=_("product_ids"))instanceof Array&&0\n\t\t\t\t
\n\t\t\t\t\t

'+o+"

\n\t\t\t\t
\x3c!-- // addonify-compare-alert-content --\x3e\n\t\t\t\x3c!-- // addonify-compare-modal-alert --\x3e\n\t\t\t")):""!==o&&P("#addonify-compare-products-comparison-table-on-page").html(o))}0 0)) { + body.removeClass('addonify-compare-dock-is-visible'); + return; + } let product_ids = getLocalItem('product_ids'); @@ -282,6 +291,7 @@ * Display dock if products available in storage. */ function addonifyCompareProductsDisplayDock() { + if (compareItemsCount === 0) { body.removeClass('addonify-compare-dock-is-visible'); } else { diff --git a/public/assets/src/scss/components/_buttons.scss b/public/assets/src/scss/components/_buttons.scss index e6b087e..ef8248d 100644 --- a/public/assets/src/scss/components/_buttons.scss +++ b/public/assets/src/scss/components/_buttons.scss @@ -64,6 +64,8 @@ button.addonify-cp-fake-button { -------------------------------------------------------------------------- */ .addonify-cp-button, +.woocommerce-js .addonify-cp-button, +.woocommerce-js button.addonify-cp-button, .woocommerce ul.products li.product .button.addonify-cp-button, .woocommerce-page ul.products li.product .button.addonify-cp-button { diff --git a/public/class-addonify-compare-products-public.php b/public/class-addonify-compare-products-public.php index 0d76895..f52625a 100644 --- a/public/class-addonify-compare-products-public.php +++ b/public/class-addonify-compare-products-public.php @@ -38,6 +38,51 @@ class Addonify_Compare_Products_Public { */ private $version; + /** + * The label of compare button. + * + * @since 1.1.11 + * @access private + * @var string $compare_button_label The label of compare button. + */ + private $compare_button_label; + + /** + * The true|false value to display icon in compare button. + * + * @since 1.1.11 + * @access private + * @var boolean $display_compare_button_icon The boolean value to display icon in compare button. + */ + private $display_compare_button_icon; + + /** + * The icon of compare button. + * + * @since 1.1.11 + * @access private + * @var string $compare_button_icon The icon of compare button. + */ + private $compare_button_icon; + + /** + * The position of icon in compare button. + * + * @since 1.1.11 + * @access private + * @var string $compare_button_icon_position The position of icon in compare button. + */ + private $compare_button_icon_position; + + /** + * The template arguments needed to render compare button. + * + * @since 1.1.11 + * @access private + * @var array $compare_button_template_args The template arguments needed to render compare button. + */ + private $compare_button_template_args; + /** * Initialize the class and set its properties. @@ -59,24 +104,66 @@ public function __construct( $plugin_name, $version ) { */ public function public_init() { - if ( - ! class_exists( 'WooCommerce' ) || - (int) addonify_compare_products_get_option( 'enable_product_comparison' ) !== 1 - ) { + if ( addonify_compare_products_get_option( 'enable_product_comparison' ) !== '1' ) { return; } + if ( addonify_compare_products_get_option( 'enable_login_required' ) === '1' && ! is_user_logged_in() ) { + return; + } + + $this->compare_button_label = addonify_compare_products_get_option( 'compare_products_btn_label' ); + $this->display_compare_button_icon = addonify_compare_products_get_option( 'compare_products_btn_show_icon' ); + $this->compare_button_icon = addonify_compare_products_get_option( 'compare_products_btn_icon' ); + $this->compare_button_icon_position = addonify_compare_products_get_option( 'compare_products_btn_icon_position' ); + + $this->compare_button_template_args = $this->prepare_compare_button_template_args(); + // Register scripts and styles for the frontend. add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); - // Add the compare button to the product catalog. - switch ( addonify_compare_products_get_option( 'compare_products_btn_position' ) ) { - case 'before_add_to_cart': - add_action( 'woocommerce_after_shop_loop_item', array( $this, 'render_compare_button' ), 5 ); - break; - default: - add_action( 'woocommerce_after_shop_loop_item', array( $this, 'render_compare_button' ), 15 ); + if ( addonify_compare_products_get_option( 'enable_product_comparison_on_archive' ) === '1' ) { + + // Add the compare button on the product catalog. + switch ( addonify_compare_products_get_option( 'compare_products_btn_position' ) ) { + case 'before_add_to_cart': + add_action( + 'woocommerce_after_shop_loop_item', + array( $this, 'render_compare_button' ), + 5 + ); + break; + default: + add_action( + 'woocommerce_after_shop_loop_item', + array( $this, 'render_compare_button' ), + 15 + ); + } + } + + if ( addonify_compare_products_get_option( 'enable_product_comparison_on_single' ) === '1' ) { + add_action( + 'woocommerce_before_add_to_cart_form', + array( $this, 'render_compare_button_before_single_cart_form' ) + ); + add_action( + 'woocommerce_after_add_to_cart_quantity', + array( $this, 'render_compare_button_after_single_quantity_field' ) + ); + add_action( + 'woocommerce_before_add_to_cart_button', + array( $this, 'render_compare_button_before_single_add_to_cart_button' ) + ); + add_action( + 'woocommerce_after_add_to_cart_button', + array( $this, 'render_compare_button_after_single_add_to_cart_button' ) + ); + add_action( + 'woocommerce_after_add_to_cart_form', + array( $this, 'render_compare_button_after_single_cart_form' ) + ); } // Add custom markup into footer to display comparison modal. @@ -100,6 +187,8 @@ public function public_init() { // Register shortocode to display comparison table in the comparison page. add_shortcode( 'addonify_compare_products', array( $this, 'render_shortcode_content' ) ); + + add_shortcode( 'addonify_compare_button', array( $this, 'compare_button_shortcode_callback' ) ); } @@ -110,12 +199,30 @@ public function public_init() { */ public function enqueue_styles() { - wp_enqueue_style( 'perfect-scrollbar', plugin_dir_url( __FILE__ ) . 'assets/build/css/conditional/perfect-scrollbar.css', array(), $this->version ); + wp_enqueue_style( + 'perfect-scrollbar', + plugin_dir_url( __FILE__ ) . 'assets/build/css/conditional/perfect-scrollbar.css', + array(), + $this->version, + 'all' + ); if ( is_rtl() ) { - wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'assets/build/css/public-rtl.css', array(), $this->version ); + wp_enqueue_style( + $this->plugin_name, + plugin_dir_url( __FILE__ ) . 'assets/build/css/public-rtl.css', + array(), + $this->version, + 'all' + ); } else { - wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'assets/build/css/public.css', array(), $this->version ); + wp_enqueue_style( + $this->plugin_name, + plugin_dir_url( __FILE__ ) . 'assets/build/css/public.css', + array(), + $this->version, + 'all' + ); } if ( (int) addonify_compare_products_get_option( 'load_styles_from_plugin' ) === 1 ) { @@ -142,9 +249,21 @@ public function enqueue_styles() { */ public function enqueue_scripts() { - wp_enqueue_script( 'perfect-scrollbar', plugin_dir_url( __FILE__ ) . 'assets/build/js/conditional/perfect-scrollbar.min.js', null, $this->version, true ); + wp_enqueue_script( + 'perfect-scrollbar', + plugin_dir_url( __FILE__ ) . 'assets/build/js/conditional/perfect-scrollbar.min.js', + null, + $this->version, + true + ); - wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'assets/build/js/public.min.js', array( 'jquery' ), $this->version, true ); + wp_enqueue_script( + $this->plugin_name, + plugin_dir_url( __FILE__ ) . 'assets/build/js/public.min.js', + array( 'jquery' ), + $this->version, + true + ); $localize_args = array( 'ajaxURL' => admin_url( 'admin-ajax.php' ), @@ -165,7 +284,62 @@ public function enqueue_scripts() { 'addonifyCompareProductsJSObject', $localize_args ); + } + + + /** + * Callback function for add_shortcode function to render compare button via shortcode. + * + * @since 1.1.11 + * + * @param array $atts Shortcode attributes. + */ + public function compare_button_shortcode_callback( $atts ) { + + $shortcode_atts = shortcode_atts( + array( + 'product_id' => 0, + 'button_label' => $this->compare_button_label, + 'classes' => '', + 'button_icon_position' => $this->compare_button_icon_position, + ), + $atts, + 'addonify_compare_button' + ); + + global $product; + + if ( isset( $shortcode_atts['product_id'] ) ) { + $product = wc_get_product( (int) $shortcode_atts['product_id'] ); + } + + if ( ! $product || ! ( $product instanceof WC_Product ) ) { + ob_start(); + echo esc_html__( 'Invalid product.', 'addonify-compare-products' ); + return ob_get_clean(); + } + + $button_template_args = array( + 'product' => $product, + 'button_label' => $shortcode_atts['button_label'], + 'classes' => array( + 'addonify-cp-shortcode-button', + $shortcode_atts['classes'], + ), + 'button_icon' => '', + ); + + if ( 'none' !== $shortcode_atts['button_icon_position'] ) { + $button_template_args['button_icon'] = addonify_compare_products_get_selected_compare_button_icon( $this->compare_button_icon ); + + $button_template_args['classes'][] = ( 'left' === $shortcode_atts['button_icon_position'] ) + ? 'icon-position-left' : + 'icon-position-right'; + } + ob_start(); + do_action( 'addonify_compare_products_compare_button', $button_template_args ); + return ob_get_clean(); } /** @@ -308,6 +482,30 @@ public function ajax_products_search_callback() { wp_die(); } + /** + * Prepare button label, button CSS classes, and button icon for compare button. + * + * @since 1.1.11 + */ + public function prepare_compare_button_template_args() { + + $button_args = array( + 'button_label' => $this->compare_button_label, + 'classes' => array(), + 'button_icon' => '', + ); + + if ( '1' === $this->display_compare_button_icon ) { + $button_args['button_icon'] = addonify_compare_products_get_selected_compare_button_icon( $this->compare_button_icon ); + } + + $button_args['classes'][] = ( 'left' === $this->compare_button_icon_position ) + ? 'icon-position-left' : + 'icon-position-right'; + + return $button_args; + } + /** * Generating "Compare" button @@ -316,7 +514,7 @@ public function ajax_products_search_callback() { */ public function render_compare_button() { - do_action( 'addonify_compare_products_compare_button' ); + do_action( 'addonify_compare_products_compare_button', $this->prepare_compare_button_template_args() ); } @@ -374,6 +572,99 @@ public function render_shortcode_content() { return ob_get_clean(); } + /** + * Render compare button in product single before cart form. + * + * @since 1.1.11 + */ + public function render_compare_button_before_single_cart_form() { + + $button_position = addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ); + + if ( 'before_add_to_cart_form' === $button_position ) { + + echo '
'; + $this->render_compare_button(); + echo '
'; + } + } + + /** + * Render compare button in product single after cart form. + * + * @since 1.1.11 + */ + public function render_compare_button_after_single_cart_form() { + + $button_position = addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ); + + if ( 'after_add_to_cart_form' === $button_position ) { + + echo '
'; + $this->render_compare_button(); + echo '
'; + } + } + + + /** + * Render add to wishlist button in product single before add to cart button or brefore cart quantity. + * + * @since 1.1.11 + */ + public function render_compare_button_before_single_add_to_cart_button() { + + global $product; + + $button_position = addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ); + + if ( + ( + 'simple' !== $product->get_type() && + 'variable' !== $product->get_type() + ) && + 'before_add_to_cart_button' === $button_position + ) { + $this->render_compare_button(); + } + } + + + /** + * Render add to wishlist button in product single after cart quantity. + * + * @since 1.1.11 + */ + public function render_compare_button_after_single_quantity_field() { + + global $product; + + $button_position = addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ); + + if ( + ( + 'simple' === $product->get_type() || + 'variable' === $product->get_type() + ) && + 'before_add_to_cart_button' === $button_position + ) { + $this->render_compare_button(); + } + } + + /** + * Render compare button in product single after add to cart button. + * + * @since 1.1.11 + */ + public function render_compare_button_after_single_add_to_cart_button() { + + $button_position = addonify_compare_products_get_option( 'compare_products_btn_position_on_single' ); + + if ( 'after_add_to_cart_button' === $button_position ) { + $this->render_compare_button(); + } + } /** * Print dynamic CSS generated from settings page. diff --git a/public/templates/addonify-compare-products-button.php b/public/templates/addonify-compare-products-button.php index 98dcf55..031c646 100644 --- a/public/templates/addonify-compare-products-button.php +++ b/public/templates/addonify-compare-products-button.php @@ -19,8 +19,16 @@ // direct access is disabled. defined( 'ABSPATH' ) || exit; + +if ( ! isset( $product ) || ! ( $product instanceof WC_Product ) ) { + global $product; +} ?> -