(()=>{"use strict";var a={25670(a,e,t){t.d(e,{A:()=>c});var n=wp.components,o=n.SVG,i=n.Path;const c=React.createElement(o,{width:"24",height:"24",viewBox:"0 -3 12 16"},React.createElement(i,{d:"M10,8.8v1.3H1.2C0.6,10.1,0,9.5,0,8.8V2.5h1.3v6.3H10z M6.9,0H3.8C3.1,0,2.5,0.6,2.5,1.3l0,5c0,0.7,0.6,1.2,1.3,1.2h7.5 c0.7,0,1.3-0.6,1.3-1.2V2.5c0-0.7-0.6-1.2-1.3-1.2H8.2L6.9,0z"}))},50881(a,e,t){t.d(e,{A:()=>c});var n=wp.components,o=n.SVG,i=n.Path;const c=React.createElement(o,{width:"24",height:"24",viewBox:"0 -2 12 16"},React.createElement(i,{d:"M8.8,1.2H1.2V10H0V1.2C0,0.6,0.6,0,1.2,0h7.5V1.2z M3.8,2.5c-0.7,0-1.2,0.6-1.2,1.3v8.8c0,0.7,0.6,1.2,1.2,1.2h6.9 c0.7,0,1.2-0.6,1.2-1.2V6.3L8.1,2.5H3.8z M7.5,3.4L11,6.9H7.5V3.4z"}))},31356(a,e,t){t.d(e,{A:()=>c});var n=wp.components,o=n.SVG,i=n.Path;const c=React.createElement(o,{width:"24",height:"24",viewBox:"0 -2 12 16"},React.createElement(i,{d:"M 4.4,2.5 H 0 V 0 h 4.4 l 1.2,1.3 z m -1.9,5 v 3.1 H 5 v 1.2 H 1.3 v -8 H 2.5 V 6.3 H 5 V 7.6 H 2.5 Z m 8.2,0.7 H 6.3 V 5.7 h 4.4 l 1.2,1.2 z M 11.9,11.3 10.7,10 H 6.3 v 2.5 h 4.4 z"}))}},e={};function t(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return a[n](i,i.exports,t),i.exports}t.d=(a,e)=>{for(var n in e)t.o(e,n)&&!t.o(a,n)&&Object.defineProperty(a,n,{enumerable:!0,get:e[n]})},t.o=(a,e)=>Object.prototype.hasOwnProperty.call(a,e);var n=t(50881),o=t(25670),i=t(31356),c=wp.blocks.registerBlockVariation,__=wp.i18n.__;if(!1!==tainacan_blocks.enabled_variation_collections&&""!==tainacan_blocks.enabled_variation_collections&&c("core/query",{name:"tainacan-collection",title:__("Tainacan collections","tainacan"),icon:o.A,category:"tainacan-blocks-variations",description:__("Displays a list of Tainacan collections","tainacan"),isActive:function(a){var e=a.namespace,t=a.query;return"tainacan-collection"===e&&"tainacan-collection"===t.postType},attributes:{namespace:"tainacan-collection",query:{postType:"tainacan-collection",perPage:12,offset:0},align:"wide",displayLayout:{type:"flex",columns:4}},allowedControls:["inherit","order","taxQuery","search"],innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-title"]]]]}),!1!==tainacan_blocks.enabled_variation_items&&""!==tainacan_blocks.enabled_variation_items){var r=tainacan_blocks.collections_post_types;Object.keys(r).forEach((function(a){var e=r[a],t="tainacan-items-"+a;c("core/query",{name:t,title:e,icon:n.A,category:"tainacan-blocks-variations",description:__("Displays a list of Tainacan items from a collection","tainacan"),isActive:function(e){var n=e.namespace,o=e.query;return n===t&&o.postType===a},attributes:{namespace:t,query:{postType:a,perPage:12,offset:0},align:"wide",displayLayout:{type:"flex",columns:4}},allowedControls:["inherit","order","taxQuery","search"],innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-title"]]]]})}))}!1!==tainacan_blocks.enabled_variation_taxonomies&&""!==tainacan_blocks.enabled_variation_taxonomies&&c("core/query",{name:"tainacan-taxonomies",title:__("Tainacan taxonomies","tainacan"),icon:i.A,category:"tainacan-blocks-variations",description:__("Displays a list of Tainacan taxonomies","tainacan"),isActive:function(a){var e=a.namespace,t=a.query;return"tainacan-taxonomy"===e&&"tainacan-taxonomy"===t.postType},attributes:{namespace:"tainacan-taxonomy",query:{postType:"tainacan-taxonomy",perPage:12,offset:0},align:"wide",displayLayout:{type:"flex",columns:4}},allowedControls:["inherit","order","search"],innerBlocks:[["core/post-template",{},[["core/post-title"]]]]})})();