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