(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[68],{114:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n(103);var c=n(44);const s=()=>c.m>1},136:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return b}));var c=n(70),s=n(114),r=n(52),a=n(61);const o=t=>Object(r.a)(t)?JSON.parse(t)||{}:Object(a.a)(t)?t:{},l=t=>{if(!Object(s.a)()||"function"!=typeof c.__experimentalGetSpacingClassesAndStyles)return{style:{}};const e=Object(a.a)(t)?t:{},n=o(e.style);return Object(c.__experimentalGetSpacingClassesAndStyles)({...e,style:n})},u=t=>{const e=Object(a.a)(t)?t:{},n=o(e.style),c=Object(a.a)(n.typography)?n.typography:{};return{style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:c.fontSize,lineHeight:c.lineHeight,fontWeight:c.fontWeight,textTransform:c.textTransform,fontFamily:e.fontFamily}}},i=t=>{if(!Object(s.a)())return{className:"",style:{}};const e=Object(a.a)(t)?t:{},n=o(e.style);return Object(c.__experimentalUseColorProps)({...e,style:n})},b=t=>{if(!Object(s.a)())return{className:"",style:{}};const e=Object(a.a)(t)?t:{},n=o(e.style);return Object(c.__experimentalUseBorderProps)({...e,style:n})}},353:function(t,e){},405:function(t,e,n){"use strict";n.r(e);var c=n(0),s=n(1),r=n(4),a=n.n(r),o=n(43),l=n(6),u=n(120),i=(n(353),n(136));e.default=Object(u.withProductDataContext)(t=>{const{className:e}=t,{parentClassName:n}=Object(o.useInnerBlockLayoutContext)(),{product:r}=Object(o.useProductDataContext)(),u=Object(i.b)(t),b=Object(i.d)(t);return Object(l.isEmpty)(r.tags)?null:Object(c.createElement)("div",{className:a()(e,u.className,"wc-block-components-product-tag-list",{[n+"__product-tag-list"]:n}),style:{...u.style,...b.style}},Object(s.__)("Tags:","woocommerce")," ",Object(c.createElement)("ul",null,Object.values(r.tags).map(t=>{let{name:e,link:n,slug:s}=t;return Object(c.createElement)("li",{key:"tag-list-item-"+s},Object(c.createElement)("a",{href:n},e))})))})},61:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s}));const c=t=>!(t=>null===t)(t)&&t instanceof Object&&t.constructor===Object;function s(t,e){return c(t)&&e in t}}}]); (window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[19],{198:function(e,t){},246:function(e,t,s){"use strict";s.d(t,"b",(function(){return l})),s.d(t,"a",(function(){return o}));var c=s(0),a=s(13),i=s(4),r=s.n(i);const n=Object(c.createContext)({hasContainerWidth:!1,containerClassName:"",isMobile:!1,isSmall:!1,isMedium:!1,isLarge:!1}),l=()=>Object(c.useContext)(n),o=e=>{let{children:t,className:s=""}=e;const[i,l]=(()=>{const[e,{width:t}]=Object(a.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(c.createElement)(n.Provider,{value:o},Object(c.createElement)("div",{className:r()(s,l)},i,t))}},249:function(e,t,s){"use strict";var c=s(0),a=s(4),i=s.n(a),r=s(246);s(198),t.a=e=>{let{children:t,className:s}=e;return Object(c.createElement)(r.a,{className:i()("wc-block-components-sidebar-layout",s)},t)}},412:function(e,t,s){"use strict";s.r(t);var c=s(0),a=s(4),i=s.n(a),r=s(249),n=s(31),l=s(18),o=s(7),m=s(145);t.default=e=>{let{children:t,className:s}=e;const{cartItems:a,cartIsLoading:u,cartItemErrors:b}=Object(n.a)(),{hasDarkControls:d}=Object(m.b)(),{createErrorNotice:h}=Object(o.useDispatch)("core/notices");return Object(c.useEffect)(()=>{b.forEach(e=>{h(Object(l.decodeEntities)(e.message),{isDismissible:!0,id:e.code,context:"wc/cart"})})},[h,b]),u||a.length>=1?Object(c.createElement)(r.a,{className:i()("wc-block-cart",s,{"has-dark-controls":d})},t):null}}}]);// // Typography // -------------------------------------------------- // Headings // ------------------------- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: @headings-font-family; font-weight: @headings-font-weight; line-height: @headings-line-height; color: @headings-color; small, .small { font-weight: normal; line-height: 1; color: @headings-small-color; } } h1, .h1, h2, .h2, h3, .h3 { margin-top: @line-height-computed; margin-bottom: (@line-height-computed / 2); small, .small { font-size: 65%; } } h4, .h4, h5, .h5, h6, .h6 { margin-top: (@line-height-computed / 2); margin-bottom: (@line-height-computed / 2); small, .small { font-size: 75%; } } h1, .h1 { font-size: @font-size-h1; } h2, .h2 { font-size: @font-size-h2; } h3, .h3 { font-size: @font-size-h3; } h4, .h4 { font-size: @font-size-h4; } h5, .h5 { font-size: @font-size-h5; } h6, .h6 { font-size: @font-size-h6; } // Body text // ------------------------- p { margin: 0 0 (@line-height-computed / 2); } .lead { margin-bottom: @line-height-computed; font-size: floor((@font-size-base * 1.15)); font-weight: 300; line-height: 1.4; @media (min-width: @screen-sm-min) { font-size: (@font-size-base * 1.5); } } // Emphasis & misc // ------------------------- // Ex: 14px base font * 85% = about 12px small, .small { font-size: 85%; } // Undo browser default styling cite { font-style: normal; } mark, .mark { background-color: @state-warning-bg; padding: .2em; } // Alignment .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } // Contextual colors .text-muted { color: @text-muted; } .text-primary { .text-emphasis-variant(@brand-primary); } .text-success { .text-emphasis-variant(@state-success-text); } .text-info { .text-emphasis-variant(@state-info-text); } .text-warning { .text-emphasis-variant(@state-warning-text); } .text-danger { .text-emphasis-variant(@state-danger-text); } // Contextual backgrounds // For now we'll leave these alongside the text classes until v4 when we can // safely shift things around (per SemVer rules). .bg-primary { // Given the contrast here, this is the only class to have its color inverted // automatically. color: #fff; .bg-variant(@brand-primary); } .bg-success { .bg-variant(@state-success-bg); } .bg-info { .bg-variant(@state-info-bg); } .bg-warning { .bg-variant(@state-warning-bg); } .bg-danger { .bg-variant(@state-danger-bg); } // Page header // ------------------------- .page-header { padding-bottom: ((@line-height-computed / 2) - 1); margin: (@line-height-computed * 2) 0 @line-height-computed; border-bottom: 1px solid @page-header-border-color; } // Lists // ------------------------- // Unordered and Ordered lists ul, ol { margin-top: 0; margin-bottom: (@line-height-computed / 2); ul, ol { margin-bottom: 0; } } // List options // Unstyled keeps list items block level, just removes default browser padding and list-style .list-unstyled { padding-left: 0; list-style: none; } // Inline turns list items into inline-block .list-inline { .list-unstyled(); margin-left: -5px; > li { display: inline-block; padding-left: 5px; padding-right: 5px; } } // Description Lists dl { margin-top: 0; // Remove browser default margin-bottom: @line-height-computed; } dt, dd { line-height: @line-height-base; } dt { font-weight: bold; } dd { margin-left: 0; // Undo browser default } // Horizontal description lists // // Defaults to being stacked without any of the below styles applied, until the // grid breakpoint is reached (default of ~768px). .dl-horizontal { dd { &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present } @media (min-width: @grid-float-breakpoint) { dt { float: left; width: (@component-offset-horizontal - 20); clear: left; text-align: right; .text-overflow(); } dd { margin-left: @component-offset-horizontal; } } } // Misc // ------------------------- // Abbreviations and acronyms abbr[title], // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257 abbr[data-original-title] { cursor: help; border-bottom: 1px dotted @abbr-border-color; } .initialism { font-size: 90%; text-transform: uppercase; } // Blockquotes blockquote { padding: (@line-height-computed / 2) @line-height-computed; margin: 0 0 @line-height-computed; font-size: @blockquote-font-size; border-left: 5px solid @blockquote-border-color; p, ul, ol { &:last-child { margin-bottom: 0; } } // Note: Deprecated small and .small as of v3.1.0 // Context: https://github.com/twbs/bootstrap/issues/11660 footer, small, .small { display: block; font-size: 80%; // back to default font-size line-height: @line-height-base; color: @blockquote-small-color; &:before { content: '\2014 \00A0'; // em dash, nbsp } } } // Opposite alignment of blockquote // // Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0. .blockquote-reverse, blockquote.pull-right { padding-right: 15px; padding-left: 0; border-right: 5px solid @blockquote-border-color; border-left: 0; text-align: right; // Account for citation footer, small, .small { &:before { content: ''; } &:after { content: '\00A0 \2014'; // nbsp, em dash } } } // Quotes blockquote:before, blockquote:after { content: ""; } // Addresses address { margin-bottom: @line-height-computed; font-style: normal; line-height: @line-height-base; } /** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Placeholder } from '@wordpress/components'; import { Icon, commentContent } from '@wordpress/icons'; const NoReviewsPlaceholder = () => { return ( } label={ __( 'Reviews by Category', 'woocommerce' ) } > { __( 'This block lists reviews for products from selected categories. The selected categories do not have any reviews yet, but they will show up here when they do.', 'woocommerce' ) } ); }; export default NoReviewsPlaceholder; .vc_placeholder { width: 100% !important; background: transparent url(@vc_placeholder_pattern); margin-top: 5px; margin-bottom: 5px; &-row { padding: 0; margin: 0 0 35px 0; background: transparent url(@vc_placeholder_pattern); height: 50px; } &-column { background: transparent url(@vc_placeholder_pattern); float: left; } &-tab { background: transparent url(@vc_placeholder_pattern); } } .vc_param_group-list { .vc_placeholder { height: 24px; margin-bottom: 15px; } }