/**
 * Minified by jsDelivr using Terser v5.19.2.
 * Original file: /npm/quill-delta-to-html@0.12.1/dist/browser/QuillDeltaToHtmlConverter.bundle.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).QuillDeltaToHtmlConverter=t()}}((function(){return function t(e,n,r){function i(s,a){if(!n[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};e[s][0].call(l.exports,(function(t){return i(e[s][1][t]||t)}),l,l.exports,t,e,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var i=t("./value-types"),o=t("./InsertData"),s=r(t("lodash.isequal")),a=function(){function t(t,e){"string"==typeof t&&(t=new o.InsertDataQuill(i.DataType.Text,t+"")),this.insert=t,this.attributes=e||{}}return t.createNewLineOp=function(){return new t(i.NewLine)},t.prototype.isContainerBlock=function(){return this.isBlockquote()||this.isList()||this.isTable()||this.isCodeBlock()||this.isHeader()||this.isBlockAttribute()||this.isCustomTextBlock()},t.prototype.isBlockAttribute=function(){var t=this.attributes;return!!(t.align||t.direction||t.indent)},t.prototype.isBlockquote=function(){return!!this.attributes.blockquote},t.prototype.isHeader=function(){return!!this.attributes.header},t.prototype.isTable=function(){return!!this.attributes.table},t.prototype.isSameHeaderAs=function(t){return t.attributes.header===this.attributes.header&&this.isHeader()},t.prototype.hasSameAdiAs=function(t){return this.attributes.align===t.attributes.align&&this.attributes.direction===t.attributes.direction&&this.attributes.indent===t.attributes.indent},t.prototype.hasSameIndentationAs=function(t){return this.attributes.indent===t.attributes.indent},t.prototype.hasSameAttr=function(t){return s.default(this.attributes,t.attributes)},t.prototype.hasHigherIndentThan=function(t){return(Number(this.attributes.indent)||0)>(Number(t.attributes.indent)||0)},t.prototype.isInline=function(){return!(this.isContainerBlock()||this.isVideo()||this.isCustomEmbedBlock())},t.prototype.isCodeBlock=function(){return!!this.attributes["code-block"]},t.prototype.hasSameLangAs=function(t){return this.attributes["code-block"]===t.attributes["code-block"]},t.prototype.isJustNewline=function(){return this.insert.value===i.NewLine},t.prototype.isList=function(){return this.isOrderedList()||this.isBulletList()||this.isCheckedList()||this.isUncheckedList()},t.prototype.isOrderedList=function(){return this.attributes.list===i.ListType.Ordered},t.prototype.isBulletList=function(){return this.attributes.list===i.ListType.Bullet},t.prototype.isCheckedList=function(){return this.attributes.list===i.ListType.Checked},t.prototype.isUncheckedList=function(){return this.attributes.list===i.ListType.Unchecked},t.prototype.isACheckList=function(){return this.attributes.list==i.ListType.Unchecked||this.attributes.list===i.ListType.Checked},t.prototype.isSameListAs=function(t){return!!t.attributes.list&&(this.attributes.list===t.attributes.list||t.isACheckList()&&this.isACheckList())},t.prototype.isSameTableRowAs=function(t){return!!t.isTable()&&this.isTable()&&this.attributes.table===t.attributes.table},t.prototype.isText=function(){return this.insert.type===i.DataType.Text},t.prototype.isImage=function(){return this.insert.type===i.DataType.Image},t.prototype.isFormula=function(){return this.insert.type===i.DataType.Formula},t.prototype.isVideo=function(){return this.insert.type===i.DataType.Video},t.prototype.isLink=function(){return this.isText()&&!!this.attributes.link},t.prototype.isCustomEmbed=function(){return this.insert instanceof o.InsertDataCustom},t.prototype.isCustomEmbedBlock=function(){return this.isCustomEmbed()&&!!this.attributes.renderAsBlock},t.prototype.isCustomTextBlock=function(){return this.isText()&&!!this.attributes.renderAsBlock},t.prototype.isMentions=function(){return this.isText()&&!!this.attributes.mentions},t}();n.DeltaInsertOp=a},{"./InsertData":2,"./value-types":19,"lodash.isequal":20}],2:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(t,e){this.type=t,this.value=e};n.InsertDataQuill=r;var i=function(t,e){this.type=t,this.value=e};n.InsertDataCustom=i},{}],3:[function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(n,"__esModule",{value:!0});var i=t("./value-types"),o=r(t("./helpers/string")),s=r(t("./helpers/object")),a=function(){function t(){}return t.denormalize=function(t){if(!t||"object"!=typeof t)return[];if("object"==typeof t.insert||t.insert===i.NewLine)return[t];var e=o.tokenizeWithNewLines(t.insert+"");if(1===e.length)return[t];var n=s.assign({},t,{insert:i.NewLine});return e.map((function(e){return e===i.NewLine?n:s.assign({},t,{insert:e})}))},t}();n.InsertOpDenormalizer=a},{"./helpers/object":15,"./helpers/string":16,"./value-types":19}],4:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("./DeltaInsertOp"),i=t("./value-types"),o=t("./InsertData"),s=t("./OpAttributeSanitizer"),a=t("./InsertOpDenormalizer"),u=t("./OpLinkSanitizer"),c=function(){function t(){}return t.convert=function(e,n){if(!Array.isArray(e))return[];for(var i,o,u=[],c=0,l=[].concat.apply([],e.map(a.InsertOpDenormalizer.denormalize));c<l.length;c++){var p=l[c];p.insert&&((i=t.convertInsertVal(p.insert,n))&&(o=s.OpAttributeSanitizer.sanitize(p.attributes,n),u.push(new r.DeltaInsertOp(i,o))))}return u},t.convertInsertVal=function(t,e){if("string"==typeof t)return new o.InsertDataQuill(i.DataType.Text,t);if(!t||"object"!=typeof t)return null;var n=Object.keys(t);return n.length?i.DataType.Image in t?new o.InsertDataQuill(i.DataType.Image,u.OpLinkSanitizer.sanitize(t[i.DataType.Image]+"",e)):i.DataType.Video in t?new o.InsertDataQuill(i.DataType.Video,u.OpLinkSanitizer.sanitize(t[i.DataType.Video]+"",e)):i.DataType.Formula in t?new o.InsertDataQuill(i.DataType.Formula,t[i.DataType.Formula]):new o.InsertDataCustom(n[0],t[n[0]]):null},t}();n.InsertOpsConverter=c},{"./DeltaInsertOp":1,"./InsertData":2,"./InsertOpDenormalizer":3,"./OpAttributeSanitizer":5,"./OpLinkSanitizer":6,"./value-types":19}],5:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("./value-types"),i=t("./mentions/MentionSanitizer"),o=t("./helpers/array"),s=t("./OpLinkSanitizer"),a=function(){function t(){}return t.sanitize=function(e,n){var a={};if(!e||"object"!=typeof e)return a;var u=["bold","italic","underline","strike","code","blockquote","code-block","renderAsBlock"],c=["background","color"],l=e.font,p=e.size,f=e.link,h=e.script,d=e.list,y=e.header,m=e.align,g=e.direction,b=e.indent,v=e.mentions,_=e.mention,k=e.width,T=e.target,C=e.rel,L=e["code-block"],O=u.concat(c,["font","size","link","script","list","header","align","direction","indent","mentions","mention","width","target","rel","code-block"]);if(u.forEach((function(t){var n=e[t];n&&(a[t]=!!n)})),c.forEach((function(n){var r=e[n];r&&(t.IsValidHexColor(r+"")||t.IsValidColorLiteral(r+"")||t.IsValidRGBColor(r+""))&&(a[n]=r)})),l&&t.IsValidFontName(l+"")&&(a.font=l),p&&t.IsValidSize(p+"")&&(a.size=p),k&&t.IsValidWidth(k+"")&&(a.width=k),f&&(a.link=s.OpLinkSanitizer.sanitize(f+"",n)),T&&t.isValidTarget(T)&&(a.target=T),C&&t.IsValidRel(C)&&(a.rel=C),L&&(t.IsValidLang(L)?a["code-block"]=L:a["code-block"]=!!L),h!==r.ScriptType.Sub&&r.ScriptType.Super!==h||(a.script=h),d!==r.ListType.Bullet&&d!==r.ListType.Ordered&&d!==r.ListType.Checked&&d!==r.ListType.Unchecked||(a.list=d),Number(y)&&(a.header=Math.min(Number(y),6)),o.find([r.AlignType.Center,r.AlignType.Right,r.AlignType.Justify,r.AlignType.Left],(function(t){return t===m}))&&(a.align=m),g===r.DirectionType.Rtl&&(a.direction=g),b&&Number(b)&&(a.indent=Math.min(Number(b),30)),v&&_){var S=i.MentionSanitizer.sanitize(_,n);Object.keys(S).length>0&&(a.mentions=!!v,a.mention=_)}return Object.keys(e).reduce((function(t,n){return-1===O.indexOf(n)&&(t[n]=e[n]),t}),a)},t.IsValidHexColor=function(t){return!!t.match(/^#([0-9A-F]{6}|[0-9A-F]{3})$/i)},t.IsValidColorLiteral=function(t){return!!t.match(/^[a-z]{1,50}$/i)},t.IsValidRGBColor=function(t){return!!t.match(/^rgb\(((0|25[0-5]|2[0-4]\d|1\d\d|0?\d?\d),\s*){2}(0|25[0-5]|2[0-4]\d|1\d\d|0?\d?\d)\)$/i)},t.IsValidFontName=function(t){return!!t.match(/^[a-z\s0-9\- ]{1,30}$/i)},t.IsValidSize=function(t){return!!t.match(/^[a-z0-9\-]{1,20}$/i)},t.IsValidWidth=function(t){return!!t.match(/^[0-9]*(px|em|%)?$/)},t.isValidTarget=function(t){return!!t.match(/^[_a-zA-Z0-9\-]{1,50}$/)},t.IsValidRel=function(t){return!!t.match(/^[a-zA-Z\s\-]{1,250}$/i)},t.IsValidLang=function(t){return"boolean"==typeof t||!!t.match(/^[a-zA-Z\s\-\\\/\+]{1,50}$/i)},t}();n.OpAttributeSanitizer=a},{"./OpLinkSanitizer":6,"./helpers/array":14,"./mentions/MentionSanitizer":18,"./value-types":19}],6:[function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(n,"__esModule",{value:!0});var i=r(t("./helpers/url")),o=t("./funcs-html"),s=function(){function t(){}return t.sanitize=function(t,e){var n=function(){};e&&"function"==typeof e.urlSanitizer&&(n=e.urlSanitizer);var r=n(t);return"string"==typeof r?r:o.encodeLink(i.sanitize(t))},t}();n.OpLinkSanitizer=s},{"./funcs-html":9,"./helpers/url":17}],7:[function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(n,"__esModule",{value:!0});var i=t("./funcs-html"),o=t("./value-types"),s=r(t("./helpers/object")),a=r(t("./helpers/array")),u=t("./OpAttributeSanitizer"),c={serif:"font-family: Georgia, Times New Roman, serif",monospace:"font-family: Monaco, Courier New, monospace"};n.DEFAULT_INLINE_STYLES={font:function(t){return c[t]||"font-family:"+t},size:{small:"font-size: 0.75em",large:"font-size: 1.5em",huge:"font-size: 2.5em"},indent:function(t,e){var n=3*parseInt(t,10);return"padding-"+("rtl"===e.attributes.direction?"right":"left")+":"+n+"em"},direction:function(t,e){return"rtl"===t?"direction:rtl"+(e.attributes.align?"":"; text-align:inherit"):void 0}};var l=function(){function t(t,e){this.op=t,this.options=s.assign({},{classPrefix:"ql",inlineStyles:void 0,encodeHtml:!0,listItemTag:"li",paragraphTag:"p"},e)}return t.prototype.prefixClass=function(t){return this.options.classPrefix?this.options.classPrefix+"-"+t:t+""},t.prototype.getHtml=function(){var t=this.getHtmlParts();return t.openingTag+t.content+t.closingTag},t.prototype.getHtmlParts=function(){var t=this;if(this.op.isJustNewline()&&!this.op.isContainerBlock())return{openingTag:"",closingTag:"",content:o.NewLine};var e=this.getTags(),n=this.getTagAttributes();!e.length&&n.length&&e.push("span");for(var r=[],s=[],a=function(e){return"img"===e&&!!t.op.attributes.link},u=0,c=e;u<c.length;u++){var l=c[u];a(l)&&r.push(i.makeStartTag("a",this.getLinkAttrs())),r.push(i.makeStartTag(l,n)),s.push("img"===l?"":i.makeEndTag(l)),a(l)&&s.push(i.makeEndTag("a")),n=[]}return s.reverse(),{openingTag:r.join(""),content:this.getContent(),closingTag:s.join("")}},t.prototype.getContent=function(){if(this.op.isContainerBlock())return"";if(this.op.isMentions())return this.op.insert.value;var t=this.op.isFormula()||this.op.isText()?this.op.insert.value:"";return this.options.encodeHtml&&i.encodeHtml(t)||t},t.prototype.getCssClasses=function(){var t=this.op.attributes;if(this.options.inlineStyles)return[];var e=["indent","align","direction","font","size"];return this.options.allowBackgroundClasses&&e.push("background"),(this.getCustomCssClasses()||[]).concat(e.filter((function(e){return!!t[e]})).filter((function(e){return"background"!==e||u.OpAttributeSanitizer.IsValidColorLiteral(t[e])})).map((function(e){return e+"-"+t[e]})).concat(this.op.isFormula()?"formula":[]).concat(this.op.isVideo()?"video":[]).concat(this.op.isImage()?"image":[]).map(this.prefixClass.bind(this)))},t.prototype.getCssStyles=function(){var t=this,e=this.op.attributes,r=[["color"]];return!this.options.inlineStyles&&this.options.allowBackgroundClasses||r.push(["background","background-color"]),this.options.inlineStyles&&(r=r.concat([["indent"],["align","text-align"],["direction"],["font","font-family"],["size"]])),(this.getCustomCssStyles()||[]).concat(r.filter((function(t){return!!e[t[0]]})).map((function(r){var i=r[0],o=e[i],s=t.options.inlineStyles&&t.options.inlineStyles[i]||n.DEFAULT_INLINE_STYLES[i];return"object"==typeof s?s[o]:"function"==typeof s?s(o,t.op):a.preferSecond(r)+":"+o}))).filter((function(t){return void 0!==t}))},t.prototype.getTagAttributes=function(){if(this.op.attributes.code&&!this.op.isLink())return[];var t=this.makeAttr.bind(this),e=this.getCustomTagAttributes(),n=e?Object.keys(this.getCustomTagAttributes()).map((function(n){return t(n,e[n])})):[],r=this.getCssClasses(),i=r.length?n.concat([t("class",r.join(" "))]):n;if(this.op.isImage())return this.op.attributes.width&&(i=i.concat(t("width",this.op.attributes.width))),i.concat(t("src",this.op.insert.value));if(this.op.isACheckList())return i.concat(t("data-checked",this.op.isCheckedList()?"true":"false"));if(this.op.isFormula())return i;if(this.op.isVideo())return i.concat(t("frameborder","0"),t("allowfullscreen","true"),t("src",this.op.insert.value));if(this.op.isMentions()){var o=this.op.attributes.mention;return o.class&&(i=i.concat(t("class",o.class))),i=o["end-point"]&&o.slug?i.concat(t("href",o["end-point"]+"/"+o.slug)):i.concat(t("href","about:blank")),o.target&&(i=i.concat(t("target",o.target))),i}var s=this.getCssStyles();return s.length&&i.push(t("style",s.join(";"))),this.op.isCodeBlock()&&"string"==typeof this.op.attributes["code-block"]?i.concat(t("data-language",this.op.attributes["code-block"])):(this.op.isContainerBlock()||this.op.isLink()&&(i=i.concat(this.getLinkAttrs())),i)},t.prototype.makeAttr=function(t,e){return{key:t,value:e}},t.prototype.getLinkAttrs=function(){var t=u.OpAttributeSanitizer.isValidTarget(this.options.linkTarget||"")?this.options.linkTarget:void 0,e=u.OpAttributeSanitizer.IsValidRel(this.options.linkRel||"")?this.options.linkRel:void 0,n=this.op.attributes.target||t,r=this.op.attributes.rel||e;return[].concat(this.makeAttr("href",this.op.attributes.link)).concat(n?this.makeAttr("target",n):[]).concat(r?this.makeAttr("rel",r):[])},t.prototype.getCustomTag=function(t){if(this.options.customTag&&"function"==typeof this.options.customTag)return this.options.customTag.apply(null,[t,this.op])},t.prototype.getCustomTagAttributes=function(){if(this.options.customTagAttributes&&"function"==typeof this.options.customTagAttributes)return this.options.customTagAttributes.apply(null,[this.op])},t.prototype.getCustomCssClasses=function(){if(this.options.customCssClasses&&"function"==typeof this.options.customCssClasses){var t=this.options.customCssClasses.apply(null,[this.op]);if(t)return Array.isArray(t)?t:[t]}},t.prototype.getCustomCssStyles=function(){if(this.options.customCssStyles&&"function"==typeof this.options.customCssStyles){var t=this.options.customCssStyles.apply(null,[this.op]);if(t)return Array.isArray(t)?t:[t]}},t.prototype.getTags=function(){var t=this,e=this.op.attributes;if(!this.op.isText())return[this.op.isVideo()?"iframe":this.op.isImage()?"img":"span"];for(var n=this.options.paragraphTag||"p",r=0,i=[["blockquote"],["code-block","pre"],["list",this.options.listItemTag],["header"],["align",n],["direction",n],["indent",n]];r<i.length;r++){var s,u=i[r],c=u[0];if(e[c])return(s=this.getCustomTag(c))?[s]:"header"===c?["h"+e[c]]:[a.preferSecond(u)]}if(this.op.isCustomTextBlock())return(s=this.getCustomTag("renderAsBlock"))?[s]:[n];var l=Object.keys(e).reduce((function(e,n){var r=t.getCustomTag(n);return r&&(e[n]=r),e}),{}),p=[["link","a"],["mentions","a"],["script"],["bold","strong"],["italic","em"],["strike","s"],["underline","u"],["code"]];return p.filter((function(t){return!!e[t[0]]})).concat(Object.keys(l).filter((function(t){return!p.some((function(e){return e[0]==t}))})).map((function(t){return[t,l[t]]}))).map((function(t){return l[t[0]]?l[t[0]]:"script"===t[0]?e[t[0]]===o.ScriptType.Sub?"sub":"sup":a.preferSecond(t)}))},t}();n.OpToHtmlConverter=l},{"./OpAttributeSanitizer":5,"./funcs-html":9,"./helpers/array":14,"./helpers/object":15,"./value-types":19}],8:[function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(n,"__esModule",{value:!0});var i=t("./InsertOpsConverter"),o=t("./OpToHtmlConverter"),s=t("./grouper/Grouper"),a=t("./grouper/group-types"),u=t("./grouper/ListNester"),c=t("./funcs-html"),l=r(t("./helpers/object")),p=t("./value-types"),f=t("./grouper/TableGrouper"),h="<br/>",d=function(){function t(t,e){var n;this.rawDeltaOps=[],this.callbacks={},this.options=l.assign({paragraphTag:"p",encodeHtml:!0,classPrefix:"ql",inlineStyles:!1,multiLineBlockquote:!0,multiLineHeader:!0,multiLineCodeblock:!0,multiLineParagraph:!0,multiLineCustomBlock:!0,allowBackgroundClasses:!1,linkTarget:"_blank"},e,{orderedListTag:"ol",bulletListTag:"ul",listItemTag:"li"}),n=this.options.inlineStyles?"object"==typeof this.options.inlineStyles?this.options.inlineStyles:{}:void 0,this.converterOptions={encodeHtml:this.options.encodeHtml,classPrefix:this.options.classPrefix,inlineStyles:n,listItemTag:this.options.listItemTag,paragraphTag:this.options.paragraphTag,linkRel:this.options.linkRel,linkTarget:this.options.linkTarget,allowBackgroundClasses:this.options.allowBackgroundClasses,customTag:this.options.customTag,customTagAttributes:this.options.customTagAttributes,customCssClasses:this.options.customCssClasses,customCssStyles:this.options.customCssStyles},this.rawDeltaOps=t}return t.prototype._getListTag=function(t){return t.isOrderedList()?this.options.orderedListTag+"":t.isBulletList()||t.isCheckedList()||t.isUncheckedList()?this.options.bulletListTag+"":""},t.prototype.getGroupedOps=function(){var t=i.InsertOpsConverter.convert(this.rawDeltaOps,this.options),e=s.Grouper.pairOpsWithTheirBlock(t),n=s.Grouper.groupConsecutiveSameStyleBlocks(e,{blockquotes:!!this.options.multiLineBlockquote,header:!!this.options.multiLineHeader,codeBlocks:!!this.options.multiLineCodeblock,customBlocks:!!this.options.multiLineCustomBlock}),r=s.Grouper.reduceConsecutiveSameStyleBlocksToOne(n);return r=(new f.TableGrouper).group(r),(new u.ListNester).nest(r)},t.prototype.convert=function(){var t=this;return this.getGroupedOps().map((function(e){if(e instanceof a.ListGroup)return t._renderWithCallbacks(p.GroupType.List,e,(function(){return t._renderList(e)}));if(e instanceof a.TableGroup)return t._renderWithCallbacks(p.GroupType.Table,e,(function(){return t._renderTable(e)}));if(e instanceof a.BlockGroup){var n=e;return t._renderWithCallbacks(p.GroupType.Block,e,(function(){return t._renderBlock(n.op,n.ops)}))}return e instanceof a.BlotBlock?t._renderCustom(e.op,null):e instanceof a.VideoItem?t._renderWithCallbacks(p.GroupType.Video,e,(function(){var n=e;return new o.OpToHtmlConverter(n.op,t.converterOptions).getHtml()})):t._renderWithCallbacks(p.GroupType.InlineGroup,e,(function(){return t._renderInlines(e.ops,!0)}))})).join("")},t.prototype._renderWithCallbacks=function(t,e,n){var r="",i=this.callbacks.beforeRender_cb;(r="function"==typeof i?i.apply(null,[t,e]):"")||(r=n());var o=this.callbacks.afterRender_cb;return r="function"==typeof o?o.apply(null,[t,r]):r},t.prototype._renderList=function(t){var e=this,n=t.items[0];return c.makeStartTag(this._getListTag(n.item.op))+t.items.map((function(t){return e._renderListItem(t)})).join("")+c.makeEndTag(this._getListTag(n.item.op))},t.prototype._renderListItem=function(t){t.item.op.attributes.indent=0;var e=new o.OpToHtmlConverter(t.item.op,this.converterOptions).getHtmlParts(),n=this._renderInlines(t.item.ops,!1);return e.openingTag+n+(t.innerList?this._renderList(t.innerList):"")+e.closingTag},t.prototype._renderTable=function(t){var e=this;return c.makeStartTag("table")+c.makeStartTag("tbody")+t.rows.map((function(t){return e._renderTableRow(t)})).join("")+c.makeEndTag("tbody")+c.makeEndTag("table")},t.prototype._renderTableRow=function(t){var e=this;return c.makeStartTag("tr")+t.cells.map((function(t){return e._renderTableCell(t)})).join("")+c.makeEndTag("tr")},t.prototype._renderTableCell=function(t){var e=new o.OpToHtmlConverter(t.item.op,this.converterOptions).getHtmlParts(),n=this._renderInlines(t.item.ops,!1);return c.makeStartTag("td",{key:"data-row",value:t.item.op.attributes.table})+e.openingTag+n+e.closingTag+c.makeEndTag("td")},t.prototype._renderBlock=function(t,e){var n=this,r=new o.OpToHtmlConverter(t,this.converterOptions).getHtmlParts();if(t.isCodeBlock())return r.openingTag+c.encodeHtml(e.map((function(e){return e.isCustomEmbed()?n._renderCustom(e,t):e.insert.value})).join(""))+r.closingTag;var i=e.map((function(e){return n._renderInline(e,t)})).join("");return r.openingTag+(i||h)+r.closingTag},t.prototype._renderInlines=function(t,e){var n=this;void 0===e&&(e=!0);var r=t.length-1,i=t.map((function(t,e){return e>0&&e===r&&t.isJustNewline()?"":n._renderInline(t,null)})).join("");if(!e)return i;var o=c.makeStartTag(this.options.paragraphTag),s=c.makeEndTag(this.options.paragraphTag);return i===h||this.options.multiLineParagraph?o+i+s:o+i.split(h).map((function(t){return""===t?h:t})).join(s+o)+s},t.prototype._renderInline=function(t,e){return t.isCustomEmbed()?this._renderCustom(t,e):new o.OpToHtmlConverter(t,this.converterOptions).getHtml().replace(/\n/g,h)},t.prototype._renderCustom=function(t,e){var n=this.callbacks.renderCustomOp_cb;return"function"==typeof n?n.apply(null,[t,e]):""},t.prototype.beforeRender=function(t){"function"==typeof t&&(this.callbacks.beforeRender_cb=t)},t.prototype.afterRender=function(t){"function"==typeof t&&(this.callbacks.afterRender_cb=t)},t.prototype.renderCustomWith=function(t){this.callbacks.renderCustomOp_cb=t},t}();n.QuillDeltaToHtmlConverter=d},{"./InsertOpsConverter":4,"./OpToHtmlConverter":7,"./funcs-html":9,"./grouper/Grouper":10,"./grouper/ListNester":11,"./grouper/TableGrouper":12,"./grouper/group-types":13,"./helpers/object":15,"./value-types":19}],9:[function(t,e,n){"use strict";var r;function i(t){return o(r.Html).reduce(a,t)}function o(t){var e=[["&","&amp;"],["<","&lt;"],[">","&gt;"],['"',"&quot;"],["'","&#x27;"],["\\/","&#x2F;"],["\\(","&#40;"],["\\)","&#41;"]];return t===r.Html?e.filter((function(t){var e=t[0];t[1];return-1===e.indexOf("(")&&-1===e.indexOf(")")})):e.filter((function(t){var e=t[0];t[1];return-1===e.indexOf("/")}))}function s(t,e){return t.replace(new RegExp(e[0],"g"),e[1])}function a(t,e){return t.replace(new RegExp(e[1],"g"),e[0].replace("\\",""))}Object.defineProperty(n,"__esModule",{value:!0}),function(t){t[t.Html=0]="Html",t[t.Url=1]="Url"}(r||(r={})),n.makeStartTag=function(t,e){if(void 0===e&&(e=void 0),!t)return"";var n="";e&&(n=[].concat(e).map((function(t){return t.key+(t.value?'="'+t.value+'"':"")})).join(" "));var r=">";return"img"!==t&&"br"!==t||(r="/>"),n?"<"+t+" "+n+r:"<"+t+r},n.makeEndTag=function(t){return void 0===t&&(t=""),t&&"</"+t+">"||""},n.decodeHtml=i,n.encodeHtml=function(t,e){return void 0===e&&(e=!0),e&&(t=i(t)),o(r.Html).reduce(s,t)},n.encodeLink=function(t){var e=o(r.Url),n=e.reduce(a,t);return e.reduce(s,n)}},{}],10:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("./../DeltaInsertOp"),i=t("./../helpers/array"),o=t("./group-types"),s=function(){function t(){}return t.pairOpsWithTheirBlock=function(t){for(var e,n=[],r=function(t){return!(t.isJustNewline()||t.isCustomEmbedBlock()||t.isVideo()||t.isContainerBlock())},s=function(t){return t.isInline()},a=t.length-1;a>=0;a--){var u=t[a];u.isVideo()?n.push(new o.VideoItem(u)):u.isCustomEmbedBlock()?n.push(new o.BlotBlock(u)):u.isContainerBlock()?(e=i.sliceFromReverseWhile(t,a-1,r),n.push(new o.BlockGroup(u,e.elements)),a=e.sliceStartsAt>-1?e.sliceStartsAt:a):(e=i.sliceFromReverseWhile(t,a-1,s),n.push(new o.InlineGroup(e.elements.concat(u))),a=e.sliceStartsAt>-1?e.sliceStartsAt:a)}return n.reverse(),n},t.groupConsecutiveSameStyleBlocks=function(e,n){return void 0===n&&(n={header:!0,codeBlocks:!0,blockquotes:!0,customBlocks:!0}),i.groupConsecutiveElementsWhile(e,(function(e,r){return e instanceof o.BlockGroup&&r instanceof o.BlockGroup&&(n.codeBlocks&&t.areBothCodeblocksWithSameLang(e,r)||n.blockquotes&&t.areBothBlockquotesWithSameAdi(e,r)||n.header&&t.areBothSameHeadersWithSameAdi(e,r)||n.customBlocks&&t.areBothCustomBlockWithSameAttr(e,r))}))},t.reduceConsecutiveSameStyleBlocksToOne=function(t){var e=r.DeltaInsertOp.createNewLineOp();return t.map((function(t){if(!Array.isArray(t))return t instanceof o.BlockGroup&&!t.ops.length&&t.ops.push(e),t;var n=t.length-1;return t[0].ops=i.flatten(t.map((function(t,r){return t.ops.length?t.ops.concat(r<n?[e]:[]):[e]}))),t[0]}))},t.areBothCodeblocksWithSameLang=function(t,e){return t.op.isCodeBlock()&&e.op.isCodeBlock()&&t.op.hasSameLangAs(e.op)},t.areBothSameHeadersWithSameAdi=function(t,e){return t.op.isSameHeaderAs(e.op)&&t.op.hasSameAdiAs(e.op)},t.areBothBlockquotesWithSameAdi=function(t,e){return t.op.isBlockquote()&&e.op.isBlockquote()&&t.op.hasSameAdiAs(e.op)},t.areBothCustomBlockWithSameAttr=function(t,e){return t.op.isCustomTextBlock()&&e.op.isCustomTextBlock()&&t.op.hasSameAttr(e.op)},t}();n.Grouper=s},{"./../DeltaInsertOp":1,"./../helpers/array":14,"./group-types":13}],11:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("./group-types"),i=t("./../helpers/array"),o=function(){function t(){}return t.prototype.nest=function(t){var e=this,n=this.convertListBlocksToListGroups(t),o=this.groupConsecutiveListGroups(n),s=i.flatten(o.map((function(t){return Array.isArray(t)?e.nestListSection(t):t})));return i.groupConsecutiveElementsWhile(s,(function(t,e){return t instanceof r.ListGroup&&e instanceof r.ListGroup&&t.items[0].item.op.isSameListAs(e.items[0].item.op)})).map((function(t){if(!Array.isArray(t))return t;var e=t.map((function(t){return t.items}));return new r.ListGroup(i.flatten(e))}))},t.prototype.convertListBlocksToListGroups=function(t){return i.groupConsecutiveElementsWhile(t,(function(t,e){return t instanceof r.BlockGroup&&e instanceof r.BlockGroup&&t.op.isList()&&e.op.isList()&&t.op.isSameListAs(e.op)&&t.op.hasSameIndentationAs(e.op)})).map((function(t){return Array.isArray(t)?new r.ListGroup(t.map((function(t){return new r.ListItem(t)}))):t instanceof r.BlockGroup&&t.op.isList()?new r.ListGroup([new r.ListItem(t)]):t}))},t.prototype.groupConsecutiveListGroups=function(t){return i.groupConsecutiveElementsWhile(t,(function(t,e){return t instanceof r.ListGroup&&e instanceof r.ListGroup}))},t.prototype.nestListSection=function(t){var e=this,n=this.groupByIndent(t);return Object.keys(n).map(Number).sort().reverse().forEach((function(r){n[r].forEach((function(n){var r=t.indexOf(n);e.placeUnderParent(n,t.slice(0,r))&&t.splice(r,1)}))})),t},t.prototype.groupByIndent=function(t){return t.reduce((function(t,e){var n=e.items[0].item.op.attributes.indent;return n&&(t[n]=t[n]||[],t[n].push(e)),t}),{})},t.prototype.placeUnderParent=function(t,e){for(var n=e.length-1;n>=0;n--){var r=e[n];if(t.items[0].item.op.hasHigherIndentThan(r.items[0].item.op)){var i=r.items[r.items.length-1];return i.innerList?i.innerList.items=i.innerList.items.concat(t.items):i.innerList=t,!0}}return!1},t}();n.ListNester=o},{"./../helpers/array":14,"./group-types":13}],12:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("./group-types"),i=t("../helpers/array"),o=function(){function t(){}return t.prototype.group=function(t){return this.convertTableBlocksToTableGroups(t)},t.prototype.convertTableBlocksToTableGroups=function(t){var e=this;return i.groupConsecutiveElementsWhile(t,(function(t,e){return t instanceof r.BlockGroup&&e instanceof r.BlockGroup&&t.op.isTable()&&e.op.isTable()})).map((function(t){return Array.isArray(t)?new r.TableGroup(e.convertTableBlocksToTableRows(t)):t instanceof r.BlockGroup&&t.op.isTable()?new r.TableGroup([new r.TableRow([new r.TableCell(t)])]):t}))},t.prototype.convertTableBlocksToTableRows=function(t){return i.groupConsecutiveElementsWhile(t,(function(t,e){return t instanceof r.BlockGroup&&e instanceof r.BlockGroup&&t.op.isTable()&&e.op.isTable()&&t.op.isSameTableRowAs(e.op)})).map((function(t){return new r.TableRow(Array.isArray(t)?t.map((function(t){return new r.TableCell(t)})):[new r.TableCell(t)])}))},t}();n.TableGrouper=o},{"../helpers/array":14,"./group-types":13}],13:[function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var o=function(t){this.ops=t};n.InlineGroup=o;var s=function(t){this.op=t},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s);n.VideoItem=a;var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s);n.BlotBlock=u;var c=function(t,e){this.op=t,this.ops=e};n.BlockGroup=c;var l=function(t){this.items=t};n.ListGroup=l;var p=function(t,e){void 0===e&&(e=null),this.item=t,this.innerList=e};n.ListItem=p;var f=function(t){this.rows=t};n.TableGroup=f;var h=function(t){this.cells=t};n.TableRow=h;var d=function(t){this.item=t};n.TableCell=d},{}],14:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.preferSecond=function(t){return 0===t.length?null:t.length>=2?t[1]:t[0]},n.flatten=function t(e){return e.reduce((function(e,n){return e.concat(Array.isArray(n)?t(n):n)}),[])},n.find=function(t,e){if(Array.prototype.find)return Array.prototype.find.call(t,e);for(var n=0;n<t.length;n++)if(e(t[n]))return t[n]},n.groupConsecutiveElementsWhile=function(t,e){for(var n,r=[],i=0;i<t.length;i++)n=t[i],i>0&&e(n,t[i-1])?r[r.length-1].push(n):r.push([n]);return r.map((function(t){return 1===t.length?t[0]:t}))},n.sliceFromReverseWhile=function(t,e,n){for(var r={elements:[],sliceStartsAt:-1},i=e;i>=0&&n(t[i]);i--)r.sliceStartsAt=i,r.elements.unshift(t[i]);return r},n.intersperse=function(t,e){return t.reduce((function(n,r,i){return n.push(r),i<t.length-1&&n.push(e),n}),[])}},{}],15:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.assign=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),i=0;i<e.length;i++){var o=e[i];if(null!=o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r}},{}],16:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.tokenizeWithNewLines=function(t){var e="\n";if(t===e)return[t];var n=t.split(e);if(1===n.length)return n;var r=n.length-1;return n.reduce((function(t,n,i){return i!==r?""!==n?t=t.concat(n,e):t.push(e):""!==n&&t.push(n),t}),[])}},{}],17:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.sanitize=function(t){var e=t;return e=e.replace(/^\s*/gm,""),/^((https?|s?ftp|file|blob|mailto|tel):|#|\/|data:image\/)/.test(e)?e:"unsafe:"+e}},{}],18:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("../OpLinkSanitizer"),i=function(){function t(){}return t.sanitize=function(e,n){var i={};return e&&"object"==typeof e?(e.class&&t.IsValidClass(e.class)&&(i.class=e.class),e.id&&t.IsValidId(e.id)&&(i.id=e.id),t.IsValidTarget(e.target+"")&&(i.target=e.target),e.avatar&&(i.avatar=r.OpLinkSanitizer.sanitize(e.avatar+"",n)),e["end-point"]&&(i["end-point"]=r.OpLinkSanitizer.sanitize(e["end-point"]+"",n)),e.slug&&(i.slug=e.slug+""),i):i},t.IsValidClass=function(t){return!!t.match(/^[a-zA-Z0-9_\-]{1,500}$/i)},t.IsValidId=function(t){return!!t.match(/^[a-zA-Z0-9_\-\:\.]{1,500}$/i)},t.IsValidTarget=function(t){return["_self","_blank","_parent","_top"].indexOf(t)>-1},t}();n.MentionSanitizer=i},{"../OpLinkSanitizer":6}],19:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r,i,o,s,a,u;n.NewLine="\n",function(t){t.Ordered="ordered",t.Bullet="bullet",t.Checked="checked",t.Unchecked="unchecked"}(r||(r={})),n.ListType=r,function(t){t.Sub="sub",t.Super="super"}(i||(i={})),n.ScriptType=i,function(t){t.Rtl="rtl"}(o||(o={})),n.DirectionType=o,function(t){t.Left="left",t.Center="center",t.Right="right",t.Justify="justify"}(s||(s={})),n.AlignType=s,function(t){t.Image="image",t.Video="video",t.Formula="formula",t.Text="text"}(a||(a={})),n.DataType=a,function(t){t.Block="block",t.InlineGroup="inline-group",t.List="list",t.Video="video",t.Table="table"}(u||(u={})),n.GroupType=u},{}],20:[function(t,e,n){(function(t){var r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,a="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",d="[object GeneratorFunction]",y="[object Map]",m="[object Number]",g="[object Null]",b="[object Object]",v="[object Promise]",_="[object Proxy]",k="[object RegExp]",T="[object Set]",C="[object String]",L="[object Symbol]",O="[object Undefined]",S="[object WeakMap]",w="[object ArrayBuffer]",A="[object DataView]",j=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,I={};I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I[a]=I[u]=I[w]=I[l]=I[A]=I[p]=I[f]=I[h]=I[y]=I[m]=I[b]=I[k]=I[T]=I[C]=I[S]=!1;var z="object"==typeof t&&t&&t.Object===Object&&t,D="object"==typeof self&&self&&self.Object===Object&&self,G=z||D||Function("return this")(),x="object"==typeof n&&n&&!n.nodeType&&n,H=x&&"object"==typeof e&&e&&!e.nodeType&&e,P=H&&H.exports===x,V=P&&z.process,E=function(){try{return V&&V.binding&&V.binding("util")}catch(t){}}(),M=E&&E.isTypedArray;function N(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function R(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function W(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var F,q,U,$=Array.prototype,Q=Function.prototype,J=Object.prototype,Z=G["__core-js_shared__"],Y=Q.toString,K=J.hasOwnProperty,X=(F=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",tt=J.toString,et=RegExp("^"+Y.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nt=P?G.Buffer:void 0,rt=G.Symbol,it=G.Uint8Array,ot=J.propertyIsEnumerable,st=$.splice,at=rt?rt.toStringTag:void 0,ut=Object.getOwnPropertySymbols,ct=nt?nt.isBuffer:void 0,lt=(q=Object.keys,U=Object,function(t){return q(U(t))}),pt=Et(G,"DataView"),ft=Et(G,"Map"),ht=Et(G,"Promise"),dt=Et(G,"Set"),yt=Et(G,"WeakMap"),mt=Et(Object,"create"),gt=Wt(pt),bt=Wt(ft),vt=Wt(ht),_t=Wt(dt),kt=Wt(yt),Tt=rt?rt.prototype:void 0,Ct=Tt?Tt.valueOf:void 0;function Lt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ot(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new St;++e<n;)this.add(t[e])}function At(t){var e=this.__data__=new Ot(t);this.size=e.size}function jt(t,e){var n=Ut(t),r=!n&&qt(t),i=!n&&!r&&$t(t),o=!n&&!r&&!i&&Kt(t),s=n||r||i||o,a=s?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=a.length;for(var c in t)!e&&!K.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Rt(c,u))||a.push(c);return a}function Bt(t,e){for(var n=t.length;n--;)if(Ft(t[n][0],e))return n;return-1}function It(t){return null==t?void 0===t?O:g:at&&at in Object(t)?function(t){var e=K.call(t,at),n=t[at];try{t[at]=void 0;var r=!0}catch(t){}var i=tt.call(t);r&&(e?t[at]=n:delete t[at]);return i}(t):function(t){return tt.call(t)}(t)}function zt(t){return Yt(t)&&It(t)==a}function Dt(t,e,n,r,s){return t===e||(null==t||null==e||!Yt(t)&&!Yt(e)?t!=t&&e!=e:function(t,e,n,r,s,c){var h=Ut(t),d=Ut(e),g=h?u:Nt(t),v=d?u:Nt(e),_=(g=g==a?b:g)==b,O=(v=v==a?b:v)==b,S=g==v;if(S&&$t(t)){if(!$t(e))return!1;h=!0,_=!1}if(S&&!_)return c||(c=new At),h||Kt(t)?Ht(t,e,n,r,s,c):function(t,e,n,r,s,a,u){switch(n){case A:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!a(new it(t),new it(e)));case l:case p:case m:return Ft(+t,+e);case f:return t.name==e.name&&t.message==e.message;case k:case C:return t==e+"";case y:var c=R;case T:var h=r&i;if(c||(c=W),t.size!=e.size&&!h)return!1;var d=u.get(t);if(d)return d==e;r|=o,u.set(t,e);var g=Ht(c(t),c(e),r,s,a,u);return u.delete(t),g;case L:if(Ct)return Ct.call(t)==Ct.call(e)}return!1}(t,e,g,n,r,s,c);if(!(n&i)){var j=_&&K.call(t,"__wrapped__"),B=O&&K.call(e,"__wrapped__");if(j||B){var I=j?t.value():t,z=B?e.value():e;return c||(c=new At),s(I,z,n,r,c)}}if(!S)return!1;return c||(c=new At),function(t,e,n,r,o,s){var a=n&i,u=Pt(t),c=u.length,l=Pt(e),p=l.length;if(c!=p&&!a)return!1;var f=c;for(;f--;){var h=u[f];if(!(a?h in e:K.call(e,h)))return!1}var d=s.get(t);if(d&&s.get(e))return d==e;var y=!0;s.set(t,e),s.set(e,t);var m=a;for(;++f<c;){var g=t[h=u[f]],b=e[h];if(r)var v=a?r(b,g,h,e,t,s):r(g,b,h,t,e,s);if(!(void 0===v?g===b||o(g,b,n,r,s):v)){y=!1;break}m||(m="constructor"==h)}if(y&&!m){var _=t.constructor,k=e.constructor;_==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof k&&k instanceof k||(y=!1)}return s.delete(t),s.delete(e),y}(t,e,n,r,s,c)}(t,e,n,r,Dt,s))}function Gt(t){return!(!Zt(t)||function(t){return!!X&&X in t}(t))&&(Qt(t)?et:j).test(Wt(t))}function xt(t){if(n=(e=t)&&e.constructor,r="function"==typeof n&&n.prototype||J,e!==r)return lt(t);var e,n,r,i=[];for(var o in Object(t))K.call(t,o)&&"constructor"!=o&&i.push(o);return i}function Ht(t,e,n,r,s,a){var u=n&i,c=t.length,l=e.length;if(c!=l&&!(u&&l>c))return!1;var p=a.get(t);if(p&&a.get(e))return p==e;var f=-1,h=!0,d=n&o?new wt:void 0;for(a.set(t,e),a.set(e,t);++f<c;){var y=t[f],m=e[f];if(r)var g=u?r(m,y,f,e,t,a):r(y,m,f,t,e,a);if(void 0!==g){if(g)continue;h=!1;break}if(d){if(!N(e,(function(t,e){if(i=e,!d.has(i)&&(y===t||s(y,t,n,r,a)))return d.push(e);var i}))){h=!1;break}}else if(y!==m&&!s(y,m,n,r,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function Pt(t){return function(t,e,n){var r=e(t);return Ut(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Xt,Mt)}function Vt(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Et(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Gt(n)?n:void 0}Lt.prototype.clear=function(){this.__data__=mt?mt(null):{},this.size=0},Lt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Lt.prototype.get=function(t){var e=this.__data__;if(mt){var n=e[t];return n===r?void 0:n}return K.call(e,t)?e[t]:void 0},Lt.prototype.has=function(t){var e=this.__data__;return mt?void 0!==e[t]:K.call(e,t)},Lt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=mt&&void 0===e?r:e,this},Ot.prototype.clear=function(){this.__data__=[],this.size=0},Ot.prototype.delete=function(t){var e=this.__data__,n=Bt(e,t);return!(n<0)&&(n==e.length-1?e.pop():st.call(e,n,1),--this.size,!0)},Ot.prototype.get=function(t){var e=this.__data__,n=Bt(e,t);return n<0?void 0:e[n][1]},Ot.prototype.has=function(t){return Bt(this.__data__,t)>-1},Ot.prototype.set=function(t,e){var n=this.__data__,r=Bt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},St.prototype.clear=function(){this.size=0,this.__data__={hash:new Lt,map:new(ft||Ot),string:new Lt}},St.prototype.delete=function(t){var e=Vt(this,t).delete(t);return this.size-=e?1:0,e},St.prototype.get=function(t){return Vt(this,t).get(t)},St.prototype.has=function(t){return Vt(this,t).has(t)},St.prototype.set=function(t,e){var n=Vt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wt.prototype.add=wt.prototype.push=function(t){return this.__data__.set(t,r),this},wt.prototype.has=function(t){return this.__data__.has(t)},At.prototype.clear=function(){this.__data__=new Ot,this.size=0},At.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},At.prototype.get=function(t){return this.__data__.get(t)},At.prototype.has=function(t){return this.__data__.has(t)},At.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ot){var r=n.__data__;if(!ft||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new St(r)}return n.set(t,e),this.size=n.size,this};var Mt=ut?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}(ut(t),(function(e){return ot.call(t,e)})))}:function(){return[]},Nt=It;function Rt(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||B.test(t))&&t>-1&&t%1==0&&t<e}function Wt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ft(t,e){return t===e||t!=t&&e!=e}(pt&&Nt(new pt(new ArrayBuffer(1)))!=A||ft&&Nt(new ft)!=y||ht&&Nt(ht.resolve())!=v||dt&&Nt(new dt)!=T||yt&&Nt(new yt)!=S)&&(Nt=function(t){var e=It(t),n=e==b?t.constructor:void 0,r=n?Wt(n):"";if(r)switch(r){case gt:return A;case bt:return y;case vt:return v;case _t:return T;case kt:return S}return e});var qt=zt(function(){return arguments}())?zt:function(t){return Yt(t)&&K.call(t,"callee")&&!ot.call(t,"callee")},Ut=Array.isArray;var $t=ct||function(){return!1};function Qt(t){if(!Zt(t))return!1;var e=It(t);return e==h||e==d||e==c||e==_}function Jt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function Zt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Yt(t){return null!=t&&"object"==typeof t}var Kt=M?function(t){return function(e){return t(e)}}(M):function(t){return Yt(t)&&Jt(t.length)&&!!I[It(t)]};function Xt(t){return null!=(e=t)&&Jt(e.length)&&!Qt(e)?jt(t):xt(t);var e}e.exports=function(t,e){return Dt(t,e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[8])(8)})),window.QuillDeltaToHtmlConverter=window.QuillDeltaToHtmlConverter?window.QuillDeltaToHtmlConverter.QuillDeltaToHtmlConverter:window.QuillDeltaToHtmlConverter;
//# sourceMappingURL=/sm/650aae5a9d727ac99ae5524f909982876c71d3352167dbeceba9113202ce2287.map