first commit

This commit is contained in:
Rachit Bhargava
2023-07-21 17:12:10 -04:00
parent d0fe47dde4
commit 5d0f0734d8
14003 changed files with 2829464 additions and 0 deletions
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'wc-blocks-data-store', 'wc-price-format', 'wc-settings', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'fbcd6df1afb407bf3581d5cfd6ddad22');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'wc-blocks-data-store', 'wc-price-format', 'wc-settings', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6468448745c4365052f79023cfcf22dc');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,31 @@
{
"name": "woocommerce/active-filters",
"version": "1.0.0",
"title": "Active Filters Controls",
"description": "Display the currently active filters.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"html": false,
"multiple": false,
"inserter": false,
"color": {
"text": true,
"background": false
},
"lock": false
},
"attributes": {
"displayStyle": {
"type": "string",
"default": "list"
},
"headingLevel": {
"type": "number",
"default": 3
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1,12 @@
{
"name": "woocommerce/add-to-cart-form",
"version": "1.0.0",
"title": "Add to Cart form",
"description": "Display a button so the customer can add a product to their cart. Options will also be displayed depending on product type. e.g. quantity, variation.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"usesContext": ["postId"],
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'efcb24ef558ed56264cd071518efa11b');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '9723198c4ac29b795a0732c8a27f3f7c');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,39 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 1,
"textdomain": "woocommerce",
"name": "woocommerce/all-products",
"title": "All Products",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "Display products from your store in a grid layout.",
"supports": {
"align": [ "wide", "full" ],
"html": false,
"multiple": false
},
"attributes": {
"columns": {
"type": "number"
},
"rows": {
"type": "number"
},
"alignButtons": {
"type": "boolean"
},
"contentVisibility": {
"type": "object"
},
"orderby": {
"type": "string"
},
"layoutConfig": {
"type": "array"
},
"isPreview": {
"type": "boolean",
"default": false
}
}
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives'), 'version' => 'bd733506a5d6ea4d25cdc213888432a4');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-settings', 'wp-a11y', 'wp-block-editor', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'f1b08e439126e9b36cb9e3c2ea4786a0');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-settings', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => '81aafe048da60548fca8d38290b54bfb');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,58 @@
{
"name": "woocommerce/attribute-filter",
"version": "1.0.0",
"title": "Filter by Attribute Controls",
"description": "Enable customers to filter the product grid by selecting one or more attributes, such as color.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"html": false,
"color": {
"text": true,
"background": false
},
"inserter": false,
"lock": false
},
"attributes": {
"className": {
"type": "string",
"default": ""
},
"attributeId": {
"type": "number",
"default": 0
},
"showCounts": {
"type": "boolean",
"default": true
},
"queryType": {
"type": "string",
"default": "or"
},
"headingLevel": {
"type": "number",
"default": 3
},
"displayStyle": {
"type": "string",
"default": "list"
},
"showFilterButton": {
"type": "boolean",
"default": false
},
"selectType": {
"type": "string",
"default": "multiple"
},
"isPreview": {
"type": "boolean",
"default": false
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-warning'), 'version' => 'e0f009f190ecec062a13085558cdfd5e');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wc-settings', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '6294da0843e34673b718741b4e627ab7');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
{
"name": "woocommerce/breadcrumbs",
"version": "1.0.0",
"title": "Store Breadcrumbs",
"description": "Enable customers to keep track of their location within the store and navigate back to parent pages.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"textdomain": "woocommerce",
"attributes": {
"contentJustification": {
"type": "string"
},
"fontSize": {
"type": "string",
"default": "small"
},
"align": {
"type": "string",
"default": "wide"
}
},
"supports": {
"align": [ "wide", "full" ],
"color": {
"background": false,
"link": true
},
"html": false,
"typography": {
"fontSize": true,
"lineHeight": true
}
},
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[16],{27:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var s=a(0),n=a(14),c=a.n(n);function o(e){const t=Object(s.useRef)(e);return c()(e,t.current)||(t.current=e),t.current}},304:function(e,t){},313:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return m}));var s=a(27),n=a(25),c=a(6),o=a(3);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{paymentMethodsInitialized:t,expressPaymentMethodsInitialized:a,availablePaymentMethods:i,availableExpressPaymentMethods:r}=Object(c.useSelect)(e=>{const t=e(o.PAYMENT_STORE_KEY);return{paymentMethodsInitialized:t.paymentMethodsInitialized(),expressPaymentMethodsInitialized:t.expressPaymentMethodsInitialized(),availableExpressPaymentMethods:t.getAvailableExpressPaymentMethods(),availablePaymentMethods:t.getAvailablePaymentMethods()}}),m=Object.values(i).map(e=>{let{name:t}=e;return t}),l=Object.values(r).map(e=>{let{name:t}=e;return t}),d=Object(n.getPaymentMethods)(),p=Object(n.getExpressPaymentMethods)(),u=Object.keys(d).reduce((e,t)=>(m.includes(t)&&(e[t]=d[t]),e),{}),y=Object.keys(p).reduce((e,t)=>(l.includes(t)&&(e[t]=p[t]),e),{}),h=Object(s.a)(u),b=Object(s.a)(y);return{paymentMethods:e?b:h,isInitialized:e?a:t}},r=()=>i(!1),m=()=>i(!0)},327:function(e,t,a){"use strict";var s=a(13),n=a.n(s),c=a(0),o=a(5),i=a.n(o);const r=e=>"wc-block-components-payment-method-icon wc-block-components-payment-method-icon--"+e;var m=e=>{let{id:t,src:a=null,alt:s=""}=e;return a?Object(c.createElement)("img",{className:r(t),src:a,alt:s}):null},l=a(55);const d=[{id:"alipay",alt:"Alipay",src:l.m+"payment-methods/alipay.svg"},{id:"amex",alt:"American Express",src:l.m+"payment-methods/amex.svg"},{id:"bancontact",alt:"Bancontact",src:l.m+"payment-methods/bancontact.svg"},{id:"diners",alt:"Diners Club",src:l.m+"payment-methods/diners.svg"},{id:"discover",alt:"Discover",src:l.m+"payment-methods/discover.svg"},{id:"eps",alt:"EPS",src:l.m+"payment-methods/eps.svg"},{id:"giropay",alt:"Giropay",src:l.m+"payment-methods/giropay.svg"},{id:"ideal",alt:"iDeal",src:l.m+"payment-methods/ideal.svg"},{id:"jcb",alt:"JCB",src:l.m+"payment-methods/jcb.svg"},{id:"laser",alt:"Laser",src:l.m+"payment-methods/laser.svg"},{id:"maestro",alt:"Maestro",src:l.m+"payment-methods/maestro.svg"},{id:"mastercard",alt:"Mastercard",src:l.m+"payment-methods/mastercard.svg"},{id:"multibanco",alt:"Multibanco",src:l.m+"payment-methods/multibanco.svg"},{id:"p24",alt:"Przelewy24",src:l.m+"payment-methods/p24.svg"},{id:"sepa",alt:"Sepa",src:l.m+"payment-methods/sepa.svg"},{id:"sofort",alt:"Sofort",src:l.m+"payment-methods/sofort.svg"},{id:"unionpay",alt:"Union Pay",src:l.m+"payment-methods/unionpay.svg"},{id:"visa",alt:"Visa",src:l.m+"payment-methods/visa.svg"},{id:"wechat",alt:"WeChat",src:l.m+"payment-methods/wechat.svg"}];var p=a(26);a(304),t.a=e=>{let{icons:t=[],align:a="center",className:s}=e;const o=(e=>{const t={};return e.forEach(e=>{let a={};"string"==typeof e&&(a={id:e,alt:e,src:null}),"object"==typeof e&&(a={id:e.id||"",alt:e.alt||"",src:e.src||null}),a.id&&Object(p.a)(a.id)&&!t[a.id]&&(t[a.id]=a)}),Object.values(t)})(t);if(0===o.length)return null;const r=i()("wc-block-components-payment-method-icons",{"wc-block-components-payment-method-icons--align-left":"left"===a,"wc-block-components-payment-method-icons--align-right":"right"===a},s);return Object(c.createElement)("div",{className:r},o.map(e=>{const t={...e,...(a=e.id,d.find(e=>e.id===a)||{})};var a;return Object(c.createElement)(m,n()({key:"payment-method-icon-"+e.id},t))}))}},439:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const s=e=>Object.values(e).reduce((e,t)=>(null!==t.icons&&(e=e.concat(t.icons)),e),[])},514:function(e,t,a){"use strict";a.r(t);var s=a(0),n=a(327),c=a(313),o=a(439);t.default=e=>{let{className:t}=e;const{paymentMethods:a}=Object(c.b)();return Object(s.createElement)(n.a,{className:t,icons:Object(o.a)(a)})}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[17],{473:function(c,e,s){"use strict";s.r(e);var t=s(0),l=s(42);e.default=c=>{let{children:e,className:s=""}=c;const{crossSellsProducts:n,cartIsLoading:a}=Object(l.a)();return a||n.length<1?null:Object(t.createElement)("div",{className:s},e)}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[19],{503:function(e,t,s){"use strict";s.r(t);var c=s(0),n=s(42),r=s(5),o=s.n(r),a=s(1),l=s(313),i=s(45),m=s(11),p=s(144),b=s(6),u=s(3),E=s(409);s(408);var O=()=>{const{paymentMethods:e,isInitialized:t}=Object(l.a)(),{isCalculating:s,isProcessing:n,isAfterProcessing:r,isBeforeProcessing:o,isComplete:O,hasError:g}=Object(b.useSelect)(e=>{const t=e(u.CHECKOUT_STORE_KEY);return{isCalculating:t.isCalculating(),isProcessing:t.isProcessing(),isAfterProcessing:t.isAfterProcessing(),isBeforeProcessing:t.isBeforeProcessing(),isComplete:t.isComplete(),hasError:t.hasError()}}),j=Object(b.useSelect)(e=>e(u.PAYMENT_STORE_KEY).isExpressPaymentMethodActive());if(!t||t&&0===Object.keys(e).length)return null;const d=n||r||o||O&&!g;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(p.a,{isLoading:s||d||j},Object(c.createElement)("div",{className:"wc-block-components-express-payment wc-block-components-express-payment--cart"},Object(c.createElement)("div",{className:"wc-block-components-express-payment__content"},Object(c.createElement)(m.StoreNoticesContainer,{context:i.d.EXPRESS_PAYMENTS}),Object(c.createElement)(E.a,null)))),Object(c.createElement)("div",{className:"wc-block-components-express-payment-continue-rule wc-block-components-express-payment-continue-rule--cart"},Object(a.__)("Or","woocommerce")))};t.default=e=>{let{className:t}=e;const{cartNeedsPayment:s}=Object(n.a)();return s?Object(c.createElement)("div",{className:o()("wc-block-cart__payment-options",t)},Object(c.createElement)(O,null)):null}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[20],{432:function(e,c,a){"use strict";var n=a(0),t=a(5),s=a.n(t);const r=Object(n.forwardRef)((e,c)=>{let{children:a,className:t=""}=e;return Object(n.createElement)("div",{ref:c,className:s()("wc-block-components-main",t)},a)});c.a=r},472:function(e,c,a){"use strict";a.r(c);var n=a(0),t=a(432),s=a(5),r=a.n(s);c.default=e=>{let{children:c,className:a}=e;return Object(n.createElement)(t.a,{className:r()("wc-block-cart__main",a)},c)}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[21],{51:function(r,n,e){"use strict";e.d(n,"a",(function(){return u}));var t=e(8);function u(r,n,e){var u=this,c=Object(t.useRef)(null),i=Object(t.useRef)(0),a=Object(t.useRef)(null),f=Object(t.useRef)([]),o=Object(t.useRef)(),s=Object(t.useRef)(),l=Object(t.useRef)(r),b=Object(t.useRef)(!0);l.current=r;var m=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof r)throw new TypeError("Expected a function");n=+n||0;var j=!!(e=e||{}).leading,O=!("trailing"in e)||!!e.trailing,v="maxWait"in e,d=v?Math.max(+e.maxWait||0,n):null;return Object(t.useEffect)((function(){return b.current=!0,function(){b.current=!1}}),[]),Object(t.useMemo)((function(){var r=function(r){var n=f.current,e=o.current;return f.current=o.current=null,i.current=r,s.current=l.current.apply(e,n)},e=function(r,n){m&&cancelAnimationFrame(a.current),a.current=m?requestAnimationFrame(r):setTimeout(r,n)},t=function(r){if(!b.current)return!1;var e=r-c.current,t=r-i.current;return!c.current||e>=n||e<0||v&&t>=d},w=function(n){return a.current=null,O&&f.current?r(n):(f.current=o.current=null,s.current)},p=function(){var r=Date.now();if(t(r))return w(r);if(b.current){var u=r-c.current,a=r-i.current,f=n-u,o=v?Math.min(f,d-a):f;e(p,o)}},R=function(){for(var l=[],m=0;m<arguments.length;m++)l[m]=arguments[m];var O=Date.now(),d=t(O);if(f.current=l,o.current=u,c.current=O,d){if(!a.current&&b.current)return i.current=c.current,e(p,n),j?r(c.current):s.current;if(v)return e(p,n),r(c.current)}return a.current||e(p,n),s.current};return R.cancel=function(){a.current&&(m?cancelAnimationFrame(a.current):clearTimeout(a.current)),i.current=0,f.current=c.current=o.current=a.current=null},R.isPending=function(){return!!a.current},R.flush=function(){return a.current?w(Date.now()):s.current},R}),[j,v,n,d,O,m])}},512:function(r,n,e){"use strict";e.r(n);var t=e(0),u=e(42),c=e(499);n.default=r=>{let{className:n}=r;const{cartItems:e,cartIsLoading:i}=Object(u.a)();return Object(t.createElement)(c.a,{className:n,lineItems:e,isLoading:i})}},82:function(r,n,e){"use strict";e.d(n,"a",(function(){return a}));var t=e(8),u=e(51);function c(r,n){return r===n}function i(r){return"function"==typeof r?function(){return r}:r}function a(r,n,e){var a=e&&e.equalityFn||c,f=function(r){var n=Object(t.useState)(i(r)),e=n[0],u=n[1];return[e,Object(t.useCallback)((function(r){return u(i(r))}),[])]}(r),o=f[0],s=f[1],l=Object(u.a)(Object(t.useCallback)((function(r){return s(r)}),[s]),n,e),b=Object(t.useRef)(r);return a(b.current,r)||(l(r),b.current=r),[o,l]}}}]);
@@ -0,0 +1,3 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[22],{110:function(e,t,c){"use strict";var n=c(13),a=c.n(n),o=c(0),r=c(145),l=c(5),s=c.n(l);c(211);const i=e=>({thousandSeparator:null==e?void 0:e.thousandSeparator,decimalSeparator:null==e?void 0:e.decimalSeparator,fixedDecimalScale:!0,prefix:null==e?void 0:e.prefix,suffix:null==e?void 0:e.suffix,isNumericString:!0});t.a=e=>{var t;let{className:c,value:n,currency:l,onValueChange:u,displayType:m="text",...b}=e;const p="string"==typeof n?parseInt(n,10):n;if(!Number.isFinite(p))return null;const d=p/10**l.minorUnit;if(!Number.isFinite(d))return null;const v=s()("wc-block-formatted-money-amount","wc-block-components-formatted-money-amount",c),f=null!==(t=b.decimalScale)&&void 0!==t?t:null==l?void 0:l.minorUnit,j={...b,...i(l),decimalScale:f,value:void 0,currency:void 0,onValueChange:void 0},O=u?e=>{const t=+e.value*10**l.minorUnit;u(t)}:()=>{};return Object(o.createElement)(r.a,a()({className:v,displayType:m},j,{value:d,onValueChange:O}))}},211:function(e,t){},376:function(e,t){},440:function(e,t,c){"use strict";var n=c(0),a=c(1),o=c(5),r=c.n(o),l=c(110),s=c(11),i=c(42),u=c(2),m=c(41);c(376),t.a=e=>{let{currency:t,values:c,className:o}=e;const b=Object(u.getSetting)("taxesEnabled",!0)&&Object(u.getSetting)("displayCartPricesIncludingTax",!1),{total_price:p,total_tax:d,tax_lines:v}=c,{receiveCart:f,...j}=Object(i.a)(),O=Object(s.applyCheckoutFilter)({filterName:"totalLabel",defaultValue:Object(a.__)("Total","woocommerce"),extensions:j.extensions,arg:{cart:j}}),g=parseInt(d,10),x=v&&v.length>0?Object(a.sprintf)(
/* translators: %s is a list of tax rates */
Object(a.__)("Including %s","woocommerce"),v.map(e=>{let{name:c,price:n}=e;return`${Object(m.formatPrice)(n,t)} ${c}`}).join(", ")):Object(a.__)("Including <TaxAmount/> in taxes","woocommerce");return Object(n.createElement)(s.TotalsItem,{className:r()("wc-block-components-totals-footer-item",o),currency:t,label:O,value:parseInt(p,10),description:b&&0!==g&&Object(n.createElement)("p",{className:"wc-block-components-totals-footer-item-tax"},Object(n.createInterpolateElement)(x,{TaxAmount:Object(n.createElement)(l.a,{className:"wc-block-components-totals-footer-item-tax-value",currency:t,value:g})}))})}},515:function(e,t,c){"use strict";c.r(t);var n=c(0),a=c(440),o=c(41),r=c(42),l=c(11);const s=()=>{const{extensions:e,receiveCart:t,...c}=Object(r.a)(),a={extensions:e,cart:c,context:"woocommerce/cart"};return Object(n.createElement)(l.ExperimentalOrderMeta.Slot,a)};t.default=e=>{let{children:t,className:c=""}=e;const{cartTotals:l}=Object(r.a)(),i=Object(o.getCurrencyFromPriceResponse)(l);return Object(n.createElement)("div",{className:c},t,Object(n.createElement)("div",{className:"wc-block-components-totals-wrapper"},Object(n.createElement)(a.a,{currency:i,values:l})),Object(n.createElement)(s,null))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[23],{434:function(e,c){},435:function(e,c,t){"use strict";var a=t(0),n=t(5),s=t.n(n);const r=Object(a.forwardRef)((e,c)=>{let{children:t,className:n=""}=e;return Object(a.createElement)("div",{ref:c,className:s()("wc-block-components-sidebar",n)},t)});c.a=r},474:function(e,c,t){"use strict";t.r(c);var a=t(0),n=t(5),s=t.n(n),r=t(435);t(434),c.default=e=>{let{children:c,className:t=""}=e;return Object(a.createElement)(r.a,{className:s()("wc-block-cart__sidebar",t)},c)}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[24],{431:function(e,c){},471:function(e,c,t){"use strict";t.r(c);var n=t(0),o=t(42),s=t(83);t(431),c.default=e=>{let{children:c,className:t}=e;const{cartItems:l,cartIsLoading:r}=Object(o.a)();return Object(n.useEffect)(()=>{Object(s.a)("wc-blocks_render_blocks_frontend",{element:document.body.querySelector(".wp-block-woocommerce-cart")})},[]),r||0!==l.length?null:Object(n.createElement)("div",{className:t},c)}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[25],{218:function(e,t){},265:function(e,t,s){"use strict";s.d(t,"b",(function(){return l})),s.d(t,"a",(function(){return o}));var a=s(0),c=s(10),n=s(5),i=s.n(n);const r=Object(a.createContext)({hasContainerWidth:!1,containerClassName:"",isMobile:!1,isSmall:!1,isMedium:!1,isLarge:!1}),l=()=>Object(a.useContext)(r),o=e=>{let{children:t,className:s=""}=e;const[n,l]=(()=>{const[e,{width:t}]=Object(c.useResizeObserver)();let s="";return t>700?s="is-large":t>520?s="is-medium":t>400?s="is-small":t&&(s="is-mobile"),[e,s]})(),o={hasContainerWidth:""!==l,containerClassName:l,isMobile:"is-mobile"===l,isSmall:"is-small"===l,isMedium:"is-medium"===l,isLarge:"is-large"===l};return Object(a.createElement)(r.Provider,{value:o},Object(a.createElement)("div",{className:i()(s,l)},n,t))}},269:function(e,t,s){"use strict";var a=s(0),c=s(5),n=s.n(c),i=s(265);s(218),t.a=e=>{let{children:t,className:s}=e;return Object(a.createElement)(i.a,{className:n()("wc-block-components-sidebar-layout",s)},t)}},470:function(e,t,s){"use strict";s.r(t);var a=s(0),c=s(5),n=s.n(c),i=s(269),r=s(42),l=s(159);t.default=e=>{let{children:t,className:s}=e;const{cartItems:c,cartIsLoading:o}=Object(r.a)(),{hasDarkControls:m}=Object(l.b)();return o||c.length>=1?Object(a.createElement)(i.a,{className:n()("wc-block-cart",s,{"has-dark-controls":m})},t):null}}}]);
@@ -0,0 +1,5 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[26],{273:function(e,o,t){"use strict";var n=t(13),c=t.n(n),a=t(0),s=t(62),r=t(5),p=t.n(r),l=t(143);t(274),o.a=e=>{let{className:o,showSpinner:t=!1,children:n,variant:r="contained",...i}=e;const u=p()("wc-block-components-button","wp-element-button",o,r,{"wc-block-components-button--loading":t});return Object(a.createElement)(s.a,c()({className:u},i),t&&Object(a.createElement)(l.a,null),Object(a.createElement)("span",{className:"wc-block-components-button__text"},n))}},274:function(e,o){},303:function(e,o,t){"use strict";t.d(o,"a",(function(){return l}));var n=t(1),c=t(6),a=t(3),s=t(22),r=t(11),p=t(42);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{cartCoupons:o,cartIsLoading:t}=Object(p.a)(),{createErrorNotice:l}=Object(c.useDispatch)("core/notices"),{createNotice:i}=Object(c.useDispatch)("core/notices"),{setValidationErrors:u}=Object(c.useDispatch)(a.VALIDATION_STORE_KEY),{isApplyingCoupon:b,isRemovingCoupon:m}=Object(c.useSelect)(e=>{const o=e(a.CART_STORE_KEY);return{isApplyingCoupon:o.isApplyingCoupon(),isRemovingCoupon:o.isRemovingCoupon()}},[l,i]),{applyCoupon:d,removeCoupon:O}=Object(c.useDispatch)(a.CART_STORE_KEY),g=o=>d(o).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showApplyCouponNotice",defaultValue:!0,arg:{couponCode:o,context:e}})&&i("info",Object(n.sprintf)(
/* translators: %s coupon code. */
Object(n.__)('Coupon code "%s" has been applied to your cart.',"woocommerce"),o),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(e=>(u({coupon:{message:Object(s.decodeEntities)(e.message),hidden:!1}}),Promise.resolve(!1))),_=o=>O(o).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showRemoveCouponNotice",defaultValue:!0,arg:{couponCode:o,context:e}})&&i("info",Object(n.sprintf)(
/* translators: %s coupon code. */
Object(n.__)('Coupon code "%s" has been removed from your cart.',"woocommerce"),o),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(o=>(l(o.message,{id:"coupon-form",context:e}),Promise.resolve(!1)));return{appliedCoupons:o,isLoading:t,applyCoupon:g,removeCoupon:_,isApplyingCoupon:b,isRemovingCoupon:m}}},378:function(e,o){},442:function(e,o,t){"use strict";var n=t(0),c=t(1),a=t(273),s=t(144),r=t(10),p=t(11),l=t(6),i=t(3),u=t(5),b=t.n(u);t(378),o.a=Object(r.withInstanceId)(e=>{let{instanceId:o,isLoading:t=!1,onSubmit:r,displayCouponForm:u=!1}=e;const[m,d]=Object(n.useState)(""),[O,g]=Object(n.useState)(!u),_="wc-block-components-totals-coupon__input-"+o,j=b()("wc-block-components-totals-coupon__content",{"screen-reader-text":O}),{validationErrorId:w}=Object(l.useSelect)(e=>({validationErrorId:e(i.VALIDATION_STORE_KEY).getValidationErrorId(_)}));return Object(n.createElement)("div",{className:"wc-block-components-totals-coupon"},O?Object(n.createElement)("a",{role:"button",href:"#wc-block-components-totals-coupon__form",className:"wc-block-components-totals-coupon-link","aria-label":Object(c.__)("Add a coupon","woocommerce"),onClick:e=>{e.preventDefault(),g(!1)}},Object(c.__)("Add a coupon","woocommerce")):Object(n.createElement)(s.a,{screenReaderLabel:Object(c.__)("Applying coupon…","woocommerce"),isLoading:t,showSpinner:!1},Object(n.createElement)("div",{className:j},Object(n.createElement)("form",{className:"wc-block-components-totals-coupon__form",id:"wc-block-components-totals-coupon__form"},Object(n.createElement)(p.ValidatedTextInput,{id:_,errorId:"coupon",className:"wc-block-components-totals-coupon__input",label:Object(c.__)("Enter code","woocommerce"),value:m,ariaDescribedBy:w,onChange:e=>{d(e)},focusOnMount:!0,showError:!1}),Object(n.createElement)(a.a,{className:"wc-block-components-totals-coupon__button",disabled:t||!m,showSpinner:t,onClick:e=>{e.preventDefault(),void 0!==r?r(m).then(e=>{e&&(d(""),g(!0))}):(d(""),g(!0))},type:"submit"},Object(c.__)("Apply","woocommerce"))),Object(n.createElement)(p.ValidationInputError,{propertyName:"coupon",elementId:_}))))})},519:function(e,o,t){"use strict";t.r(o);var n=t(0),c=t(442),a=t(303),s=t(2),r=t(11);o.default=e=>{let{className:o}=e;const t=Object(s.getSetting)("couponsEnabled",!0),{applyCoupon:p,isApplyingCoupon:l}=Object(a.a)("wc/cart");return t?Object(n.createElement)(r.TotalsWrapper,{className:o},Object(n.createElement)(c.a,{onSubmit:p,isLoading:l})):null}}}]);
@@ -0,0 +1,13 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[27],{213:function(e,t){},214:function(e,t,o){"use strict";var c=o(0),n=o(12);const s=Object(c.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=s},224:function(e,t,o){"use strict";var c=o(13),n=o.n(c),s=o(0),a=o(5),r=o.n(a),l=o(1),i=o(81),u=o(214);o(213);var p=e=>{let{text:t,screenReaderText:o="",element:c="li",className:a="",radius:l="small",children:i=null,...u}=e;const p=c,b=r()(a,"wc-block-components-chip","wc-block-components-chip--radius-"+l),m=Boolean(o&&o!==t);return Object(s.createElement)(p,n()({className:b},u),Object(s.createElement)("span",{"aria-hidden":m,className:"wc-block-components-chip__text"},t),m&&Object(s.createElement)("span",{className:"screen-reader-text"},o),i)};t.a=e=>{let{ariaLabel:t="",className:o="",disabled:c=!1,onRemove:a=(()=>{}),removeOnAnyClick:b=!1,text:m,screenReaderText:d="",...g}=e;const O=b?"span":"button";if(!t){const e=d&&"string"==typeof d?d:m;t="string"!=typeof e?
/* translators: Remove chip. */
Object(l.__)("Remove","woocommerce"):Object(l.sprintf)(
/* translators: %s text of the chip to remove. */
Object(l.__)('Remove "%s"',"woocommerce"),e)}const j={"aria-label":t,disabled:c,onClick:a,onKeyDown:e=>{"Backspace"!==e.key&&"Delete"!==e.key||a()}},v=b?j:{},C=b?{"aria-hidden":!0}:j;return Object(s.createElement)(p,n()({},g,v,{className:r()(o,"is-removable"),element:b?"button":g.element,screenReaderText:d,text:m}),Object(s.createElement)(O,n()({className:"wc-block-components-chip__remove"},C),Object(s.createElement)(i.a,{className:"wc-block-components-chip__remove-icon",icon:u.a,size:16})))}},303:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var c=o(1),n=o(6),s=o(3),a=o(22),r=o(11),l=o(42);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{cartCoupons:t,cartIsLoading:o}=Object(l.a)(),{createErrorNotice:i}=Object(n.useDispatch)("core/notices"),{createNotice:u}=Object(n.useDispatch)("core/notices"),{setValidationErrors:p}=Object(n.useDispatch)(s.VALIDATION_STORE_KEY),{isApplyingCoupon:b,isRemovingCoupon:m}=Object(n.useSelect)(e=>{const t=e(s.CART_STORE_KEY);return{isApplyingCoupon:t.isApplyingCoupon(),isRemovingCoupon:t.isRemovingCoupon()}},[i,u]),{applyCoupon:d,removeCoupon:g}=Object(n.useDispatch)(s.CART_STORE_KEY),O=t=>d(t).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showApplyCouponNotice",defaultValue:!0,arg:{couponCode:t,context:e}})&&u("info",Object(c.sprintf)(
/* translators: %s coupon code. */
Object(c.__)('Coupon code "%s" has been applied to your cart.',"woocommerce"),t),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(e=>(p({coupon:{message:Object(a.decodeEntities)(e.message),hidden:!1}}),Promise.resolve(!1))),j=t=>g(t).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showRemoveCouponNotice",defaultValue:!0,arg:{couponCode:t,context:e}})&&u("info",Object(c.sprintf)(
/* translators: %s coupon code. */
Object(c.__)('Coupon code "%s" has been removed from your cart.',"woocommerce"),t),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(t=>(i(t.message,{id:"coupon-form",context:e}),Promise.resolve(!1)));return{appliedCoupons:t,isLoading:o,applyCoupon:O,removeCoupon:j,isApplyingCoupon:b,isRemovingCoupon:m}}},377:function(e,t){},441:function(e,t,o){"use strict";var c=o(0),n=o(1),s=o(144),a=o(224),r=o(11),l=o(2);o(377);const i={context:"summary"};t.a=e=>{let{cartCoupons:t=[],currency:o,isRemovingCoupon:u,removeCoupon:p,values:b}=e;const{total_discount:m,total_discount_tax:d}=b,g=parseInt(m,10);if(!g&&0===t.length)return null;const O=parseInt(d,10),j=Object(l.getSetting)("displayCartPricesIncludingTax",!1)?g+O:g,v=Object(r.applyCheckoutFilter)({arg:i,filterName:"coupons",defaultValue:t});return Object(c.createElement)(r.TotalsItem,{className:"wc-block-components-totals-discount",currency:o,description:0!==v.length&&Object(c.createElement)(s.a,{screenReaderLabel:Object(n.__)("Removing coupon…","woocommerce"),isLoading:u,showSpinner:!1},Object(c.createElement)("ul",{className:"wc-block-components-totals-discount__coupon-list"},v.map(e=>Object(c.createElement)(a.a,{key:"coupon-"+e.code,className:"wc-block-components-totals-discount__coupon-list-item",text:e.label,screenReaderText:Object(n.sprintf)(
/* translators: %s Coupon code. */
Object(n.__)("Coupon: %s","woocommerce"),e.label),disabled:u,onRemove:()=>{p(e.code)},radius:"large",ariaLabel:Object(n.sprintf)(
/* translators: %s is a coupon code. */
Object(n.__)('Remove coupon "%s"',"woocommerce"),e.label)})))),label:j?Object(n.__)("Discount","woocommerce"):Object(n.__)("Coupons","woocommerce"),value:j?-1*j:"-"})}},518:function(e,t,o){"use strict";o.r(t);var c=o(0),n=o(441),s=o(41),a=o(42),r=o(303),l=o(11);const i=()=>{const{extensions:e,receiveCart:t,...o}=Object(a.a)(),n={extensions:e,cart:o,context:"woocommerce/cart"};return Object(c.createElement)(l.ExperimentalDiscountsMeta.Slot,n)};t.default=e=>{let{className:t}=e;const{cartTotals:o,cartCoupons:u}=Object(a.a)(),{removeCoupon:p,isRemovingCoupon:b}=Object(r.a)("wc/cart"),m=Object(s.getCurrencyFromPriceResponse)(o);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.TotalsWrapper,{className:t},Object(c.createElement)(n.a,{cartCoupons:u,currency:m,isRemovingCoupon:b,removeCoupon:p,values:o})),Object(c.createElement)(i,null))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[28],{517:function(e,c,t){"use strict";t.r(c);var s=t(0),a=t(11),r=t(41),n=t(42);c.default=e=>{let{className:c}=e;const{cartFees:t,cartTotals:o}=Object(n.a)(),l=Object(r.getCurrencyFromPriceResponse)(o);return Object(s.createElement)(a.TotalsWrapper,{className:c},Object(s.createElement)(a.TotalsFees,{currency:l,cartFees:t}))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[29],{278:function(e,t,c){"use strict";var n=c(13),o=c.n(n),a=c(0),l=c(5),s=c.n(l);c(279),t.a=e=>{let{children:t,className:c,headingLevel:n,...l}=e;const r=s()("wc-block-components-title",c),i="h"+n;return Object(a.createElement)(i,o()({className:r},l),t)}},279:function(e,t){},504:function(e,t,c){"use strict";c.r(t);var n=c(142),o=c(0),a=c(278),l=c(5),s=c.n(l),r=c(1),i={content:{type:"string",default:Object(r.__)("Cart totals","woocommerce")},lock:{type:"object",default:{remove:!1,move:!1}}};t.default=Object(n.withFilteredAttributes)(i)(e=>{let{className:t,content:c=""}=e;return Object(o.createElement)(a.a,{headingLevel:"2",className:s()(t,"wc-block-cart__totals-title")},c)})}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[31],{516:function(e,c,t){"use strict";t.r(c);var a=t(0),s=t(11),r=t(41),n=t(42);c.default=e=>{let{className:c=""}=e;const{cartTotals:t}=Object(n.a)(),o=Object(r.getCurrencyFromPriceResponse)(t);return Object(a.createElement)(s.TotalsWrapper,{className:c},Object(a.createElement)(s.Subtotal,{currency:o,values:t}))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[32],{506:function(e,t,a){"use strict";a.r(t);var c=a(142),r=a(0),s=a(11),l=a(41),n=a(42),o=a(2),i={showRateAfterTaxName:{type:"boolean",default:Object(o.getSetting)("displayCartPricesIncludingTax",!1)},lock:{type:"object",default:{remove:!0,move:!1}}};t.default=Object(c.withFilteredAttributes)(i)(e=>{let{className:t,showRateAfterTaxName:a}=e;const{cartTotals:c}=Object(n.a)();if(Object(o.getSetting)("displayCartPricesIncludingTax",!1)||parseInt(c.total_tax,10)<=0)return null;const i=Object(l.getCurrencyFromPriceResponse)(c);return Object(r.createElement)(s.TotalsWrapper,{className:t},Object(r.createElement)(s.TotalsTaxes,{showRateAfterTaxName:a,currency:i,values:c}))})}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[33],{273:function(e,t,c){"use strict";var n=c(13),o=c.n(n),a=c(0),r=c(62),s=c(5),u=c.n(s),i=c(143);c(274),t.a=e=>{let{className:t,showSpinner:c=!1,children:n,variant:s="contained",...l}=e;const b=u()("wc-block-components-button","wp-element-button",t,s,{"wc-block-components-button--loading":c});return Object(a.createElement)(r.a,o()({className:b},l),c&&Object(a.createElement)(i.a,null),Object(a.createElement)("span",{className:"wc-block-components-button__text"},n))}},274:function(e,t){},410:function(e,t,c){"use strict";c.d(t,"a",(function(){return o}));var n=c(1);const o=Object(n.__)("Proceed to Checkout","woocommerce")},436:function(e,t,c){"use strict";(function(e){var n=c(0),o=c(5),a=c.n(o),r=c(273),s=c(55),u=c(475),i=c(2),l=c(6),b=c(3),d=c(11),f=(c(438),c(410));t.a=t=>{let{checkoutPageId:c,className:o,buttonLabel:p}=t;const m=Object(i.getSetting)("page-"+c,!1),w=Object(l.useSelect)(e=>e(b.CHECKOUT_STORE_KEY).isCalculating()),[O,v]=Object(u.a)(),[j,k]=Object(n.useState)(!1);Object(n.useEffect)(()=>{if("function"!=typeof e.addEventListener||"function"!=typeof e.removeEventListener)return;const t=()=>{k(!1)};return e.addEventListener("pageshow",t),()=>{e.removeEventListener("pageshow",t)}},[]);const h=Object(l.useSelect)(e=>e(b.CART_STORE_KEY).getCartData()),E=Object(d.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLabel",defaultValue:p||f.a,arg:{cart:h}}),g=Object(d.applyCheckoutFilter)({filterName:"proceedToCheckoutButtonLink",defaultValue:m||s.d,arg:{cart:h}}),_=Object(n.createElement)(r.a,{className:"wc-block-cart__submit-button",href:g,disabled:w,onClick:()=>k(!0),showSpinner:j},E);return Object(n.createElement)("div",{className:a()("wc-block-cart__submit",o)},O,Object(n.createElement)("div",{className:"wc-block-cart__submit-container"},_),"below"===v&&Object(n.createElement)("div",{className:"wc-block-cart__submit-container wc-block-cart__submit-container--sticky"},_))}}).call(this,c(437))},437:function(e,t){var c;c=function(){return this}();try{c=c||new Function("return this")()}catch(e){"object"==typeof window&&(c=window)}e.exports=c},438:function(e,t){},475:function(e,t,c){"use strict";c.d(t,"a",(function(){return a}));var n=c(0);const o={bottom:0,left:0,opacity:0,pointerEvents:"none",position:"absolute",right:0,top:0,zIndex:-1},a=()=>{const[e,t]=Object(n.useState)(""),c=Object(n.useRef)(null),a=Object(n.useRef)(new IntersectionObserver(e=>{e[0].isIntersecting?t("visible"):t(e[0].boundingClientRect.top>0?"below":"above")},{threshold:1}));return Object(n.useLayoutEffect)(()=>{const e=c.current,t=a.current;return e&&t.observe(e),()=>{t.unobserve(e)}},[]),[Object(n.createElement)("div",{"aria-hidden":!0,ref:c,style:o}),e]}},513:function(e,t,c){"use strict";c.r(t);var n=c(142),o=c(436),a={checkoutPageId:{type:"number",default:0},lock:{type:"object",default:{move:!0,remove:!0}},buttonLabel:{type:"string",default:c(410).a}};t.default=Object(n.withFilteredAttributes)(a)(o.a)}}]);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'ae6ed5ff8a9f87372bf4afc6f154bcdf');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '38b24643e03db3a6b95ab7dab6f894e5');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '45f629f099cb3b893bab2cffd32d7ab5');
@@ -0,0 +1 @@
this.wc=this.wc||{},this.wc.blocks=this.wc.blocks||{},this.wc.blocks["catalog-sorting"]=function(e){function t(t){for(var r,l,i=t[0],s=t[1],a=t[2],p=0,f=[];p<i.length;p++)l=i[p],Object.prototype.hasOwnProperty.call(n,l)&&n[l]&&f.push(n[l][0]),n[l]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(u&&u(t);f.length;)f.shift()();return c.push.apply(c,a||[]),o()}function o(){for(var e,t=0;t<c.length;t++){for(var o=c[t],r=!0,i=1;i<o.length;i++){var s=o[i];0!==n[s]&&(r=!1)}r&&(c.splice(t--,1),e=l(l.s=o[0]))}return e}var r={},n={11:0},c=[];function l(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,l),o.l=!0,o.exports}l.m=e,l.c=r,l.d=function(e,t,o){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)l.d(o,r,function(t){return e[t]}.bind(null,r));return o},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="";var i=window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var u=s;return c.push([426,0]),o()}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t){e.exports=window.wp.primitives},2:function(e,t){e.exports=window.wp.components},250:function(e,t,o){"use strict";var r=o(0),n=o(11);const c=Object(r.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/SVG",viewBox:"0 0 24 24",fill:"none"},Object(r.createElement)("path",{stroke:"currentColor",strokeWidth:"1.5",fill:"none",d:"M6 3.75h12c.69 0 1.25.56 1.25 1.25v14c0 .69-.56 1.25-1.25 1.25H6c-.69 0-1.25-.56-1.25-1.25V5c0-.69.56-1.25 1.25-1.25z"}),Object(r.createElement)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.9 7.5A1.1 1.1 0 018 6.4h8a1.1 1.1 0 011.1 1.1v2a1.1 1.1 0 01-1.1 1.1H8a1.1 1.1 0 01-1.1-1.1v-2zm1.2.1v1.8h7.8V7.6H8.1z",clipRule:"evenodd"}),Object(r.createElement)("path",{fill:"currentColor",d:"M8.5 12h1v1h-1v-1zM8.5 14h1v1h-1v-1zM8.5 16h1v1h-1v-1zM11.5 12h1v1h-1v-1zM11.5 14h1v1h-1v-1zM11.5 16h1v1h-1v-1zM14.5 12h1v1h-1v-1zM14.5 14h1v1h-1v-1zM14.5 16h1v1h-1v-1z"}));t.a=c},315:function(e){e.exports=JSON.parse('{"name":"woocommerce/catalog-sorting","version":"1.0.0","title":"Catalog Sorting","description":"Enable customers to change the sorting order of the products.","category":"woocommerce","keywords":["WooCommerce"],"supports":{"color":{"text":true,"background":false},"typography":{"fontSize":true}},"attributes":{"fontSize":{"type":"string","default":"small"}},"textdomain":"woocommerce","apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}')},426:function(e,t,o){e.exports=o(529)},5:function(e,t){e.exports=window.wp.blockEditor},529:function(e,t,o){"use strict";o.r(t);var r=o(0),n=o(8),c=o(72),l=o(250),i=o(315),s=o(5),a=o(2),u=o(1);const p=()=>Object(r.createElement)("select",{className:"orderby"},Object(r.createElement)("option",null,Object(u.__)("Default sorting","woocommerce")));Object(n.registerBlockType)(i,{icon:{src:Object(r.createElement)(c.a,{icon:l.a,className:"wc-block-editor-components-block-icon"})},attributes:{...i.attributes},edit:()=>{const e=Object(s.useBlockProps)({className:"woocommerce wc-block-catalog-sorting"});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",e,Object(r.createElement)(a.Disabled,null,Object(r.createElement)(p,null))))},save:()=>null})},8:function(e,t){e.exports=window.wp.blocks}});
@@ -0,0 +1,26 @@
{
"name": "woocommerce/catalog-sorting",
"version": "1.0.0",
"title": "Catalog Sorting",
"description": "Enable customers to change the sorting order of the products.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"color": {
"text": true,
"background": false
},
"typography": {
"fontSize": true
}
},
"attributes": {
"fontSize": {
"type": "string",
"default": "small"
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[38],{143:function(e,t,c){"use strict";var s=c(0);c(210),t.a=()=>Object(s.createElement)("span",{className:"wc-block-components-spinner","aria-hidden":"true"})},144:function(e,t,c){"use strict";var s=c(0),n=c(1),a=c(5),o=c.n(a),r=(c(212),c(143));t.a=e=>{let{children:t,className:c,screenReaderLabel:a,showSpinner:l=!1,isLoading:i=!0}=e;return Object(s.createElement)("div",{className:o()(c,{"wc-block-components-loading-mask":i})},i&&l&&Object(s.createElement)(r.a,null),Object(s.createElement)("div",{className:o()({"wc-block-components-loading-mask__children":i}),"aria-hidden":i},t),i&&Object(s.createElement)("span",{className:"screen-reader-text"},a||Object(n.__)("Loading…","woocommerce")))}},210:function(e,t){},212:function(e,t){},278:function(e,t,c){"use strict";var s=c(13),n=c.n(s),a=c(0),o=c(5),r=c.n(o);c(279),t.a=e=>{let{children:t,className:c,headingLevel:s,...o}=e;const l=r()("wc-block-components-title",c),i="h"+s;return Object(a.createElement)(i,n()({className:l},o),t)}},279:function(e,t){},520:function(e,t,c){"use strict";c.r(t);var s=c(0),n=c(42),a=c(1),o=c(49),r=c(45),l=c(11),i=c(278),m=c(144),b=c(2),p=c(3),u=c(6),d=c(409);c(408);var E=()=>{const{isCalculating:e,isProcessing:t,isAfterProcessing:c,isBeforeProcessing:n,isComplete:E,hasError:O}=Object(u.useSelect)(e=>{const t=e(p.CHECKOUT_STORE_KEY);return{isCalculating:t.isCalculating(),isProcessing:t.isProcessing(),isAfterProcessing:t.isAfterProcessing(),isBeforeProcessing:t.isBeforeProcessing(),isComplete:t.isComplete(),hasError:t.hasError()}}),{availableExpressPaymentMethods:g,expressPaymentMethodsInitialized:h,isExpressPaymentMethodActive:j}=Object(u.useSelect)(e=>{const t=e(p.PAYMENT_STORE_KEY);return{availableExpressPaymentMethods:t.getAvailableExpressPaymentMethods(),expressPaymentMethodsInitialized:t.expressPaymentMethodsInitialized(),isExpressPaymentMethodActive:t.isExpressPaymentMethodActive()}}),{isEditor:k}=Object(o.a)();if(!h||h&&0===Object.keys(g).length)return k||b.CURRENT_USER_IS_ADMIN?Object(s.createElement)(l.StoreNoticesContainer,{context:r.d.EXPRESS_PAYMENTS}):null;const P=t||c||n||E&&!O;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(m.a,{isLoading:e||P||j},Object(s.createElement)("div",{className:"wc-block-components-express-payment wc-block-components-express-payment--checkout"},Object(s.createElement)("div",{className:"wc-block-components-express-payment__title-container"},Object(s.createElement)(i.a,{className:"wc-block-components-express-payment__title",headingLevel:"2"},Object(a.__)("Express checkout","woocommerce"))),Object(s.createElement)("div",{className:"wc-block-components-express-payment__content"},Object(s.createElement)(l.StoreNoticesContainer,{context:r.d.EXPRESS_PAYMENTS}),Object(s.createElement)(d.a,null)))),Object(s.createElement)("div",{className:"wc-block-components-express-payment-continue-rule wc-block-components-express-payment-continue-rule--checkout"},Object(a.__)("Or continue below","woocommerce")))};t.default=e=>{let{className:t}=e;const{cartNeedsPayment:c}=Object(n.a)();return c?Object(s.createElement)("div",{className:t},Object(s.createElement)(E,null)):null}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[39],{432:function(c,e,t){"use strict";var n=t(0),o=t(5),a=t.n(o);const s=Object(n.forwardRef)((c,e)=>{let{children:t,className:o=""}=c;return Object(n.createElement)("div",{ref:e,className:a()("wc-block-components-main",o)},t)});e.a=s},443:function(c,e){},476:function(c,e,t){"use strict";t.r(e);var n=t(0),o=t(5),a=t.n(o),s=t(432);t(443),e.default=c=>{let{children:e,className:t}=c;return Object(n.createElement)(s.a,{className:a()("wc-block-checkout__main",t)},Object(n.createElement)("form",{className:"wc-block-components-form wc-block-checkout__form"},e))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[40],{278:function(e,t,c){"use strict";var n=c(13),o=c.n(n),s=c(0),a=c(5),l=c.n(a);c(279),t.a=e=>{let{children:t,className:c,headingLevel:n,...a}=e;const r=l()("wc-block-components-title",c),d="h"+n;return Object(s.createElement)(d,o()({className:r},a),t)}},279:function(e,t){},281:function(e,t){},310:function(e,t,c){"use strict";var n=c(0),o=c(5),s=c.n(o),a=c(278);c(281);const l=e=>{let{title:t,stepHeadingContent:c}=e;return Object(n.createElement)("div",{className:"wc-block-components-checkout-step__heading"},Object(n.createElement)(a.a,{"aria-hidden":"true",className:"wc-block-components-checkout-step__title",headingLevel:"2"},t),!!c&&Object(n.createElement)("span",{className:"wc-block-components-checkout-step__heading-content"},c))};t.a=e=>{let{id:t,className:c,title:o,legend:a,description:r,children:d,disabled:i=!1,showStepNumber:b=!0,stepHeadingContent:u=(()=>{})}=e;const p=a||o?"fieldset":"div";return Object(n.createElement)(p,{className:s()(c,"wc-block-components-checkout-step",{"wc-block-components-checkout-step--with-step-number":b,"wc-block-components-checkout-step--disabled":i}),id:t,disabled:i},!(!a&&!o)&&Object(n.createElement)("legend",{className:"screen-reader-text"},a||o),!!o&&Object(n.createElement)(l,{title:o,stepHeadingContent:u()}),Object(n.createElement)("div",{className:"wc-block-components-checkout-step__container"},!!r&&Object(n.createElement)("p",{className:"wc-block-components-checkout-step__description"},r),Object(n.createElement)("div",{className:"wc-block-components-checkout-step__content"},d)))}},448:function(e,t){},449:function(e,t){},509:function(e,t,c){"use strict";c.r(t);var n=c(0),o=c(5),s=c.n(o),a=c(1),l=c(310),r=c(116),d=c(6),i=c(3),b=c(11);c(449);const u=e=>{let{className:t="",disabled:c=!1,onTextChange:o,placeholder:a,value:l=""}=e;return Object(n.createElement)("textarea",{className:s()("wc-block-components-textarea",t),disabled:c,onChange:e=>{o(e.target.value)},placeholder:a,rows:2,value:l})};c(448);var p=e=>{let{disabled:t,onChange:c,placeholder:o,value:s}=e;const[l,r]=Object(n.useState)(!1),[d,i]=Object(n.useState)("");return Object(n.createElement)("div",{className:"wc-block-checkout__add-note"},Object(n.createElement)(b.CheckboxControl,{disabled:t,label:Object(a.__)("Add a note to your order","woocommerce"),checked:l,onChange:e=>{r(e),e?s!==d&&c(d):(c(""),i(s))}}),l&&Object(n.createElement)(u,{disabled:t,onTextChange:c,placeholder:o,value:s}))};t.default=e=>{let{className:t}=e;const{needsShipping:c}=Object(r.a)(),{isProcessing:o,orderNotes:b}=Object(d.useSelect)(e=>{const t=e(i.CHECKOUT_STORE_KEY);return{isProcessing:t.isProcessing(),orderNotes:t.getOrderNotes()}}),{__internalSetOrderNotes:u}=Object(d.useDispatch)(i.CHECKOUT_STORE_KEY);return Object(n.createElement)(l.a,{id:"order-notes",showStepNumber:!1,className:s()("wc-block-checkout__order-notes",t),disabled:o},Object(n.createElement)(p,{disabled:o,onChange:u,placeholder:c?Object(a.__)("Notes about your order, e.g. special notes for delivery.","woocommerce"):Object(a.__)("Notes about your order.","woocommerce"),value:b}))}}}]);
@@ -0,0 +1,9 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[42],{110:function(e,t,c){"use strict";var r=c(13),a=c.n(r),n=c(0),l=c(145),s=c(5),o=c.n(s);c(211);const i=e=>({thousandSeparator:null==e?void 0:e.thousandSeparator,decimalSeparator:null==e?void 0:e.decimalSeparator,fixedDecimalScale:!0,prefix:null==e?void 0:e.prefix,suffix:null==e?void 0:e.suffix,isNumericString:!0});t.a=e=>{var t;let{className:c,value:r,currency:s,onValueChange:m,displayType:u="text",...p}=e;const b="string"==typeof r?parseInt(r,10):r;if(!Number.isFinite(b))return null;const d=b/10**s.minorUnit;if(!Number.isFinite(d))return null;const O=o()("wc-block-formatted-money-amount","wc-block-components-formatted-money-amount",c),j=null!==(t=p.decimalScale)&&void 0!==t?t:null==s?void 0:s.minorUnit,g={...p,...i(s),decimalScale:j,value:void 0,currency:void 0,onValueChange:void 0},_=m?e=>{const t=+e.value*10**s.minorUnit;m(t)}:()=>{};return Object(n.createElement)(l.a,a()({className:O,displayType:u},g,{value:d,onValueChange:_}))}},21:function(e,t,c){"use strict";var r=c(0),a=c(5),n=c.n(a);t.a=e=>{let t,{label:c,screenReaderLabel:a,wrapperElement:l,wrapperProps:s={}}=e;const o=null!=c,i=null!=a;return!o&&i?(t=l||"span",s={...s,className:n()(s.className,"screen-reader-text")},Object(r.createElement)(t,s,a)):(t=l||r.Fragment,o&&i&&c!==a?Object(r.createElement)(t,s,Object(r.createElement)("span",{"aria-hidden":"true"},c),Object(r.createElement)("span",{className:"screen-reader-text"},a)):Object(r.createElement)(t,s,c))}},211:function(e,t){},299:function(e,t,c){"use strict";var r=c(0),a=c(1),n=c(110),l=c(5),s=c.n(l),o=c(41);c(300);const i=e=>{let{currency:t,maxPrice:c,minPrice:l,priceClassName:i,priceStyle:m={}}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"screen-reader-text"},Object(a.sprintf)(
/* translators: %1$s min price, %2$s max price */
Object(a.__)("Price between %1$s and %2$s","woocommerce"),Object(o.formatPrice)(l),Object(o.formatPrice)(c))),Object(r.createElement)("span",{"aria-hidden":!0},Object(r.createElement)(n.a,{className:s()("wc-block-components-product-price__value",i),currency:t,value:l,style:m})," — ",Object(r.createElement)(n.a,{className:s()("wc-block-components-product-price__value",i),currency:t,value:c,style:m})))},m=e=>{let{currency:t,regularPriceClassName:c,regularPriceStyle:l,regularPrice:o,priceClassName:i,priceStyle:m,price:u}=e;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"screen-reader-text"},Object(a.__)("Previous price:","woocommerce")),Object(r.createElement)(n.a,{currency:t,renderText:e=>Object(r.createElement)("del",{className:s()("wc-block-components-product-price__regular",c),style:l},e),value:o}),Object(r.createElement)("span",{className:"screen-reader-text"},Object(a.__)("Discounted price:","woocommerce")),Object(r.createElement)(n.a,{currency:t,renderText:e=>Object(r.createElement)("ins",{className:s()("wc-block-components-product-price__value","is-discounted",i),style:m},e),value:u}))};t.a=e=>{let{align:t,className:c,currency:a,format:l="<price/>",maxPrice:o,minPrice:u,price:p,priceClassName:b,priceStyle:d,regularPrice:O,regularPriceClassName:j,regularPriceStyle:g,spacingStyle:_}=e;const y=s()(c,"price","wc-block-components-product-price",{["wc-block-components-product-price--align-"+t]:t});l.includes("<price/>")||(l="<price/>",console.error("Price formats need to include the `<price/>` tag."));const v=O&&p!==O;let f=Object(r.createElement)("span",{className:s()("wc-block-components-product-price__value",b)});return v?f=Object(r.createElement)(m,{currency:a,price:p,priceClassName:b,priceStyle:d,regularPrice:O,regularPriceClassName:j,regularPriceStyle:g}):void 0!==u&&void 0!==o?f=Object(r.createElement)(i,{currency:a,maxPrice:o,minPrice:u,priceClassName:b,priceStyle:d}):p&&(f=Object(r.createElement)(n.a,{className:s()("wc-block-components-product-price__value",b),currency:a,value:p,style:d})),Object(r.createElement)("span",{className:y,style:_},Object(r.createInterpolateElement)(l,{price:f}))}},300:function(e,t){},301:function(e,t,c){"use strict";var r=c(13),a=c.n(r),n=c(0),l=c(22),s=c(5),o=c.n(s);c(302),t.a=e=>{let{className:t="",disabled:c=!1,name:r,permalink:s="",target:i,rel:m,style:u,onClick:p,...b}=e;const d=o()("wc-block-components-product-name",t);if(c){const e=b;return Object(n.createElement)("span",a()({className:d},e,{dangerouslySetInnerHTML:{__html:Object(l.decodeEntities)(r)}}))}return Object(n.createElement)("a",a()({className:d,href:s,target:i},b,{dangerouslySetInnerHTML:{__html:Object(l.decodeEntities)(r)},style:u}))}},302:function(e,t){},312:function(e,t,c){"use strict";var r=c(0),a=c(5),n=c.n(a);c(370),t.a=e=>{let{children:t,className:c}=e;return Object(r.createElement)("div",{className:n()("wc-block-components-product-badge",c)},t)}},340:function(e,t,c){"use strict";var r=c(0),a=c(132),n=c(133);const l=e=>{const t=e.indexOf("</p>");return-1===t?e:e.substr(0,t+4)},s=e=>e.replace(/<\/?[a-z][^>]*?>/gi,""),o=(e,t)=>e.replace(/[\s|\.\,]+$/i,"")+t,i=function(e,t){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"&hellip;";const r=s(e),a=r.split(" ").splice(0,t).join(" ");return Object(n.autop)(o(a,c))},m=function(e,t){let c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&hellip;";const a=s(e),l=a.slice(0,t);if(c)return Object(n.autop)(o(l,r));const i=l.match(/([\s]+)/g),m=i?i.length:0,u=a.slice(0,t+m);return Object(n.autop)(o(u,r))};t.a=e=>{let{source:t,maxLength:c=15,countType:s="words",className:o="",style:u={}}=e;const p=Object(r.useMemo)(()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"words";const r=Object(n.autop)(e),s=Object(a.count)(r,c);if(s<=t)return r;const o=l(r),u=Object(a.count)(o,c);return u<=t?o:"words"===c?i(o,t):m(o,t,"characters_including_spaces"===c)}(t,c,s),[t,c,s]);return Object(r.createElement)(r.RawHTML,{style:u,className:o},p)}},367:function(e,t,c){"use strict";var r=c(13),a=c.n(r),n=c(0),l=c(22),s=c(2);c(368),t.a=e=>{let{image:t={},fallbackAlt:c=""}=e;const r=t.thumbnail?{src:t.thumbnail,alt:Object(l.decodeEntities)(t.alt)||c||"Product Image"}:{src:s.PLACEHOLDER_IMG_SRC,alt:""};return Object(n.createElement)("img",a()({className:"wc-block-components-product-image"},r,{alt:r.alt}))}},368:function(e,t){},369:function(e,t,c){"use strict";var r=c(0),a=c(1),n=c(312);t.a=()=>Object(r.createElement)(n.a,{className:"wc-block-components-product-backorder-badge"},Object(a.__)("Available on backorder","woocommerce"))},370:function(e,t){},371:function(e,t,c){"use strict";var r=c(0),a=c(1),n=c(312);t.a=e=>{let{lowStockRemaining:t}=e;return t?Object(r.createElement)(n.a,{className:"wc-block-components-product-low-stock-badge"},Object(a.sprintf)(
/* translators: %d stock amount (number of items in stock for product) */
Object(a.__)("%d left in stock","woocommerce"),t)):null}},372:function(e,t){},373:function(e,t){},388:function(e,t,c){"use strict";var r=c(0),a=c(4),n=c(22);c(373);var l=e=>{let{details:t=[]}=e;return Array.isArray(t)?(t=t.filter(e=>!e.hidden),0===t.length?null:Object(r.createElement)("ul",{className:"wc-block-components-product-details"},t.map(e=>{const t=(null==e?void 0:e.key)||e.name||"",c=(null==e?void 0:e.className)||(t?"wc-block-components-product-details__"+Object(a.kebabCase)(t):"");return Object(r.createElement)("li",{key:t+(e.display||e.value),className:c},t&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"wc-block-components-product-details__name"},Object(n.decodeEntities)(t),":")," "),Object(r.createElement)("span",{className:"wc-block-components-product-details__value"},Object(n.decodeEntities)(e.display||e.value)))}))):null},s=c(340),o=c(55),i=e=>{let{className:t,shortDescription:c="",fullDescription:a=""}=e;const n=c||a;return n?Object(r.createElement)(s.a,{className:t,source:n,maxLength:15,countType:o.o.wordCountType||"words"}):null};c(372),t.a=e=>{let{shortDescription:t="",fullDescription:c="",itemData:a=[],variation:n=[]}=e;return Object(r.createElement)("div",{className:"wc-block-components-product-metadata"},Object(r.createElement)(i,{className:"wc-block-components-product-metadata__description",shortDescription:t,fullDescription:c}),Object(r.createElement)(l,{details:a}),Object(r.createElement)(l,{details:n.map(e=>{let{attribute:t="",value:c}=e;return{key:t,value:c}})}))}},455:function(e,t){},502:function(e,t,c){"use strict";c.r(t);var r=c(0),a=c(1),n=c(265),l=c(11),s=c(5),o=c.n(s),i=c(21),m=c(299),u=c(301),p=c(41),b=c(407),d=c(2),O=c(42),j=c(26),g=c(369),_=c(367),y=c(371),v=c(388);const f=e=>Object(l.mustContain)(e,"<price/>");var E=e=>{let{cartItem:t}=e;const{images:c,low_stock_remaining:n,show_backorder_badge:s,name:E,permalink:k,prices:w,quantity:N,short_description:h,description:P,item_data:x,variation:C,totals:S,extensions:I}=t,{receiveCart:T,...D}=Object(O.a)(),F=Object(r.useMemo)(()=>({context:"summary",cartItem:t,cart:D}),[t,D]),L=Object(p.getCurrencyFromPriceResponse)(w),A=Object(l.applyCheckoutFilter)({filterName:"itemName",defaultValue:E,extensions:I,arg:F}),R=Object(b.a)({amount:parseInt(w.raw_prices.regular_price,10),precision:Object(j.a)(w.raw_prices.precision)?parseInt(w.raw_prices.precision,10):w.raw_prices.precision}).convertPrecision(L.minorUnit).getAmount(),$=Object(b.a)({amount:parseInt(w.raw_prices.price,10),precision:Object(j.a)(w.raw_prices.precision)?parseInt(w.raw_prices.precision,10):w.raw_prices.precision}).convertPrecision(L.minorUnit).getAmount(),V=Object(p.getCurrencyFromPriceResponse)(S);let M=parseInt(S.line_subtotal,10);Object(d.getSetting)("displayCartPricesIncludingTax",!1)&&(M+=parseInt(S.line_subtotal_tax,10));const U=Object(b.a)({amount:M,precision:V.minorUnit}).getAmount(),H=Object(l.applyCheckoutFilter)({filterName:"subtotalPriceFormat",defaultValue:"<price/>",extensions:I,arg:F,validation:f}),W=Object(l.applyCheckoutFilter)({filterName:"cartItemPrice",defaultValue:"<price/>",extensions:I,arg:F,validation:f}),B=Object(l.applyCheckoutFilter)({filterName:"cartItemClass",defaultValue:"",extensions:I,arg:F});return Object(r.createElement)("div",{className:o()("wc-block-components-order-summary-item",B)},Object(r.createElement)("div",{className:"wc-block-components-order-summary-item__image"},Object(r.createElement)("div",{className:"wc-block-components-order-summary-item__quantity"},Object(r.createElement)(i.a,{label:N.toString(),screenReaderLabel:Object(a.sprintf)(
/* translators: %d number of products of the same type in the cart */
Object(a._n)("%d item","%d items",N,"woocommerce"),N)})),Object(r.createElement)(_.a,{image:c.length?c[0]:{},fallbackAlt:A})),Object(r.createElement)("div",{className:"wc-block-components-order-summary-item__description"},Object(r.createElement)(u.a,{disabled:!0,name:A,permalink:k}),Object(r.createElement)(m.a,{currency:L,price:$,regularPrice:R,className:"wc-block-components-order-summary-item__individual-prices",priceClassName:"wc-block-components-order-summary-item__individual-price",regularPriceClassName:"wc-block-components-order-summary-item__regular-individual-price",format:H}),s?Object(r.createElement)(g.a,null):!!n&&Object(r.createElement)(y.a,{lowStockRemaining:n}),Object(r.createElement)(v.a,{shortDescription:h,fullDescription:P,itemData:x,variation:C})),Object(r.createElement)("span",{className:"screen-reader-text"},Object(a.sprintf)(
/* translators: %1$d is the number of items, %2$s is the item name and %3$s is the total price including the currency symbol. */
Object(a._n)("Total price for %1$d %2$s item: %3$s","Total price for %1$d %2$s items: %3$s",N,"woocommerce"),N,A,Object(p.formatPrice)(U,V))),Object(r.createElement)("div",{className:"wc-block-components-order-summary-item__total-price","aria-hidden":"true"},Object(r.createElement)(m.a,{currency:V,format:W,price:U})))};c(455);var k=e=>{let{cartItems:t=[]}=e;const{isLarge:c,hasContainerWidth:s}=Object(n.b)();return s?Object(r.createElement)(l.Panel,{className:"wc-block-components-order-summary",initialOpen:c,hasBorder:!1,title:Object(r.createElement)("span",{className:"wc-block-components-order-summary__button-text"},Object(a.__)("Order summary","woocommerce")),titleTag:"h2"},Object(r.createElement)("div",{className:"wc-block-components-order-summary__content"},t.map(e=>Object(r.createElement)(E,{key:e.key,cartItem:e})))):null};t.default=e=>{let{className:t}=e;const{cartItems:c}=Object(O.a)();return Object(r.createElement)(l.TotalsWrapper,{className:t},Object(r.createElement)(k,{cartItems:c}))}}}]);
@@ -0,0 +1,5 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[43],{143:function(e,o,t){"use strict";var n=t(0);t(210),o.a=()=>Object(n.createElement)("span",{className:"wc-block-components-spinner","aria-hidden":"true"})},144:function(e,o,t){"use strict";var n=t(0),c=t(1),a=t(5),s=t.n(a),r=(t(212),t(143));o.a=e=>{let{children:o,className:t,screenReaderLabel:a,showSpinner:l=!1,isLoading:i=!0}=e;return Object(n.createElement)("div",{className:s()(t,{"wc-block-components-loading-mask":i})},i&&l&&Object(n.createElement)(r.a,null),Object(n.createElement)("div",{className:s()({"wc-block-components-loading-mask__children":i}),"aria-hidden":i},o),i&&Object(n.createElement)("span",{className:"screen-reader-text"},a||Object(c.__)("Loading…","woocommerce")))}},210:function(e,o){},212:function(e,o){},273:function(e,o,t){"use strict";var n=t(13),c=t.n(n),a=t(0),s=t(62),r=t(5),l=t.n(r),i=t(143);t(274),o.a=e=>{let{className:o,showSpinner:t=!1,children:n,variant:r="contained",...p}=e;const u=l()("wc-block-components-button","wp-element-button",o,r,{"wc-block-components-button--loading":t});return Object(a.createElement)(s.a,c()({className:u},p),t&&Object(a.createElement)(i.a,null),Object(a.createElement)("span",{className:"wc-block-components-button__text"},n))}},274:function(e,o){},303:function(e,o,t){"use strict";t.d(o,"a",(function(){return i}));var n=t(1),c=t(6),a=t(3),s=t(22),r=t(11),l=t(42);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{cartCoupons:o,cartIsLoading:t}=Object(l.a)(),{createErrorNotice:i}=Object(c.useDispatch)("core/notices"),{createNotice:p}=Object(c.useDispatch)("core/notices"),{setValidationErrors:u}=Object(c.useDispatch)(a.VALIDATION_STORE_KEY),{isApplyingCoupon:b,isRemovingCoupon:m}=Object(c.useSelect)(e=>{const o=e(a.CART_STORE_KEY);return{isApplyingCoupon:o.isApplyingCoupon(),isRemovingCoupon:o.isRemovingCoupon()}},[i,p]),{applyCoupon:d,removeCoupon:O}=Object(c.useDispatch)(a.CART_STORE_KEY),g=o=>d(o).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showApplyCouponNotice",defaultValue:!0,arg:{couponCode:o,context:e}})&&p("info",Object(n.sprintf)(
/* translators: %s coupon code. */
Object(n.__)('Coupon code "%s" has been applied to your cart.',"woocommerce"),o),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(e=>(u({coupon:{message:Object(s.decodeEntities)(e.message),hidden:!1}}),Promise.resolve(!1))),j=o=>O(o).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showRemoveCouponNotice",defaultValue:!0,arg:{couponCode:o,context:e}})&&p("info",Object(n.sprintf)(
/* translators: %s coupon code. */
Object(n.__)('Coupon code "%s" has been removed from your cart.',"woocommerce"),o),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(o=>(i(o.message,{id:"coupon-form",context:e}),Promise.resolve(!1)));return{appliedCoupons:o,isLoading:t,applyCoupon:g,removeCoupon:j,isApplyingCoupon:b,isRemovingCoupon:m}}},378:function(e,o){},442:function(e,o,t){"use strict";var n=t(0),c=t(1),a=t(273),s=t(144),r=t(10),l=t(11),i=t(6),p=t(3),u=t(5),b=t.n(u);t(378),o.a=Object(r.withInstanceId)(e=>{let{instanceId:o,isLoading:t=!1,onSubmit:r,displayCouponForm:u=!1}=e;const[m,d]=Object(n.useState)(""),[O,g]=Object(n.useState)(!u),j="wc-block-components-totals-coupon__input-"+o,_=b()("wc-block-components-totals-coupon__content",{"screen-reader-text":O}),{validationErrorId:w}=Object(i.useSelect)(e=>({validationErrorId:e(p.VALIDATION_STORE_KEY).getValidationErrorId(j)}));return Object(n.createElement)("div",{className:"wc-block-components-totals-coupon"},O?Object(n.createElement)("a",{role:"button",href:"#wc-block-components-totals-coupon__form",className:"wc-block-components-totals-coupon-link","aria-label":Object(c.__)("Add a coupon","woocommerce"),onClick:e=>{e.preventDefault(),g(!1)}},Object(c.__)("Add a coupon","woocommerce")):Object(n.createElement)(s.a,{screenReaderLabel:Object(c.__)("Applying coupon…","woocommerce"),isLoading:t,showSpinner:!1},Object(n.createElement)("div",{className:_},Object(n.createElement)("form",{className:"wc-block-components-totals-coupon__form",id:"wc-block-components-totals-coupon__form"},Object(n.createElement)(l.ValidatedTextInput,{id:j,errorId:"coupon",className:"wc-block-components-totals-coupon__input",label:Object(c.__)("Enter code","woocommerce"),value:m,ariaDescribedBy:w,onChange:e=>{d(e)},focusOnMount:!0,showError:!1}),Object(n.createElement)(a.a,{className:"wc-block-components-totals-coupon__button",disabled:t||!m,showSpinner:t,onClick:e=>{e.preventDefault(),void 0!==r?r(m).then(e=>{e&&(d(""),g(!0))}):(d(""),g(!0))},type:"submit"},Object(c.__)("Apply","woocommerce"))),Object(n.createElement)(l.ValidationInputError,{propertyName:"coupon",elementId:j}))))})},526:function(e,o,t){"use strict";t.r(o);var n=t(0),c=t(442),a=t(303),s=t(2),r=t(11);o.default=e=>{let{className:o=""}=e;const t=Object(s.getSetting)("couponsEnabled",!0),{applyCoupon:l,isApplyingCoupon:i}=Object(a.a)("wc/checkout");return t?Object(n.createElement)(r.TotalsWrapper,{className:o},Object(n.createElement)(c.a,{onSubmit:l,isLoading:i})):null}}}]);
@@ -0,0 +1,13 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[44],{143:function(e,t,o){"use strict";var c=o(0);o(210),t.a=()=>Object(c.createElement)("span",{className:"wc-block-components-spinner","aria-hidden":"true"})},144:function(e,t,o){"use strict";var c=o(0),n=o(1),s=o(5),a=o.n(s),r=(o(212),o(143));t.a=e=>{let{children:t,className:o,screenReaderLabel:s,showSpinner:l=!1,isLoading:i=!0}=e;return Object(c.createElement)("div",{className:a()(o,{"wc-block-components-loading-mask":i})},i&&l&&Object(c.createElement)(r.a,null),Object(c.createElement)("div",{className:a()({"wc-block-components-loading-mask__children":i}),"aria-hidden":i},t),i&&Object(c.createElement)("span",{className:"screen-reader-text"},s||Object(n.__)("Loading…","woocommerce")))}},210:function(e,t){},212:function(e,t){},213:function(e,t){},214:function(e,t,o){"use strict";var c=o(0),n=o(12);const s=Object(c.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=s},224:function(e,t,o){"use strict";var c=o(13),n=o.n(c),s=o(0),a=o(5),r=o.n(a),l=o(1),i=o(81),u=o(214);o(213);var p=e=>{let{text:t,screenReaderText:o="",element:c="li",className:a="",radius:l="small",children:i=null,...u}=e;const p=c,m=r()(a,"wc-block-components-chip","wc-block-components-chip--radius-"+l),b=Boolean(o&&o!==t);return Object(s.createElement)(p,n()({className:m},u),Object(s.createElement)("span",{"aria-hidden":b,className:"wc-block-components-chip__text"},t),b&&Object(s.createElement)("span",{className:"screen-reader-text"},o),i)};t.a=e=>{let{ariaLabel:t="",className:o="",disabled:c=!1,onRemove:a=(()=>{}),removeOnAnyClick:m=!1,text:b,screenReaderText:d="",...g}=e;const O=m?"span":"button";if(!t){const e=d&&"string"==typeof d?d:b;t="string"!=typeof e?
/* translators: Remove chip. */
Object(l.__)("Remove","woocommerce"):Object(l.sprintf)(
/* translators: %s text of the chip to remove. */
Object(l.__)('Remove "%s"',"woocommerce"),e)}const j={"aria-label":t,disabled:c,onClick:a,onKeyDown:e=>{"Backspace"!==e.key&&"Delete"!==e.key||a()}},v=m?j:{},C=m?{"aria-hidden":!0}:j;return Object(s.createElement)(p,n()({},g,v,{className:r()(o,"is-removable"),element:m?"button":g.element,screenReaderText:d,text:b}),Object(s.createElement)(O,n()({className:"wc-block-components-chip__remove"},C),Object(s.createElement)(i.a,{className:"wc-block-components-chip__remove-icon",icon:u.a,size:16})))}},303:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var c=o(1),n=o(6),s=o(3),a=o(22),r=o(11),l=o(42);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{cartCoupons:t,cartIsLoading:o}=Object(l.a)(),{createErrorNotice:i}=Object(n.useDispatch)("core/notices"),{createNotice:u}=Object(n.useDispatch)("core/notices"),{setValidationErrors:p}=Object(n.useDispatch)(s.VALIDATION_STORE_KEY),{isApplyingCoupon:m,isRemovingCoupon:b}=Object(n.useSelect)(e=>{const t=e(s.CART_STORE_KEY);return{isApplyingCoupon:t.isApplyingCoupon(),isRemovingCoupon:t.isRemovingCoupon()}},[i,u]),{applyCoupon:d,removeCoupon:g}=Object(n.useDispatch)(s.CART_STORE_KEY),O=t=>d(t).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showApplyCouponNotice",defaultValue:!0,arg:{couponCode:t,context:e}})&&u("info",Object(c.sprintf)(
/* translators: %s coupon code. */
Object(c.__)('Coupon code "%s" has been applied to your cart.',"woocommerce"),t),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(e=>(p({coupon:{message:Object(a.decodeEntities)(e.message),hidden:!1}}),Promise.resolve(!1))),j=t=>g(t).then(()=>(Object(r.applyCheckoutFilter)({filterName:"showRemoveCouponNotice",defaultValue:!0,arg:{couponCode:t,context:e}})&&u("info",Object(c.sprintf)(
/* translators: %s coupon code. */
Object(c.__)('Coupon code "%s" has been removed from your cart.',"woocommerce"),t),{id:"coupon-form",type:"snackbar",context:e}),Promise.resolve(!0))).catch(t=>(i(t.message,{id:"coupon-form",context:e}),Promise.resolve(!1)));return{appliedCoupons:t,isLoading:o,applyCoupon:O,removeCoupon:j,isApplyingCoupon:m,isRemovingCoupon:b}}},377:function(e,t){},441:function(e,t,o){"use strict";var c=o(0),n=o(1),s=o(144),a=o(224),r=o(11),l=o(2);o(377);const i={context:"summary"};t.a=e=>{let{cartCoupons:t=[],currency:o,isRemovingCoupon:u,removeCoupon:p,values:m}=e;const{total_discount:b,total_discount_tax:d}=m,g=parseInt(b,10);if(!g&&0===t.length)return null;const O=parseInt(d,10),j=Object(l.getSetting)("displayCartPricesIncludingTax",!1)?g+O:g,v=Object(r.applyCheckoutFilter)({arg:i,filterName:"coupons",defaultValue:t});return Object(c.createElement)(r.TotalsItem,{className:"wc-block-components-totals-discount",currency:o,description:0!==v.length&&Object(c.createElement)(s.a,{screenReaderLabel:Object(n.__)("Removing coupon…","woocommerce"),isLoading:u,showSpinner:!1},Object(c.createElement)("ul",{className:"wc-block-components-totals-discount__coupon-list"},v.map(e=>Object(c.createElement)(a.a,{key:"coupon-"+e.code,className:"wc-block-components-totals-discount__coupon-list-item",text:e.label,screenReaderText:Object(n.sprintf)(
/* translators: %s Coupon code. */
Object(n.__)("Coupon: %s","woocommerce"),e.label),disabled:u,onRemove:()=>{p(e.code)},radius:"large",ariaLabel:Object(n.sprintf)(
/* translators: %s is a coupon code. */
Object(n.__)('Remove coupon "%s"',"woocommerce"),e.label)})))),label:j?Object(n.__)("Discount","woocommerce"):Object(n.__)("Coupons","woocommerce"),value:j?-1*j:"-"})}},525:function(e,t,o){"use strict";o.r(t);var c=o(0),n=o(441),s=o(41),a=o(42),r=o(303),l=o(11);const i=()=>{const{extensions:e,receiveCart:t,...o}=Object(a.a)(),n={extensions:e,cart:o,context:"woocommerce/checkout"};return Object(c.createElement)(l.ExperimentalDiscountsMeta.Slot,n)};t.default=e=>{let{className:t=""}=e;const{cartTotals:o,cartCoupons:u}=Object(a.a)(),{removeCoupon:p,isRemovingCoupon:m}=Object(r.a)("wc/checkout"),b=Object(s.getCurrencyFromPriceResponse)(o);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.TotalsWrapper,{className:t},Object(c.createElement)(n.a,{cartCoupons:u,currency:b,isRemovingCoupon:m,removeCoupon:p,values:o})),Object(c.createElement)(i,null))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[45],{524:function(e,c,t){"use strict";t.r(c);var s=t(0),a=t(11),r=t(41),n=t(42);c.default=e=>{let{className:c=""}=e;const{cartFees:t,cartTotals:o}=Object(n.a)(),l=Object(r.getCurrencyFromPriceResponse)(o);return Object(s.createElement)(a.TotalsWrapper,{className:c},Object(s.createElement)(a.TotalsFees,{currency:l,cartFees:t}))}}}]);
@@ -0,0 +1,3 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[41],{110:function(e,t,c){"use strict";var n=c(13),a=c.n(n),o=c(0),r=c(145),l=c(5),s=c.n(l);c(211);const i=e=>({thousandSeparator:null==e?void 0:e.thousandSeparator,decimalSeparator:null==e?void 0:e.decimalSeparator,fixedDecimalScale:!0,prefix:null==e?void 0:e.prefix,suffix:null==e?void 0:e.suffix,isNumericString:!0});t.a=e=>{var t;let{className:c,value:n,currency:l,onValueChange:u,displayType:m="text",...b}=e;const p="string"==typeof n?parseInt(n,10):n;if(!Number.isFinite(p))return null;const d=p/10**l.minorUnit;if(!Number.isFinite(d))return null;const v=s()("wc-block-formatted-money-amount","wc-block-components-formatted-money-amount",c),f=null!==(t=b.decimalScale)&&void 0!==t?t:null==l?void 0:l.minorUnit,j={...b,...i(l),decimalScale:f,value:void 0,currency:void 0,onValueChange:void 0},O=u?e=>{const t=+e.value*10**l.minorUnit;u(t)}:()=>{};return Object(o.createElement)(r.a,a()({className:v,displayType:m},j,{value:d,onValueChange:O}))}},211:function(e,t){},376:function(e,t){},440:function(e,t,c){"use strict";var n=c(0),a=c(1),o=c(5),r=c.n(o),l=c(110),s=c(11),i=c(42),u=c(2),m=c(41);c(376),t.a=e=>{let{currency:t,values:c,className:o}=e;const b=Object(u.getSetting)("taxesEnabled",!0)&&Object(u.getSetting)("displayCartPricesIncludingTax",!1),{total_price:p,total_tax:d,tax_lines:v}=c,{receiveCart:f,...j}=Object(i.a)(),O=Object(s.applyCheckoutFilter)({filterName:"totalLabel",defaultValue:Object(a.__)("Total","woocommerce"),extensions:j.extensions,arg:{cart:j}}),g=parseInt(d,10),x=v&&v.length>0?Object(a.sprintf)(
/* translators: %s is a list of tax rates */
Object(a.__)("Including %s","woocommerce"),v.map(e=>{let{name:c,price:n}=e;return`${Object(m.formatPrice)(n,t)} ${c}`}).join(", ")):Object(a.__)("Including <TaxAmount/> in taxes","woocommerce");return Object(n.createElement)(s.TotalsItem,{className:r()("wc-block-components-totals-footer-item",o),currency:t,label:O,value:parseInt(p,10),description:b&&0!==g&&Object(n.createElement)("p",{className:"wc-block-components-totals-footer-item-tax"},Object(n.createInterpolateElement)(x,{TaxAmount:Object(n.createElement)(l.a,{className:"wc-block-components-totals-footer-item-tax-value",currency:t,value:g})}))})}},522:function(e,t,c){"use strict";c.r(t);var n=c(0),a=c(440),o=c(41),r=c(42),l=c(11);const s=()=>{const{extensions:e,receiveCart:t,...c}=Object(r.a)(),a={extensions:e,cart:c,context:"woocommerce/checkout"};return Object(n.createElement)(l.ExperimentalOrderMeta.Slot,a)};t.default=e=>{let{children:t,className:c=""}=e;const{cartTotals:l}=Object(r.a)(),i=Object(o.getCurrencyFromPriceResponse)(l);return Object(n.createElement)("div",{className:c},t,Object(n.createElement)("div",{className:"wc-block-components-totals-wrapper"},Object(n.createElement)(a.a,{currency:i,values:l})),Object(n.createElement)(s,null))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[47],{523:function(e,c,t){"use strict";t.r(c);var a=t(0),s=t(11),r=t(41),n=t(42);c.default=e=>{let{className:c=""}=e;const{cartTotals:t}=Object(n.a)(),o=Object(r.getCurrencyFromPriceResponse)(t);return Object(a.createElement)(s.TotalsWrapper,{className:c},Object(a.createElement)(s.Subtotal,{currency:o,values:t}))}}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[48],{510:function(e,t,a){"use strict";a.r(t);var c=a(142),r=a(0),s=a(11),l=a(41),n=a(42),o=a(2),i={showRateAfterTaxName:{type:"boolean",default:Object(o.getSetting)("displayCartPricesIncludingTax",!1)},lock:{type:"object",default:{remove:!0,move:!1}}};t.default=Object(c.withFilteredAttributes)(i)(e=>{let{className:t,showRateAfterTaxName:a}=e;const{cartTotals:c}=Object(n.a)();if(Object(o.getSetting)("displayCartPricesIncludingTax",!1)||parseInt(c.total_tax,10)<=0)return null;const i=Object(l.getCurrencyFromPriceResponse)(c);return Object(r.createElement)(s.TotalsWrapper,{className:t},Object(r.createElement)(s.TotalsTaxes,{showRateAfterTaxName:a,currency:i,values:c}))})}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[54],{27:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var s=n(0),c=n(14),r=n.n(c);function o(e){const t=Object(s.useRef)(e);return r()(e,t.current)||(t.current=e),t.current}},313:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return l}));var s=n(27),c=n(25),r=n(6),o=n(3);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{paymentMethodsInitialized:t,expressPaymentMethodsInitialized:n,availablePaymentMethods:a,availableExpressPaymentMethods:i}=Object(r.useSelect)(e=>{const t=e(o.PAYMENT_STORE_KEY);return{paymentMethodsInitialized:t.paymentMethodsInitialized(),expressPaymentMethodsInitialized:t.expressPaymentMethodsInitialized(),availableExpressPaymentMethods:t.getAvailableExpressPaymentMethods(),availablePaymentMethods:t.getAvailablePaymentMethods()}}),l=Object.values(a).map(e=>{let{name:t}=e;return t}),u=Object.values(i).map(e=>{let{name:t}=e;return t}),d=Object(c.getPaymentMethods)(),b=Object(c.getExpressPaymentMethods)(),m=Object.keys(d).reduce((e,t)=>(l.includes(t)&&(e[t]=d[t]),e),{}),g=Object.keys(b).reduce((e,t)=>(u.includes(t)&&(e[t]=b[t]),e),{}),h=Object(s.a)(m),p=Object(s.a)(g);return{paymentMethods:e?p:h,isInitialized:e?n:t}},i=()=>a(!1),l=()=>a(!0)},450:function(e,t){},451:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s=n(3),c=n(6),r=n(73),o=n(313);const a=()=>{const{isCalculating:e,isBeforeProcessing:t,isProcessing:n,isAfterProcessing:a,isComplete:i,hasError:l}=Object(c.useSelect)(e=>{const t=e(s.CHECKOUT_STORE_KEY);return{isCalculating:t.isCalculating(),isBeforeProcessing:t.isBeforeProcessing(),isProcessing:t.isProcessing(),isAfterProcessing:t.isAfterProcessing(),isComplete:t.isComplete(),hasError:t.hasError()}}),{activePaymentMethod:u,isExpressPaymentMethodActive:d}=Object(c.useSelect)(e=>{const t=e(s.PAYMENT_STORE_KEY);return{activePaymentMethod:t.getActivePaymentMethod(),isExpressPaymentMethodActive:t.isExpressPaymentMethodActive()}}),{onSubmit:b}=Object(r.b)(),{paymentMethods:m={}}=Object(o.b)(),g=n||a||t,h=i&&!l;return{paymentMethodButtonLabel:(m[u]||{}).placeOrderButtonLabel,onSubmit:b,isCalculating:e,isDisabled:n||d,waitingForProcessing:g,waitingForRedirect:h}}},521:function(e,t,n){"use strict";n.r(t);var s=n(0),c=n(1),r=n(5),o=n.n(r),a=n(11),i=n(451),l=n(10),u=n(6),d=n(3),b=n(55);const m=b.k?`<a href="${b.k}" target="_blank">${Object(c.__)("Terms and Conditions","woocommerce")}</a>`:Object(c.__)("Terms and Conditions","woocommerce"),g=b.g?`<a href="${b.g}" target="_blank">${Object(c.__)("Privacy Policy","woocommerce")}</a>`:Object(c.__)("Privacy Policy","woocommerce"),h=Object(c.sprintf)(
/* translators: %1$s terms page link, %2$s privacy page link. */
Object(c.__)("By proceeding with your purchase you agree to our %1$s and %2$s","woocommerce"),m,g),p=Object(c.sprintf)(
/* translators: %1$s terms page link, %2$s privacy page link. */
Object(c.__)("You must accept our %1$s and %2$s to continue with your purchase.","woocommerce"),m,g);n(450),t.default=Object(l.withInstanceId)(e=>{let{text:t,checkbox:n,instanceId:r,className:l}=e;const[b,m]=Object(s.useState)(!1),{isDisabled:g}=Object(i.a)(),O="terms-and-conditions-"+r,{setValidationErrors:y,clearValidationError:j}=Object(u.useDispatch)(d.VALIDATION_STORE_KEY),P=Object(u.useSelect)(e=>e(d.VALIDATION_STORE_KEY).getValidationError(O)),_=!(null==P||!P.message||null!=P&&P.hidden);return Object(s.useEffect)(()=>{if(n)return b?j(O):y({[O]:{message:Object(c.__)("Please read and accept the terms and conditions.","woocommerce"),hidden:!0}}),()=>{j(O)}},[n,b,O,j,y]),Object(s.createElement)("div",{className:o()("wc-block-checkout__terms",{"wc-block-checkout__terms--disabled":g},l)},n?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(a.CheckboxControl,{id:"terms-and-conditions",checked:b,onChange:()=>m(e=>!e),hasError:_,disabled:g},Object(s.createElement)("span",{dangerouslySetInnerHTML:{__html:t||p}}))):Object(s.createElement)("span",{dangerouslySetInnerHTML:{__html:t||h}}))})}}]);
@@ -0,0 +1 @@
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[55],{435:function(e,c,t){"use strict";var n=t(0),s=t(5),a=t.n(s);const r=Object(n.forwardRef)((e,c)=>{let{children:t,className:s=""}=e;return Object(n.createElement)("div",{ref:c,className:a()("wc-block-components-sidebar",s)},t)});c.a=r},454:function(e,c){},479:function(e,c,t){"use strict";t.r(c);var n=t(0),s=t(5),a=t.n(s),r=t(435);t(454),c.default=e=>{let{children:c,className:t}=e;return Object(n.createElement)(r.a,{className:a()("wc-block-checkout__sidebar",t)},c)}}}]);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '08d2c4084f4ebeab50a2103ceebe3da5');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '4749f80c65321ee2c3e01e2fe20bcfc4');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,53 @@
{
"name": "woocommerce/checkout",
"version": "1.0.0",
"title": "Checkout",
"description": "Display a checkout form so your customers can submit orders.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"align": [ "wide" ],
"html": false,
"multiple": false
},
"example": {
"attributes": {
"isPreview": true
},
"viewportWidth": 800
},
"attributes": {
"isPreview": {
"type": "boolean",
"default": false,
"save": false
},
"showCompanyField": {
"type": "boolean",
"default": false
},
"requireCompanyField": {
"type": "boolean",
"default": false
},
"showApartmentField": {
"type": "boolean",
"default": true
},
"showPhoneField": {
"type": "boolean",
"default": true
},
"requirePhoneField": {
"type": "boolean",
"default": false
},
"align": {
"type": "string",
"default": "wide"
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wc-settings', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '94d05b229f35ae363d8f197c06c1518b');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,35 @@
{
"name": "woocommerce/customer-account",
"version": "1.0.0",
"title": "Customer account",
"description": "A block that allows your customers to log in and out of their accounts in your store.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"align": true,
"color": {
"text": true
},
"typography": {
"fontSize": true,
"__experimentalFontFamily": true
}
},
"attributes": {
"displayStyle": {
"type": "string",
"default": "icon_and_text"
},
"iconStyle": {
"type": "string",
"default": "default"
},
"iconClass": {
"type": "string",
"default": "icon"
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '095504284ed813df63a20500ba53466d');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,108 @@
{
"name": "woocommerce/featured-category",
"version": "1.0.0",
"title": "Featured Category",
"category": "woocommerce",
"keywords": [
"WooCommerce"
],
"description": "Visually highlight a product category and encourage prompt action.",
"supports": {
"align": [
"wide",
"full"
],
"html": false,
"color": {
"background": true,
"text": true
},
"spacing": {
"padding": true,
"__experimentalDefaultControls": {
"padding": true
},
"__experimentalSkipSerialization": true
},
"__experimentalBorder": {
"color": true,
"radius": true,
"width": true,
"__experimentalSkipSerialization": true
}
},
"attributes": {
"alt": {
"type": "string",
"default": ""
},
"contentAlign": {
"type": "string",
"default": "center"
},
"dimRatio": {
"type": "number",
"default": 50
},
"editMode": {
"type": "boolean",
"default": true
},
"focalPoint": {
"type": "object",
"default": {
"x": 0.5,
"y": 0.5
}
},
"imageFit": {
"type": "string",
"default": "none"
},
"hasParallax": {
"type": "boolean",
"default": false
},
"isRepeated": {
"type": "boolean",
"default": false
},
"mediaId": {
"type": "number",
"default": 0
},
"mediaSrc": {
"type": "string",
"default": ""
},
"minHeight": {
"type": "number",
"default": 500
},
"linkText": {
"default": "Shop now",
"type": "string"
},
"categoryId": {
"type": "number"
},
"overlayColor": {
"type": "string",
"default": "#000000"
},
"overlayGradient": {
"type": "string"
},
"previewCategory": {
"type": "object",
"default": null
},
"showDesc": {
"type": "boolean",
"default": true
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '21ce6387c6892a5b173aa23bb5a90de7');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,108 @@
{
"name": "woocommerce/featured-product",
"version": "1.0.0",
"title": "Featured Product",
"description": "Highlight a product or variation.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"align": [ "wide", "full" ],
"html": false,
"color": {
"background": true,
"text": true
},
"spacing": {
"padding": true,
"__experimentalDefaultControls": {
"padding": true
},
"__experimentalSkipSerialization": true
},
"__experimentalBorder": {
"color": true,
"radius": true,
"width": true,
"__experimentalSkipSerialization": true
},
"multiple": true
},
"attributes": {
"alt": {
"type": "string",
"default": ""
},
"contentAlign": {
"type": "string",
"default": "center"
},
"dimRatio": {
"type": "number",
"default": 50
},
"editMode": {
"type": "boolean",
"default": true
},
"focalPoint": {
"type": "object",
"default": {
"x": 0.5,
"y": 0.5
}
},
"imageFit": {
"type": "string",
"default": "none"
},
"hasParallax": {
"type": "boolean",
"default": false
},
"isRepeated": {
"type": "boolean",
"default": false
},
"mediaId": {
"type": "number",
"default": 0
},
"mediaSrc": {
"type": "string",
"default": ""
},
"minHeight": {
"type": "number",
"default": 500
},
"linkText": {
"type": "string",
"default": "Shop now"
},
"overlayColor": {
"type": "string",
"default": "#000000"
},
"overlayGradient": {
"type": "string"
},
"productId": {
"type": "number"
},
"previewProduct": {
"type": "object",
"default": null
},
"showDesc": {
"type": "boolean",
"default": true
},
"showPrice": {
"type": "boolean",
"default": true
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-blocks-checkout', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-price-format', 'wc-settings', 'wp-a11y', 'wp-block-editor', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'c418467858dcf7bf58ea4bfec94fc0f1');
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '4a944ad1391da03f25bbfabed9c99920');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,18 @@
{
"name": "woocommerce/filter-wrapper",
"version": "1.0.0",
"title": "Filter Block",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"attributes": {
"filterType": {
"type": "string"
},
"heading": {
"type": "string"
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-escape-html', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => 'f9fd54d6bb46ae72d112eca0eb009ec6');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,80 @@
{
"name": "woocommerce/handpicked-products",
"title": "Hand-picked Products",
"category": "woocommerce",
"keywords": [ "Handpicked Products", "WooCommerce" ],
"description": "Display a selection of hand-picked products in a grid.",
"supports": {
"align": [ "wide", "full" ],
"html": false
},
"attributes": {
"align": {
"type": "string"
},
"columns": {
"type": "number",
"default": 3
},
"contentVisibility": {
"type": "object",
"default": {
"image": true,
"title": true,
"price": true,
"rating": true,
"button": true
},
"properties": {
"image": {
"type": "boolean",
"image": true
},
"title": {
"type": "boolean",
"title": true
},
"price": {
"type": "boolean",
"price": true
},
"rating": {
"type": "boolean",
"rating": true
},
"button": {
"type": "boolean",
"button": true
}
}
},
"orderby": {
"type": "string",
"enum": [
"date",
"popularity",
"price_asc",
"price_desc",
"rating",
"title",
"menu_order"
],
"default": "date"
},
"products": {
"type": "array",
"default": []
},
"alignButtons": {
"type": "boolean",
"default": false
},
"isPreview": {
"type": "boolean",
"default": false
}
},
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}
@@ -0,0 +1,18 @@
{
"name": "woocommerce/cart-accepted-payment-methods-block",
"version": "1.0.0",
"title": "Accepted Payment Methods",
"description": "Display accepted payment methods.",
"category": "woocommerce",
"supports": {
"align": false,
"html": false,
"multiple": false,
"reusable": false,
"inserter": true
},
"parent": [ "woocommerce/cart-totals-block" ],
"textdomain": "woocommerce",
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2
}
@@ -0,0 +1,18 @@
{
"name": "woocommerce/cart-cross-sells-block",
"version": "1.0.0",
"title": "Cart Cross-Sells",
"description": "Shows the Cross-Sells block.",
"category": "woocommerce",
"supports": {
"align": false,
"html": false,
"multiple": false,
"reusable": false,
"inserter": true
},
"parent": [ "woocommerce/cart-items-block" ],
"textdomain": "woocommerce",
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2
}
@@ -0,0 +1,32 @@
{
"name": "woocommerce/cart-cross-sells-products-block",
"version": "1.0.0",
"title": "Cart Cross-Sells Products",
"description": "Shows the Cross-Sells products.",
"category": "woocommerce",
"supports": {
"align": false,
"html": false,
"multiple": false,
"reusable": false,
"inserter": false,
"lock": false
},
"attributes": {
"columns": {
"type": "number",
"default": 3
},
"lock": {
"type": "object",
"default": {
"remove": true,
"move": true
}
}
},
"parent": [ "woocommerce/cart-cross-sells-block" ],
"textdomain": "woocommerce",
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2
}

Some files were not shown because too many files have changed in this diff Show More