(()=>{var i="data-django-prose-editor-default";function q(o){if(o.closest(".prose-editor"))return;let r=JSON.parse(o.getAttribute(i)),{Document:n,Dropcursor:s,Gapcursor:l,Paragraph:a,HardBreak:u,Text:c,History:d,Blockquote:g,Bold:p,BulletList:h,Heading:b,HorizontalRule:k,Italic:m,ListItem:E,OrderedList:f,Strike:I,Subscript:T,Superscript:B,Underline:S,Link:_,Menu:D,menuItemsFromConfig:H,NoSpellCheck:L,Typographic:j,createTextareaEditor:y}=DjangoProseEditor,e=(t=>P=>t!=null&&t.length?t.includes(P):!0)(r.types),z=[n,s,l,a,u,c,r.history&&d,D.configure({menuItems:H(r)}),L,r.typographic&&j,e("blockquote")&&g,e("strong")&&p,e("bullet_list")&&h,e("heading")&&b,e("horizontal_rule")&&k,e("em")&&m,e("link")&&_,(e("bullet_list")||e("ordered_list"))&&E,e("ordered_list")&&f,e("strikethrough")&&I,e("sub")&&T,e("sup")&&B,e("underline")&&S].filter(Boolean);return y(o,z)}DjangoProseEditor.initializeEditors(q,`[${i}]`);})();
