(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.jQuery;var o=e.n(t);o()(document).on("change",".vp-block-sort select",function(e){var t,r=o()(e.currentTarget),n=r.closest(".vp-block-loop").find(".vp-portfolio"),a=null==n||null===(t=n[0])||void 0===t?void 0:t.vpf;if(a){e.preventDefault();var l=r.val(),v=r.find('[value="'.concat(l,'"]'));v.length&&a.loadNewItems(v.attr("data-vp-url"),!0)}})})();