(()=>{"use strict";var e,t={1669(e){e.exports=jQuery},6788(e,t,a){var r=a(1669),l=a.n(r);l()(()=>{l()('[data-widget="filtered-select"]').each(function(){const e=l()("#"+this.dataset.filterField),t=l()(this),a=[];function r(){const r=t.val();t.empty();const o=e.val();let i;""===o?i=a:(i=[],a.forEach(e=>{""!==e.value&&-1===e.filterValue.indexOf(o)||i.push(e)}));let n=!1;i.forEach(e=>{const a=l()("<option>");a.attr("value",e.value),e.value===r&&(n=!0),a.text(e.label),t.append(a)}),n?t.val(r):t.val("")}l()("option",this).each(function(){let e;e="filterValue"in this.dataset?this.dataset.filterValue.split(","):[],a.push({value:this.value,label:this.label,filterValue:e})}),r(),e.change(r)})})}},a={};function r(e){var l=a[e];if(void 0!==l)return l.exports;var o=a[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,a,l,o)=>{if(!a){var i=1/0;for(f=0;f<e.length;f++){for(var[a,l,o]=e[f],n=!0,u=0;u<a.length;u++)(!1&o||i>=o)&&Object.keys(r.O).every(e=>r.O[e](a[u]))?a.splice(u--,1):(n=!1,o<i&&(i=o));if(n){e.splice(f--,1);var s=l();void 0!==s&&(t=s)}}return t}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[a,l,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.j=491,(()=>{var e={491:0};r.O.j=t=>0===e[t];var t=(t,a)=>{var l,o,[i,n,u]=a,s=0;if(i.some(t=>0!==e[t])){for(l in n)r.o(n,l)&&(r.m[l]=n[l]);if(u)var f=u(r)}for(t&&t(a);s<i.length;s++)o=i[s],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(f)},a=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var l=r.O(void 0,[321],()=>r(6788));l=r.O(l)})();