(()=>{"use strict";const o=window.wp.i18n;wp.apiFetch({path:"/matador/v1/jobs/post-type"}).then((function(e){wp.domReady((function(){wp.blocks.registerBlockVariation("core/query",{name:"matador-jobs/jobs-list",title:(0,o.__)("Matador Jobs List","matador-jobs"),category:"matador-jobs",description:(0,o.__)("Displays a list of Jobs","matador-jobs"),isActive:function(o){var t=o.namespace,r=o.query;return"matador-jobs/jobs-list"===t&&r.postType===e.postType},icon:"list-view",attributes:{namespace:"matador-jobs/jobs-list",query:{perPage:3,pages:0,offset:0,postType:e.postType,order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},allowedControls:["taxQuery","order","search","inherit"],scope:["inserter"],innerBlocks:[["core/post-template",{},[["core/group",{},[["core/post-title"],["matador-jobs/job-field",{selectedField:"location"}],["matador-jobs/job-field",{selectedField:"category"}],["matador-jobs/job-field",{selectedField:"externalId"}],["matador-jobs/job-description"],["core/group",{},[["core/read-more",{content:(0,o.__)("More Info","matador-jobs")}],["matador-jobs/job-application-link"]]]]]]],["core/query-pagination"],["core/query-no-results"]]})}))}))})();