{"ast":null,"code":"!function (t, e) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = e(require(\"quill\")) : \"function\" == typeof define && define.amd ? define([\"quill\"], e) : \"object\" == typeof exports ? exports.VueQuillEditor = e(require(\"quill\")) : t.VueQuillEditor = e(t.Quill);\n}(this, function (t) {\n return function (t) {\n function e(i) {\n if (n[i]) return n[i].exports;\n var l = n[i] = {\n i: i,\n l: !1,\n exports: {}\n };\n return t[i].call(l.exports, l, l.exports, e), l.l = !0, l.exports;\n }\n var n = {};\n return e.m = t, e.c = n, e.i = function (t) {\n return t;\n }, e.d = function (t, n, i) {\n e.o(t, n) || Object.defineProperty(t, n, {\n configurable: !1,\n enumerable: !0,\n get: i\n });\n }, e.n = function (t) {\n var n = t && t.__esModule ? function () {\n return t.default;\n } : function () {\n return t;\n };\n return e.d(n, \"a\", n), n;\n }, e.o = function (t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n }, e.p = \"/\", e(e.s = 2);\n }([function (e, n) {\n e.exports = t;\n }, function (t, e, n) {\n \"use strict\";\n\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n var i = n(4),\n l = n.n(i),\n o = n(6),\n r = n(5),\n u = r(l.a, o.a, !1, null, null, null);\n e.default = u.exports;\n }, function (t, e, n) {\n \"use strict\";\n\n function i(t) {\n return t && t.__esModule ? t : {\n default: t\n };\n }\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n }), e.install = e.quillEditor = e.Quill = void 0;\n var l = n(0),\n o = i(l),\n r = n(1),\n u = i(r),\n s = window.Quill || o.default,\n a = function (t, e) {\n e && (u.default.props.globalOptions.default = function () {\n return e;\n }), t.component(u.default.name, u.default);\n },\n c = {\n Quill: s,\n quillEditor: u.default,\n install: a\n };\n e.default = c, e.Quill = s, e.quillEditor = u.default, e.install = a;\n }, function (t, e, n) {\n \"use strict\";\n\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n }), e.default = {\n theme: \"snow\",\n boundary: document.body,\n modules: {\n toolbar: [[\"bold\", \"italic\", \"underline\", \"strike\"], [\"blockquote\", \"code-block\"], [{\n header: 1\n }, {\n header: 2\n }], [{\n list: \"ordered\"\n }, {\n list: \"bullet\"\n }], [{\n script: \"sub\"\n }, {\n script: \"super\"\n }], [{\n indent: \"-1\"\n }, {\n indent: \"+1\"\n }], [{\n direction: \"rtl\"\n }], [{\n size: [\"small\", !1, \"large\", \"huge\"]\n }], [{\n header: [1, 2, 3, 4, 5, 6, !1]\n }], [{\n color: []\n }, {\n background: []\n }], [{\n font: []\n }], [{\n align: []\n }], [\"clean\"], [\"link\", \"image\", \"video\"]]\n },\n placeholder: \"Insert text here ...\",\n readOnly: !1\n };\n }, function (t, e, n) {\n \"use strict\";\n\n function i(t) {\n return t && t.__esModule ? t : {\n default: t\n };\n }\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n var l = n(0),\n o = i(l),\n r = n(3),\n u = i(r),\n s = window.Quill || o.default;\n \"function\" != typeof Object.assign && Object.defineProperty(Object, \"assign\", {\n value: function (t, e) {\n if (null == t) throw new TypeError(\"Cannot convert undefined or null to object\");\n for (var n = Object(t), i = 1; i < arguments.length; i++) {\n var l = arguments[i];\n if (null != l) for (var o in l) Object.prototype.hasOwnProperty.call(l, o) && (n[o] = l[o]);\n }\n return n;\n },\n writable: !0,\n configurable: !0\n }), e.default = {\n name: \"quill-editor\",\n data: function () {\n return {\n _options: {},\n _content: \"\",\n defaultOptions: u.default\n };\n },\n props: {\n content: String,\n value: String,\n disabled: {\n type: Boolean,\n default: !1\n },\n options: {\n type: Object,\n required: !1,\n default: function () {\n return {};\n }\n },\n globalOptions: {\n type: Object,\n required: !1,\n default: function () {\n return {};\n }\n }\n },\n mounted: function () {\n this.initialize();\n },\n beforeDestroy: function () {\n this.quill = null, delete this.quill;\n },\n methods: {\n initialize: function () {\n var t = this;\n this.$el && (this._options = Object.assign({}, this.defaultOptions, this.globalOptions, this.options), this.quill = new s(this.$refs.editor, this._options), this.quill.enable(!1), (this.value || this.content) && this.quill.pasteHTML(this.value || this.content), this.disabled || this.quill.enable(!0), this.quill.on(\"selection-change\", function (e) {\n e ? t.$emit(\"focus\", t.quill) : t.$emit(\"blur\", t.quill);\n }), this.quill.on(\"text-change\", function (e, n, i) {\n var l = t.$refs.editor.children[0].innerHTML,\n o = t.quill,\n r = t.quill.getText();\n \"