Submit
Path:
~
/
home
/
getwphos
/
www
/
techniquetechs
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
File Content:
product-collection.js
(()=>{var e,t,o,r={3739:(e,t,o)=>{"use strict";o.r(t);const r=window.wp.blocks,c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-collection","version":"1.0.0","title":"Product Collection","description":"Display a collection of products from your store.","category":"woocommerce","keywords":["WooCommerce","Products (Beta)","all products","by category","by tag","by attribute"],"textdomain":"woocommerce","attributes":{"queryId":{"type":"number"},"query":{"type":"object"},"tagName":{"type":"string"},"displayLayout":{"type":"object"},"dimensions":{"type":"object"},"convertedFromProducts":{"type":"boolean","default":false},"collection":{"type":"string"},"hideControls":{"default":[],"type":"array"},"queryContextIncludes":{"type":"array"},"forcePageReload":{"type":"boolean","default":false},"__privatePreviewState":{"type":"object"}},"providesContext":{"queryId":"queryId","query":"query","displayLayout":"displayLayout","dimensions":"dimensions","queryContextIncludes":"queryContextIncludes","collection":"collection","__privateProductCollectionPreviewState":"__privatePreviewState"},"usesContext":["templateSlug","postId"],"supports":{"align":["wide","full"],"anchor":true,"html":false,"__experimentalLayout":true,"interactivity":true}}');var n=o(1609);const l=window.wp.blockEditor;var a=o(6087);const i=window.wp.data,s=window.wp.coreData;let u=function(e){return e.Product="product",e.Archive="archive",e.Cart="cart",e.Order="order",e.Site="site",e}({});const m="single-product",d="taxonomy-product_cat",p="taxonomy-product_tag",_=async(e,t,o,r)=>{var c,n;r((c=await(0,i.resolveSelect)(s.store).getEntityRecords(e,t,{_fields:["id"],slug:o}))&&c.length&&null!==(n=c[0])&&void 0!==n&&n.id?c[0].id:null)},g=(e,t={})=>({type:e,sourceData:t}),w=window.wp.components;let h=function(e){return e.COLLECTION_PICKER="collection_chooser",e.PRODUCT_REFERENCE_PICKER="product_context_picker",e.VALID_WITH_PREVIEW="uses_reference_preview_mode",e.VALID="valid",e.DELETED_PRODUCT_REFERENCE="deleted_product_reference",e}({}),E=function(e){return e.GRID="flex",e.STACK="list",e}({}),b=function(e){return e.FILL="fill",e.FIXED="fixed",e}({}),y=function(e){return e.IN="in",e.NOT_IN="not-in",e}({}),v=function(e){return e.PRODUCT_CATALOG="woocommerce/product-collection/product-catalog",e.BEST_SELLERS="woocommerce/product-collection/best-sellers",e.FEATURED="woocommerce/product-collection/featured",e.NEW_ARRIVALS="woocommerce/product-collection/new-arrivals",e.ON_SALE="woocommerce/product-collection/on-sale",e.TOP_RATED="woocommerce/product-collection/top-rated",e.HAND_PICKED="woocommerce/product-collection/hand-picked",e.RELATED="woocommerce/product-collection/related",e.UPSELLS="woocommerce/product-collection/upsells",e.CROSS_SELLS="woocommerce/product-collection/cross-sells",e}({}),f=function(e){return e.ATTRIBUTES="attributes",e.CREATED="created",e.FEATURED="featured",e.HAND_PICKED="hand-picked",e.INHERIT="inherit",e.KEYWORD="keyword",e.ON_SALE="on-sale",e.ORDER="order",e.DEFAULT_ORDER="default-order",e.STOCK_STATUS="stock-status",e.TAXONOMY="taxonomy",e.PRICE_RANGE="price-range",e.FILTERABLE="filterable",e.PRODUCTS_PER_PAGE="products-per-page",e.MAX_PAGES_TO_SHOW="max-pages-to-show",e.OFFSET="offset",e.RELATED_BY="related-by",e}({});var C=o(7723),k=o(4922),S=o.n(k);S()("wc-admin:tracks:stats");const A=S()("wc-admin:tracks");function R(e,t){if(A("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}var P=o(9491);const I=window.wc.wcBlocksRegistry;var T=o(7104),x=o(9744);const O=window.wc.wcSettings;let L=function(e){return e.SINGLE="single",e.THUMBNAIL="thumbnail",e}({});const N=`${c.name}/product-title`,D=(0,O.getSetting)("stockStatusOptions",[]),B=(0,O.getSetting)("hideOutOfStockItems",!1),F=()=>B?Object.keys(function(e,t){const{[t]:o,...r}=e;return r}(D,"outofstock")):Object.keys(D),q={perPage:9,pages:0,offset:0,postType:"product",order:"asc",orderBy:"title",search:"",exclude:[],inherit:!1,taxQuery:{},isProductCollectionBlock:!0,featured:!1,woocommerceOnSale:!1,woocommerceStockStatus:F(),woocommerceAttributes:[],woocommerceHandPickedProducts:[],timeFrame:void 0,priceRange:void 0,filterable:!1,relatedBy:{categories:!0,tags:!0}},M={query:q,tagName:"div",displayLayout:{type:E.GRID,columns:3,shrinkColumns:!0},dimensions:{widthType:b.FILL},queryContextIncludes:["collection"],forcePageReload:!1},V={woocommerceOnSale:q.woocommerceOnSale,woocommerceStockStatus:q.woocommerceStockStatus,woocommerceAttributes:q.woocommerceAttributes,woocommerceHandPickedProducts:q.woocommerceHandPickedProducts,taxQuery:q.taxQuery,featured:q.featured,timeFrame:q.timeFrame,priceRange:q.priceRange},U=["woocommerce/product-template",{},[["woocommerce/product-image",{imageSizing:L.THUMBNAIL}],["core/post-title",{textAlign:"center",level:3,fontSize:"medium",style:{spacing:{margin:{bottom:"0.75rem",top:"0"}}},isLink:!0,__woocommerceNamespace:N}],["woocommerce/product-price",{textAlign:"center",fontSize:"small"}],["woocommerce/product-button",{textAlign:"center",fontSize:"small"}]]],H="core/query-pagination",$=[U,[H,{layout:{type:"flex",justifyContent:"center"}}],["woocommerce/product-collection-no-results"]],G={name:v.BEST_SELLERS,title:(0,C.__)("Best Sellers","woocommerce"),icon:(0,n.createElement)(T.A,{icon:x.A}),description:(0,C.__)("Recommend your best-selling products.","woocommerce"),keywords:["best selling"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"popularity",order:"desc",perPage:5,pages:1},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Best selling products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var j=o(8635);const W={name:v.CROSS_SELLS,title:(0,C.__)("Cross-Sells","woocommerce"),icon:(0,n.createElement)(T.A,{icon:j.A}),description:(0,C.__)("By suggesting complementary products in the cart using cross-sells, you can significantly increase the average order value.","woocommerce"),keywords:["boost","promotion"],scope:["inserter","block"],usesReference:["product","cart","order"],attributes:{displayLayout:{type:"flex",columns:4,shrinkColumns:!0},query:{perPage:8,pages:1},hideControls:[f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("You may be interested in…","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var Q=o(43);const K={name:v.FEATURED,title:(0,C.__)("Featured Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:Q.A}),description:(0,C.__)("Showcase your featured products.","woocommerce"),keywords:[],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{featured:!0,perPage:5,pages:1},hideControls:[f.FEATURED,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Featured products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var z=o(5573);const Z=(0,n.createElement)(z.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(z.Path,{d:"M8.85074 4.8213L7.64702 3.92627L5.56365 6.72818L4.44959 5.89735L3.55286 7.0998L5.87107 8.82862L8.85074 4.8213Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M20 7.75004H11.1111V6.25004H20V7.75004Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M20 12.75H11.1111V11.25H20V12.75Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 14C7.10457 14 8 13.1046 8 12C8 10.8955 7.10457 10 6 10C4.89543 10 4 10.8955 4 12C4 13.1046 4.89543 14 6 14ZM6 13C6.55229 13 7 12.5523 7 12C7 11.4478 6.55229 11 6 11C5.44772 11 5 11.4478 5 12C5 12.5523 5.44772 13 6 13Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 17C8 18.1046 7.10457 19 6 19C4.89543 19 4 18.1046 4 17C4 15.8955 4.89543 15 6 15C7.10457 15 8 15.8955 8 17ZM7 17C7 17.5523 6.55229 18 6 18C5.44772 18 5 17.5523 5 17C5 16.4478 5.44772 16 6 16C6.55229 16 7 16.4478 7 17Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M11.1111 17.75H20V16.25H11.1111V17.75Z",fill:"currentColor"})),Y={name:v.HAND_PICKED,title:(0,C.__)("Hand-Picked Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:Z}),description:(0,C.__)("Select specific products to recommend to customers.","woocommerce"),keywords:["specific","choose","recommend","handpicked","hand picked"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"post__in"},hideControls:[f.HAND_PICKED,f.FILTERABLE,f.ORDER]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Recommended products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U,["core/query-pagination",{layout:{type:"flex",justifyContent:"center"}}]]};var X=o(9948);const J={name:v.NEW_ARRIVALS,title:(0,C.__)("New Arrivals","woocommerce"),icon:(0,n.createElement)(T.A,{icon:X.A}),description:(0,C.__)("Recommend your newest products.","woocommerce"),keywords:["newest"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"date",order:"desc",perPage:5,pages:1,timeFrame:{operator:y.IN,value:"-7 days"}},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("New arrivals","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var ee=o(1173);const te={name:v.ON_SALE,title:(0,C.__)("On Sale Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ee.A}),description:(0,C.__)("Highlight products that are currently on sale.","woocommerce"),keywords:["discount","promotion","onsale"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{woocommerceOnSale:!0,perPage:5,pages:1},hideControls:[f.ON_SALE,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("On sale products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var oe=o(4552);const re={name:v.PRODUCT_CATALOG,title:(0,C.__)("Product Catalog","woocommerce"),icon:(0,n.createElement)(T.A,{icon:oe.A}),description:"Display all products in your catalog. Results can (change to) match the current template, page, or search term.",keywords:["all products"],scope:[],innerBlocks:$},ce={name:v.RELATED,title:(0,C.__)("Related Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:oe.A}),description:(0,C.__)("Recommend products like this one.","woocommerce"),keywords:[],scope:["inserter","block"],usesReference:["product"],attributes:{displayLayout:{type:E.GRID,columns:4,shrinkColumns:!0},query:{perPage:4,pages:1}},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Related Products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var ne=o(846);const le={name:v.TOP_RATED,title:(0,C.__)("Top Rated Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ne.A}),description:(0,C.__)("Recommend products with the highest review ratings.","woocommerce"),keywords:[],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"rating",order:"desc",perPage:5,pages:1},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Top rated products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]};var ae=o(9093);const ie=[re,K,J,te,G,le,Y,ce,{name:v.UPSELLS,title:(0,C.__)("Upsells","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ae.A}),description:(0,C.__)("Upsells are typically products that are extra profitable or better quality or more expensive. Experiment with combinations to boost sales.","woocommerce"),keywords:["boost","promotion"],scope:["inserter","block"],usesReference:["product","cart","order"],attributes:{displayLayout:{type:"flex",columns:4,shrinkColumns:!0},query:{perPage:8,pages:1},hideControls:[f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("You may also like","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],U]},W],se=e=>e?(0,i.select)(r.store).getBlockVariations(c.name).find((({name:t})=>t===e)):null,ue=window.wp.hooks,me=window.wp.url,de=window.wp.apiFetch;var pe,_e,ge,we,he,Ee,be,ye,ve,fe,Ce=o.n(de);const ke=(0,O.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),Se=ke.pluginUrl+"assets/images/",Ae=(ke.pluginUrl,null===(pe=O.STORE_PAGES.shop)||void 0===pe||pe.permalink,null===(_e=O.STORE_PAGES.checkout)||void 0===_e||_e.id,null===(ge=O.STORE_PAGES.checkout)||void 0===ge||ge.permalink,null===(we=O.STORE_PAGES.privacy)||void 0===we||we.permalink,null===(he=O.STORE_PAGES.privacy)||void 0===he||he.title,null===(Ee=O.STORE_PAGES.terms)||void 0===Ee||Ee.permalink,null===(be=O.STORE_PAGES.terms)||void 0===be||be.title,null===(ye=O.STORE_PAGES.cart)||void 0===ye||ye.id,null===(ve=O.STORE_PAGES.cart)||void 0===ve||ve.permalink,null!==(fe=O.STORE_PAGES.myaccount)&&void 0!==fe&&fe.permalink?O.STORE_PAGES.myaccount.permalink:(0,O.getSetting)("wpLoginUrl","/wp-login.php"),(0,O.getSetting)("localPickupEnabled",!1),(0,O.getSetting)("shippingMethodsExist",!1),(0,O.getSetting)("shippingEnabled",!0),(0,O.getSetting)("countries",{})),Re=(0,O.getSetting)("countryData",{}),Pe=(Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowBilling)).map((e=>[e,Ae[e]||""]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowBilling)).map((e=>[e,Re[e].states||{}]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowShipping)).map((e=>[e,Ae[e]||""]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowShipping)).map((e=>[e,Re[e].states||{}]))),Object.fromEntries(Object.keys(Re).map((e=>[e,Re[e].locale||{}]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]}),Ie=((0,O.getSetting)("addressFieldsLocations",Pe).address,(0,O.getSetting)("addressFieldsLocations",Pe).contact,(0,O.getSetting)("addressFieldsLocations",Pe).order,(0,O.getSetting)("additionalOrderFields",{}),(0,O.getSetting)("additionalContactFields",{}),(0,O.getSetting)("additionalAddressFields",{}),(e,t)=>{const o=new Map;return e.filter((e=>{const r=t(e);return!o.has(r)&&(o.set(r,e),!0)}))}),Te=({selected:e=[],search:t="",queryArgs:o={}})=>{const r=(({selected:e=[],search:t="",queryArgs:o={}})=>{const r=ke.productCount>100,c={per_page:r?100:0,catalog_visibility:"any",search:t,orderby:"title",order:"asc"},n=[(0,me.addQueryArgs)("/wc/store/v1/products",{...c,...o})];return r&&e.length&&n.push((0,me.addQueryArgs)("/wc/store/v1/products",{catalog_visibility:"any",include:e,per_page:0})),n})({selected:e,search:t,queryArgs:o});return Promise.all(r.map((e=>Ce()({path:e})))).then((e=>{const t=e.flat(),o=Ie(t,(e=>e.id));return o.map((e=>({...e,parent:0})))})).catch((e=>{throw e}))},xe=e=>Ce()({path:`wc/store/v1/products/attributes/${e}/terms`});function Oe(e,t){const{query:o}=e.attributes;e.setAttributes({query:{...o,...t}})}const Le=()=>{var e;const t=null===(e=(0,i.select)("core/edit-site"))||void 0===e?void 0:e.getEditedPostId();return!!t&&["woocommerce/woocommerce//archive-product","woocommerce/woocommerce//taxonomy-product_attribute","woocommerce/woocommerce//product-search-results","//taxonomy-product_cat","//taxonomy-product_tag"].some((e=>t.includes(e)))},Ne=e=>{const{getBlocksByName:t,getBlock:o}=(0,i.select)(l.store);return!t("woocommerce/product-collection").find((t=>{var r;return null===(r=o(t).attributes)||void 0===r||null===(r=r.query)||void 0===r?void 0:r[e]}))};function De(){return!!Le()&&Ne("inherit")}function Be(){return!Le()&&Ne("filterable")}const Fe=()=>M.displayLayout,qe=(e,t,o)=>{const n=se(e);n&&o(t,n.name===v.PRODUCT_CATALOG?(0,r.createBlock)(c.name,{...M,query:{...M.query,inherit:De(),filterable:Be()}},(0,r.createBlocksFromInnerBlocksTemplate)($)):(0,r.createBlock)(c.name,n.attributes,(0,r.createBlocksFromInnerBlocksTemplate)(n.innerBlocks)))},Me=({title:e,icon:t,description:o,onClick:r})=>(0,n.createElement)(w.Tooltip,{text:o,placement:"top"},(0,n.createElement)(w.Button,{className:"wc-blocks-product-collection__collection-button",onClick:r},(0,n.createElement)("div",{className:"wc-blocks-product-collection__collection-button-icon"},(0,n.createElement)(w.Icon,{icon:t})),(0,n.createElement)("p",{className:"wc-blocks-product-collection__collection-button-title"},e))),Ve=e=>{const{description:t,onClick:o}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-create"},(0,n.createElement)("span",null,(0,C.__)("or","woocommerce")),(0,n.createElement)(w.Tooltip,{text:t,placement:"top"},(0,n.createElement)(w.Button,{onClick:o},(0,C.__)("create your own","woocommerce"))))},Ue=e=>{const{onCollectionClick:t,catalogVariation:o,collectionVariations:r}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-grid"},(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-section"},r.map((({name:e,title:o,icon:r,description:c})=>(0,n.createElement)(Me,{key:e,title:o,description:c,icon:r,onClick:()=>t(e)})))),(0,n.createElement)(Ve,{title:o.title,description:o.description,icon:o.icon,onClick:()=>t(o.name)}))},He=e=>{const{onCollectionClick:t,catalogVariation:o,collectionVariations:r}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-dropdown"},(0,n.createElement)(w.Dropdown,{className:"wc-blocks-product-collection__collections-dropdown-toggle",contentClassName:"wc-blocks-product-collection__collections-dropdown-content",renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(w.Button,{variant:"secondary",onClick:t,"aria-expanded":e},(0,C.__)("Choose collection","woocommerce")),renderContent:()=>(0,n.createElement)(n.Fragment,null,r.map((({name:e,title:o,icon:r,description:c})=>(0,n.createElement)(Me,{key:e,title:o,description:c,icon:r,onClick:()=>t(e)}))))}),(0,n.createElement)(Ve,{title:o.title,description:o.description,icon:o.icon,onClick:()=>t(o.name)}))},$e=e=>{const t=(0,i.useSelect)((e=>{const{getBlockVariations:t}=e(r.store);return t(c.name)}),[]),o=(0,a.useMemo)((()=>t.find((({name:e})=>e===v.PRODUCT_CATALOG))),[t]),l=(0,a.useMemo)((()=>t.filter((({name:e,scope:t})=>e!==v.PRODUCT_CATALOG&&(void 0===t||(null==t?void 0:t.includes("block")))))),[t]),[s,{width:u}]=(0,P.useResizeObserver)();let m;return m=null!==u&&u>=600?Ue:He,(0,n.createElement)(n.Fragment,null,s,!!u&&(0,n.createElement)(m,{...e,catalogVariation:o,collectionVariations:l}))},Ge=e=>{const t=(0,l.useBlockProps)(),{clientId:o,tracksLocation:r}=e,{replaceBlock:c}=(0,i.useDispatch)(l.store);return(0,n.createElement)("div",{...t},(0,n.createElement)(w.Placeholder,{className:"wc-blocks-product-collection__placeholder",instructions:(0,C.__)("What products do you want to show?","woocommerce")},(0,n.createElement)($e,{onCollectionClick:e=>{R("blocks_product_collection_collection_chosen_from_placeholder",{collection:e,location:r}),qe(e,o,c)}})))};var je=o(458),We=o.n(je);const Qe="wc-blocks_upgraded-products-to-product-collection",Ke=()=>({status:"notseen",time:Date.now(),displayCount:0}),ze=window.wc.wcTypes,Ze=e=>"woocommerce/product-collection"===e.name&&e.attributes.convertedFromProducts,Ye=(e,t)=>{let o=[];return e.forEach((e=>{t(e)&&(o=[...o,e.clientId]),o=[...o,...Ye(e.innerBlocks,t)]})),o},Xe=(0,O.getSettingWithCoercion)("postTemplateHasSupportForGridView",!1,ze.isBoolean),Je=()=>{const e=window.localStorage.getItem(Qe);return e?JSON.parse(e):Ke()},et=e=>{window.localStorage.setItem(Qe,JSON.stringify(e))},tt=e=>"flex"===e?"grid":"list"===e?"default":"grid",ot=e=>{const{type:t,columns:o}=e;return{type:tt(t),columnCount:o}},rt=(e,t)=>{const o=e.map((e=>{const{name:o,attributes:c}=e,n=rt(e.innerBlocks);return(({name:e})=>"woocommerce/product-template"===e)(e)?((e,t,o)=>(0,r.createBlock)("core/post-template",{className:"products-block-post-template",layout:Xe?ot(o):void 0,__woocommerceNamespace:"woocommerce/product-query/product-template",...e.attributes},t))(e,n,t):(({name:e,attributes:t})=>"core/post-title"===e&&"woocommerce/product-collection/product-title"===t.__woocommerceNamespace)(e)?((e,t)=>{const{__woocommerceNamespace:o,...c}=e.attributes;return(0,r.createBlock)("core/post-title",{__woocommerceNamespace:"woocommerce/product-collection/product-title",...c},t)})(e,n):(({name:e,attributes:t})=>"core/post-excerpt"===e&&"woocommerce/product-collection/product-summary"===t.__woocommerceNamespace)(e)?((e,t)=>{const{__woocommerceNamespace:o,...c}=e.attributes;return(0,r.createBlock)("core/post-excerpt",{__woocommerceNamespace:"woocommerce/product-collection/product-summary",...c},t)})(e,n):(0,r.createBlock)(o,c,n)}));return o},ct=e=>{const t=(0,i.select)("core/block-editor").getBlock(e),o=(e=>{const t=(0,i.select)("core/block-editor").getBlockRootClientId(e)||void 0;return(0,i.select)("core/block-editor").canInsertBlockType("core/query",t)})(e);if(t&&o){const{attributes:o={},innerBlocks:c=[]}=t,{displayLayout:n,...l}=o,a=(e=>{const{query:t,...o}=e,{woocommerceAttributes:r,woocommerceStockStatus:c,woocommerceOnSale:n,woocommerceHandPickedProducts:l,taxQuery:a,isProductCollectionBlock:i,...s}=t,u={...s};return l&&(u.include=l),n&&(u.__woocommerceOnSale=n),a&&(u.taxQuery=a),{...o,namespace:"woocommerce/product-query",query:{__woocommerceAttributes:r||[],__woocommerceStockStatus:c||[],...u}}})(Xe?l:o),s=rt(c,n),u=(0,r.createBlock)("core/query",a,s);return(0,i.dispatch)("core/block-editor").replaceBlock(e,u),!0}return!1},nt=()=>{var e;et({status:"reverted",time:Date.now()}),(e=(0,i.select)("core/block-editor").getBlocks(),Ye(e,Ze)).map(ct)},lt=window.wc.customerEffortScore,at=({size:e=12})=>(0,n.createElement)(z.SVG,{width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.45865 9.08341L1.6665 9.87639L1.6665 1.66675L10.3332 1.66675L10.3332 9.08341L2.45865 9.08341ZM2.87317 10.0834L10.6665 10.0834C11.0347 10.0834 11.3332 9.78494 11.3332 9.41675L11.3332 1.33342C11.3332 0.965226 11.0347 0.666748 10.6665 0.666748H1.33317C0.964982 0.666748 0.666504 0.965225 0.666504 1.33341V11.0166C0.666504 11.2116 0.773993 11.3907 0.946074 11.4825C1.15124 11.5919 1.40385 11.5543 1.56818 11.3898L2.87317 10.0834ZM8.6665 4.66673H3.33317V3.66673H8.6665V4.66673ZM3.33317 7.33339H6.6665V6.33339H3.33317V7.33339Z",fill:"currentColor"})),it=({blockName:e,title:t=(0,C.__)("Share your experience","woocommerce"),firstQuestion:o=(0,C.sprintf)(/* translators: %s is the block name. */ /* translators: %s is the block name. */ (0,C.__)("It was easy for me to accomplish what I wanted with the %s.","woocommerce"),e),feedbackLabel:r=(0,C.sprintf)(/* translators: %s is the block name. */ /* translators: %s is the block name. */ (0,C.__)("How can we improve the %s block for you? (Optional)","woocommerce"),e),feedbackPlaceholder:c=(0,C.__)("What did you try to build using this block? What did and didn't work?","woocommerce"),emailLabel:l=(0,C.__)("Email address (Optional)","woocommerce"),emailHelp:a=(0,C.__)("Share if you would like to discuss your experience or participate in future research.","woocommerce"),buttonText:i=(0,C.__)("Help us improve","woocommerce"),submitLabel:s=(0,C.__)("🙏🏻 Thanks for sharing — we're on it!","woocommerce"),wrapper:u,wrapperProps:m={}})=>{var d;const{showCesModal:p}=(0,lt.useCustomerEffortScoreModal)();if(null===(d=window.wcTracks)||void 0===d||!d.isEnabled)return null;const _=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(lt.CustomerEffortScoreModalContainer,null),(0,n.createElement)(w.Button,{variant:"tertiary",icon:(0,n.createElement)(at,null),iconSize:12,onClick:()=>{p({action:`${e.toLowerCase().replace(/\s+/g,"_")}_block_feedback`,title:t,firstQuestion:o,showDescription:!1,onsubmitLabel:s,getExtraFieldsToBeShown:(e,t,o)=>(0,n.createElement)("div",null,(0,n.createElement)(w.TextareaControl,{label:r,value:e.feedback_comment||"",onChange:o=>t({...e,feedback_comment:o}),placeholder:c}),(0,n.createElement)(w.TextControl,{label:l,type:"email",value:e.email||"",onChange:o=>t({...e,email:o}),help:null!=o&&o.email?(0,n.createElement)("span",{className:"woocommerce-customer-effort-score__errors"},(0,n.createElement)("p",null,o.email)):a})),validateExtraFields:({email:e=""})=>{const t={};return e.length>0&&!(0,me.isEmail)(e)&&(t.email=(0,C.__)("Please enter a valid email address.","woocommerce")),t}},{blockName:e,shouldShowComments:()=>!1},{},{})},className:"wc-block-editor__feedback-button"},i));return u?(0,n.createElement)(u,{...m},_):_},st=window.wp.editor;var ut=function(e){return e.SINGLE_PRODUCT="single-product",e.PRODUCT_CATALOG="product-catalog",e.PRODUCT_ARCHIVE="product-archive",e.ORDER_CONFIRMATION="order-confirmation",e.CART="cart",e.CHECKOUT="checkout",e.POST="post",e.PAGE="page",e.OTHER="other",e}(ut||{});const mt={"single-product":ut.SINGLE_PRODUCT,"archive-product":ut.PRODUCT_CATALOG,"taxonomy-product_cat":ut.PRODUCT_ARCHIVE,"taxonomy-product_tag":ut.PRODUCT_ARCHIVE,"taxonomy-product_attribute":ut.PRODUCT_ARCHIVE,"product-search-results":ut.PRODUCT_ARCHIVE,"order-confirmation":ut.ORDER_CONFIRMATION,"page-cart":ut.CART,"page-checkout":ut.CHECKOUT},dt=e=>{const t=(0,i.useSelect)((e=>e(st.store).getCurrentPostType()),[]);if(t===ut.PAGE||t===ut.POST)return t;if(!e)return ut.OTHER;return mt[e]||(e.includes("single-product")?ut.SINGLE_PRODUCT:e.includes("taxonomy-product_cat")||e.includes("taxonomy-product_tag")?ut.PRODUCT_ARCHIVE:ut.OTHER)};var pt=o(851);function _t({children:e,className:t,actionLabel:o,onActionClick:r,...c}){return(0,n.createElement)(w.Notice,{...c,className:(0,pt.$)("wc-block-editor-components-upgrade-downgrade-notice",t),actions:[{label:o,onClick:r,noDefaultClasses:!0,variant:"link"}]},(0,n.createElement)("div",{className:"wc-block-editor-components-upgrade-downgrade-notice__text"},e))}o(2615);const gt=(0,a.createInterpolateElement)((0,C.__)("Products (Beta) block was upgraded to <strongText />, an updated version with new features and simplified settings.","woocommerce"),{strongText:(0,n.createElement)("strong",null,(0,C.__)("Product Collection","woocommerce"))}),wt=(0,C.__)("Revert to Products (Beta)","woocommerce"),ht=({revertMigration:e})=>{const[t,o]=((e,t)=>{const[o,r]=(0,a.useState)((()=>{const o=window.localStorage.getItem(e);if(o)try{return JSON.parse(o)}catch{console.error(`Value for key '${e}' could not be retrieved from localStorage because it can't be parsed.`)}return t}));return(0,a.useEffect)((()=>{try{window.localStorage.setItem(e,JSON.stringify(o))}catch{console.error(`Value for key '${e}' could not be saved in localStorage because it can't be converted into a string.`)}}),[e,o]),[o,r]})(Qe,Ke()),r=(0,a.useRef)(!0),{status:c}=t;return(0,a.useEffect)((()=>()=>{r.current&&((()=>{const e=Je(),t=(0,ze.isNumber)(e.displayCount)?e.displayCount+1:0;et({...e,displayCount:t})})(),r.current=!1)}),[r]),"notseen"===c?(0,n.createElement)(_t,{actionLabel:wt,onActionClick:()=>{e(),R("blocks_product_collection_migration_between_products_beta",{transform_to:"products_beta"})},onRemove:()=>{o({status:"seen",time:Date.now()})}},gt):null},Et=(0,C.__)("Columns","woocommerce"),bt=(0,C.__)("Responsive","woocommerce"),yt=(0,C.__)("Automatically adjust the number of columns to better fit smaller screens.","woocommerce"),vt=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c="flex"===t,l=Fe(),a=()=>{e.setAttributes({displayLayout:l})};return c?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.__experimentalToolsPanelItem,{label:Et,hasValue:()=>(null==l?void 0:l.columns)!==o,isShownByDefault:!0,onDeselect:a},(0,n.createElement)(w.RangeControl,{__next40pxDefaultSize:!0,label:Et,onChange:t=>e.setAttributes({displayLayout:{...e.displayLayout,columns:t}}),value:o,min:2,max:Math.max(6,o)})),(0,n.createElement)(w.__experimentalToolsPanelItem,{label:bt,hasValue:()=>(null==l?void 0:l.shrinkColumns)!==r,isShownByDefault:!0,onDeselect:a},(0,n.createElement)(w.ToggleControl,{checked:!!r,label:bt,help:yt,onChange:t=>{e.setAttributes({displayLayout:{...e.displayLayout,shrinkColumns:t}})}}))):null},ft=(0,C.__)("Query type","woocommerce"),Ct=(0,C.__)("Default","woocommerce"),kt=(0,C.__)("Custom","woocommerce"),St=(0,C.__)("Display products based on the current template and allow shoppers to filter.","woocommerce"),At=(0,C.__)("Show products based on specific criteria and allow shoppers to filter.","woocommerce"),Rt=(0,C.__)("Show a list of products based on fixed criteria.","woocommerce"),Pt=({setQueryAttribute:e,trackInteraction:t,query:o})=>{const r=null==o?void 0:o.inherit,c=function(e,t){const o=(0,a.useRef)();return(0,a.useEffect)((()=>{o.current===e||t&&!t(e,o.current)||(o.current=e)}),[e,t]),o.current}(o,(e=>!1===(null==e?void 0:e.inherit))),l=(0,a.useMemo)((()=>De()),[]);return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:ft,hasValue:()=>r!==l,isShownByDefault:!0,onDeselect:()=>{e({inherit:l}),t(f.INHERIT)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{className:"wc-block-product-collection__inherit-query-control",isBlock:!0,label:ft,help:r?St:Rt,value:r?"default":"custom",onChange:o=>{e("default"===o?{...q,inherit:!0}:{...q,...c,inherit:!1}),t(f.INHERIT)}},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:"default",label:Ct}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:"custom",label:kt})))},It=({setQueryAttribute:e,trackInteraction:t,query:o})=>{const r=null==o?void 0:o.filterable,c=(0,a.useMemo)((()=>Be()),[]);return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:ft,hasValue:()=>r!==c,isShownByDefault:!0,onDeselect:()=>{e({filterable:c}),t(f.FILTERABLE)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{className:"wc-block-product-collection__inherit-query-control",isBlock:!0,label:ft,help:r?At:Rt,value:r?"default":"custom",onChange:o=>{e({filterable:"default"===o}),t(f.FILTERABLE)}},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:"default",label:Ct}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:"custom",label:kt})))},Tt=({hasValue:e=()=>!0,orderOptions:t,onChange:o,onDeselect:r=()=>{},selectedValue:c,label:l,help:a})=>(0,n.createElement)(w.__experimentalToolsPanelItem,{label:l||(0,C.__)("Order by","woocommerce"),hasValue:e,isShownByDefault:!0,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.SelectControl,{value:c,options:t,label:l||(0,C.__)("Order by","woocommerce"),onChange:o,help:a})),xt=[{label:(0,C.__)("Newest to oldest","woocommerce"),value:"date"},{label:(0,C.__)("Price, high to low","woocommerce"),value:"price-desc"},{label:(0,C.__)("Price, low to high","woocommerce"),value:"price"},{label:(0,C.__)("Sales, high to low","woocommerce"),value:"popularity"},{label:(0,C.__)("Rating, high to low","woocommerce"),value:"rating"},{value:"menu_order",label:(0,C.__)("Manual (menu order)","woocommerce")}],Ot=({trackInteraction:e})=>{const t=(0,i.select)("core").getEditedEntityRecord("root","site"),[o,r]=(0,a.useState)(t.woocommerce_default_catalog_orderby||"menu_order");return(0,n.createElement)(Tt,{label:(0,C.__)("Default sort by","woocommerce"),selectedValue:o,orderOptions:xt,onChange:t=>{r(t),(0,i.dispatch)(s.store).editEntityRecord("root","site",void 0,{woocommerce_default_catalog_orderby:t}),e(f.DEFAULT_ORDER)},help:(0,C.__)("All Product Collection blocks using the Default Query will sync to this sort order.","woocommerce")})},Lt=[{label:(0,C.__)("A → Z","woocommerce"),value:"title/asc"},{label:(0,C.__)("Z → A","woocommerce"),value:"title/desc"},{label:(0,C.__)("Newest to oldest","woocommerce"),value:"date/desc"},{label:(0,C.__)("Oldest to newest","woocommerce"),value:"date/asc"},{label:(0,C.__)("Price, high to low","woocommerce"),value:"price/desc"},{label:(0,C.__)("Price, low to high","woocommerce"),value:"price/asc"},{label:(0,C.__)("Sales, high to low","woocommerce"),value:"sales/desc"},{label:(0,C.__)("Sales, low to high","woocommerce"),value:"sales/asc"},{value:"rating/desc",label:(0,C.__)("Rating, high to low","woocommerce")},{value:"rating/asc",label:(0,C.__)("Rating, low to high","woocommerce")},{value:"menu_order/asc",label:(0,C.__)("Manual (menu order)","woocommerce")},{value:"random",label:(0,C.__)("Random","woocommerce")}],Nt=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,{order:c,orderBy:l}=t;let a=c?`${l}/${c}`:l;return"popularity"===l&&(a=`sales/${c}`),(0,n.createElement)(Tt,{selectedValue:a,hasValue:()=>c!==q.order||l!==q.orderBy,orderOptions:Lt,onChange:e=>{const[t,c]=e.split("/");r({orderBy:t,order:c||void 0}),o(f.ORDER)},onDeselect:()=>{r({orderBy:q.orderBy}),o(f.ORDER)},help:(0,C.__)("Set the products order in this collection.","woocommerce")})},Dt=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=()=>{r({woocommerceOnSale:V.woocommerceOnSale}),o(f.ON_SALE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("On Sale","woocommerce"),hasValue:()=>!0===t.woocommerceOnSale,isShownByDefault:!0,onDeselect:c,resetAllFilter:c},(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Show only products on sale","woocommerce"),checked:t.woocommerceOnSale||!1,onChange:e=>{r({woocommerceOnSale:e}),o(f.ON_SALE)}}))};function Bt(e){var t;const o="string"==typeof e?e:e.value;return null===(t=Object.entries(D).find((([,e])=>e===o)))||void 0===t?void 0:t[0]}const Ft=e=>{var t;const{query:o,trackInteraction:r,setQueryAttribute:c}=e,l=()=>{c({woocommerceStockStatus:V.woocommerceStockStatus}),r(f.STOCK_STATUS)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Stock Status","woocommerce"),hasValue:()=>!We()(o.woocommerceStockStatus,F()),onDeselect:l,resetAllFilter:l,isShownByDefault:!0},(0,n.createElement)(w.FormTokenField,{label:(0,C.__)("Stock Status","woocommerce"),onChange:e=>{const t=e.map(Bt).filter(Boolean);c({woocommerceStockStatus:t}),r(f.STOCK_STATUS)},suggestions:Object.values(D),validateInput:e=>Object.values(D).includes(e),value:(null==o||null===(t=o.woocommerceStockStatus)||void 0===t?void 0:t.map((e=>D[e])))||[],__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1}))},qt=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,[c,l]=(0,a.useState)(t.search),i=(0,P.useDebounce)((()=>{t.search!==c&&(r({search:c}),o(f.KEYWORD))}),250);(0,a.useEffect)((()=>(i(),i.cancel)),[c,i]);const s=()=>{l(""),o(f.KEYWORD)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{hasValue:()=>!!c,label:(0,C.__)("Keyword","woocommerce"),onDeselect:s,resetAllFilter:s},(0,n.createElement)(w.TextControl,{label:(0,C.__)("Keyword","woocommerce"),value:c,onChange:l}))};function Mt(e,t,o){const r=new Set(t.map((e=>e[o])));return e.filter((e=>!r.has(e[o])))}const Vt=window.wp.htmlEntities,Ut={clear:(0,C.__)("Clear all selected items","woocommerce"),noItems:(0,C.__)("No items found.","woocommerce"), /* Translators: %s search term */ noResults:(0,C.__)("No results for %s","woocommerce"),search:(0,C.__)("Search for items","woocommerce"),selected:e=>(0,C.sprintf)(/* translators: Number of items selected from list. */ /* translators: Number of items selected from list. */ (0,C._n)("%d item selected","%d items selected",e,"woocommerce"),e),updated:(0,C.__)("Search results updated.","woocommerce")},Ht=(e,t=e)=>{const o=e.reduce(((e,t)=>{const o=t.parent||0;return e[o]||(e[o]=[]),e[o].push(t),e}),{}),r=t.reduce(((e,t)=>(e[String(t.id)]=t,e)),{});const c=["0"],n=(e={})=>e.parent?[...n(r[e.parent]),e.name]:e.name?[e.name]:[],l=e=>e.map((e=>{const t=o[e.id];return c.push(""+e.id),{...e,breadcrumbs:n(r[e.parent]),children:t&&t.length?l(t):[]}})),a=l(o[0]||[]);return Object.entries(o).forEach((([e,t])=>{c.includes(e)||a.push(...l(t||[]))})),a},$t=(e,t)=>{if(!t)return e;const o=new RegExp(`(${t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")})`,"ig");return e.split(o).map(((e,t)=>o.test(e)?(0,n.createElement)("strong",{key:t},e):(0,n.createElement)(a.Fragment,{key:t},e)))},Gt=({label:e})=>(0,n.createElement)("span",{className:"woocommerce-search-list__item-count"},e),jt=e=>{const{item:t,search:o}=e,r=t.breadcrumbs&&t.breadcrumbs.length;return(0,n.createElement)("span",{className:"woocommerce-search-list__item-label"},r?(0,n.createElement)("span",{className:"woocommerce-search-list__item-prefix"},1===(c=t.breadcrumbs).length?c.slice(0,1).toString():2===c.length?c.slice(0,1).toString()+" › "+c.slice(-1).toString():c.slice(0,1).toString()+" … "+c.slice(-1).toString()):null,(0,n.createElement)("span",{className:"woocommerce-search-list__item-name"},$t((0,Vt.decodeEntities)(t.name),o)));var c},Wt=({countLabel:e,className:t,depth:o=0,controlId:r="",item:c,isSelected:l,isSingle:i,onSelect:s,search:u="",selected:m,useExpandedPanelId:d,...p})=>{var _,g;const[h,E]=d,b=null!=e&&void 0!==c.count&&null!==c.count,y=!(null===(_=c.breadcrumbs)||void 0===_||!_.length),v=!(null===(g=c.children)||void 0===g||!g.length),f=h===c.id,C=(0,pt.A)(["woocommerce-search-list__item",`depth-${o}`,t],{"has-breadcrumbs":y,"has-children":v,"has-count":b,"is-expanded":f,"is-radio-button":i});(0,a.useEffect)((()=>{v&&l&&E(c.id)}),[c,v,l,E]);const k=p.name||`search-list-item-${r}`,S=`${k}-${c.id}`,A=(0,a.useCallback)((()=>{E(f?-1:Number(c.id))}),[f,c.id,E]);return v?(0,n.createElement)("div",{className:C,onClick:A,onKeyDown:e=>"Enter"===e.key||" "===e.key?A():null,role:"treeitem",tabIndex:0},i?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("input",{type:"radio",id:S,name:k,value:c.value,onChange:s(c),onClick:e=>e.stopPropagation(),checked:l,className:"woocommerce-search-list__item-input",...p}),(0,n.createElement)(jt,{item:c,search:u}),b?(0,n.createElement)(Gt,{label:e||c.count}):null):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.CheckboxControl,{className:"woocommerce-search-list__item-input",checked:l,...!l&&c.children.some((e=>m.find((t=>t.id===e.id))))?{indeterminate:!0}:{},label:$t((0,Vt.decodeEntities)(c.name),u),onChange:()=>{l?s(Mt(m,c.children,"id"))():s(function(e,t){const o=Mt(t,e,"id");return[...e,...o]}(m,c.children))()},onClick:e=>e.stopPropagation()}),b?(0,n.createElement)(Gt,{label:e||c.count}):null)):(0,n.createElement)("label",{htmlFor:S,className:C},i?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("input",{...p,type:"radio",id:S,name:k,value:c.value,onChange:s(c),checked:l,className:"woocommerce-search-list__item-input"}),(0,n.createElement)(jt,{item:c,search:u})):(0,n.createElement)(w.CheckboxControl,{...p,id:S,name:k,className:"woocommerce-search-list__item-input",value:(0,Vt.decodeEntities)(c.value),label:$t((0,Vt.decodeEntities)(c.name),u),onChange:s(c),checked:l}),b?(0,n.createElement)(Gt,{label:e||c.count}):null)},Qt=Wt;var Kt=o(2478),zt=o(2370);o(6636);const Zt=({id:e,label:t,popoverContents:o,remove:r,screenReaderLabel:c,className:l=""})=>{const[i,s]=(0,a.useState)(!1),u=(0,P.useInstanceId)(Zt);if(c=c||t,!t)return null;t=(0,Vt.decodeEntities)(t);const m=(0,pt.A)("woocommerce-tag",l,{"has-remove":!!r}),d=`woocommerce-tag__label-${u}`,p=(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",{className:"screen-reader-text"},c),(0,n.createElement)("span",{"aria-hidden":"true"},t));return(0,n.createElement)("span",{className:m},o?(0,n.createElement)(w.Button,{className:"woocommerce-tag__text",id:d,onClick:()=>s(!0)},p):(0,n.createElement)("span",{className:"woocommerce-tag__text",id:d},p),o&&i&&(0,n.createElement)(w.Popover,{onClose:()=>s(!1)},o),r&&(0,n.createElement)(w.Button,{className:"woocommerce-tag__remove",onClick:r(e),label:(0,C.sprintf)( // Translators: %s label. // Translators: %s label. (0,C.__)("Remove %s","woocommerce"),t),"aria-describedby":d},(0,n.createElement)(T.A,{icon:zt.A,size:20,className:"clear-icon",role:"img"})))},Yt=Zt;o(8137);const Xt=e=>(0,n.createElement)(Qt,{...e}),Jt=e=>{const{list:t,selected:o,renderItem:r,depth:c=0,onSelect:l,instanceId:i,isSingle:s,search:u,useExpandedPanelId:m}=e,[d]=m;return t?(0,n.createElement)(a.Fragment,null,t.map((t=>{var p,_;const g=null!==(p=t.children)&&void 0!==p&&p.length&&!s?t.children.every((({id:e})=>o.find((t=>t.id===e)))):!!o.find((({id:e})=>e===t.id)),w=(null===(_=t.children)||void 0===_?void 0:_.length)&&d===t.id;return(0,n.createElement)(a.Fragment,{key:t.id},(0,n.createElement)("li",null,r({item:t,isSelected:g,onSelect:l,isSingle:s,selected:o,search:u,depth:c,useExpandedPanelId:m,controlId:i})),w?(0,n.createElement)(Jt,{...e,list:t.children,depth:c+1}):null)}))):null},eo=({isLoading:e,isSingle:t,selected:o,messages:r,onChange:c,onRemove:l})=>{if(e||t||!o)return null;const a=o.length;return(0,n.createElement)("div",{className:"woocommerce-search-list__selected"},(0,n.createElement)("div",{className:"woocommerce-search-list__selected-header"},(0,n.createElement)("strong",null,r.selected(a)),a>0?(0,n.createElement)(w.Button,{variant:"link",isDestructive:!0,onClick:()=>c([]),"aria-label":r.clear},(0,C.__)("Clear all","woocommerce")):null),a>0?(0,n.createElement)("ul",null,o.map(((e,t)=>(0,n.createElement)("li",{key:t},(0,n.createElement)(Yt,{label:e.name,id:e.id,remove:l}))))):null)},to=({filteredList:e,search:t,onSelect:o,instanceId:r,useExpandedPanelId:c,...l})=>{const{messages:a,renderItem:i,selected:s,isSingle:u}=l,m=i||Xt;return 0===e.length?(0,n.createElement)("div",{className:"woocommerce-search-list__list is-not-found"},(0,n.createElement)("span",{className:"woocommerce-search-list__not-found-icon"},(0,n.createElement)(T.A,{icon:Kt.A,role:"img"})),(0,n.createElement)("span",{className:"woocommerce-search-list__not-found-text"},t?(0,C.sprintf)(a.noResults,t):a.noItems)):(0,n.createElement)("ul",{className:"woocommerce-search-list__list"},(0,n.createElement)(Jt,{useExpandedPanelId:c,list:e,selected:s,renderItem:m,onSelect:o,instanceId:r,isSingle:u,search:t}))},oo=e=>{const{className:t="",isCompact:o,isHierarchical:r,isLoading:c,isSingle:l,list:i,messages:s=Ut,onChange:u,onSearch:m,selected:d,type:p="text",debouncedSpeak:_}=e,[g,h]=(0,a.useState)(""),E=(0,a.useState)(-1),b=(0,P.useInstanceId)(oo),y=(0,a.useMemo)((()=>({...Ut,...s})),[s]),v=(0,a.useMemo)((()=>((e,t,o)=>{if(!t)return o?Ht(e):e;const r=new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i"),c=e.map((e=>!!r.test(e.name)&&e)).filter(Boolean);return o?Ht(c,e):c})(i,g,r)),[i,g,r]);(0,a.useEffect)((()=>{_&&_(y.updated)}),[_,y]),(0,a.useEffect)((()=>{"function"==typeof m&&m(g)}),[g,m]);const f=(0,a.useCallback)((e=>()=>{l&&u([]);const t=d.findIndex((({id:t})=>t===e));u([...d.slice(0,t),...d.slice(t+1)])}),[l,d,u]),k=(0,a.useCallback)((e=>()=>{Array.isArray(e)?u(e):-1===d.findIndex((({id:t})=>t===e.id))?u(l?[e]:[...d,e]):f(e.id)()}),[l,f,u,d]),S=(0,a.useCallback)((e=>{const[t]=d.filter((t=>!e.find((e=>t.id===e.id))));f(t.id)()}),[f,d]);return(0,n.createElement)("div",{className:(0,pt.A)("woocommerce-search-list",t,{"is-compact":o,"is-loading":c,"is-token":"token"===p})},"text"===p&&(0,n.createElement)(eo,{...e,onRemove:f,messages:y}),(0,n.createElement)("div",{className:"woocommerce-search-list__search"},"text"===p?(0,n.createElement)(w.TextControl,{label:y.search,type:"search",value:g,onChange:e=>h(e)}):(0,n.createElement)(w.FormTokenField,{disabled:c,label:y.search,onChange:S,onInputChange:e=>h(e),suggestions:[],__experimentalValidateInput:()=>!1,value:c?[(0,C.__)("Loading…","woocommerce")]:d.map((e=>({...e,value:e.name}))),__experimentalShowHowTo:!1})),c?(0,n.createElement)("div",{className:"woocommerce-search-list__list"},(0,n.createElement)(w.Spinner,null)):(0,n.createElement)(to,{...e,search:g,filteredList:v,messages:y,onSelect:k,instanceId:b,useExpandedPanelId:E}))},ro=((0,w.withSpokenMessages)(oo),async e=>{if(!("json"in e))return{code:e.code||"",message:e.message,type:e.type||"general"};try{const t=await e.json();return{code:t.code||"",message:t.message,type:t.type||"api"}}catch(e){return{message:e.message,type:"general"}}});const co=window.wp.escapeHtml,no=({error:e})=>(0,n.createElement)("div",{className:"wc-block-error-message"},(({message:e,type:t})=>e?"general"===t?(0,n.createElement)("span",null,(0,C.__)("The following error was returned","woocommerce"),(0,n.createElement)("br",null),(0,n.createElement)("code",null,(0,co.escapeHTML)(e))):"api"===t?(0,n.createElement)("span",null,(0,C.__)("The following error was returned from the API","woocommerce"),(0,n.createElement)("br",null),(0,n.createElement)("code",null,(0,co.escapeHTML)(e))):e:(0,C.__)("An error has prevented the block from being updated.","woocommerce"))(e)),lo=({className:e,item:t,isSelected:o,isLoading:r,onSelect:c,disabled:l,...a})=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Wt,{...a,key:t.id,className:e,isSelected:o,item:t,onSelect:c,disabled:l}),o&&r&&(0,n.createElement)("div",{key:"loading",className:(0,pt.A)("woocommerce-search-list__item","woocommerce-product-attributes__item","depth-1","is-loading","is-not-active")},(0,n.createElement)(w.Spinner,null))),ao=((0,O.getSetting)("attributes",[]).reduce(((e,t)=>{const o=(r=t)&&r.attribute_name?{id:parseInt(r.attribute_id,10),name:r.attribute_name,taxonomy:"pa_"+r.attribute_name,label:r.attribute_label,orderby:r.attribute_orderby}:null;var r;return o&&o.id&&e.push(o),e}),[]),e=>{const{count:t,id:o,name:r,parent:c}=e;return{count:t,id:o,name:r,parent:c,breadcrumbs:[],children:[],value:(0,ze.isAttributeTerm)(e)?e.attr_slug:""}});o(2777);const io=(0,P.withInstanceId)((({onChange:e,onOperatorChange:t,instanceId:o,isCompact:r=!1,messages:c={},operator:l="any",selected:i,type:s="text"})=>{const{errorLoadingAttributes:u,isLoadingAttributes:m,productsAttributes:d}=function(e){const[t,o]=(0,a.useState)(null),[r,c]=(0,a.useState)(!1),[n,l]=(0,a.useState)([]),i=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{if(e&&!r&&!i.current)return async function(){c(!0);try{const e=await Ce()({path:"wc/store/v1/products/attributes"}),t=[];for(const o of e){const e=await xe(o.id);t.push({...o,parent:0,terms:e.map((e=>({...e,attr_slug:o.taxonomy,parent:o.id})))})}l(t),i.current=!0}catch(e){e instanceof Error&&o(await ro(e))}finally{c(!1)}}(),()=>{i.current=!0}}),[r,e]),{errorLoadingAttributes:t,isLoadingAttributes:r,productsAttributes:n}}(!0),p=d.reduce(((e,t)=>{const{terms:o,...r}=t;return[...e,ao(r),...o.map(ao)]}),[]);return c={clear:(0,C.__)("Clear all product attributes","woocommerce"),noItems:(0,C.__)("Your store doesn't have any product attributes.","woocommerce"),search:(0,C.__)("Search for product attributes","woocommerce"),selected:e=>(0,C.sprintf)(/* translators: %d is the count of attributes selected. */ /* translators: %d is the count of attributes selected. */ (0,C._n)("%d attribute selected","%d attributes selected",e,"woocommerce"),e),updated:(0,C.__)("Product attribute search results updated.","woocommerce"),...c},u?(0,n.createElement)(no,{error:u}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(oo,{className:"woocommerce-product-attributes",isCompact:r,isHierarchical:!0,isLoading:m,isSingle:!1,list:p,messages:c,onChange:e,renderItem:e=>{const{item:t,search:r,depth:c=0}=e,l=t.count||0,a=["woocommerce-product-attributes__item","woocommerce-search-list__item",{"is-searching":r.length>0,"is-skip-level":0===c&&0!==t.parent}];if(!t.breadcrumbs.length)return(0,n.createElement)(lo,{...e,className:(0,pt.A)(a),item:t,isLoading:m,disabled:0===t.count,name:`attributes-${o}`,countLabel:(0,C.sprintf)(/* translators: %d is the count of terms. */ /* translators: %d is the count of terms. */ (0,C._n)("%d term","%d terms",l,"woocommerce"),l),"aria-label":(0,C.sprintf)(/* translators: %1$s is the item name, %2$d is the count of terms for the item. */ /* translators: %1$s is the item name, %2$d is the count of terms for the item. */ (0,C._n)("%1$s, has %2$d term","%1$s, has %2$d terms",l,"woocommerce"),t.name,l)});const i=`${t.breadcrumbs[0]}: ${t.name}`;return(0,n.createElement)(Wt,{...e,name:`terms-${o}`,className:(0,pt.A)(...a,"has-count"),countLabel:(0,C.sprintf)(/* translators: %d is the count of products. */ /* translators: %d is the count of products. */ (0,C._n)("%d product","%d products",l,"woocommerce"),l),"aria-label":(0,C.sprintf)(/* translators: %1$s is the attribute name, %2$d is the count of products for that attribute. */ /* translators: %1$s is the attribute name, %2$d is the count of products for that attribute. */ (0,C._n)("%1$s, has %2$d product","%1$s, has %2$d products",l,"woocommerce"),i,l)})},selected:i.map((({id:e})=>p.find((t=>t.id===e)))).filter(Boolean),type:s}),!!t&&(0,n.createElement)("div",{hidden:i.length<2},(0,n.createElement)(w.SelectControl,{className:"woocommerce-product-attributes__operator",label:(0,C.__)("Display products matching","woocommerce"),help:(0,C.__)("Pick at least two attributes to use this setting.","woocommerce"),value:l,onChange:t,options:[{label:(0,C.__)("Any selected attributes","woocommerce"),value:"any"},{label:(0,C.__)("All selected attributes","woocommerce"),value:"all"}]})))})),so=`${O.ADMIN_URL}edit.php?post_type=product&page=product_attributes`,uo=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=e.woocommerceAttributes||[],c=null==r?void 0:r.map((({termId:e})=>({id:e}))),l=()=>{o({woocommerceAttributes:V.woocommerceAttributes}),t(f.ATTRIBUTES)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Product Attributes","woocommerce"),hasValue:()=>!(null==r||!r.length),onDeselect:l,resetAllFilter:l},(0,n.createElement)(io,{messages:{search:(0,C.__)("Attributes","woocommerce")},selected:c||[],onChange:e=>{const r=e.map((({id:e,value:t})=>({termId:e,taxonomy:t})));o({woocommerceAttributes:r}),t(f.ATTRIBUTES)},operator:"any",isCompact:!0,type:"token"}),(0,n.createElement)(w.ExternalLink,{className:"wc-block-editor-product-collection-panel__manage-attributes-link",href:so},(0,C.__)("Manage attributes","woocommerce")))},mo={_fields:"id,name",order:"asc",orderby:"name",context:"view"},po=e=>{var t;const o=e.match(/^(?:(.+) )?\(#(\d+)\)$/);return!!o&&{name:null!==(t=o[1])&&void 0!==t?t:"",id:parseInt(o[2],10)}},_o=({taxonomy:e,termIds:t,onChange:o})=>{const{existingTerms:r,isLoadingExistingTerms:c}=(0,i.useSelect)((o=>{if(!t||!t.length)return{existingTerms:[],isLoadingExistingTerms:!1};const{getEntityRecords:r,hasFinishedResolution:c}=o("core"),n=["taxonomy",e.slug,{...mo,include:t}];return{existingTerms:r(...n),isLoadingExistingTerms:!c("getEntityRecords",n)}}),[e,t]),[l,s]=(0,a.useState)(""),{searchTerms:u}=(0,i.useSelect)((o=>{if(l.length<=1)return{searchTerms:[]};const{getEntityRecords:r}=o("core");return{searchTerms:r("taxonomy",e.slug,{...mo,exclude:t,search:l})}}),[e,t,l]),m=(0,P.useDebounce)(s,250),d=new Set,p=new Set,_=e=>(d.has(e.name)&&p.add(e.name),d.add(e.name),(e=>`${e.name} (#${e.id})`)(e)),g=r?r.map(_):[],h=u?u.map(_):[];if(r&&t.length!==r.length){const e=r.reduce(((e,t)=>(e[t.id]=t,e)),{});t.forEach((t=>{e[t]||g.push(`(#${t})`)}))}return(0,n.createElement)("div",{className:"wc-block-editor-product-collection-inspector__taxonomy-control"},(0,n.createElement)(w.FormTokenField,{label:e.name,value:g,onInputChange:m,onChange:e=>{const t=[];e.forEach((e=>{const o=po(e);o&&t.push(o.id)})),o(t)},suggestions:h,disabled:c,displayTransform:e=>{const t=po(e);return t&&(e=t.name?p.has(t.name)?`${t.name} (#${t.id})`:t.name:`(#${t.id} ${(0,C.__)("Missing","woocommerce")})`),(0,Vt.decodeEntities)(e)||""},__experimentalShowHowTo:!1}))},go=function({setQueryAttribute:e,trackInteraction:t,query:o}){const{taxQuery:r}=o,c=(()=>{const e=(0,i.useSelect)((e=>{const{getTaxonomies:t}=e(s.store);return t({type:"product",per_page:-1})}),[]);return(0,a.useMemo)((()=>null==e?void 0:e.filter((({visibility:e})=>!(null==e||!e.publicly_queryable)))),[e])})();if(!c||0===c.length)return null;const l=e=>e?e.split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "):"";return(0,n.createElement)(n.Fragment,null,c.map((o=>{const{slug:c,name:a}=o,i=(null==r?void 0:r[c])||[],s=o=>{e({taxQuery:{...r,[c]:o}}),t(`${f.TAXONOMY}__${c}`)},u=()=>{s([]),t(`${f.TAXONOMY}__${c}`)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{key:c,label:l(a),hasValue:()=>i.length,onDeselect:u,resetAllFilter:u},(0,n.createElement)(_o,{key:c,taxonomy:o,termIds:i,onChange:s}))})))},wo=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=(ke.productCount||0)>100,c=e.woocommerceHandPickedProducts,[l,i]=(0,a.useState)(""),{productsMap:s,productsList:u}=function(e,t,o=[]){const[r,c]=(0,a.useState)(new Map),[n,l]=(0,a.useState)([]);return(0,a.useEffect)((()=>{const r={selected:e?o.map(Number):[],queryArgs:e?{search:t,per_page:40}:{per_page:0}};Te(r).then((e=>{const t=new Map;e.forEach((e=>{t.set(e.id,e),t.set(e.name,e)})),l(e),c(t)}))}),[e,t,o]),{productsMap:r,productsList:n}}(r,l,c),m=(0,P.useDebounce)(i,250),d=(0,a.useMemo)((()=>null!=c&&c.length&&s.size?c.filter((e=>!!s.get(Number(e)))):c||[]),[c,s]);(0,a.useEffect)((()=>{d.length!==c.length&&o({woocommerceHandPickedProducts:d})}),[d,c,o]);const p=(0,a.useCallback)((e=>{const r=e.reduce(((e,t)=>{const o=s.get(t)||s.get(Number(t));return o&&e.add(String(o.id)),e}),new Set);o({woocommerceHandPickedProducts:Array.from(r)}),t(f.HAND_PICKED)}),[o,t,s]),_=(0,a.useMemo)((()=>u.filter((e=>!(null!=d&&d.includes(String(e.id))))).map((e=>e.name))),[u,d]);return(0,n.createElement)(w.FormTokenField,{displayTransform:e=>{const t=Number(e);if(Number.isNaN(t))return(0,Vt.decodeEntities)(e)||"";const o=s.get(t);return(0,Vt.decodeEntities)(null==o?void 0:o.name)||""},label:(0,C.__)("Hand-Picked","woocommerce"),onChange:p,onInputChange:r?m:void 0,suggestions:_,__experimentalValidateInput:e=>s.has(e),value:s.size?d||[]:[(0,C.__)("Loading…","woocommerce")],__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,placeholder:(0,C.__)("Search for products to display…","woocommerce")})},ho=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=e.woocommerceHandPickedProducts,c=()=>{o({woocommerceHandPickedProducts:V.woocommerceHandPickedProducts}),t(f.HAND_PICKED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Hand-Picked","woocommerce"),hasValue:()=>!(null==r||!r.length),onDeselect:c,resetAllFilter:c},(0,n.createElement)(wo,{query:e,trackInteraction:t,setQueryAttribute:o}))},Eo=e=>{switch(e){case E.GRID:return(0,C.__)("Display products using rows and columns.","woocommerce");case E.STACK:return(0,C.__)("Display products in a single column.","woocommerce");default:return""}},bo=E.GRID,yo=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c=t=>{e.setAttributes({displayLayout:{type:t,columns:o,shrinkColumns:r}})};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Layout","woocommerce"),hasValue:()=>t!==bo,isShownByDefault:!0,onDeselect:()=>{c(E.GRID)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Layout","woocommerce"),isBlock:!0,onChange:e=>{c(e)},help:Eo(t),value:t},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:E.STACK,label:(0,C.__)("Stack","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:E.GRID,label:(0,C.__)("Grid","woocommerce")})))},vo=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=()=>{r({featured:V.featured}),o(f.FEATURED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Featured","woocommerce"),hasValue:()=>!0===t.featured,onDeselect:c,resetAllFilter:c},(0,n.createElement)(w.BaseControl,{id:"product-collection-featured-products-control",label:(0,C.__)("Featured","woocommerce")},(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Show only featured products","woocommerce"),checked:t.featured||!1,onChange:e=>{r({featured:e}),o(f.FEATURED)}})))},fo=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,{timeFrame:c}=t,l=()=>{r({timeFrame:V.timeFrame}),o(f.CREATED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Created","woocommerce"),hasValue:()=>(null==c?void 0:c.operator)&&(null==c?void 0:c.value),onDeselect:l,resetAllFilter:l},(0,n.createElement)(w.Flex,{direction:"column",gap:3},(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Created","woocommerce"),isBlock:!0,onChange:e=>{r({timeFrame:{...c,operator:e}}),o(f.CREATED)},value:(null==c?void 0:c.operator)||y.IN},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:y.IN,label:(0,C._x)("Within","Product Collection query operator","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:y.NOT_IN,label:(0,C._x)("Before","Product Collection query operator","woocommerce")}))),(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.RadioControl,{onChange:e=>{r({timeFrame:{operator:y.IN,...c,value:e}}),o(f.CREATED)},options:[{label:"last 24 hours",value:"-1 day"},{label:"last 7 days",value:"-7 days"},{label:"last 30 days",value:"-30 days"},{label:"last 3 months",value:"-3 months"}],selected:null==c?void 0:c.value}))))},Co=window.wc.priceFormat,ko=({value:e,onChange:t,label:o})=>{const[r,c]=(0,a.useState)(`${e||""}`),l=(0,Co.getCurrency)(),i=((e="",t)=>{const o=e.replace(new RegExp(`[^0-9\\${t.decimalSeparator||""}]`,"g"),"").replace(new RegExp(`\\${t.decimalSeparator}`,"g"),"."),r=Number(o);if(""!==o&&!isNaN(r))return r<0?0:r})(r,l),s=((e,t)=>{if(void 0===e||isNaN(e))return;let o=((e,t)=>{const o=Math.pow(10,t.minorUnit),r=""+Math.round(e*o)/o;let[c,n]=r.split(".");return t.thousandSeparator&&(c=c.replace(/\B(?=(\d{3})+(?!\d))/g,t.thousandSeparator)),n?`${c}${t.decimalSeparator||"."}${n}`:c})(e,t);return null!=t&&t.prefix&&(o=`${t.prefix}${o}`),null!=t&&t.suffix&&(o=`${o}${t.suffix}`),o})(i,l);return(0,n.createElement)(w.__experimentalInputControl,{value:s,onChange:e=>{c(e)},onBlur:()=>{t(i)},onKeyDown:e=>{"Enter"===e.key&&t(i)},label:o,prefix:(0,n.createElement)(w.__experimentalInputControlPrefixWrapper,null,o),placeholder:(0,C.__)("Auto","woocommerce"),hideLabelFromVision:!0,type:"text",style:{textAlign:"right"},__next40pxDefaultSize:!0})},So=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=t.priceRange,l=()=>{r({priceRange:V.priceRange}),o(f.PRICE_RANGE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Price Range","woocommerce"),hasValue:()=>void 0!==(null==c?void 0:c.min)||void 0!==(null==c?void 0:c.max),onDeselect:l,resetAllFilter:l,className:"wc-block-product-price-range-control"},(0,n.createElement)(w.BaseControl.VisualLabel,null,(0,C.__)("PRICE RANGE","woocommerce")),(0,n.createElement)(w.__experimentalHStack,{spacing:"2"},(0,n.createElement)(ko,{label:(0,C.__)("MIN","woocommerce"),value:null==c?void 0:c.min,onChange:e=>{r({priceRange:{min:0===e?void 0:e,max:null==c?void 0:c.max}}),o(f.PRICE_RANGE)}}),(0,n.createElement)(ko,{label:(0,C.__)("MAX","woocommerce"),value:null==c?void 0:c.max,onChange:e=>{const t=0===e?void 0:e;r({priceRange:{min:null==c?void 0:c.min,max:t}}),o(f.PRICE_RANGE)}})))};var Ao=o(4717);var Ro=o(2294),Po=o(923),Io=o.n(Po);const To=(0,P.createHigherOrderComponent)((e=>{class t extends a.Component{constructor(...e){super(...e),(0,Ro.A)(this,"state",{error:null,loading:!1,variations:{}}),(0,Ro.A)(this,"prevSelectedItem",void 0),(0,Ro.A)(this,"loadVariations",(()=>{const{products:e}=this.props,{loading:t,variations:o}=this.state;if(t)return;const r=this.getExpandedProduct();if(!r||o[r])return;const c=e.find((e=>e.id===r));var n;null!=c&&c.variations&&0!==c.variations.length?(this.setState({loading:!0}),(n=r,Ce()({path:(0,me.addQueryArgs)("wc/store/v1/products",{per_page:0,type:"variation",parent:n})})).then((e=>{const t=e.map((e=>({...e,parent:r})));this.setState({variations:{...this.state.variations,[r]:t},loading:!1,error:null})})).catch((async e=>{const t=await ro(e);this.setState({variations:{...this.state.variations,[r]:null},loading:!1,error:t})}))):this.setState({variations:{...this.state.variations,[r]:null},loading:!1,error:null})}))}componentDidMount(){const{selected:e,showVariations:t}=this.props;e&&t&&this.loadVariations()}componentDidUpdate(e){const{isLoading:t,selected:o,showVariations:r}=this.props;r&&(!Io()(e.selected,o)||e.isLoading&&!t)&&this.loadVariations()}isProductId(e){const{products:t}=this.props;return t.some((t=>t.id===e))}findParentProduct(e){var t;const{products:o}=this.props;return null===(t=o.filter((t=>t.variations&&t.variations.find((({id:t})=>t===e))))[0])||void 0===t?void 0:t.id}getExpandedProduct(){const{isLoading:e,selected:t,showVariations:o}=this.props;if(!o)return null;let r=t&&t.length?t[0]:null;return r?this.prevSelectedItem=r:!this.prevSelectedItem||e||this.isProductId(this.prevSelectedItem)||(r=this.prevSelectedItem),!e&&r?this.isProductId(r)?r:this.findParentProduct(r):null}render(){const{error:t,isLoading:o}=this.props,{error:r,loading:c,variations:l}=this.state;return(0,n.createElement)(e,{...this.props,error:r||t,expandedProduct:this.getExpandedProduct(),isLoading:o,variations:l,variationsLoading:c})}}return t}),"withProductVariations"),xo=e=>{const{id:t,name:o,parent:r}=e;return{id:t,name:o,parent:r,breadcrumbs:[],children:[],details:e,value:e.slug}};o(7369);const Oo={list:(0,C.__)("Products","woocommerce"),noItems:(0,C.__)("Your store doesn't have any products.","woocommerce"),search:(0,C.__)("Search for a product to display","woocommerce"),updated:(0,C.__)("Product search results updated.","woocommerce")},Lo=(e=>t=>{let{selected:o}=t;o=void 0===o?null:o;const r=null===o;return Array.isArray(o)?(0,n.createElement)(e,{...t}):(0,n.createElement)(e,{...t,selected:r?[]:[o]})})((Mo=To((0,P.withInstanceId)((e=>{const{expandedProduct:t=null,error:o,instanceId:r,isCompact:c=!1,isLoading:l,onChange:a,onSearch:i,products:s,renderItem:u,selected:m=[],showVariations:d=!1,variations:p,variationsLoading:_}=e;if(o)return(0,n.createElement)(no,{error:o});const g=[...s,...p&&t&&p[t]?p[t]:[]].map(xo);return(0,n.createElement)(oo,{className:"woocommerce-products",list:g,isCompact:c,isLoading:l,isSingle:!0,selected:g.filter((({id:e})=>m.includes(Number(e)))),onChange:a,renderItem:u||(d?e=>{var t,o,c,a;const{item:i,search:s,depth:u=0,isSelected:m,onSelect:d}=e,p=null!==(t=i.details)&&void 0!==t&&t.variations&&Array.isArray(i.details.variations)?i.details.variations.length:0,g=(0,pt.A)("woocommerce-search-product__item","woocommerce-search-list__item",`depth-${u}`,"has-count",{"is-searching":s.length>0,"is-skip-level":0===u&&0!==i.parent,"is-variable":p>0});if(!i.breadcrumbs.length){var w,h,E,b;const t=(null===(w=i.details)||void 0===w?void 0:w.variations)&&i.details.variations.length>0;return(0,n.createElement)(lo,{...e,className:(0,pt.A)(g,{"is-selected":m}),isSelected:m,item:i,onSelect:()=>()=>{d(i)()},isLoading:l||_,countLabel:t?(0,C.sprintf)(/* translators: %1$d is the number of variations of a product product. */ /* translators: %1$d is the number of variations of a product product. */ (0,C.__)("%1$d variations","woocommerce"),null===(h=i.details)||void 0===h?void 0:h.variations.length):null,name:`products-${r}`,"aria-label":t?(0,C.sprintf)(/* translators: %1$s is the product name, %2$d is the number of variations of that product. */ /* translators: %1$s is the product name, %2$d is the number of variations of that product. */ (0,C._n)("%1$s, has %2$d variation","%1$s, has %2$d variations",null===(E=i.details)||void 0===E||null===(E=E.variations)||void 0===E?void 0:E.length,"woocommerce"),i.name,null===(b=i.details)||void 0===b?void 0:b.variations.length):void 0})}const y=(0,ze.isEmpty)(null===(o=i.details)||void 0===o?void 0:o.variation)?e:{...e,item:{...e.item,name:null===(c=i.details)||void 0===c?void 0:c.variation},"aria-label":`${i.breadcrumbs[0]}: ${null===(a=i.details)||void 0===a?void 0:a.variation}`};return(0,n.createElement)(Wt,{...y,className:g,name:`variations-${r}`})}:void 0),onSearch:i,messages:{...Oo,...e.messages},isHierarchical:!0})}))),({selected:e,...t})=>{const[o,r]=(0,a.useState)(!0),[c,l]=(0,a.useState)(null),[i,s]=(0,a.useState)([]),u=ke.productCount>100,m=async e=>{const t=await ro(e);l(t),r(!1)},d=(0,a.useRef)(e);(0,a.useEffect)((()=>{Te({selected:d.current}).then((e=>{s(e),r(!1)})).catch(m)}),[d]);const p=(0,Ao.YQ)((t=>{Te({selected:e,search:t}).then((e=>{s(e),r(!1)})).catch(m)}),400),_=(0,a.useCallback)((e=>{r(!0),p(e)}),[r,p]);return(0,n.createElement)(Mo,{...t,selected:e,error:c,products:i,isLoading:o,onSearch:u?_:null})})),No="product",Do="cart",Bo="order",Fo=({isOpen:e,onToggle:t,product:o,isLoading:r})=>{var c;if(r&&!o)return(0,n.createElement)(w.Spinner,null);const l=!o,a=l||!(null!=o&&null!==(c=o.images)&&void 0!==c&&null!==(c=c[0])&&void 0!==c&&c.src),i=a?`${Se}/blocks/product-collection/placeholder.svg`:o.images[0].src,s=a?"":null==o?void 0:o.name;return(0,n.createElement)(w.Button,{className:"wc-block-product-collection-linked-product-control__button",onClick:t,"aria-expanded":e,disabled:r},(0,n.createElement)(w.Flex,{direction:"row",expanded:!0,justify:"flex-start"},(0,n.createElement)(w.FlexItem,{className:"wc-block-product-collection-linked-product-control__image-container"},(0,n.createElement)("img",{src:i,alt:s})),(0,n.createElement)(w.Flex,{direction:"column",align:"flex-start",gap:1,className:"wc-block-product-collection-linked-product-control__content"},l?(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},(0,C.__)("Select product","woocommerce"))):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},null!=o&&o.name?(0,Vt.decodeEntities)(o.name):"")),(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},null==o?void 0:o.sku))))))},qo=({query:e,setAttributes:t,setIsDropdownOpen:o})=>(0,n.createElement)(Lo,{selected:null==e?void 0:e.productReference,onChange:(r=[])=>{var c,n;const l=null!==(c=null===(n=r[0])||void 0===n?void 0:n.id)&&void 0!==c?c:null;null!==l&&(t({query:{...e,productReference:l}}),o(!1))},messages:{search:(0,C.__)("Select a product","woocommerce")}});var Mo,Vo=function(e){return e.CURRENT_PRODUCT="CURRENT_PRODUCT",e.SPECIFIC_PRODUCT="SPECIFIC_PRODUCT",e}(Vo||{});const Uo=({query:e,setAttributes:t,location:o,usesReference:r})=>{const c=o.type===No,l=!(null==r||!r.includes(No)),i=o.type===Do,s=!(null==r||!r.includes(Do)),u=o.type===Bo,m=!(null==r||!r.includes(Bo)),{productReference:d}=e,{product:p,isLoading:_}=(e=>{const[t,o]=(0,a.useState)(null),[r,c]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{(async()=>{if(e){c(!0);try{const t=await(e=>Ce()({path:`/wc/store/v1/products/${e}`}))(e);o(t)}catch(e){o(null)}finally{c(!1)}}else o(null),c(!1)})()}),[e]),{product:t,isLoading:r}})(d),[g,h]=(0,a.useState)(!1),[E,b]=(0,a.useState)((c||i||u)&&(0,ze.isEmpty)(d)?Vo.CURRENT_PRODUCT:Vo.SPECIFIC_PRODUCT),y=(0,a.useRef)(void 0),v=c&&l||i&&s||u&&m,f=v?E===Vo.SPECIFIC_PRODUCT:!(0,ze.isEmpty)(d);if(!v&&!f||!(l||s||m))return null;const k=E===Vo.CURRENT_PRODUCT?(0,C.__)("Linked products will be pulled from the product a shopper is currently viewing","woocommerce"):(0,C.__)("Select a product to pull the linked products from","woocommerce"),S=((e,t,o)=>e===Do&&t?(0,C.__)("From products in the cart","woocommerce"):e===Bo&&o?(0,C.__)("From products in the order","woocommerce"):(0,C.__)("From the current product","woocommerce"))(o.type,s,m);return(0,n.createElement)(w.PanelBody,{title:(0,C.__)("Linked Product","woocommerce")},v&&(0,n.createElement)(w.PanelRow,null,(0,n.createElement)(w.RadioControl,{className:"wc-block-product-collection-product-reference-radio",label:(0,C.__)("Products to show","woocommerce"),help:k,selected:E,options:[{label:S,value:Vo.CURRENT_PRODUCT},{label:(0,C.__)("From a specific product","woocommerce"),value:Vo.SPECIFIC_PRODUCT}],onChange:o=>{if(o===Vo.CURRENT_PRODUCT){const{productReference:o,...r}=e;y.current=o,t({query:r})}else t({query:y.current?{...e,productReference:y.current}:e});b(o)}})),f&&(0,n.createElement)(w.PanelRow,null,(0,n.createElement)(w.Dropdown,{className:"wc-block-product-collection-linked-product-control",contentClassName:"wc-block-product-collection-linked-product__popover-content",popoverProps:{placement:"left-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(Fo,{isOpen:e,onToggle:t,product:p,isLoading:_}),renderContent:()=>(0,n.createElement)(qo,{query:e,setAttributes:t,setIsDropdownOpen:h}),open:g,onToggle:()=>h(!g)})))},Ho=({dimensions:e,setAttributes:t})=>{const{widthType:o,fixedWidth:r=""}=e;return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Width","woocommerce"),hasValue:()=>o!==b.FILL,isShownByDefault:!0},(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Width","woocommerce"),value:o,help:(c=o,c===b.FILL?(0,C.__)("Stretch to fill available space.","woocommerce"):(0,C.__)("Specify a fixed width.","woocommerce")),onChange:o=>(o=>{t({dimensions:{...e,widthType:o}})})(o),isBlock:!0},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:b.FILL,label:(0,C.__)("Fill","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:b.FIXED,label:(0,C.__)("Fixed","woocommerce")})),o===b.FIXED&&(0,n.createElement)(w.__experimentalUnitControl,{onChange:o=>{t({dimensions:{...e,fixedWidth:o}})},value:r}));var c},$o=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=null==e?void 0:e.relatedBy,c=(e,c)=>{const n={...r,[c]:e};t({relatedBy:n}),o(f.RELATED_BY)};return(0,n.createElement)(w.PanelBody,{title:(0,C.__)("Related by","woocommerce")},(0,n.createElement)("div",{className:"wc-block-editor-product-collection-inspector-controls__relate-by"},(0,n.createElement)(w.CheckboxControl,{label:(0,C.__)("Categories","woocommerce"),checked:null==r?void 0:r.categories,onChange:e=>{c(e,"categories")}}),(0,n.createElement)(w.CheckboxControl,{label:(0,C.__)("Tags","woocommerce"),checked:null==r?void 0:r.tags,onChange:e=>{c(e,"tags")}})))},Go=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({perPage:q.perPage}),o(f.PRODUCTS_PER_PAGE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Products per page","woocommerce"),isShownByDefault:!0,hasValue:()=>e.perPage!==q.perPage,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,C.__)("Products per page","woocommerce"),min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||(t({perPage:e}),o(f.PRODUCTS_PER_PAGE))},value:e.perPage||q.perPage}))},jo=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({offset:q.offset}),o(f.OFFSET)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Offset","woocommerce"),hasValue:()=>e.offset!==q.offset,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,C.__)("Offset","woocommerce"),value:e.offset,min:0,onChange:e=>{isNaN(e)||e<0||e>100||(t({offset:e}),o(f.OFFSET))}}))},Wo=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({pages:q.pages}),o(f.MAX_PAGES_TO_SHOW)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Max pages to show","woocommerce"),hasValue:()=>e.pages!==q.pages,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,C.__)("Max pages to show","woocommerce"),value:e.pages,min:0,onChange:e=>{isNaN(e)||e<0||(t({pages:e}),o(f.MAX_PAGES_TO_SHOW))},help:(0,C.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).","woocommerce")}))},Qo=e=>{const{attributes:t,context:o,setAttributes:r}=e,{query:i,hideControls:s,dimensions:u,displayLayout:m}=t,d=dt(o.templateSlug),p=e=>R("blocks_product_collection_inspector_control_clicked",{collection:t.collection,location:d,filter:e}),_=(null==i?void 0:i.inherit)||!1,g=(e=>t=>!e.includes(t))(s),h="product-catalog"===d||"product-archive"===d,E=!1===_,b=h&&g(f.INHERIT),y=!h&&g(f.FILTERABLE),v=E&&g(f.ORDER),k=!E,S=E&&g(f.OFFSET),A=E&&g(f.MAX_PAGES_TO_SHOW),P=E&&g(f.PRODUCTS_PER_PAGE),I=g(f.ON_SALE),T=g(f.STOCK_STATUS),x=g(f.HAND_PICKED),O=g(f.KEYWORD),L=g(f.ATTRIBUTES),N=g(f.TAXONOMY),D=g(f.FEATURED),B=g(f.CREATED),F=g(f.PRICE_RANGE),V={setAttributes:r,displayLayout:m},U={setAttributes:r,dimensions:u},H={setQueryAttribute:(0,a.useMemo)((()=>Oe.bind(null,e)),[e]),trackInteraction:p,query:i};return(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(Uo,{query:e.attributes.query,setAttributes:e.setAttributes,usesReference:e.usesReference,location:e.location}),(0,n.createElement)(w.__experimentalToolsPanel,{label:(0,C.__)("Settings","woocommerce"),resetAll:()=>{const t=(o=e.attributes,{displayLayout:Fe(),query:(r=o.query,{...r,orderBy:q.orderBy,order:q.order,inherit:De(),filterable:Be(),perPage:q.perPage,offset:q.offset,pages:q.pages}),dimensions:M.dimensions});var o,r;e.setAttributes(t)},className:"wc-block-editor-product-collection__settings_panel"},b&&(0,n.createElement)(Pt,{...H}),y&&(0,n.createElement)(It,{...H}),v&&(0,n.createElement)(Nt,{...H}),k&&(0,n.createElement)(Ot,{trackInteraction:p}),(0,n.createElement)(yo,{...V}),(0,n.createElement)(Ho,{...U}),P&&(0,n.createElement)(Go,{...H}),(0,n.createElement)(vt,{...V}),S&&(0,n.createElement)(jo,{...H}),A&&(0,n.createElement)(Wo,{...H})),E?(0,n.createElement)(w.__experimentalToolsPanel,{label:(0,C.__)("Filters","woocommerce"),resetAll:e=>{e.forEach((e=>{e()}))},className:"wc-block-editor-product-collection-inspector-toolspanel__filters"},I&&(0,n.createElement)(Dt,{...H}),T&&(0,n.createElement)(Ft,{...H}),x&&(0,n.createElement)(ho,{...H}),O&&(0,n.createElement)(qt,{...H}),L&&(0,n.createElement)(uo,{...H}),N&&(0,n.createElement)(go,{...H}),D&&(0,n.createElement)(vo,{...H}),B&&(0,n.createElement)(fo,{...H}),F&&(0,n.createElement)(So,{...H})):null,(0,n.createElement)(it,{blockName:`${c.title} block`,wrapper:w.PanelBody}))},Ko=e=>e===c.name,zo=e=>{const t=e+2592e5;return Date.now()<t},Zo=(e=0)=>e<=4,Yo=e=>{const t=(0,a.useMemo)((()=>Oe.bind(null,e)),[e]),o=dt(e.context.templateSlug),r={setQueryAttribute:t,trackInteraction:t=>R("blocks_product_collection_inspector_control_clicked",{collection:e.attributes.collection,location:o,filter:t}),query:e.attributes.query};return(0,n.createElement)(l.InspectorControls,null,"woocommerce/product-collection/hand-picked"===e.attributes.collection&&(0,n.createElement)(w.PanelBody,null,(0,n.createElement)(wo,{...r})),"woocommerce/product-collection/related"===e.attributes.collection&&(0,n.createElement)($o,{...r}))};(0,ue.addFilter)("editor.BlockEdit",c.name,(e=>t=>Ko(t.name)&&t.isSelected?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Yo,{...t}),(0,n.createElement)(e,{...t})):(0,n.createElement)(e,{...t}))),(0,ue.addFilter)("editor.BlockEdit",c.name,(e=>t=>{if(!Ko(t.name))return(0,n.createElement)(e,{...t});const o=(e=>{const{attributes:t}=e,{convertedFromProducts:o}=t,{status:r,time:c,displayCount:n}=Je();return o&&"notseen"===r&&zo(c)&&Zo(n)})(t),r=(e=>{const{attributes:t}=e,{convertedFromProducts:o}=t,{status:r,time:c,displayCount:n}=Je();return o&&("seen"===r||!zo(c)||!Zo(n))})(t);return r&&t.setAttributes({convertedFromProducts:!1}),(0,n.createElement)(n.Fragment,null,o&&(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(ht,{revertMigration:nt})),(0,n.createElement)(e,{...t}))}));const Xo=["core/post-content","woocommerce/mini-cart","woocommerce/featured-product"],Jo=["core/","woocommerce/"],er=(0,C.__)("Enable to enforce full page reload on certain interactions, like using paginations controls.","woocommerce"),tr=(0,C.__)("Browsing between pages requires a full page reload.","woocommerce"),or=(0,C.__)("Reload full page can't be disabled because there are incompatible blocks inside the Product Collection block.","woocommerce"),rr=e=>{const{clientId:t,forcePageReload:o,setAttributes:r}=e,c=(e=>(0,i.useSelect)((t=>{const{getClientIdsOfDescendants:o,getBlockName:r}=t(l.store);return o(e).find((e=>{var t;return t=r(e),!(!Xo.includes(t)&&Jo.find((e=>t.startsWith(e))))}))||!1}),[e]))(t);(0,a.useEffect)((()=>{!o&&c&&r({forcePageReload:!0})}),[o,c,r]);let s=er;return o&&(s=tr),c&&(s=or),(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Reload full page","woocommerce"),help:s,checked:o,onChange:()=>r({forcePageReload:!o}),disabled:c})};function cr(e){const{clientId:t,attributes:o,setAttributes:r}=e,{forcePageReload:c}=o;return(0,n.createElement)(l.InspectorAdvancedControls,null,(0,n.createElement)(rr,{clientId:t,forcePageReload:c,setAttributes:r}))}var nr=o(5866),lr=o(6554);const ar=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c=t=>{e.setAttributes({displayLayout:t})},l=[{icon:nr.A,title:(0,C.__)("List view","woocommerce"),onClick:()=>c({type:E.STACK,columns:o,shrinkColumns:r}),isActive:t===E.STACK},{icon:lr.A,title:(0,C.__)("Grid view","woocommerce"),onClick:()=>c({type:E.GRID,columns:o,shrinkColumns:r}),isActive:t===E.GRID}];return(0,n.createElement)(w.ToolbarGroup,{controls:l})},ir=e=>(0,n.createElement)(w.ToolbarGroup,null,(0,n.createElement)(w.ToolbarButton,{onClick:e.openCollectionSelectionModal},(0,C.__)("Choose collection","woocommerce")));function sr(e){var t;const{attributes:o,openCollectionSelectionModal:r,setAttributes:c}=e,{query:a,displayLayout:i}=o,s=se(e.attributes.collection),u=(null==s||null===(t=s.scope)||void 0===t?void 0:t.includes("block"))||void 0===(null==s?void 0:s.scope);return(0,n.createElement)(l.BlockControls,null,u&&(0,n.createElement)(ir,{openCollectionSelectionModal:r}),!a.inherit&&(0,n.createElement)(ar,{displayLayout:i,setAttributes:c}))}const ur=({preview:{setPreviewState:e,initialPreviewState:t}={},...o})=>{var r,c,s,m;const d=(0,a.useRef)(!1),{clientId:p,attributes:_,setAttributes:g,location:h,isUsingReferencePreviewMode:E}=o;(({setPreviewState:e,location:t,attributes:o,setAttributes:r,isUsingReferencePreviewMode:c})=>{var n,l;const i=e=>{r({__privatePreviewState:{...o.__privatePreviewState,...e}})},s=((e,t)=>t?e.type===u.Product?(0,C.__)("Actual products will vary depending on the product being viewed.","woocommerce"):(0,C.__)("Actual products will vary depending on the page being viewed.","woocommerce"):"")(t,c);(0,a.useLayoutEffect)((()=>{c&&r({__privatePreviewState:{isPreview:s.length>0,previewMessage:s}})}),[r,s,c]),(0,a.useLayoutEffect)((()=>{if(e||c)return(null==e?void 0:e({setState:i,location:t,attributes:o}))||void 0}),[e]);const m=t.type===u.Archive?null===(n=t.sourceData)||void 0===n?void 0:n.termId:null;(0,a.useLayoutEffect)((()=>{if(!e&&!c){var n;const e=t.type===u.Archive&&null===m;r({__privatePreviewState:{isPreview:!!e&&!(null==o||null===(n=o.query)||void 0===n||!n.inherit),previewMessage:(0,C.__)("Actual products will vary depending on the page being viewed.","woocommerce")}})}}),[null==o||null===(l=o.query)||void 0===l?void 0:l.inherit,s,m,t.type,r,e,c])})({setPreviewState:e,setAttributes:g,location:h,attributes:_,isUsingReferencePreviewMode:E});const y=(0,l.useBlockProps)(),v=(0,l.useInnerBlocksProps)(y,{template:$}),f=((e,t,o)=>{const r=(0,P.useInstanceId)(o),{getBlockParentsByBlockName:c}=(0,i.useSelect)(l.store);let n=r;return(0,a.useMemo)((()=>c(e,"core/block")),[c,e]).length>0&&(n=t.queryId),n})(p,_,ur),k={...M,query:{...M.query,inherit:De(),filterable:Be()},..._,queryId:f,...!!_.collection&&t&&{__privatePreviewState:t}};let S={};return b.FIXED===(null==_||null===(r=_.dimensions)||void 0===r?void 0:r.widthType)&&null!=_&&null!==(c=_.dimensions)&&void 0!==c&&c.fixedWidth&&(S={maxWidth:_.dimensions.fixedWidth,margin:"0 auto"}),(0,a.useEffect)((()=>{g(k),d.current=!0}),[]),d.current=d.current||We()(_,k),d.current?(0,n.createElement)("div",{...y},(null===(s=_.__privatePreviewState)||void 0===s?void 0:s.isPreview)&&o.isSelected&&(0,n.createElement)(w.Button,{variant:"primary",size:"small",showTooltip:!0,label:null===(m=_.__privatePreviewState)||void 0===m?void 0:m.previewMessage,className:"wc-block-product-collection__preview-button","data-testid":"product-collection-preview-button"},"Preview"),(0,n.createElement)(Qo,{...o}),(0,n.createElement)(cr,{...o}),(0,n.createElement)(sr,{...o}),(0,n.createElement)("div",{...v,style:S})):null},mr=ur,dr=e=>{const{clientId:t,attributes:o,tracksLocation:r,closePatternSelectionModal:c}=e,{collection:s}=o,{replaceBlock:u}=(0,i.useDispatch)(l.store),[m,d]=(0,a.useState)(s),p=e=>{R("blocks_product_collection_collection_replaced_from_placeholder",{action:e,location:r}),c()};return(0,n.createElement)(w.Modal,{overlayClassName:"wc-blocks-product-collection__modal",title:(0,C.__)("What products do you want to show?","woocommerce"),onRequestClose:()=>p("close"),size:"large"},(0,n.createElement)("div",{className:"wc-blocks-product-collection__content"},(0,n.createElement)($e,{chosenCollection:m,onCollectionClick:d}),(0,n.createElement)("div",{className:"wc-blocks-product-collection__footer"},(0,n.createElement)(w.Button,{variant:"tertiary",onClick:()=>p("cancel")},(0,C.__)("Cancel","woocommerce")),(0,n.createElement)(w.Button,{variant:"primary",onClick:()=>{m&&(R("blocks_product_collection_collection_replaced_from_placeholder",{from:s,to:m,location:r}),qe(m,t,u))}},(0,C.__)("Continue","woocommerce")))))};o(6818);const pr=e=>{var t;const o=(0,l.useBlockProps)(),{attributes:r,isDeletedProductReference:c}=e,i=se(r.collection);if(!i)return null;const s=c?(0,C.__)("Previously selected product is no longer available.","woocommerce"):(0,a.createInterpolateElement)((0,C.sprintf)(/* translators: %s: collection title */ /* translators: %s: collection title */ (0,C.__)("<strong>%s</strong> requires a product to be selected in order to display associated items.","woocommerce"),i.title),{strong:(0,n.createElement)("strong",null)});return(0,n.createElement)("div",{...o},(0,n.createElement)(w.Placeholder,{className:"wc-blocks-product-collection__editor-product-picker"},(0,n.createElement)(w.__experimentalHStack,{alignment:"center"},(0,n.createElement)(T.A,{icon:Kt.A,className:"wc-blocks-product-collection__info-icon"}),(0,n.createElement)(w.__experimentalText,null,s)),(0,n.createElement)(Lo,{selected:null===(t=r.query)||void 0===t?void 0:t.productReference,onChange:(t=[])=>{var o,c;null!==(null!==(o=null===(c=t[0])||void 0===c?void 0:c.id)&&void 0!==o?o:null)&&e.setAttributes({query:{...r.query,productReference:t[0].id}})},messages:{search:(0,C.__)("Select a product","woocommerce")}})))};var _r=o(6465);function gr(e,{blockDescription:t,blockIcon:o,blockTitle:c,variationName:n,scope:l}){(0,r.registerBlockVariation)(e,{description:t,name:n,title:c,isActive:e=>e.__woocommerceNamespace===n,icon:{src:o},attributes:{__woocommerceNamespace:n},scope:l})}const wr=(0,C.__)("Product Summary","woocommerce"),hr=((0,n.createElement)(T.A,{icon:_r.A,className:"wc-block-editor-components-block-icon"}),(0,C.__)("Display a short description about a product.","woocommerce")),Er=`${c.name}/product-summary`;var br=o(4478);const yr=(0,C.__)("Product Title","woocommerce"),vr=((0,n.createElement)(T.A,{icon:br.A,className:"wc-block-editor-components-block-icon"}),(0,C.__)("Display the title of a product.","woocommerce")),fr=`${c.name}/product-title`;(0,r.registerBlockType)(c,{icon:()=>(0,n.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 11H5C4.72386 11 4.5 11.2239 4.5 11.5V17.5C4.5 17.7761 4.72386 18 5 18H19C19.2761 18 19.5 17.7761 19.5 17.5V11.5C19.5 11.2239 19.2761 11 19 11ZM5 9.5H19C20.1046 9.5 21 10.3954 21 11.5V17.5C21 18.6046 20.1046 19.5 19 19.5H5C3.89543 19.5 3 18.6046 3 17.5V11.5C3 10.3954 3.89543 9.5 5 9.5Z",fill:"currentColor"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 7.5C18 7.77614 17.7761 8 17.5 8L6.5 8C6.22386 8 6 7.77614 6 7.5V7.5C6 7.22386 6.22386 7 6.5 7L17.5 7C17.7761 7 18 7.22386 18 7.5V7.5Z",fill:"currentColor"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 5C16 5.27614 15.7761 5.5 15.5 5.5L8.5 5.5C8.22386 5.5 8 5.27614 8 5V5C8 4.72386 8.22386 4.5 8.5 4.5L15.5 4.5C15.7761 4.5 16 4.72386 16 5V5Z",fill:"currentColor"})),edit:e=>{const{clientId:t,attributes:o,context:r}=e,c=((e,t)=>{const o=e.templateSlug||"",r=e.postId||null,c=(e=>t=>e.replace(`${t}-`,""))(o),n=(e=>t=>e.includes(t)&&e!==t)(o),s=n(m),w=n(d),h=n(p),[E,b]=(0,a.useState)(null),[y,v]=(0,a.useState)(null),[f,C]=(0,a.useState)(null);(0,a.useEffect)((()=>{if(s){const e=c(m);_("postType","product",e,b)}if(w){const e=c(d);_("taxonomy","product_cat",e,v)}if(h){const e=c(p);_("taxonomy","product_tag",e,C)}}),[s,w,h,c]);const{isInSingleProductBlock:k,isInSomeCartCheckoutBlock:S}=(0,i.useSelect)((e=>{const{getBlockParentsByBlockName:o}=e(l.store),r=e=>o(t,e).length>0;return{isInSingleProductBlock:r(["woocommerce/single-product"]),isInSomeCartCheckoutBlock:r(["woocommerce/cart","woocommerce/checkout","woocommerce/mini-cart-contents"])}}),[t]);if(k)return g(u.Product,{productId:r});if(S)return g(u.Cart);if(s)return g(u.Product,{productId:E});const A=(e=>t=>e===t)(o);if(A(m))return g(u.Product,{productId:null});if(w)return g(u.Archive,{taxonomy:"product_cat",termId:y});if(h)return g(u.Archive,{taxonomy:"product_tag",termId:f});if(A(d))return g(u.Archive,{taxonomy:"product_cat",termId:null});if(A(p))return g(u.Archive,{taxonomy:"product_tag",termId:null});if(A("taxonomy-product_attribute"))return g(u.Archive,{taxonomy:null,termId:null});if("page-cart"===o||"page-checkout"===o)return g(u.Cart);const R=A("order-confirmation");return g(R?u.Order:u.Site)})(r,t),E=dt(r.templateSlug),[b,y]=(0,a.useState)(!1),v=(0,i.useSelect)((e=>!!e(l.store).getBlocks(t).length),[t]),{productCollectionUIStateInEditor:f,isLoading:C}=(({location:e,usesReference:t,attributes:o,hasInnerBlocks:r})=>{var c,n,l,m;const d=null===(c=o.query)||void 0===c?void 0:c.productReference,{product:p,hasResolved:_}=(0,i.useSelect)((e=>{if(!d)return{product:null,hasResolved:!0};const{getEntityRecord:t,hasFinishedResolution:o}=e(s.store),r=["postType","product",d];return{product:t(...r),hasResolved:o("getEntityRecord",r)}}),[d]);return{productCollectionUIStateInEditor:(0,a.useMemo)((()=>{var c,n;const l=null==t?void 0:t.includes(e.type),a=!!o.collection,i=null==t?void 0:t.includes("product"),s=null!==(null!==(c=null===(n=o.query)||void 0===n?void 0:n.productReference)&&void 0!==c?c:null);if(a&&i&&!l&&!s)return h.PRODUCT_REFERENCE_PICKER;if(a&&i&&!l&&s&&d&&(void 0===p||"trash"===(null==p?void 0:p.status)))return h.DELETED_PRODUCT_REFERENCE;if(l){var m,_,g,w;const t=e.type===u.Archive&&null!==(null!==(m=null===(_=e.sourceData)||void 0===_?void 0:_.termId)&&void 0!==m?m:null),o=e.type===u.Product&&null!==(null!==(g=null===(w=e.sourceData)||void 0===w?void 0:w.productId)&&void 0!==g?g:null);if(!t&&!o&&!d)return h.VALID_WITH_PREVIEW}return r||a?h.VALID:h.COLLECTION_PICKER}),[e.type,null===(n=e.sourceData)||void 0===n?void 0:n.termId,null===(l=e.sourceData)||void 0===l?void 0:l.productId,t,o.collection,d,p,r,null===(m=o.query)||void 0===m?void 0:m.productReference]),isLoading:!_}})({location:c,attributes:o,hasInnerBlocks:v,usesReference:e.usesReference});if(C)return(0,n.createElement)(w.Flex,{justify:"center",align:"center"},(0,n.createElement)(w.Spinner,null));const k={...e,openCollectionSelectionModal:()=>y(!0),location:c,isUsingReferencePreviewMode:f===h.VALID_WITH_PREVIEW};return(0,n.createElement)(n.Fragment,null,(()=>{switch(f){case h.COLLECTION_PICKER:return(0,n.createElement)(Ge,{...e,tracksLocation:E});case h.PRODUCT_REFERENCE_PICKER:return(0,n.createElement)(pr,{...e,isDeletedProductReference:!1});case h.DELETED_PRODUCT_REFERENCE:return(0,n.createElement)(pr,{...e,isDeletedProductReference:!0});case h.VALID:case h.VALID_WITH_PREVIEW:return(0,n.createElement)(mr,{...k});default:return(0,n.createElement)(Ge,{...e,tracksLocation:E})}})(),b&&(0,n.createElement)(dr,{clientId:t,attributes:o,tracksLocation:E,closePatternSelectionModal:()=>y(!1)}))},save:function({attributes:{tagName:e="div"}}){const t=l.useBlockProps.save(),o=l.useInnerBlocksProps.save(t);return(0,n.createElement)(e,{...o})}}),gr("core/post-excerpt",{blockDescription:hr,blockIcon:(0,n.createElement)(w.Icon,{icon:_r.A}),blockTitle:wr,variationName:Er,scope:[]}),gr("core/post-title",{blockDescription:vr,blockIcon:(0,n.createElement)(w.Icon,{icon:br.A}),blockTitle:yr,variationName:fr,scope:["block","inserter"]}),ie.forEach((e=>(0,I.__experimentalRegisterProductCollection)(e))),(0,ue.addFilter)("blocks.registerBlockType","woocommerce/add-product-collection-block-to-parent-array-of-pagination-block",((e,t)=>t!==H?e:null!=e&&e.ancestor?{...e,ancestor:[...e.ancestor,c.name]}:null!=e&&e.parent?{...e,parent:[...e.parent,c.name]}:e))},6818:()=>{},2777:()=>{},7369:()=>{},8137:()=>{},6636:()=>{},2615:()=>{},1609:e=>{"use strict";e.exports=window.React},9491:e=>{"use strict";e.exports=window.wp.compose},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},923:e=>{"use strict";e.exports=window.wp.isShallowEqual},5573:e=>{"use strict";e.exports=window.wp.primitives}},c={};function n(e){var t=c[e];if(void 0!==t)return t.exports;var o=c[e]={exports:{}};return r[e].call(o.exports,o,o.exports,n),o.exports}n.m=r,e=[],n.O=(t,o,r,c)=>{if(!o){var l=1/0;for(u=0;u<e.length;u++){for(var[o,r,c]=e[u],a=!0,i=0;i<o.length;i++)(!1&c||l>=c)&&Object.keys(n.O).every((e=>n.O[e](o[i])))?o.splice(i--,1):(a=!1,c<l&&(l=c));if(a){e.splice(u--,1);var s=r();void 0!==s&&(t=s)}}return t}c=c||0;for(var u=e.length;u>0&&e[u-1][2]>c;u--)e[u]=e[u-1];e[u]=[o,r,c]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var c=Object.create(null);n.r(c);var l={};t=t||[null,o({}),o([]),o(o)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=o(a))Object.getOwnPropertyNames(a).forEach((t=>l[t]=()=>e[t]));return l.default=()=>e,n.d(c,l),c},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=5201,(()=>{var e={5201:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var r,c,[l,a,i]=o,s=0;if(l.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(i)var u=i(n)}for(t&&t(o);s<l.length;s++)c=l[s],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(u)},o=self.webpackChunkwebpackWcBlocksMainJsonp=self.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var l=n.O(void 0,[94],(()=>n(3739)));l=n.O(l),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["product-collection"]=l})();
Submit
FILE
FOLDER
Name
Size
Permission
Action
@woocommerce
---
0755
accordion-group
---
0755
accordion-header
---
0755
accordion-item
---
0755
accordion-panel
---
0755
active-filters
---
0755
add-to-cart-form
---
0755
add-to-cart-with-options
---
0755
add-to-cart-with-options-grouped-product-selector
---
0755
add-to-cart-with-options-grouped-product-selector-item
---
0755
add-to-cart-with-options-quantity-selector
---
0755
add-to-cart-with-options-variation-selector
---
0755
all-products
---
0755
attribute-filter
---
0755
blockified-product-details
---
0755
breadcrumbs
---
0755
cart-blocks
---
0755
cart-link
---
0755
catalog-sorting
---
0755
checkout
---
0755
checkout-blocks
---
0755
classic-shortcode
---
0755
coming-soon
---
0755
customer-account
---
0755
featured-category
---
0755
featured-product
---
0755
filter-wrapper
---
0755
handpicked-products
---
0755
inner-blocks
---
0755
mini-cart
---
0755
mini-cart-contents-block
---
0755
order-confirmation-additional-fields
---
0755
order-confirmation-additional-fields-wrapper
---
0755
order-confirmation-additional-information
---
0755
order-confirmation-billing-address
---
0755
order-confirmation-billing-wrapper
---
0755
order-confirmation-create-account
---
0755
order-confirmation-downloads
---
0755
order-confirmation-downloads-wrapper
---
0755
order-confirmation-shipping-address
---
0755
order-confirmation-shipping-wrapper
---
0755
order-confirmation-status
---
0755
order-confirmation-summary
---
0755
order-confirmation-totals
---
0755
order-confirmation-totals-wrapper
---
0755
page-content-wrapper
---
0755
price-filter
---
0755
product-average-rating
---
0755
product-best-sellers
---
0755
product-button
---
0755
product-categories
---
0755
product-category
---
0755
product-collection
---
0755
product-collection-no-results
---
0755
product-details
---
0755
product-filter-active
---
0755
product-filter-attribute
---
0755
product-filter-checkbox-list
---
0755
product-filter-chips
---
0755
product-filter-clear-button
---
0755
product-filter-price
---
0755
product-filter-price-slider
---
0755
product-filter-rating
---
0755
product-filter-removable-chips
---
0755
product-filter-status
---
0755
product-filters
---
0755
product-gallery
---
0755
product-gallery-large-image
---
0755
product-gallery-large-image-next-previous
---
0755
product-gallery-pager
---
0755
product-gallery-thumbnails
---
0755
product-image
---
0755
product-image-gallery
---
0755
product-meta
---
0755
product-new
---
0755
product-price
---
0755
product-rating
---
0755
product-rating-counter
---
0755
product-rating-stars
---
0755
product-results-count
---
0755
product-reviews
---
0755
product-sale-badge
---
0755
product-summary
---
0755
product-tag
---
0755
product-template
---
0755
product-top-rated
---
0755
products-by-attribute
---
0755
rating-filter
---
0755
related-products
---
0755
single-product
---
0755
stock-filter
---
0755
store-notices
---
0755
woocommerce
---
0755
2727-style.js.LICENSE.txt
188 bytes
0644
3671-style.js.LICENSE.txt
121 bytes
0644
accordion-group-frontend.asset.php
147 bytes
0644
accordion-group-frontend.js
691 bytes
0644
accordion-group-rtl.css
1940 bytes
0644
accordion-group-style.asset.php
186 bytes
0644
accordion-group.asset.php
166 bytes
0644
accordion-group.css
1939 bytes
0644
accordion-group.js
4760 bytes
0644
accordion-header-style.asset.php
166 bytes
0644
accordion-header.asset.php
166 bytes
0644
accordion-header.js
9782 bytes
0644
accordion-item-style.asset.php
191 bytes
0644
accordion-item.asset.php
191 bytes
0644
accordion-item.js
5145 bytes
0644
accordion-panel-style.asset.php
155 bytes
0644
accordion-panel.asset.php
155 bytes
0644
accordion-panel.js
5682 bytes
0644
active-filters-frontend.asset.php
336 bytes
0644
active-filters-frontend.js
18676 bytes
0644
active-filters-rtl.css
9793 bytes
0644
active-filters-style.asset.php
369 bytes
0644
active-filters-wrapper-frontend.js
15040 bytes
0644
active-filters-wrapper-rtl.css
9260 bytes
0644
active-filters-wrapper.css
9262 bytes
0644
active-filters.asset.php
369 bytes
0644
active-filters.css
9795 bytes
0644
active-filters.js
17367 bytes
0644
add-to-cart-form-frontend.asset.php
147 bytes
0644
add-to-cart-form-frontend.js
1067 bytes
0644
add-to-cart-form-rtl.css
6923 bytes
0644
add-to-cart-form-style.asset.php
255 bytes
0644
add-to-cart-form.asset.php
235 bytes
0644
add-to-cart-form.css
6927 bytes
0644
add-to-cart-form.js
11717 bytes
0644
add-to-cart-with-options-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-frontend.js
370 bytes
0644
add-to-cart-with-options-grouped-product-selector-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-grouped-product-selector-frontend.js
395 bytes
0644
add-to-cart-with-options-grouped-product-selector-item-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-grouped-product-selector-item-frontend.js
400 bytes
0644
add-to-cart-with-options-grouped-product-selector-item-style.asset.php
311 bytes
0644
add-to-cart-with-options-grouped-product-selector-item.asset.php
291 bytes
0644
add-to-cart-with-options-grouped-product-selector-item.js
6179 bytes
0644
add-to-cart-with-options-grouped-product-selector-style.asset.php
255 bytes
0644
add-to-cart-with-options-grouped-product-selector.asset.php
235 bytes
0644
add-to-cart-with-options-grouped-product-selector.js
5587 bytes
0644
add-to-cart-with-options-quantity-selector-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-quantity-selector-frontend.js
1101 bytes
0644
add-to-cart-with-options-quantity-selector-rtl.css
3603 bytes
0644
add-to-cart-with-options-quantity-selector-style.asset.php
255 bytes
0644
add-to-cart-with-options-quantity-selector.asset.php
235 bytes
0644
add-to-cart-with-options-quantity-selector.css
3605 bytes
0644
add-to-cart-with-options-quantity-selector.js
5744 bytes
0644
add-to-cart-with-options-rtl.css
1226 bytes
0644
add-to-cart-with-options-style.asset.php
326 bytes
0644
add-to-cart-with-options-variation-selector-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-variation-selector-frontend.js
389 bytes
0644
add-to-cart-with-options-variation-selector-rtl.css
96 bytes
0644
add-to-cart-with-options-variation-selector-style.asset.php
283 bytes
0644
add-to-cart-with-options-variation-selector.asset.php
263 bytes
0644
add-to-cart-with-options-variation-selector.css
96 bytes
0644
add-to-cart-with-options-variation-selector.js
6052 bytes
0644
add-to-cart-with-options.asset.php
306 bytes
0644
add-to-cart-with-options.css
1226 bytes
0644
add-to-cart-with-options.js
13910 bytes
0644
all-products-frontend.asset.php
531 bytes
0644
all-products-frontend.js
30921 bytes
0644
all-products-rtl.css
27637 bytes
0644
all-products-style.asset.php
548 bytes
0644
all-products-style.js.LICENSE.txt
188 bytes
0644
all-products.asset.php
548 bytes
0644
all-products.css
27627 bytes
0644
all-products.js
140783 bytes
0644
all-reviews-rtl.css
10572 bytes
0644
all-reviews-style.asset.php
313 bytes
0644
all-reviews-style.js.LICENSE.txt
188 bytes
0644
all-reviews.asset.php
313 bytes
0644
all-reviews.css
10572 bytes
0644
all-reviews.js
27306 bytes
0644
attribute-filter-frontend.asset.php
408 bytes
0644
attribute-filter-frontend.js
22663 bytes
0644
attribute-filter-rtl.css
29718 bytes
0644
attribute-filter-style.asset.php
427 bytes
0644
attribute-filter-style.js.LICENSE.txt
121 bytes
0644
attribute-filter-wrapper-frontend.js
19200 bytes
0644
attribute-filter-wrapper-rtl.css
8811 bytes
0644
attribute-filter-wrapper.css
8809 bytes
0644
attribute-filter.asset.php
427 bytes
0644
attribute-filter.css
29707 bytes
0644
attribute-filter.js
34955 bytes
0644
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css
20374 bytes
0644
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css
20365 bytes
0644
blockified-product-details-style.asset.php
170 bytes
0644
blockified-product-details.asset.php
170 bytes
0644
blockified-product-details.js
3196 bytes
0644
blocks-checkout-events.asset.php
109 bytes
0644
blocks-checkout-events.js
1668 bytes
0644
blocks-checkout.asset.php
456 bytes
0644
blocks-checkout.js
2631 bytes
0644
blocks-components.asset.php
373 bytes
0644
blocks-components.js
2451 bytes
0644
blocks-json.php
144395 bytes
0644
breadcrumbs-rtl.css
155 bytes
0644
breadcrumbs-style.asset.php
197 bytes
0644
breadcrumbs.asset.php
197 bytes
0644
breadcrumbs.css
155 bytes
0644
breadcrumbs.js
3941 bytes
0644
cart-frontend.asset.php
666 bytes
0644
cart-frontend.js
22831 bytes
0644
cart-link-rtl.css
1022 bytes
0644
cart-link-style.asset.php
197 bytes
0644
cart-link.asset.php
197 bytes
0644
cart-link.css
1020 bytes
0644
cart-link.js
9025 bytes
0644
cart-rtl.css
73790 bytes
0644
cart-style.asset.php
701 bytes
0644
cart-style.js.LICENSE.txt
188 bytes
0644
cart.asset.php
701 bytes
0644
cart.css
73780 bytes
0644
cart.js
169815 bytes
0644
catalog-sorting-rtl.css
357 bytes
0644
catalog-sorting-style.asset.php
197 bytes
0644
catalog-sorting.asset.php
197 bytes
0644
catalog-sorting.css
358 bytes
0644
catalog-sorting.js
4806 bytes
0644
checkout-frontend.asset.php
614 bytes
0644
checkout-frontend.js
31904 bytes
0644
checkout-rtl.css
86490 bytes
0644
checkout-style.asset.php
654 bytes
0644
checkout-style.js.LICENSE.txt
188 bytes
0644
checkout.asset.php
629 bytes
0644
checkout.css
86463 bytes
0644
checkout.js
202972 bytes
0644
classic-shortcode-rtl.css
114 bytes
0644
classic-shortcode-style.asset.php
222 bytes
0644
classic-shortcode.asset.php
222 bytes
0644
classic-shortcode.css
114 bytes
0644
classic-shortcode.js
11941 bytes
0644
coming-soon-rtl.css
2023 bytes
0644
coming-soon-style.asset.php
219 bytes
0644
coming-soon.asset.php
219 bytes
0644
coming-soon.css
2023 bytes
0644
coming-soon.js
7182 bytes
0644
customer-account-rtl.css
706 bytes
0644
customer-account-style.asset.php
212 bytes
0644
customer-account.asset.php
212 bytes
0644
customer-account.css
706 bytes
0644
customer-account.js
9307 bytes
0644
featured-category-rtl.css
4926 bytes
0644
featured-category-style.asset.php
355 bytes
0644
featured-category.asset.php
355 bytes
0644
featured-category.css
4926 bytes
0644
featured-category.js
45730 bytes
0644
featured-product-rtl.css
5342 bytes
0644
featured-product-style.asset.php
355 bytes
0644
featured-product.asset.php
355 bytes
0644
featured-product.css
5342 bytes
0644
featured-product.js
46181 bytes
0644
filter-wrapper-frontend.asset.php
490 bytes
0644
filter-wrapper-frontend.js
13807 bytes
0644
filter-wrapper-rtl.css
533 bytes
0644
filter-wrapper-style.asset.php
492 bytes
0644
filter-wrapper.asset.php
180 bytes
0644
filter-wrapper.css
533 bytes
0644
filter-wrapper.js
6931 bytes
0644
handpicked-products-style.asset.php
315 bytes
0644
handpicked-products.asset.php
315 bytes
0644
handpicked-products.js
26767 bytes
0644
interactivity-blocks-frontend-assets.php
2873 bytes
0644
legacy-template-rtl.css
112 bytes
0644
legacy-template-style.asset.php
253 bytes
0644
legacy-template.asset.php
253 bytes
0644
legacy-template.css
112 bytes
0644
legacy-template.js
24594 bytes
0644
mini-cart-component-frontend.asset.php
540 bytes
0644
mini-cart-component-frontend.js
20453 bytes
0644
mini-cart-contents-rtl.css
20427 bytes
0644
mini-cart-contents-style.asset.php
546 bytes
0644
mini-cart-contents-style.js.LICENSE.txt
188 bytes
0644
mini-cart-contents.asset.php
513 bytes
0644
mini-cart-contents.css
20428 bytes
0644
mini-cart-contents.js
62035 bytes
0644
mini-cart-frontend.asset.php
242 bytes
0644
mini-cart-frontend.js
5799 bytes
0644
mini-cart-rtl.css
12259 bytes
0644
mini-cart-style.asset.php
374 bytes
0644
mini-cart.asset.php
276 bytes
0644
mini-cart.css
12257 bytes
0644
mini-cart.js
19585 bytes
0644
order-confirmation-additional-fields-rtl.css
2014 bytes
0644
order-confirmation-additional-fields-style.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper-rtl.css
80 bytes
0644
order-confirmation-additional-fields-wrapper-style.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper.css
80 bytes
0644
order-confirmation-additional-fields-wrapper.js
5537 bytes
0644
order-confirmation-additional-fields.asset.php
195 bytes
0644
order-confirmation-additional-fields.css
2014 bytes
0644
order-confirmation-additional-fields.js
5737 bytes
0644
order-confirmation-additional-information-rtl.css
172 bytes
0644
order-confirmation-additional-information-style.asset.php
180 bytes
0644
order-confirmation-additional-information.asset.php
180 bytes
0644
order-confirmation-additional-information.css
172 bytes
0644
order-confirmation-additional-information.js
3512 bytes
0644
order-confirmation-billing-address-rtl.css
1617 bytes
0644
order-confirmation-billing-address-style.asset.php
195 bytes
0644
order-confirmation-billing-address.asset.php
195 bytes
0644
order-confirmation-billing-address.css
1617 bytes
0644
order-confirmation-billing-address.js
6271 bytes
0644
order-confirmation-billing-wrapper-style.asset.php
180 bytes
0644
order-confirmation-billing-wrapper.asset.php
180 bytes
0644
order-confirmation-billing-wrapper.js
3352 bytes
0644
order-confirmation-create-account-frontend.asset.php
287 bytes
0644
order-confirmation-create-account-frontend.js
13326 bytes
0644
order-confirmation-create-account-rtl.css
9360 bytes
0644
order-confirmation-create-account-style.asset.php
323 bytes
0644
order-confirmation-create-account.asset.php
323 bytes
0644
order-confirmation-create-account.css
9357 bytes
0644
order-confirmation-create-account.js
13811 bytes
0644
order-confirmation-downloads-rtl.css
1561 bytes
0644
order-confirmation-downloads-style.asset.php
197 bytes
0644
order-confirmation-downloads-wrapper-style.asset.php
195 bytes
0644
order-confirmation-downloads-wrapper.asset.php
195 bytes
0644
order-confirmation-downloads-wrapper.js
3556 bytes
0644
order-confirmation-downloads.asset.php
197 bytes
0644
order-confirmation-downloads.css
1561 bytes
0644
order-confirmation-downloads.js
5551 bytes
0644
order-confirmation-shipping-address-rtl.css
2187 bytes
0644
order-confirmation-shipping-address-style.asset.php
195 bytes
0644
order-confirmation-shipping-address.asset.php
195 bytes
0644
order-confirmation-shipping-address.css
2187 bytes
0644
order-confirmation-shipping-address.js
6274 bytes
0644
order-confirmation-shipping-wrapper-style.asset.php
180 bytes
0644
order-confirmation-shipping-wrapper.asset.php
180 bytes
0644
order-confirmation-shipping-wrapper.js
3379 bytes
0644
order-confirmation-status-rtl.css
824 bytes
0644
order-confirmation-status-style.asset.php
180 bytes
0644
order-confirmation-status.asset.php
180 bytes
0644
order-confirmation-status.css
825 bytes
0644
order-confirmation-status.js
3733 bytes
0644
order-confirmation-summary-rtl.css
913 bytes
0644
order-confirmation-summary-style.asset.php
242 bytes
0644
order-confirmation-summary.asset.php
242 bytes
0644
order-confirmation-summary.css
913 bytes
0644
order-confirmation-summary.js
5589 bytes
0644
order-confirmation-totals-rtl.css
1996 bytes
0644
order-confirmation-totals-style.asset.php
216 bytes
0644
order-confirmation-totals-wrapper-style.asset.php
180 bytes
0644
order-confirmation-totals-wrapper.asset.php
180 bytes
0644
order-confirmation-totals-wrapper.js
4061 bytes
0644
order-confirmation-totals.asset.php
216 bytes
0644
order-confirmation-totals.css
1995 bytes
0644
order-confirmation-totals.js
6420 bytes
0644
packages-style-rtl.css
42214 bytes
0644
packages-style-style.asset.php
378 bytes
0644
packages-style-style.js.LICENSE.txt
1698 bytes
0644
packages-style.css
42203 bytes
0644
page-content-wrapper-style.asset.php
195 bytes
0644
page-content-wrapper.asset.php
195 bytes
0644
page-content-wrapper.js
5451 bytes
0644
price-filter-frontend.asset.php
299 bytes
0644
price-filter-frontend.js
21667 bytes
0644
price-filter-rtl.css
18201 bytes
0644
price-filter-style.asset.php
349 bytes
0644
price-filter-wrapper-frontend.js
17805 bytes
0644
price-filter-wrapper-rtl.css
17668 bytes
0644
price-filter-wrapper.css
17649 bytes
0644
price-filter.asset.php
349 bytes
0644
price-filter.css
18182 bytes
0644
price-filter.js
23538 bytes
0644
price-format.asset.php
132 bytes
0644
price-format.js
1669 bytes
0644
product-average-rating-frontend.js
2766 bytes
0644
product-average-rating.js
2945 bytes
0644
product-best-sellers-style.asset.php
315 bytes
0644
product-best-sellers.asset.php
315 bytes
0644
product-best-sellers.js
26149 bytes
0644
product-button-frontend.js
10886 bytes
0644
product-button-rtl.css
3588 bytes
0644
product-button.css
3587 bytes
0644
product-button.js
12307 bytes
0644
product-categories-rtl.css
1757 bytes
0644
product-categories-style.asset.php
233 bytes
0644
product-categories.asset.php
233 bytes
0644
product-categories.css
1757 bytes
0644
product-categories.js
7588 bytes
0644
product-category-style.asset.php
315 bytes
0644
product-category.asset.php
315 bytes
0644
product-category.js
30227 bytes
0644
product-collection-no-results-style.asset.php
166 bytes
0644
product-collection-no-results.asset.php
166 bytes
0644
product-collection-no-results.js
3793 bytes
0644
product-collection-rtl.css
232 bytes
0644
product-collection-style.asset.php
493 bytes
0644
product-collection.asset.php
446 bytes
0644
product-collection.css
232 bytes
0644
product-collection.js
91072 bytes
0644
product-details-rtl.css
2213 bytes
0644
product-details-style.asset.php
220 bytes
0644
product-details.css
2211 bytes
0644
product-filter-active-rtl.css
516 bytes
0644
product-filter-active-style.asset.php
201 bytes
0644
product-filter-active.asset.php
181 bytes
0644
product-filter-active.css
516 bytes
0644
product-filter-active.js
3246 bytes
0644
product-filter-attribute-rtl.css
977 bytes
0644
product-filter-attribute-style.asset.php
302 bytes
0644
product-filter-attribute.asset.php
282 bytes
0644
product-filter-attribute.css
978 bytes
0644
product-filter-attribute.js
16772 bytes
0644
product-filter-checkbox-list-frontend.asset.php
147 bytes
0644
product-filter-checkbox-list-frontend.js
413 bytes
0644
product-filter-checkbox-list-rtl.css
1830 bytes
0644
product-filter-checkbox-list-style.asset.php
232 bytes
0644
product-filter-checkbox-list.asset.php
212 bytes
0644
product-filter-checkbox-list.css
1828 bytes
0644
product-filter-checkbox-list.js
7853 bytes
0644
product-filter-chips-frontend.asset.php
147 bytes
0644
product-filter-chips-frontend.js
397 bytes
0644
product-filter-chips-rtl.css
1568 bytes
0644
product-filter-chips-style.asset.php
215 bytes
0644
product-filter-chips.asset.php
195 bytes
0644
product-filter-chips.css
1568 bytes
0644
product-filter-chips.js
8250 bytes
0644
product-filter-clear-button-style.asset.php
181 bytes
0644
product-filter-clear-button.asset.php
181 bytes
0644
product-filter-clear-button.js
3447 bytes
0644
product-filter-price-rtl.css
516 bytes
0644
product-filter-price-slider-frontend.asset.php
147 bytes
0644
product-filter-price-slider-frontend.js
1204 bytes
0644
product-filter-price-slider-rtl.css
6602 bytes
0644
product-filter-price-slider-style.asset.php
222 bytes
0644
product-filter-price-slider.asset.php
202 bytes
0644
product-filter-price-slider.css
6589 bytes
0644
product-filter-price-slider.js
6960 bytes
0644
product-filter-price-style.asset.php
304 bytes
0644
product-filter-price.asset.php
284 bytes
0644
product-filter-price.css
516 bytes
0644
product-filter-price.js
9155 bytes
0644
product-filter-rating-rtl.css
4306 bytes
0644
product-filter-rating-style.asset.php
312 bytes
0644
product-filter-rating.asset.php
292 bytes
0644
product-filter-rating.css
4303 bytes
0644
product-filter-rating.js
12996 bytes
0644
product-filter-removable-chips-rtl.css
1714 bytes
0644
product-filter-removable-chips-style.asset.php
256 bytes
0644
product-filter-removable-chips.asset.php
236 bytes
0644
product-filter-removable-chips.css
1714 bytes
0644
product-filter-removable-chips.js
7408 bytes
0644
product-filter-status-rtl.css
822 bytes
0644
product-filter-status-style.asset.php
302 bytes
0644
product-filter-status.asset.php
282 bytes
0644
product-filter-status.css
822 bytes
0644
product-filter-status.js
10085 bytes
0644
product-filters-rtl.css
4863 bytes
0644
product-filters-style.asset.php
242 bytes
0644
product-filters.asset.php
195 bytes
0644
product-filters.css
4863 bytes
0644
product-filters.js
6526 bytes
0644
product-gallery-large-image-next-previous-style.asset.php
155 bytes
0644
product-gallery-large-image-next-previous.asset.php
155 bytes
0644
product-gallery-large-image-next-previous.js
6273 bytes
0644
product-gallery-large-image-style.asset.php
187 bytes
0644
product-gallery-large-image.asset.php
167 bytes
0644
product-gallery-large-image.js
6303 bytes
0644
product-gallery-pager-style.asset.php
138 bytes
0644
product-gallery-pager.asset.php
138 bytes
0644
product-gallery-pager.js
1743 bytes
0644
product-gallery-rtl.css
9396 bytes
0644
product-gallery-style.asset.php
241 bytes
0644
product-gallery-thumbnails-style.asset.php
181 bytes
0644
product-gallery-thumbnails.asset.php
181 bytes
0644
product-gallery-thumbnails.js
5224 bytes
0644
product-gallery.asset.php
221 bytes
0644
product-gallery.css
9395 bytes
0644
product-gallery.js
19001 bytes
0644
product-image-frontend.js
5704 bytes
0644
product-image-gallery-rtl.css
408 bytes
0644
product-image-gallery-style.asset.php
210 bytes
0644
product-image-gallery.css
408 bytes
0644
product-image-rtl.css
3732 bytes
0644
product-image.css
3732 bytes
0644
product-image.js
6772 bytes
0644
product-new-style.asset.php
315 bytes
0644
product-new.asset.php
315 bytes
0644
product-new.js
28314 bytes
0644
product-on-sale-style.asset.php
315 bytes
0644
product-on-sale.asset.php
315 bytes
0644
product-on-sale.js
27505 bytes
0644
product-price-frontend.js
6367 bytes
0644
product-price-rtl.css
1605 bytes
0644
product-price.css
1603 bytes
0644
product-price.js
6660 bytes
0644
product-query-rtl.css
444 bytes
0644
product-query-style.asset.php
325 bytes
0644
product-query.asset.php
325 bytes
0644
product-query.css
443 bytes
0644
product-query.js
40881 bytes
0644
product-rating-counter-frontend.js
3601 bytes
0644
product-rating-counter.js
3779 bytes
0644
product-rating-frontend.js
5452 bytes
0644
product-rating-rtl.css
217 bytes
0644
product-rating-stars-frontend.js
5395 bytes
0644
product-rating-stars-rtl.css
2904 bytes
0644
product-rating-stars.css
2902 bytes
0644
product-rating-stars.js
5599 bytes
0644
product-rating.css
217 bytes
0644
product-rating.js
5655 bytes
0644
product-results-count-rtl.css
112 bytes
0644
product-results-count-style.asset.php
180 bytes
0644
product-results-count.asset.php
180 bytes
0644
product-results-count.css
112 bytes
0644
product-results-count.js
3846 bytes
0644
product-reviews-rtl.css
916 bytes
0644
product-reviews-style.asset.php
204 bytes
0644
product-reviews.css
917 bytes
0644
product-sale-badge-frontend.js
3073 bytes
0644
product-sale-badge-rtl.css
743 bytes
0644
product-sale-badge.css
743 bytes
0644
product-sale-badge.js
3277 bytes
0644
product-search-rtl.css
958 bytes
0644
product-search-style.asset.php
261 bytes
0644
product-search.asset.php
261 bytes
0644
product-search.css
957 bytes
0644
product-search.js
9999 bytes
0644
product-sku-frontend.js
3702 bytes
0644
product-sku-rtl.css
312 bytes
0644
product-sku.css
312 bytes
0644
product-sku.js
3906 bytes
0644
product-stock-indicator-frontend.js
4756 bytes
0644
product-stock-indicator-rtl.css
110 bytes
0644
product-stock-indicator.css
110 bytes
0644
product-stock-indicator.js
4959 bytes
0644
product-summary-frontend.js
5125 bytes
0644
product-summary-rtl.css
1411 bytes
0644
product-summary.css
1410 bytes
0644
product-summary.js
5329 bytes
0644
product-tag-style.asset.php
309 bytes
0644
product-tag.asset.php
309 bytes
0644
product-tag.js
27792 bytes
0644
product-template-rtl.css
1913 bytes
0644
product-template-style.asset.php
302 bytes
0644
product-template.asset.php
302 bytes
0644
product-template.css
1913 bytes
0644
product-template.js
11863 bytes
0644
product-title-frontend.js
3985 bytes
0644
product-title-rtl.css
1572 bytes
0644
product-title.css
1571 bytes
0644
product-title.js
4857 bytes
0644
product-top-rated-style.asset.php
315 bytes
0644
product-top-rated.asset.php
315 bytes
0644
product-top-rated.js
27732 bytes
0644
products-by-attribute-style.asset.php
338 bytes
0644
products-by-attribute.asset.php
338 bytes
0644
products-by-attribute.js
29463 bytes
0644
rating-filter-frontend.asset.php
388 bytes
0644
rating-filter-frontend.js
19243 bytes
0644
rating-filter-rtl.css
30624 bytes
0644
rating-filter-style.asset.php
407 bytes
0644
rating-filter-style.js.LICENSE.txt
121 bytes
0644
rating-filter-wrapper-frontend.js
14989 bytes
0644
rating-filter-wrapper-rtl.css
9717 bytes
0644
rating-filter-wrapper.css
9712 bytes
0644
rating-filter.asset.php
407 bytes
0644
rating-filter.css
30610 bytes
0644
rating-filter.js
17121 bytes
0644
reviews-by-category-rtl.css
10572 bytes
0644
reviews-by-category-style.asset.php
337 bytes
0644
reviews-by-category-style.js.LICENSE.txt
188 bytes
0644
reviews-by-category.asset.php
337 bytes
0644
reviews-by-category.css
10572 bytes
0644
reviews-by-category.js
41084 bytes
0644
reviews-by-product-rtl.css
10572 bytes
0644
reviews-by-product-style.asset.php
349 bytes
0644
reviews-by-product-style.js.LICENSE.txt
188 bytes
0644
reviews-by-product.asset.php
349 bytes
0644
reviews-by-product.css
10572 bytes
0644
reviews-by-product.js
45420 bytes
0644
reviews-frontend.asset.php
270 bytes
0644
reviews-frontend.js
22728 bytes
0644
single-product-rtl.css
533 bytes
0644
single-product-style.asset.php
554 bytes
0644
single-product.asset.php
554 bytes
0644
single-product.css
533 bytes
0644
single-product.js
36016 bytes
0644
stock-filter-frontend.asset.php
408 bytes
0644
stock-filter-frontend.js
19623 bytes
0644
stock-filter-rtl.css
28578 bytes
0644
stock-filter-style.asset.php
427 bytes
0644
stock-filter-style.js.LICENSE.txt
121 bytes
0644
stock-filter-wrapper-frontend.js
15537 bytes
0644
stock-filter-wrapper-rtl.css
7671 bytes
0644
stock-filter-wrapper.css
7669 bytes
0644
stock-filter.asset.php
427 bytes
0644
stock-filter.css
28567 bytes
0644
stock-filter.js
18935 bytes
0644
store-notices-rtl.css
6305 bytes
0644
store-notices-style.asset.php
229 bytes
0644
store-notices.asset.php
229 bytes
0644
store-notices.css
6303 bytes
0644
store-notices.js
6161 bytes
0644
wc-blocks-classic-template-revert-button-style-rtl.css
217 bytes
0644
wc-blocks-classic-template-revert-button-style-style.asset.php
234 bytes
0644
wc-blocks-classic-template-revert-button-style.css
217 bytes
0644
wc-blocks-classic-template-revert-button.asset.php
234 bytes
0644
wc-blocks-classic-template-revert-button.js
2558 bytes
0644
wc-blocks-data.asset.php
353 bytes
0644
wc-blocks-data.js
82190 bytes
0644
wc-blocks-editor-style-rtl.css
61487 bytes
0644
wc-blocks-editor-style.css
61472 bytes
0644
wc-blocks-frontend-vendors-frontend.asset.php
97 bytes
0644
wc-blocks-frontend-vendors-frontend.js
115113 bytes
0644
wc-blocks-google-analytics.asset.php
120 bytes
0644
wc-blocks-google-analytics.js
3153 bytes
0644
wc-blocks-middleware.asset.php
123 bytes
0644
wc-blocks-middleware.js
1896 bytes
0644
wc-blocks-registry.asset.php
175 bytes
0644
wc-blocks-registry.js
20897 bytes
0644
wc-blocks-rtl.css
12614 bytes
0644
wc-blocks-shared-context.asset.php
120 bytes
0644
wc-blocks-shared-context.js
1889 bytes
0644
wc-blocks-shared-hocs.asset.php
218 bytes
0644
wc-blocks-shared-hocs.js
3213 bytes
0644
wc-blocks-style.asset.php
255 bytes
0644
wc-blocks-vendors.asset.php
97 bytes
0644
wc-blocks-vendors.js
129358 bytes
0644
wc-blocks.asset.php
255 bytes
0644
wc-blocks.css
12613 bytes
0644
wc-blocks.js
10128 bytes
0644
wc-cart-checkout-base-frontend.asset.php
97 bytes
0644
wc-cart-checkout-base-frontend.js
205717 bytes
0644
wc-cart-checkout-vendors-frontend.asset.php
97 bytes
0644
wc-cart-checkout-vendors-frontend.js
159129 bytes
0644
wc-interactivity.asset.php
97 bytes
0644
wc-interactivity.js
35695 bytes
0644
wc-payment-method-bacs.asset.php
188 bytes
0644
wc-payment-method-bacs.js
23233 bytes
0644
wc-payment-method-cheque.asset.php
188 bytes
0644
wc-payment-method-cheque.js
23230 bytes
0644
wc-payment-method-cod.asset.php
188 bytes
0644
wc-payment-method-cod.js
23466 bytes
0644
wc-payment-method-paypal.asset.php
188 bytes
0644
wc-payment-method-paypal.js
23301 bytes
0644
wc-schema-parser.asset.php
97 bytes
0644
wc-schema-parser.js
129571 bytes
0644
wc-settings.asset.php
109 bytes
0644
wc-settings.js
4566 bytes
0644
wc-shipping-method-pickup-location.asset.php
256 bytes
0644
wc-shipping-method-pickup-location.js
85677 bytes
0644
wc-types.asset.php
97 bytes
0644
wc-types.js
3693 bytes
0644
N4ST4R_ID | Naxtarrr