!function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});o(1)},function(e,t,o){"use strict";var n=o(2),r=(o.n(n),o(3)),__=(o.n(r),wp.i18n.__),l=wp.blocks.registerBlockType,i=wp.element.createElement,u=wp.blockEditor.InspectorControls,s=wp,a=s.serverSideRender,c=wp.components,b=c.TextControl,p=c.SelectControl;l("cgb/block-sjb-shortcode-block",{title:__("SJB Listing"),icon:"clipboard",category:"widgets",keywords:[__("SJB Job Listing"),__("Job Listing"),__("SJB Shortcode")],attributes:{sjb_layout:{type:"string",default:"list-view"},numberofposts:{type:"number",default:10},order:{type:"string",default:"DESC"},jobsearch:{type:"boolean",default:!0}},edit:function(e){function t(e){s({numberofposts:e})}function o(e){s({sjb_layout:e})}function n(e){s({order:e})}function r(e){s({jobsearch:e})}var l=e.attributes,s=e.setAttributes;return i("div",{},[i(a,{block:"cgb/block-sjb-shortcode-block",attributes:l}),i(u,{},[i(b,{value:l.numberofposts,label:__("Number of Posts"),onChange:t,type:"number",min:1,step:1}),i(p,{value:l.sjb_layout,label:__("Job Layout"),onChange:o,options:[{value:"list-view",label:"List View"},{value:"grid-view",label:"Grid View"}]}),i(p,{value:l.order,label:__("Job Listing Order"),onChange:n,options:[{value:"DESC",label:"Descending"},{value:"ASC",label:"Ascending"}]}),i(p,{value:l.jobsearch,label:__("Job Search"),onChange:r,options:[{value:!0,label:"Enable"},{value:!1,label:"Disable"}]})])])},save:function(e){return null}})},function(e,t){},function(e,t){}]);