(()=>{"use strict";var e,r={1669(e){e.exports=jQuery},4967(e,r,t){var o=t(1669),a=t.n(o);a()(()=>{function e(){return ModalWorkflow({dialogId:"set-privacy",url:this.getAttribute("data-url"),onload:{set_privacy(e){a()("form",e.body).on("submit",function(){return e.postForm(this.action,a()(this).serialize()),!1})},set_privacy_done(e,{is_public:r}){document.dispatchEvent(new CustomEvent("w-privacy:changed",{bubbles:!0,cancelable:!1,detail:{isPublic:r}})),e.close()}}}),!1}a()('[data-a11y-dialog-show="set-privacy"]').on("click",e),a()(document).on("w-autosave:success",()=>{a()('[data-a11y-dialog-show="set-privacy"]').on("click",e)})})}},t={};function o(e){var a=t[e];if(void 0!==a)return a.exports;var i=t[e]={exports:{}};return r[e](i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,a,i)=>{if(!t){var n=1/0;for(c=0;c<e.length;c++){for(var[t,a,i]=e[c],l=!0,s=0;s<t.length;s++)(!1&i||n>=i)&&Object.keys(o.O).every(e=>o.O[e](t[s]))?t.splice(s--,1):(l=!1,i<n&&(n=i));if(l){e.splice(c--,1);var u=a();void 0!==u&&(r=u)}}return r}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[t,a,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=658,(()=>{var e={658:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var a,i,[n,l,s]=t,u=0;if(n.some(r=>0!==e[r])){for(a in l)o.o(l,a)&&(o.m[a]=l[a]);if(s)var c=s(o)}for(r&&r(t);u<n.length;u++)i=n[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(c)},t=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var a=o.O(void 0,[321],()=>o(4967));a=o.O(a)})();