[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 6649.js
/*! For license information please see 6649.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[6649],{1017:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var l=o(9726);const n={name:"PaginationBox",components:{TailwindPagination:o(1964).L5},props:{pagination:{type:Object},method:{type:Function}},data:function(){return{activeClass:["bg-blue-50","border-blue-500","text-primary"]}},methods:{page:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.method(e)}}};const r=(0,o(6262).A)(n,[["render",function(e,t,o,n,r,i){var a=(0,l.resolveComponent)("TailwindPagination");return(0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createVNode)(a,{data:o.pagination,onPaginationChangePage:i.page,"active-classes":r.activeClass,limit:1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1574:function(e,t,o){var l,n=o(8287).hp;"undefined"!=typeof self&&self,l=function(){return function(e){var t={};function o(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,l){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=109)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o(17),n=o(18),r=o(19),i=o(45),a=o(46),s=o(47),u=o(48),c=o(49),d=o(12),f=o(32),p=o(33),h=o(31),b=o(1),q={Scope:b.Scope,create:b.create,find:b.find,query:b.query,register:b.register,Container:l.default,Format:n.default,Leaf:r.default,Embed:u.default,Scroll:i.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:d.default,Class:f.default,Style:p.default,Store:h.default}};t.default=q},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var o=this;return t="[Parchment] "+t,(o=e.call(this,t)||this).message=t,o.name=o.constructor.name,o}return n(t,e),t}(Error);t.ParchmentError=r;var i,a={},s={},u={},c={};function d(e,t){var o;if(void 0===t&&(t=i.ANY),"string"==typeof e)o=c[e]||a[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)o=c.text;else if("number"==typeof e)e&i.LEVEL&i.BLOCK?o=c.block:e&i.LEVEL&i.INLINE&&(o=c.inline);else if(e instanceof HTMLElement){var l=(e.getAttribute("class")||"").split(/\s+/);for(var n in l)if(o=s[l[n]])break;o=o||u[e.tagName]}return null==o?null:t&i.LEVEL&o.scope&&t&i.TYPE&o.scope?o:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(i=t.Scope||(t.Scope={})),t.create=function(e,t){var o=d(e);if(null==o)throw new r("Unable to create "+e+" blot");var l=o,n=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:l.create(t);return new l(n,t)},t.find=function e(o,l){return void 0===l&&(l=!1),null==o?null:null!=o[t.DATA_KEY]?o[t.DATA_KEY].blot:l?e(o.parentNode,l):null},t.query=d,t.register=function e(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];if(t.length>1)return t.map(function(t){return e(t)});var l=t[0];if("string"!=typeof l.blotName&&"string"!=typeof l.attrName)throw new r("Invalid definition");if("abstract"===l.blotName)throw new r("Cannot register abstract class");return c[l.blotName||l.attrName]=l,"string"==typeof l.keyName?a[l.keyName]=l:(null!=l.className&&(s[l.className]=l),null!=l.tagName&&(Array.isArray(l.tagName)?l.tagName=l.tagName.map(function(e){return e.toUpperCase()}):l.tagName=l.tagName.toUpperCase(),(Array.isArray(l.tagName)?l.tagName:[l.tagName]).forEach(function(e){null!=u[e]&&null!=l.className||(u[e]=l)}))),l}},function(e,t,o){var l=o(51),n=o(11),r=o(3),i=o(20),a=String.fromCharCode(0),s=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};s.prototype.insert=function(e,t){var o={};return 0===e.length?this:(o.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(o.attributes=t),this.push(o))},s.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},s.prototype.retain=function(e,t){if(e<=0)return this;var o={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(o.attributes=t),this.push(o)},s.prototype.push=function(e){var t=this.ops.length,o=this.ops[t-1];if(e=r(!0,{},e),"object"==typeof o){if("number"==typeof e.delete&&"number"==typeof o.delete)return this.ops[t-1]={delete:o.delete+e.delete},this;if("number"==typeof o.delete&&null!=e.insert&&(t-=1,"object"!=typeof(o=this.ops[t-1])))return this.ops.unshift(e),this;if(n(e.attributes,o.attributes)){if("string"==typeof e.insert&&"string"==typeof o.insert)return this.ops[t-1]={insert:o.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof o.retain)return this.ops[t-1]={retain:o.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},s.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},s.prototype.filter=function(e){return this.ops.filter(e)},s.prototype.forEach=function(e){this.ops.forEach(e)},s.prototype.map=function(e){return this.ops.map(e)},s.prototype.partition=function(e){var t=[],o=[];return this.forEach(function(l){(e(l)?t:o).push(l)}),[t,o]},s.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},s.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+i.length(t):t.delete?e-t.delete:e},0)},s.prototype.length=function(){return this.reduce(function(e,t){return e+i.length(t)},0)},s.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var o=[],l=i.iterator(this.ops),n=0;n<t&&l.hasNext();){var r;n<e?r=l.next(e-n):(r=l.next(t-n),o.push(r)),n+=i.length(r)}return new s(o)},s.prototype.compose=function(e){var t=i.iterator(this.ops),o=i.iterator(e.ops),l=[],r=o.peek();if(null!=r&&"number"==typeof r.retain&&null==r.attributes){for(var a=r.retain;"insert"===t.peekType()&&t.peekLength()<=a;)a-=t.peekLength(),l.push(t.next());r.retain-a>0&&o.next(r.retain-a)}for(var u=new s(l);t.hasNext()||o.hasNext();)if("insert"===o.peekType())u.push(o.next());else if("delete"===t.peekType())u.push(t.next());else{var c=Math.min(t.peekLength(),o.peekLength()),d=t.next(c),f=o.next(c);if("number"==typeof f.retain){var p={};"number"==typeof d.retain?p.retain=c:p.insert=d.insert;var h=i.attributes.compose(d.attributes,f.attributes,"number"==typeof d.retain);if(h&&(p.attributes=h),u.push(p),!o.hasNext()&&n(u.ops[u.ops.length-1],p)){var b=new s(t.rest());return u.concat(b).chop()}}else"number"==typeof f.delete&&"number"==typeof d.retain&&u.push(f)}return u.chop()},s.prototype.concat=function(e){var t=new s(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},s.prototype.diff=function(e,t){if(this.ops===e.ops)return new s;var o=[this,e].map(function(t){return t.map(function(o){if(null!=o.insert)return"string"==typeof o.insert?o.insert:a;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")}).join("")}),r=new s,u=l(o[0],o[1],t),c=i.iterator(this.ops),d=i.iterator(e.ops);return u.forEach(function(e){for(var t=e[1].length;t>0;){var o=0;switch(e[0]){case l.INSERT:o=Math.min(d.peekLength(),t),r.push(d.next(o));break;case l.DELETE:o=Math.min(t,c.peekLength()),c.next(o),r.delete(o);break;case l.EQUAL:o=Math.min(c.peekLength(),d.peekLength(),t);var a=c.next(o),s=d.next(o);n(a.insert,s.insert)?r.retain(o,i.attributes.diff(a.attributes,s.attributes)):r.push(s).delete(o)}t-=o}}),r.chop()},s.prototype.eachLine=function(e,t){t=t||"\n";for(var o=i.iterator(this.ops),l=new s,n=0;o.hasNext();){if("insert"!==o.peekType())return;var r=o.peek(),a=i.length(r)-o.peekLength(),u="string"==typeof r.insert?r.insert.indexOf(t,a)-a:-1;if(u<0)l.push(o.next());else if(u>0)l.push(o.next(u));else{if(!1===e(l,o.next(1).attributes||{},n))return;n+=1,l=new s}}l.length()>0&&e(l,{},n)},s.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var o=i.iterator(this.ops),l=i.iterator(e.ops),n=new s;o.hasNext()||l.hasNext();)if("insert"!==o.peekType()||!t&&"insert"===l.peekType())if("insert"===l.peekType())n.push(l.next());else{var r=Math.min(o.peekLength(),l.peekLength()),a=o.next(r),u=l.next(r);if(a.delete)continue;u.delete?n.push(u):n.retain(r,i.attributes.transform(a.attributes,u.attributes,t))}else n.retain(i.length(o.next()));return n.chop()},s.prototype.transformPosition=function(e,t){t=!!t;for(var o=i.iterator(this.ops),l=0;o.hasNext()&&l<=e;){var n=o.peekLength(),r=o.peekType();o.next(),"delete"!==r?("insert"===r&&(l<e||!t)&&(e+=n),l+=n):e-=Math.min(n,e-l)}return e},e.exports=s},function(e,t){"use strict";var o=Object.prototype.hasOwnProperty,l=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===l.call(e)},a=function(e){if(!e||"[object Object]"!==l.call(e))return!1;var t,n=o.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&o.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||o.call(e,t)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!o.call(e,t))return;if(r)return r(e,t).value}return e[t]};e.exports=function e(){var t,o,l,n,r,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(o in t)l=u(d,o),d!==(n=u(t,o))&&(h&&n&&(a(n)||(r=i(n)))?(r?(r=!1,c=l&&i(l)?l:[]):c=l&&a(l)?l:{},s(d,{name:o,newValue:e(h,c,n)})):void 0!==n&&s(d,{name:o,newValue:n}));return d}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=d(o(3)),i=d(o(2)),a=d(o(0)),s=d(o(16)),u=d(o(6)),c=d(o(7));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),l(t,[{key:"attach",value:function(){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new a.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new i.default).insert(this.value(),(0,r.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var o=a.default.query(e,a.default.Scope.BLOCK_ATTRIBUTE);null!=o&&this.attributes.attribute(o,t)}},{key:"formatAt",value:function(e,t,o,l){this.format(o,l)}},{key:"insertAt",value:function(e,o,l){if("string"==typeof o&&o.endsWith("\n")){var r=a.default.create(q.blotName);this.parent.insertBefore(r,0===e?this:this.next),r.insertAt(0,o.slice(0,-1))}else n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,o,l)}}]),t}(a.default.Embed);b.scope=a.default.Scope.BLOCK_BLOT;var q=function(e){function t(e){f(this,t);var o=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.cache={},o}return h(t,e),l(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(a.default.Leaf).reduce(function(e,t){return 0===t.length()?e:e.insert(t.value(),m(t))},new i.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(e,o){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,o),this.cache={}}},{key:"formatAt",value:function(e,o,l,r){o<=0||(a.default.query(l,a.default.Scope.BLOCK)?e+o===this.length()&&this.format(l,r):n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(o,this.length()-e-1),l,r),this.cache={})}},{key:"insertAt",value:function(e,o,l){if(null!=l)return n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,o,l);if(0!==o.length){var r=o.split("\n"),i=r.shift();i.length>0&&(e<this.length()-1||null==this.children.tail?n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var a=this;r.reduce(function(e,t){return(a=a.split(e,!0)).insertAt(0,t),t.length},e+i.length)}}},{key:"insertBefore",value:function(e,o){var l=this.children.head;n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,o),l instanceof s.default&&l.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,o){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,o),this.cache={}}},{key:"optimize",value:function(e){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o&&(0===e||e>=this.length()-1)){var l=this.clone();return 0===e?(this.parent.insertBefore(l,this),this):(this.parent.insertBefore(l,this.next),l)}var r=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,o);return this.cache={},r}}]),t}(a.default.Block);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,r.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:m(e.parent,t))}q.blotName="block",q.tagName="P",q.defaultChild="break",q.allowedChildren=[u.default,a.default.Embed,c.default],t.bubbleFormats=m,t.BlockEmbed=b,t.default=q},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}();o(50);var i=q(o(2)),a=q(o(14)),s=q(o(8)),u=q(o(9)),c=q(o(0)),d=o(15),f=q(d),p=q(o(3)),h=q(o(10)),b=q(o(34));function q(e){return e&&e.__esModule?e:{default:e}}function m(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var y=(0,h.default)("quill"),g=function(){function e(t){var o=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=v(t,l),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new s.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new a.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(s.default.events.EDITOR_CHANGE,function(e){e===s.default.events.TEXT_CHANGE&&o.root.classList.toggle("ql-blank",o.editor.isBlank())}),this.emitter.on(s.default.events.SCROLL_UPDATE,function(e,t){var l=o.selection.lastRange,n=l&&0===l.length?l.index:void 0;k.call(o,function(){return o.editor.update(null,t,n)},e)});var r=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+n+"<p><br></p></div>");this.setContents(r),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return r(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),h.default.level(e)}},{key:"find",value:function(e){return e.__quill||c.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var o=this,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var n=e.attrName||e.blotName;"string"==typeof n?this.register("formats/"+n,e,t):Object.keys(e).forEach(function(l){o.register(l,e[l],t)})}else null==this.imports[e]||l||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?c.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),r(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var o=e;(e=document.createElement("div")).classList.add(o)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,o){var l=this,r=_(e,t,o),i=n(r,4);return e=i[0],t=i[1],o=i[3],k.call(this,function(){return l.editor.deleteText(e,t)},o,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;return k.call(this,function(){var l=o.getSelection(!0),n=new i.default;if(null==l)return n;if(c.default.query(e,c.default.Scope.BLOCK))n=o.editor.formatLine(l.index,l.length,m({},e,t));else{if(0===l.length)return o.selection.format(e,t),n;n=o.editor.formatText(l.index,l.length,m({},e,t))}return o.setSelection(l,s.default.sources.SILENT),n},l)}},{key:"formatLine",value:function(e,t,o,l,r){var i,a=this,s=_(e,t,o,l,r),u=n(s,4);return e=u[0],t=u[1],i=u[2],r=u[3],k.call(this,function(){return a.editor.formatLine(e,t,i)},r,e,0)}},{key:"formatText",value:function(e,t,o,l,r){var i,a=this,s=_(e,t,o,l,r),u=n(s,4);return e=u[0],t=u[1],i=u[2],r=u[3],k.call(this,function(){return a.editor.formatText(e,t,i)},r,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=void 0;o="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var l=this.container.getBoundingClientRect();return{bottom:o.bottom-l.top,height:o.height,left:o.left-l.left,right:o.right-l.left,top:o.top-l.top,width:o.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,o=_(e,t),l=n(o,2);return e=l[0],t=l[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,o=_(e,t),l=n(o,2);return e=l[0],t=l[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,o,l){var n=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return k.call(this,function(){return n.editor.insertEmbed(t,o,l)},r,t)}},{key:"insertText",value:function(e,t,o,l,r){var i,a=this,s=_(e,0,o,l,r),u=n(s,4);return e=u[0],i=u[2],r=u[3],k.call(this,function(){return a.editor.insertText(e,t,i)},r,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,o){this.clipboard.dangerouslyPasteHTML(e,t,o)}},{key:"removeFormat",value:function(e,t,o){var l=this,r=_(e,t,o),i=n(r,4);return e=i[0],t=i[1],o=i[3],k.call(this,function(){return l.editor.removeFormat(e,t)},o,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return k.call(this,function(){e=new i.default(e);var o=t.getLength(),l=t.editor.deleteText(0,o),n=t.editor.applyDelta(e),r=n.ops[n.ops.length-1];return null!=r&&"string"==typeof r.insert&&"\n"===r.insert[r.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),n.delete(1)),l.compose(n)},o)}},{key:"setSelection",value:function(t,o,l){if(null==t)this.selection.setRange(null,o||e.sources.API);else{var r=_(t,o,l),i=n(r,4);t=i[0],o=i[1],l=i[3],this.selection.setRange(new d.Range(t,o),l),l!==s.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API,o=(new i.default).insert(e);return this.setContents(o,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return k.call(this,function(){return e=new i.default(e),t.editor.applyDelta(e,o)},o,!0)}}]),e}();function v(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==g.DEFAULTS.theme){if(t.theme=g.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=b.default;var o=(0,p.default)(!0,{},t.theme.DEFAULTS);[o,t].forEach(function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach(function(t){!0===e.modules[t]&&(e.modules[t]={})})});var l=Object.keys(o.modules).concat(Object.keys(t.modules)).reduce(function(e,t){var o=g.import("modules/"+t);return null==o?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=o.DEFAULTS||{},e},{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,p.default)(!0,{},g.DEFAULTS,{modules:l},o,t),["bounds","container","scrollingContainer"].forEach(function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))}),t.modules=Object.keys(t.modules).reduce(function(e,o){return t.modules[o]&&(e[o]=t.modules[o]),e},{}),t}function k(e,t,o,l){if(this.options.strict&&!this.isEnabled()&&t===s.default.sources.USER)return new i.default;var n=null==o?null:this.getSelection(),r=this.editor.delta,a=e();if(null!=n&&(!0===o&&(o=n.index),null==l?n=w(n,a,t):0!==l&&(n=w(n,o,l,t)),this.setSelection(n,s.default.sources.SILENT)),a.length()>0){var u,c,d=[s.default.events.TEXT_CHANGE,a,r,t];(u=this.emitter).emit.apply(u,[s.default.events.EDITOR_CHANGE].concat(d)),t!==s.default.sources.SILENT&&(c=this.emitter).emit.apply(c,d)}return a}function _(e,t,o,n,r){var i={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(r=n,n=o,o=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(r=n,n=o,o=t,t=0),"object"===(void 0===o?"undefined":l(o))?(i=o,r=n):"string"==typeof o&&(null!=n?i[o]=n:r=o),[e,t,i,r=r||s.default.sources.API]}function w(e,t,o,l){if(null==e)return null;var r=void 0,a=void 0;if(t instanceof i.default){var u=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,l!==s.default.sources.USER)}),c=n(u,2);r=c[0],a=c[1]}else{var f=[e.index,e.index+e.length].map(function(e){return e<t||e===t&&l===s.default.sources.USER?e:o>=0?e+o:Math.max(t,e+o)}),p=n(f,2);r=p[0],a=p[1]}return new d.Range(r,a-r)}g.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},g.events=s.default.events,g.sources=s.default.sources,g.version="1.3.7",g.imports={delta:i.default,parchment:c.default,"core/module":u.default,"core/theme":b.default},t.expandConfig=v,t.overload=_,t.default=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=a(o(7)),i=a(o(0));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"formatAt",value:function(e,o,l,r){if(t.compare(this.statics.blotName,l)<0&&i.default.query(l,i.default.Scope.BLOT)){var a=this.isolate(e,o);r&&a.wrap(l,r)}else n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,o,l,r)}},{key:"optimize",value:function(e){if(n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var o=this.parent.isolate(this.offset(),this.length());this.moveChildren(o),o.wrap(this)}}}],[{key:"compare",value:function(e,o){var l=t.order.indexOf(e),n=t.order.indexOf(o);return l>=0||n>=0?l-n:e===o?0:e<o?-1:1}}]),t}(i.default.Inline);s.allowedChildren=[s,i.default.Embed,r.default],s.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=o(0),r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((l=n)&&l.__esModule?l:{default:l}).default.Text);t.default=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=i(o(54));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,i(o(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(e){document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(e){var o;e.__quill&&e.__quill.emitter&&(o=e.__quill.emitter).handleDOM.apply(o,t)})})});var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",a.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"emit",value:function(){a.log.apply(a,arguments),n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];(this.listeners[e.type]||[]).forEach(function(t){var l=t.node,n=t.handler;(e.target===l||l.contains(e.target))&&n.apply(void 0,[e].concat(o))})}},{key:"listenDOM",value:function(e,t,o){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:o})}}]),t}(r.default);s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},t.default=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=o};l.DEFAULTS={},t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=["error","warn","log","info"],n="warn";function r(e){if(l.indexOf(e)<=l.indexOf(n)){for(var t,o=arguments.length,r=Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];(t=console)[e].apply(t,r)}}function i(e){return l.reduce(function(t,o){return t[o]=r.bind(console,o,e),t},{})}r.level=i.level=function(e){n=e},t.default=i},function(e,t,o){var l=Array.prototype.slice,n=o(52),r=o(53),i=e.exports=function(e,t,o){return o||(o={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?o.strict?e===t:e==t:function(e,t,o){var u,c;if(a(e)||a(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e))return!!r(t)&&(e=l.call(e),t=l.call(t),i(e,t,o));if(s(e)){if(!s(t))return!1;if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}try{var d=n(e),f=n(t)}catch(e){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),u=d.length-1;u>=0;u--)if(d[u]!=f[u])return!1;for(u=d.length-1;u>=0;u--)if(c=d[u],!i(e[c],t[c],o))return!1;return typeof e==typeof t}(e,t,o))};function a(e){return null==e}function s(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o(1),n=function(){function e(e,t,o){void 0===o&&(o={}),this.attrName=e,this.keyName=t;var n=l.Scope.TYPE&l.Scope.ATTRIBUTE;null!=o.scope?this.scope=o.scope&l.Scope.LEVEL|n:this.scope=l.Scope.ATTRIBUTE,null!=o.whitelist&&(this.whitelist=o.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=l.query(e,l.Scope.BLOT&(this.scope|l.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=d(o(2)),a=d(o(0)),s=d(o(4)),u=d(o(6)),c=d(o(7));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),t}(u.default);b.blotName="code",b.tagName="CODE";var q=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),n(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce(function(t,o){return t.insert(o).insert("\n",e.formats())},new i.default)}},{key:"format",value:function(e,o){if(e!==this.statics.blotName||!o){var n=this.descendant(c.default,this.length()-1),i=l(n,1)[0];null!=i&&i.deleteAt(i.length()-1,1),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o)}}},{key:"formatAt",value:function(e,o,l,n){if(0!==o&&null!=a.default.query(l,a.default.Scope.BLOCK)&&(l!==this.statics.blotName||n!==this.statics.formats(this.domNode))){var r=this.newlineIndex(e);if(!(r<0||r>=e+o)){var i=this.newlineIndex(e,!0)+1,s=r-i+1,u=this.isolate(i,s),c=u.next;u.format(l,n),c instanceof t&&c.formatAt(0,e-i+o-s,l,n)}}}},{key:"insertAt",value:function(e,t,o){if(null==o){var n=this.descendant(c.default,e),r=l(n,2),i=r[0],a=r[1];i.insertAt(a,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(a.default.create("text","\n")),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var o=this.next;null!=o&&o.prev===this&&o.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===o.statics.formats(o.domNode)&&(o.optimize(e),o.moveChildren(this),o.remove())}},{key:"replace",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=a.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof a.default.Embed?t.remove():t.unwrap()})}}],[{key:"create",value:function(e){var o=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return o.setAttribute("spellcheck",!1),o}},{key:"formats",value:function(){return!0}}]),t}(s.default);q.blotName="code-block",q.tagName="PRE",q.TAB=" ",t.Code=b,t.default=q},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),i=m(o(2)),a=m(o(20)),s=m(o(0)),u=m(o(13)),c=m(o(24)),d=o(4),f=m(d),p=m(o(16)),h=m(o(21)),b=m(o(11)),q=m(o(3));function m(e){return e&&e.__esModule?e:{default:e}}var y=/^[ -~]*$/,g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return r(e,[{key:"applyDelta",value:function(e){var t=this,o=!1;this.scroll.update();var r=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce(function(e,t){if(1===t.insert){var o=(0,h.default)(t.attributes);return delete o.image,e.insert({image:t.attributes.image},o)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,h.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var l=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(l,t.attributes)}return e.push(t)},new i.default)}(e)).reduce(function(e,i){var u=i.retain||i.delete||i.insert.length||1,c=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var p=i.insert;p.endsWith("\n")&&o&&(o=!1,p=p.slice(0,-1)),e>=r&&!p.endsWith("\n")&&(o=!0),t.scroll.insertAt(e,p);var h=t.scroll.line(e),b=n(h,2),m=b[0],y=b[1],g=(0,q.default)({},(0,d.bubbleFormats)(m));if(m instanceof f.default){var v=m.descendant(s.default.Leaf,y),k=n(v,1)[0];g=(0,q.default)(g,(0,d.bubbleFormats)(k))}c=a.default.attributes.diff(g,c)||{}}else if("object"===l(i.insert)){var _=Object.keys(i.insert)[0];if(null==_)return e;t.scroll.insertAt(e,_,i.insert[_])}r+=u}return Object.keys(c).forEach(function(o){t.scroll.formatAt(e,u,o,c[o])}),e+u},0),e.reduce(function(e,o){return"number"==typeof o.delete?(t.scroll.deleteAt(e,o.delete),e):e+(o.retain||o.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new i.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(l).forEach(function(n){if(null==o.scroll.whitelist||o.scroll.whitelist[n]){var r=o.scroll.lines(e,Math.max(t,1)),i=t;r.forEach(function(t){var r=t.length();if(t instanceof u.default){var a=e-t.offset(o.scroll),s=t.newlineIndex(a+i)-a+1;t.formatAt(a,s,n,l[n])}else t.format(n,l[n]);i-=r})}}),this.scroll.optimize(),this.update((new i.default).retain(e).retain(t,(0,h.default)(l)))}},{key:"formatText",value:function(e,t){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(l).forEach(function(n){o.scroll.formatAt(e,t,n,l[n])}),this.update((new i.default).retain(e).retain(t,(0,h.default)(l)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new i.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=[],l=[];0===t?this.scroll.path(e).forEach(function(e){var t=n(e,1)[0];t instanceof f.default?o.push(t):t instanceof s.default.Leaf&&l.push(t)}):(o=this.scroll.lines(e,t),l=this.scroll.descendants(s.default.Leaf,e,t));var r=[o,l].map(function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var o=e.shift();if(null==o)return t;t=v((0,d.bubbleFormats)(o),t)}return t});return q.default.apply(q.default,r)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter(function(e){return"string"==typeof e.insert}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function(e,t,o){return this.scroll.insertAt(e,t,o),this.update((new i.default).retain(e).insert(function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}({},t,o)))}},{key:"insertText",value:function(e,t){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(l).forEach(function(n){o.scroll.formatAt(e,t.length,n,l[n])}),this.update((new i.default).retain(e).insert(t,(0,h.default)(l)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===f.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var o=this.getText(e,t),l=this.scroll.line(e+t),r=n(l,2),a=r[0],s=r[1],c=0,d=new i.default;null!=a&&(c=a instanceof u.default?a.newlineIndex(s)-s+1:a.length()-s,d=a.delta().slice(s,s+c-1).insert("\n"));var f=this.getContents(e,t+c).diff((new i.default).insert(o).concat(d)),p=(new i.default).retain(e).concat(f);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,l=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(y)&&s.default.find(t[0].target)){var n=s.default.find(t[0].target),r=(0,d.bubbleFormats)(n),a=n.offset(this.scroll),u=t[0].oldValue.replace(c.default.CONTENTS,""),f=(new i.default).insert(u),p=(new i.default).insert(n.value());e=(new i.default).retain(a).concat(f.diff(p,o)).reduce(function(e,t){return t.insert?e.insert(t.insert,r):e.push(t)},new i.default),this.delta=l.compose(e)}else this.delta=this.getDelta(),e&&(0,b.default)(l.compose(e),this.delta)||(e=l.diff(this.delta,o));return e}}]),e}();function v(e,t){return Object.keys(t).reduce(function(o,l){return null==e[l]||(t[l]===e[l]?o[l]=t[l]:Array.isArray(t[l])?t[l].indexOf(e[l])<0&&(o[l]=t[l].concat([e[l]])):o[l]=[t[l],e[l]]),o},{})}t.default=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=u(o(0)),i=u(o(21)),a=u(o(11)),s=u(o(8));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=(0,u(o(10)).default)("quill:selection"),p=function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=o},h=function(){function e(t,o){var l=this;d(this,e),this.emitter=o,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=r.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){l.mouseDown||setTimeout(l.update.bind(l,s.default.sources.USER),1)}),this.emitter.on(s.default.events.EDITOR_CHANGE,function(e,t){e===s.default.events.TEXT_CHANGE&&t.length()>0&&l.update(s.default.sources.SILENT)}),this.emitter.on(s.default.events.SCROLL_BEFORE_UPDATE,function(){if(l.hasFocus()){var e=l.getNativeRange();null!=e&&e.start.node!==l.cursor.textNode&&l.emitter.once(s.default.events.SCROLL_UPDATE,function(){try{l.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})}}),this.emitter.on(s.default.events.SCROLL_OPTIMIZE,function(e,t){if(t.range){var o=t.range,n=o.startNode,r=o.startOffset,i=o.endNode,a=o.endOffset;l.setNativeRange(n,r,i,a)}}),this.update(s.default.sources.SILENT)}return n(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",function(){e.composing=!0}),this.root.addEventListener("compositionend",function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout(function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(s.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var o=this.getNativeRange();if(null!=o&&o.native.collapsed&&!r.default.query(e,r.default.Scope.BLOCK)){if(o.start.node!==this.cursor.textNode){var l=r.default.find(o.start.node,!1);if(null==l)return;if(l instanceof r.default.Leaf){var n=l.split(o.start.offset);l.parent.insertBefore(this.cursor,n)}else l.insertBefore(this.cursor,o.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this.scroll.length();e=Math.min(e,o-1),t=Math.min(e+t,o-1)-e;var n=void 0,r=this.scroll.leaf(e),i=l(r,2),a=i[0],s=i[1];if(null==a)return null;var u=a.position(s,!0),c=l(u,2);n=c[0],s=c[1];var d=document.createRange();if(t>0){d.setStart(n,s);var f=this.scroll.leaf(e+t),p=l(f,2);if(a=p[0],s=p[1],null==a)return null;var h=a.position(s,!0),b=l(h,2);return n=b[0],s=b[1],d.setEnd(n,s),d.getBoundingClientRect()}var q="left",m=void 0;return n instanceof Text?(s<n.data.length?(d.setStart(n,s),d.setEnd(n,s+1)):(d.setStart(n,s-1),d.setEnd(n,s),q="right"),m=d.getBoundingClientRect()):(m=a.domNode.getBoundingClientRect(),s>0&&(q="right")),{bottom:m.top+m.height,height:m.height,left:m[q],right:m[q],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var o=this.normalizeNative(t);return f.info("getNativeRange",o),o}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,o=[[e.start.node,e.start.offset]];e.native.collapsed||o.push([e.end.node,e.end.offset]);var n=o.map(function(e){var o=l(e,2),n=o[0],i=o[1],a=r.default.find(n,!0),s=a.offset(t.scroll);return 0===i?s:a instanceof r.default.Container?s+a.length():s+a.index(n,i)}),i=Math.min(Math.max.apply(Math,c(n)),this.scroll.length()-1),a=Math.min.apply(Math,[i].concat(c(n)));return new p(a,i-a)}},{key:"normalizeNative",value:function(e){if(!b(this.root,e.startContainer)||!e.collapsed&&!b(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(function(e){for(var t=e.node,o=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>o)t=t.childNodes[o],o=0;else{if(t.childNodes.length!==o)break;o=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=o}),t}},{key:"rangeToNative",value:function(e){var t=this,o=e.collapsed?[e.index]:[e.index,e.index+e.length],n=[],r=this.scroll.length();return o.forEach(function(e,o){e=Math.min(r-1,e);var i,a=t.scroll.leaf(e),s=l(a,2),u=s[0],c=s[1],d=u.position(c,0!==o),f=l(d,2);i=f[0],c=f[1],n.push(i,c)}),n.length<2&&(n=n.concat(n)),n}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var o=this.getBounds(t.index,t.length);if(null!=o){var n=this.scroll.length()-1,r=this.scroll.line(Math.min(t.index,n)),i=l(r,1)[0],a=i;if(t.length>0){var s=this.scroll.line(Math.min(t.index+t.length,n));a=l(s,1)[0]}if(null!=i&&null!=a){var u=e.getBoundingClientRect();o.top<u.top?e.scrollTop-=u.top-o.top:o.bottom>u.bottom&&(e.scrollTop+=o.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(f.info("setNativeRange",e,t,o,l),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=o.parentNode){var r=document.getSelection();if(null!=r)if(null!=e){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||n||e!==i.startContainer||t!==i.startOffset||o!==i.endContainer||l!==i.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==o.tagName&&(l=[].indexOf.call(o.parentNode.childNodes,o),o=o.parentNode);var a=document.createRange();a.setStart(e,t),a.setEnd(o,l),r.removeAllRanges(),r.addRange(a)}}else r.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof t&&(o=t,t=!1),f.info("setRange",e),null!=e){var l=this.rangeToNative(e);this.setNativeRange.apply(this,c(l).concat([t]))}else this.setNativeRange(null);this.update(o)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.lastRange,o=this.getRange(),n=l(o,2),r=n[0],u=n[1];if(this.lastRange=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,a.default)(t,this.lastRange)){var c;!this.composing&&null!=u&&u.native.collapsed&&u.start.node!==this.cursor.textNode&&this.cursor.restore();var d,f=[s.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(t),e];(c=this.emitter).emit.apply(c,[s.default.events.EDITOR_CHANGE].concat(f)),e!==s.default.sources.SILENT&&(d=this.emitter).emit.apply(d,f)}}}]),e}();function b(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(0),a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"insertInto",value:function(e,o){0===e.children.length?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,o):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default.Embed);a.blotName="break",a.tagName="BR",t.default=a},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(44),i=o(30),a=o(1),s=function(e){function t(t){var o=e.call(this,t)||this;return o.build(),o}return n(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach(function(e){e.attach()})},t.prototype.build=function(){var e=this;this.children=new r.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(t){try{var o=u(t);e.insertBefore(o,e.children.head||void 0)}catch(e){if(e instanceof a.ParchmentError)return;throw e}})},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,function(e,t,o){e.deleteAt(t,o)})},t.prototype.descendant=function(e,o){var l=this.children.find(o),n=l[0],r=l[1];return null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e?[n,r]:n instanceof t?n.descendant(e,r):[null,-1]},t.prototype.descendants=function(e,o,l){void 0===o&&(o=0),void 0===l&&(l=Number.MAX_VALUE);var n=[],r=l;return this.children.forEachAt(o,l,function(o,l,i){(null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e)&&n.push(o),o instanceof t&&(n=n.concat(o.descendants(e,l,r))),r-=i}),n},t.prototype.detach=function(){this.children.forEach(function(e){e.detach()}),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,o,l){this.children.forEachAt(e,t,function(e,t,n){e.formatAt(t,n,o,l)})},t.prototype.insertAt=function(e,t,o){var l=this.children.find(e),n=l[0],r=l[1];if(n)n.insertAt(r,t,o);else{var i=null==o?a.create("text",t):a.create(t,o);this.appendChild(i)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(t){return e instanceof t}))throw new a.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce(function(e,t){return e+t.length()},0)},t.prototype.moveChildren=function(e,t){this.children.forEach(function(o){e.insertBefore(o,t)})},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var o=a.create(this.statics.defaultChild);this.appendChild(o),o.optimize(t)}else this.remove()},t.prototype.path=function(e,o){void 0===o&&(o=!1);var l=this.children.find(e,o),n=l[0],r=l[1],i=[[this,e]];return n instanceof t?i.concat(n.path(r,o)):(null!=n&&i.push([n,r]),i)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(o){o instanceof t&&o.moveChildren(this),e.prototype.replace.call(this,o)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var o=this.clone();return this.parent.insertBefore(o,this.next),this.children.forEachAt(e,this.length(),function(e,l,n){e=e.split(l,t),o.appendChild(e)}),o},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var o=this,l=[],n=[];e.forEach(function(e){e.target===o.domNode&&"childList"===e.type&&(l.push.apply(l,e.addedNodes),n.push.apply(n,e.removedNodes))}),n.forEach(function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=a.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==o.domNode||t.detach())}}),l.filter(function(e){return e.parentNode==o.domNode}).sort(function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(e){var t=null;null!=e.nextSibling&&(t=a.find(e.nextSibling));var l=u(e);l.next==t&&null!=l.next||(null!=l.parent&&l.parent.removeChild(o),o.insertBefore(l,t||void 0))})},t}(i.default);function u(e){var t=a.find(e);if(null==t)try{t=a.create(e)}catch(o){t=a.create(a.Scope.INLINE),[].slice.call(e.childNodes).forEach(function(e){t.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=s},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(12),i=o(31),a=o(17),s=o(1),u=function(e){function t(t){var o=e.call(this,t)||this;return o.attributes=new i.default(o.domNode),o}return n(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var o=s.query(e);o instanceof r.default?this.attributes.attribute(o,t):t&&(null==o||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,o){var l=e.prototype.replaceWith.call(this,t,o);return this.attributes.copy(l),l},t.prototype.update=function(t,o){var l=this;e.prototype.update.call(this,t,o),t.some(function(e){return e.target===l.domNode&&"attributes"===e.type})&&this.attributes.build()},t.prototype.wrap=function(o,l){var n=e.prototype.wrap.call(this,o,l);return n instanceof t&&n.statics.scope===this.statics.scope&&this.attributes.move(n),n},t}(a.default);t.default=u},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(30),i=o(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var o=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(o+=1),[this.parent.domNode,o]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=i.Scope.INLINE_BLOT,t}(r.default);t.default=a},function(e,t,o){var l=o(11),n=o(3),r={attributes:{compose:function(e,t,o){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var l=n(!0,{},t);for(var r in o||(l=Object.keys(l).reduce(function(e,t){return null!=l[t]&&(e[t]=l[t]),e},{})),e)void 0!==e[r]&&void 0===t[r]&&(l[r]=e[r]);return Object.keys(l).length>0?l:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var o=Object.keys(e).concat(Object.keys(t)).reduce(function(o,n){return l(e[n],t[n])||(o[n]=void 0===t[n]?null:t[n]),o},{});return Object.keys(o).length>0?o:void 0},transform:function(e,t,o){if("object"!=typeof e)return t;if("object"==typeof t){if(!o)return t;var l=Object.keys(t).reduce(function(o,l){return void 0===e[l]&&(o[l]=t[l]),o},{});return Object.keys(l).length>0?l:void 0}}},iterator:function(e){return new i(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function i(e){this.ops=e,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var o=this.offset,l=r.length(t);if(e>=l-o?(e=l-o,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var n={};return t.attributes&&(n.attributes=t.attributes),"number"==typeof t.retain?n.retain=e:"string"==typeof t.insert?n.insert=t.insert.substr(o,e):n.insert=t.insert,n}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?r.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,o=this.next(),l=this.ops.slice(this.index);return this.offset=e,this.index=t,[o].concat(l)}return[]},e.exports=r},function(e,t){var o=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,o,l;try{t=Map}catch(e){t=function(){}}try{o=Set}catch(e){o=function(){}}try{l=Promise}catch(e){l=function(){}}function r(i,s,u,c,d){"object"==typeof s&&(u=s.depth,c=s.prototype,d=s.includeNonEnumerable,s=s.circular);var f=[],p=[],h=void 0!==n;return void 0===s&&(s=!0),void 0===u&&(u=1/0),function i(u,b){if(null===u)return null;if(0===b)return u;var q,m;if("object"!=typeof u)return u;if(e(u,t))q=new t;else if(e(u,o))q=new o;else if(e(u,l))q=new l(function(e,t){u.then(function(t){e(i(t,b-1))},function(e){t(i(e,b-1))})});else if(r.__isArray(u))q=[];else if(r.__isRegExp(u))q=new RegExp(u.source,a(u)),u.lastIndex&&(q.lastIndex=u.lastIndex);else if(r.__isDate(u))q=new Date(u.getTime());else{if(h&&n.isBuffer(u))return q=n.allocUnsafe?n.allocUnsafe(u.length):new n(u.length),u.copy(q),q;e(u,Error)?q=Object.create(u):void 0===c?(m=Object.getPrototypeOf(u),q=Object.create(m)):(q=Object.create(c),m=c)}if(s){var y=f.indexOf(u);if(-1!=y)return p[y];f.push(u),p.push(q)}for(var g in e(u,t)&&u.forEach(function(e,t){var o=i(t,b-1),l=i(e,b-1);q.set(o,l)}),e(u,o)&&u.forEach(function(e){var t=i(e,b-1);q.add(t)}),u){var v;m&&(v=Object.getOwnPropertyDescriptor(m,g)),v&&null==v.set||(q[g]=i(u[g],b-1))}if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(u);for(g=0;g<k.length;g++){var _=k[g];(!(x=Object.getOwnPropertyDescriptor(u,_))||x.enumerable||d)&&(q[_]=i(u[_],b-1),x.enumerable||Object.defineProperty(q,_,{enumerable:!1}))}}if(d){var w=Object.getOwnPropertyNames(u);for(g=0;g<w.length;g++){var x,O=w[g];(x=Object.getOwnPropertyDescriptor(u,O))&&x.enumerable||(q[O]=i(u[O],b-1),Object.defineProperty(q,O,{enumerable:!1}))}}return q}(i,u)}function i(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=i,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},r.__getRegExpFlags=a,r}();"object"==typeof e&&e.exports&&(e.exports=o)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=p(o(0)),a=p(o(8)),s=o(4),u=p(s),c=p(o(16)),d=p(o(13)),f=p(o(25));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return e instanceof u.default||e instanceof s.BlockEmbed}var b=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.emitter=o.emitter,Array.isArray(o.whitelist)&&(l.whitelist=o.whitelist.reduce(function(e,t){return e[t]=!0,e},{})),l.domNode.addEventListener("DOMNodeInserted",function(){}),l.optimize(),l.enable(),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,o){var n=this.line(e),i=l(n,2),a=i[0],u=i[1],f=this.line(e+o),p=l(f,1)[0];if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,o),null!=p&&a!==p&&u>0){if(a instanceof s.BlockEmbed||p instanceof s.BlockEmbed)return void this.optimize();if(a instanceof d.default){var h=a.newlineIndex(a.length(),!0);if(h>-1&&(a=a.split(h+1))===p)return void this.optimize()}else if(p instanceof d.default){var b=p.newlineIndex(0);b>-1&&p.split(b+1)}var q=p.children.head instanceof c.default?null:p.children.head;a.moveChildren(p,q),a.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,o,l,n){(null==this.whitelist||this.whitelist[l])&&(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,o,l,n),this.optimize())}},{key:"insertAt",value:function(e,o,l){if(null==l||null==this.whitelist||this.whitelist[o]){if(e>=this.length())if(null==l||null==i.default.query(o,i.default.Scope.BLOCK)){var n=i.default.create(this.statics.defaultChild);this.appendChild(n),null==l&&o.endsWith("\n")&&(o=o.slice(0,-1)),n.insertAt(0,o,l)}else{var a=i.default.create(o,l);this.appendChild(a)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,o,l);this.optimize()}}},{key:"insertBefore",value:function(e,o){if(e.statics.scope===i.default.Scope.INLINE_BLOT){var l=i.default.create(this.statics.defaultChild);l.appendChild(e),e=l}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,o)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(h,e)}},{key:"lines",value:function(){return function e(t,o,l){var n=[],r=l;return t.children.forEachAt(o,l,function(t,o,l){h(t)?n.push(t):t instanceof i.default.Container&&(n=n.concat(e(t,o,r))),r-=l}),n}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,o),e.length>0&&this.emitter.emit(a.default.events.SCROLL_OPTIMIZE,e,o))}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var o=a.default.sources.USER;"string"==typeof e&&(o=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(a.default.events.SCROLL_BEFORE_UPDATE,o,e),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(a.default.events.SCROLL_UPDATE,o,e)}}}]),t}(i.default.Scroll);b.blotName="scroll",b.className="ql-editor",b.tagName="DIV",b.defaultChild="block",b.allowedChildren=[u.default,s.BlockEmbed,f.default],t.default=b},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),i=b(o(21)),a=b(o(11)),s=b(o(3)),u=b(o(2)),c=b(o(20)),d=b(o(0)),f=b(o(5)),p=b(o(10)),h=b(o(9));function b(e){return e&&e.__esModule?e:{default:e}}function q(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var m=(0,p.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",g=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.bindings={},Object.keys(l.options.bindings).forEach(function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&l.options.bindings[t]&&l.addBinding(l.options.bindings[t])}),l.addBinding({key:t.keys.ENTER,shiftKey:null},x),l.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(l.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},k),l.addBinding({key:t.keys.DELETE},{collapsed:!0},_)):(l.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},k),l.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},_)),l.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},w),l.addBinding({key:t.keys.DELETE},{collapsed:!1},w),l.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},k),l.listen(),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"match",value:function(e,t){return t=N(t),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(o){return!!t[o]!==e[o]&&null!==t[o]})&&t.key===(e.which||e.keyCode)}}]),r(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=N(e);if(null==l||null==l.key)return m.warn("Attempted to add invalid keyboard binding",l);"function"==typeof t&&(t={handler:t}),"function"==typeof o&&(o={handler:o}),l=(0,s.default)(l,t,o),this.bindings[l.key]=this.bindings[l.key]||[],this.bindings[l.key].push(l)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",function(o){if(!o.defaultPrevented){var r=o.which||o.keyCode,i=(e.bindings[r]||[]).filter(function(e){return t.match(o,e)});if(0!==i.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var u=e.quill.getLine(s.index),c=n(u,2),f=c[0],p=c[1],h=e.quill.getLeaf(s.index),b=n(h,2),q=b[0],m=b[1],y=0===s.length?[q,m]:e.quill.getLeaf(s.index+s.length),g=n(y,2),v=g[0],k=g[1],_=q instanceof d.default.Text?q.value().slice(0,m):"",w=v instanceof d.default.Text?v.value().slice(k):"",x={collapsed:0===s.length,empty:0===s.length&&f.length()<=1,format:e.quill.getFormat(s),offset:p,prefix:_,suffix:w};i.some(function(t){if(null!=t.collapsed&&t.collapsed!==x.collapsed)return!1;if(null!=t.empty&&t.empty!==x.empty)return!1;if(null!=t.offset&&t.offset!==x.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(e){return null==x.format[e]}))return!1}else if("object"===l(t.format)&&!Object.keys(t.format).every(function(e){return!0===t.format[e]?null!=x.format[e]:!1===t.format[e]?null==x.format[e]:(0,a.default)(t.format[e],x.format[e])}))return!1;return!(null!=t.prefix&&!t.prefix.test(x.prefix)||null!=t.suffix&&!t.suffix.test(x.suffix)||!0===t.handler.call(e,s,x))})&&o.preventDefault()}}}})}}]),t}(h.default);function v(e,t){var o,l=e===g.keys.LEFT?"prefix":"suffix";return q(o={key:e,shiftKey:t,altKey:null},l,/^$/),q(o,"handler",function(o){var l=o.index;e===g.keys.RIGHT&&(l+=o.length+1);var r=this.quill.getLeaf(l);return!(n(r,1)[0]instanceof d.default.Embed&&(e===g.keys.LEFT?t?this.quill.setSelection(o.index-1,o.length+1,f.default.sources.USER):this.quill.setSelection(o.index-1,f.default.sources.USER):t?this.quill.setSelection(o.index,o.length+1,f.default.sources.USER):this.quill.setSelection(o.index+o.length+1,f.default.sources.USER),1))}),o}function k(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var o=this.quill.getLine(e.index),l=n(o,1)[0],r={};if(0===t.offset){var i=this.quill.getLine(e.index-1),a=n(i,1)[0];if(null!=a&&a.length()>1){var s=l.formats(),u=this.quill.getFormat(e.index-1,1);r=c.default.attributes.diff(s,u)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,f.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index-d,d,r,f.default.sources.USER),this.quill.focus()}}function _(e,t){var o=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-o)){var l={},r=0,i=this.quill.getLine(e.index),a=n(i,1)[0];if(t.offset>=a.length()-1){var s=this.quill.getLine(e.index+1),u=n(s,1)[0];if(u){var d=a.formats(),p=this.quill.getFormat(e.index,1);l=c.default.attributes.diff(d,p)||{},r=u.length()}}this.quill.deleteText(e.index,o,f.default.sources.USER),Object.keys(l).length>0&&this.quill.formatLine(e.index+r-1,o,l,f.default.sources.USER)}}function w(e){var t=this.quill.getLines(e),o={};if(t.length>1){var l=t[0].formats(),n=t[t.length-1].formats();o=c.default.attributes.diff(n,l)||{}}this.quill.deleteText(e,f.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index,1,o,f.default.sources.USER),this.quill.setSelection(e.index,f.default.sources.SILENT),this.quill.focus()}function x(e,t){var o=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var l=Object.keys(t.format).reduce(function(e,o){return d.default.query(o,d.default.Scope.BLOCK)&&!Array.isArray(t.format[o])&&(e[o]=t.format[o]),e},{});this.quill.insertText(e.index,"\n",l,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach(function(e){null==l[e]&&(Array.isArray(t.format[e])||"link"!==e&&o.quill.format(e,t.format[e],f.default.sources.USER))})}function O(e){return{key:g.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var o=d.default.query("code-block"),l=t.index,r=t.length,i=this.quill.scroll.descendant(o,l),a=n(i,2),s=a[0],u=a[1];if(null!=s){var c=this.quill.getIndex(s),p=s.newlineIndex(u,!0)+1,h=s.newlineIndex(c+u+r),b=s.domNode.textContent.slice(p,h).split("\n");u=0,b.forEach(function(t,n){e?(s.insertAt(p+u,o.TAB),u+=o.TAB.length,0===n?l+=o.TAB.length:r+=o.TAB.length):t.startsWith(o.TAB)&&(s.deleteAt(p+u,o.TAB.length),u-=o.TAB.length,0===n?l-=o.TAB.length:r-=o.TAB.length),u+=t.length+1}),this.quill.update(f.default.sources.USER),this.quill.setSelection(l,r,f.default.sources.SILENT)}}}}function E(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,o){this.quill.format(e,!o.format[e],f.default.sources.USER)}}}function N(e){if("string"==typeof e||"number"==typeof e)return N({key:e});if("object"===(void 0===e?"undefined":l(e))&&(e=(0,i.default)(e,!1)),"string"==typeof e.key)if(null!=g.keys[e.key.toUpperCase()])e.key=g.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[y]=e.shortKey,delete e.shortKey),e}g.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},g.DEFAULTS={bindings:{bold:E("bold"),italic:E("italic"),underline:E("underline"),indent:{key:g.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",f.default.sources.USER)}},outdent:{key:g.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",f.default.sources.USER)}},"outdent backspace":{key:g.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",f.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,f.default.sources.USER)}},"indent code-block":O(!0),"outdent code-block":O(!1),"remove tab":{key:g.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,f.default.sources.USER)}},tab:{key:g.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new u.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,f.default.sources.SILENT)}},"list empty enter":{key:g.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,f.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,f.default.sources.USER)}},"checklist enter":{key:g.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),o=n(t,2),l=o[0],r=o[1],i=(0,s.default)({},l.formats(),{list:"checked"}),a=(new u.default).retain(e.index).insert("\n",i).retain(l.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:g.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var o=this.quill.getLine(e.index),l=n(o,2),r=l[0],i=l[1],a=(new u.default).retain(e.index).insert("\n",t.format).retain(r.length()-i-1).retain(1,{header:null});this.quill.updateContents(a,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var o=t.prefix.length,l=this.quill.getLine(e.index),r=n(l,2),i=r[0],a=r[1];if(a>o)return!0;var s=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(e.index," ",f.default.sources.USER),this.quill.history.cutoff();var c=(new u.default).retain(e.index-a).delete(o+1).retain(i.length()-2-a).retain(1,{list:s});this.quill.updateContents(c,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-o,f.default.sources.SILENT)}},"code exit":{key:g.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),o=n(t,2),l=o[0],r=o[1],i=(new u.default).retain(e.index+l.length()-r-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,f.default.sources.USER)}},"embed left":v(g.keys.LEFT,!1),"embed left shift":v(g.keys.LEFT,!0),"embed right":v(g.keys.RIGHT,!1),"embed right shift":v(g.keys.RIGHT,!0)}},t.default=g,t.SHORTKEY=y},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),i=s(o(0)),a=s(o(7));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.selection=o,l.textNode=document.createTextNode(t.CONTENTS),l.domNode.appendChild(l.textNode),l._length=0,l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"value",value:function(){}}]),r(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,o){if(0!==this._length)return n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o);for(var l=this,r=0;null!=l&&l.statics.scope!==i.default.Scope.BLOCK_BLOT;)r+=l.offset(l.parent),l=l.parent;null!=l&&(this._length=t.CONTENTS.length,l.optimize(),l.formatAt(r,t.CONTENTS.length,e,o),this._length=0)}},{key:"index",value:function(e,o){return e===this.textNode?0:n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,o)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,o=this.selection.getNativeRange(),n=void 0,r=void 0,s=void 0;if(null!=o&&o.start.node===e&&o.end.node===e){var u=[e,o.start.offset,o.end.offset];n=u[0],r=u[1],s=u[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof a.default?(n=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=r){var d=[r,s].map(function(e){return Math.max(0,Math.min(n.data.length,e-1))}),f=l(d,2);return r=f[0],s=f[1],{startNode:n,startOffset:r,endNode:n,endOffset:s}}}}},{key:"update",value:function(e,t){var o=this;if(e.some(function(e){return"characterData"===e.type&&e.target===o.textNode})){var l=this.restore();l&&(t.range=l)}}},{key:"value",value:function(){return""}}]),t}(i.default.Embed);u.blotName="cursor",u.className="ql-cursor",u.tagName="span",u.CONTENTS="\ufeff",t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i(o(0)),n=o(4),r=i(n);function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(l.default.Container);a.allowedChildren=[r.default,n.BlockEmbed,a],t.default=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(0),a=(l=i)&&l.__esModule?l:{default:l},s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"value",value:function(e){var o=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return o.startsWith("rgb(")?(o=o.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+o.split(",").map(function(e){return("00"+parseInt(e).toString(16)).slice(-2)}).join("")):o}}]),t}(a.default.Attributor.Style),u=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),c=new s("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=s,t.ColorClass=u,t.ColorStyle=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(6),a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"format",value:function(e,o){if(e!==this.statics.blotName||!o)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o);o=this.constructor.sanitize(o),this.domNode.setAttribute("href",o)}}],[{key:"create",value:function(e){var o=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),o.setAttribute("href",e),o.setAttribute("rel","noopener noreferrer"),o.setAttribute("target","_blank"),o}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return s(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default);function s(e,t){var o=document.createElement("a");o.href=e;var l=o.href.slice(0,o.href.indexOf(":"));return t.indexOf(l)>-1}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=a,t.sanitize=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=a(o(23)),i=a(o(107));function a(e){return e&&e.__esModule?e:{default:e}}var s=0;function u(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var c=function(){function e(t){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){o.togglePicker()}),this.label.addEventListener("keydown",function(e){switch(e.keyCode){case r.default.keys.ENTER:o.togglePicker();break;case r.default.keys.ESCAPE:o.escape(),e.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return n(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,o=document.createElement("span");return o.tabIndex="0",o.setAttribute("role","button"),o.classList.add("ql-picker-item"),e.hasAttribute("value")&&o.setAttribute("data-value",e.getAttribute("value")),e.textContent&&o.setAttribute("data-label",e.textContent),o.addEventListener("click",function(){t.selectItem(o,!0)}),o.addEventListener("keydown",function(e){switch(e.keyCode){case r.default.keys.ENTER:t.selectItem(o,!0),e.preventDefault();break;case r.default.keys.ESCAPE:t.escape(),e.preventDefault()}}),o}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=i.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+s,s+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach(function(o){var l=e.buildItem(o);t.appendChild(l),!0===o.selected&&e.selectItem(l)}),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach(function(t){e.container.setAttribute(t.name,t.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout(function(){return e.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.container.querySelector(".ql-selected");if(e!==o&&(null!=o&&o.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var n=document.createEvent("Event");n.initEvent("change",!0,!0),this.select.dispatchEvent(n)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var o=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",o)}}]),e}();t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=m(o(0)),n=m(o(5)),r=o(4),i=m(r),a=m(o(16)),s=m(o(25)),u=m(o(24)),c=m(o(35)),d=m(o(6)),f=m(o(22)),p=m(o(7)),h=m(o(55)),b=m(o(42)),q=m(o(23));function m(e){return e&&e.__esModule?e:{default:e}}n.default.register({"blots/block":i.default,"blots/block/embed":r.BlockEmbed,"blots/break":a.default,"blots/container":s.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":d.default,"blots/scroll":f.default,"blots/text":p.default,"modules/clipboard":h.default,"modules/history":b.default,"modules/keyboard":q.default}),l.default.register(i.default,a.default,u.default,d.default,f.default,p.default),t.default=n.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o(1),n=function(){function e(e){this.domNode=e,this.domNode[l.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new l.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return l.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[l.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,o,n){var r=this.isolate(e,t);if(null!=l.query(o,l.Scope.BLOT)&&n)r.wrap(o,n);else if(null!=l.query(o,l.Scope.ATTRIBUTE)){var i=l.create(this.statics.scope);r.wrap(i),i.format(o,n)}},e.prototype.insertAt=function(e,t,o){var n=null==o?l.create("text",t):l.create(t,o),r=this.split(e);this.parent.insertBefore(n,r)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var o=null;e.children.insertBefore(this,t),null!=t&&(o=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==o||e.domNode.insertBefore(this.domNode,o),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var o=this.split(e);return o.split(t),o},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[l.DATA_KEY]&&delete this.domNode[l.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var o="string"==typeof e?l.create(e,t):e;return o.replace(this),o},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var o="string"==typeof e?l.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(o,this.next),o.appendChild(this),o},e.blotName="abstract",e}();t.default=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o(12),n=o(32),r=o(33),i=o(1),a=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=l.default.keys(this.domNode),o=n.default.keys(this.domNode),a=r.default.keys(this.domNode);t.concat(o).concat(a).forEach(function(t){var o=i.query(t,i.Scope.ATTRIBUTE);o instanceof l.default&&(e.attributes[o.attrName]=o)})},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach(function(o){var l=t.attributes[o].value(t.domNode);e.format(o,l)})},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce(function(t,o){return t[o]=e.attributes[o].value(e.domNode),t},{})},e}();t.default=a},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function r(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(function(e){return 0===e.indexOf(t+"-")})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){r(e,this.keyName).forEach(function(t){e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(r(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(o(12).default);t.default=i},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function r(e){var t=e.split("-"),o=t.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return t[0]+o}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){return e.split(":")[0].trim()})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[r(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[r(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[r(this.keyName)];return this.canAdd(e,t)?t:""},t}(o(12).default);t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function(){function e(t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=o,this.modules={}}return l(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach(function(t){null==e.modules[t]&&e.addModule(t)})}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();n.DEFAULTS={modules:{}},n.themes={default:n},t.default=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=a(o(0)),i=a(o(7));function a(e){return e&&e.__esModule?e:{default:e}}var s="\ufeff",u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.contentNode=document.createElement("span"),o.contentNode.setAttribute("contenteditable",!1),[].slice.call(o.domNode.childNodes).forEach(function(e){o.contentNode.appendChild(e)}),o.leftGuard=document.createTextNode(s),o.rightGuard=document.createTextNode(s),o.domNode.appendChild(o.leftGuard),o.domNode.appendChild(o.contentNode),o.domNode.appendChild(o.rightGuard),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"index",value:function(e,o){return e===this.leftGuard?0:e===this.rightGuard?1:n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,o)}},{key:"restore",value:function(e){var t=void 0,o=void 0,l=e.data.split(s).join("");if(e===this.leftGuard)if(this.prev instanceof i.default){var n=this.prev.length();this.prev.insertAt(n,l),t={startNode:this.prev.domNode,startOffset:n+l.length}}else o=document.createTextNode(l),this.parent.insertBefore(r.default.create(o),this),t={startNode:o,startOffset:l.length};else e===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,l),t={startNode:this.next.domNode,startOffset:l.length}):(o=document.createTextNode(l),this.parent.insertBefore(r.default.create(o),this.next),t={startNode:o,startOffset:l.length}));return e.data=s,t}},{key:"update",value:function(e,t){var o=this;e.forEach(function(e){if("characterData"===e.type&&(e.target===o.leftGuard||e.target===o.rightGuard)){var l=o.restore(e.target);l&&(t.range=l)}})}}]),t}(r.default.Embed);t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var l,n=o(0),r=(l=n)&&l.__esModule?l:{default:l},i={scope:r.default.Scope.BLOCK,whitelist:["right","center","justify"]},a=new r.default.Attributor.Attribute("align","align",i),s=new r.default.Attributor.Class("align","ql-align",i),u=new r.default.Attributor.Style("align","text-align",i);t.AlignAttribute=a,t.AlignClass=s,t.AlignStyle=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var l,n=o(0),r=(l=n)&&l.__esModule?l:{default:l},i=o(26),a=new r.default.Attributor.Class("background","ql-bg",{scope:r.default.Scope.INLINE}),s=new i.ColorAttributor("background","background-color",{scope:r.default.Scope.INLINE});t.BackgroundClass=a,t.BackgroundStyle=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var l,n=o(0),r=(l=n)&&l.__esModule?l:{default:l},i={scope:r.default.Scope.BLOCK,whitelist:["rtl"]},a=new r.default.Attributor.Attribute("direction","dir",i),s=new r.default.Attributor.Class("direction","ql-direction",i),u=new r.default.Attributor.Style("direction","direction",i);t.DirectionAttribute=a,t.DirectionClass=s,t.DirectionStyle=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(0),a=(l=i)&&l.__esModule?l:{default:l},s={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},u=new a.default.Attributor.Class("font","ql-font",s),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"value",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(a.default.Attributor.Style),d=new c("font","font-family",s);t.FontStyle=d,t.FontClass=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var l,n=o(0),r=(l=n)&&l.__esModule?l:{default:l},i=new r.default.Attributor.Class("size","ql-size",{scope:r.default.Scope.INLINE,whitelist:["small","large","huge"]}),a=new r.default.Attributor.Style("size","font-size",{scope:r.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=i,t.SizeStyle=a},function(e,t,o){"use strict";e.exports={align:{"":o(76),center:o(77),right:o(78),justify:o(79)},background:o(80),blockquote:o(81),bold:o(82),clean:o(83),code:o(58),"code-block":o(58),color:o(84),direction:{"":o(85),rtl:o(86)},float:{center:o(87),full:o(88),left:o(89),right:o(90)},formula:o(91),header:{1:o(92),2:o(93)},italic:o(94),image:o(95),indent:{"+1":o(96),"-1":o(97)},link:o(98),list:{ordered:o(99),bullet:o(100),check:o(101)},script:{sub:o(102),super:o(103)},strike:o(104),underline:o(105),video:o(106)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=i(o(0)),r=i(o(5));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.lastRecorded=0,l.ignoreChange=!1,l.clear(),l.quill.on(r.default.events.EDITOR_CHANGE,function(e,t,o,n){e!==r.default.events.TEXT_CHANGE||l.ignoreChange||(l.options.userOnly&&n!==r.default.sources.USER?l.transform(t):l.record(t,o))}),l.quill.keyboard.addBinding({key:"Z",shortKey:!0},l.undo.bind(l)),l.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},l.redo.bind(l)),/Win/i.test(navigator.platform)&&l.quill.keyboard.addBinding({key:"Y",shortKey:!0},l.redo.bind(l)),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var o=this.stack[e].pop();this.stack[t].push(o),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(o[e],r.default.sources.USER),this.ignoreChange=!1;var l=s(o[e]);this.quill.setSelection(l)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var o=this.quill.getContents().diff(t),l=Date.now();if(this.lastRecorded+this.options.delay>l&&this.stack.undo.length>0){var n=this.stack.undo.pop();o=o.compose(n.undo),e=n.redo.compose(e)}else this.lastRecorded=l;this.stack.undo.push({redo:e,undo:o}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}),this.stack.redo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(i(o(9)).default);function s(e){var t=e.reduce(function(e,t){return e+=t.delete||0},0),o=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some(function(e){return null!=n.default.query(e,n.default.Scope.BLOCK)}))}(e)&&(o-=1),o}a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=a,t.getLastChangeIndex=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=h(o(3)),i=h(o(2)),a=h(o(8)),s=h(o(23)),u=h(o(34)),c=h(o(59)),d=h(o(60)),f=h(o(28)),p=h(o(61));function h(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=[!1,"center","right","justify"],g=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],v=[!1,"serif","monospace"],k=["1","2","3",!1],_=["small",!1,"large","huge"],w=function(e){function t(e,o){b(this,t);var l=q(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return e.emitter.listenDOM("click",document.body,function t(o){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==l.tooltip||l.tooltip.root.contains(o.target)||document.activeElement===l.tooltip.textbox||l.quill.hasFocus()||l.tooltip.hide(),null!=l.pickers&&l.pickers.forEach(function(e){e.container.contains(o.target)||e.close()})}),l}return m(t,e),l(t,[{key:"addModule",value:function(e){var o=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(o),o}},{key:"buildButtons",value:function(e,t){e.forEach(function(e){(e.getAttribute("class")||"").split(/\s+/).forEach(function(o){if(o.startsWith("ql-")&&(o=o.slice(3),null!=t[o]))if("direction"===o)e.innerHTML=t[o][""]+t[o].rtl;else if("string"==typeof t[o])e.innerHTML=t[o];else{var l=e.value||"";null!=l&&t[o][l]&&(e.innerHTML=t[o][l])}})})}},{key:"buildPickers",value:function(e,t){var o=this;this.pickers=e.map(function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&O(e,y),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var o=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&O(e,g,"background"===o?"#ffffff":"#000000"),new c.default(e,t[o])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?O(e,v):e.classList.contains("ql-header")?O(e,k):e.classList.contains("ql-size")&&O(e,_)),new f.default(e)}),this.quill.on(a.default.events.EDITOR_CHANGE,function(){o.pickers.forEach(function(e){e.update()})})}}]),t}(u.default);w.DEFAULTS=(0,r.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",function(){if(null!=t.files&&null!=t.files[0]){var o=new FileReader;o.onload=function(o){var l=e.quill.getSelection(!0);e.quill.updateContents((new i.default).retain(l.index).delete(l.length).insert({image:o.target.result}),a.default.sources.USER),e.quill.setSelection(l.index+1,a.default.sources.SILENT),t.value=""},o.readAsDataURL(t.files[0])}}),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var x=function(e){function t(e,o){b(this,t);var l=q(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.textbox=l.root.querySelector('input[type="text"]'),l.listen(),l}return m(t,e),l(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",function(t){s.default.match(t,"enter")?(e.save(),t.preventDefault()):s.default.match(t,"escape")&&(e.cancel(),t.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e,t,o=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var l=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",o,a.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",o,a.default.sources.USER)),this.quill.root.scrollTop=l;break;case"video":o=(t=(e=o).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e;case"formula":if(!o)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),o,a.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",a.default.sources.USER),this.quill.setSelection(r+2,a.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function O(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var l=document.createElement("option");t===o?l.setAttribute("selected","selected"):l.setAttribute("value",t),e.appendChild(l)})}t.BaseTooltip=x,t.default=w},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,o=this.iterator();t=o();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,o=this.head;null!=o;){if(o===e)return t;t+=o.length(),o=o.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var o,l=this.iterator();o=l();){var n=o.length();if(e<n||t&&e===n&&(null==o.next||0!==o.next.length()))return[o,e];e-=n}return[null,0]},e.prototype.forEach=function(e){for(var t,o=this.iterator();t=o();)e(t)},e.prototype.forEachAt=function(e,t,o){if(!(t<=0))for(var l,n=this.find(e),r=n[0],i=e-n[1],a=this.iterator(r);(l=a())&&i<e+t;){var s=l.length();e>i?o(l,e-i,Math.min(t,i+s-e)):o(l,0,Math.min(s,e+t-i)),i+=s}},e.prototype.map=function(e){return this.reduce(function(t,o){return t.push(e(o)),t},[])},e.prototype.reduce=function(e,t){for(var o,l=this.iterator();o=l();)t=e(t,o);return t},e}();t.default=l},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(17),i=o(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(e){function t(t){var o=e.call(this,t)||this;return o.scroll=o,o.observer=new MutationObserver(function(e){o.update(e)}),o.observer.observe(o.domNode,a),o.attach(),o}return n(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,o){this.update(),0===t&&o===this.length()?this.children.forEach(function(e){e.remove()}):e.prototype.deleteAt.call(this,t,o)},t.prototype.formatAt=function(t,o,l,n){this.update(),e.prototype.formatAt.call(this,t,o,l,n)},t.prototype.insertAt=function(t,o,l){this.update(),e.prototype.insertAt.call(this,t,o,l)},t.prototype.optimize=function(t,o){var l=this;void 0===t&&(t=[]),void 0===o&&(o={}),e.prototype.optimize.call(this,o);for(var n=[].slice.call(this.observer.takeRecords());n.length>0;)t.push(n.pop());for(var a=function(e,t){void 0===t&&(t=!0),null!=e&&e!==l&&null!=e.domNode.parentNode&&(null==e.domNode[i.DATA_KEY].mutations&&(e.domNode[i.DATA_KEY].mutations=[]),t&&a(e.parent))},s=function(e){null!=e.domNode[i.DATA_KEY]&&null!=e.domNode[i.DATA_KEY].mutations&&(e instanceof r.default&&e.children.forEach(s),e.optimize(o))},u=t,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(e){var t=i.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(a(i.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,function(e){var t=i.find(e,!1);a(t,!1),t instanceof r.default&&t.children.forEach(function(e){a(e,!1)})})):"attributes"===e.type&&a(t.prev)),a(t))}),this.children.forEach(s),n=(u=[].slice.call(this.observer.takeRecords())).slice();n.length>0;)t.push(n.pop())}},t.prototype.update=function(t,o){var l=this;void 0===o&&(o={}),(t=t||this.observer.takeRecords()).map(function(e){var t=i.find(e.target,!0);return null==t?null:null==t.domNode[i.DATA_KEY].mutations?(t.domNode[i.DATA_KEY].mutations=[e],t):(t.domNode[i.DATA_KEY].mutations.push(e),null)}).forEach(function(e){null!=e&&e!==l&&null!=e.domNode[i.DATA_KEY]&&e.update(e.domNode[i.DATA_KEY].mutations||[],o)}),null!=this.domNode[i.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,o),this.optimize(t,o)},t.blotName="scroll",t.defaultChild="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="DIV",t}(r.default);t.default=s},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(18),i=o(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.formats=function(o){if(o.tagName!==t.tagName)return e.formats.call(this,o)},t.prototype.format=function(o,l){var n=this;o!==this.statics.blotName||l?e.prototype.format.call(this,o,l):(this.children.forEach(function(e){e instanceof r.default||(e=e.wrap(t.blotName,!0)),n.attributes.copy(e)}),this.unwrap())},t.prototype.formatAt=function(t,o,l,n){null!=this.formats()[l]||i.query(l,i.Scope.ATTRIBUTE)?this.isolate(t,o).format(l,n):e.prototype.formatAt.call(this,t,o,l,n)},t.prototype.optimize=function(o){e.prototype.optimize.call(this,o);var l=this.formats();if(0===Object.keys(l).length)return this.unwrap();var n=this.next;n instanceof t&&n.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e)if(e[o]!==t[o])return!1;return!0}(l,n.formats())&&(n.moveChildren(this),n.remove())},t.blotName="inline",t.scope=i.Scope.INLINE_BLOT,t.tagName="SPAN",t}(r.default);t.default=a},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(18),i=o(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.formats=function(o){var l=i.query(t.blotName).tagName;if(o.tagName!==l)return e.formats.call(this,o)},t.prototype.format=function(o,l){null!=i.query(o,i.Scope.BLOCK)&&(o!==this.statics.blotName||l?e.prototype.format.call(this,o,l):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,o,l,n){null!=i.query(l,i.Scope.BLOCK)?this.format(l,n):e.prototype.formatAt.call(this,t,o,l,n)},t.prototype.insertAt=function(t,o,l){if(null==l||null!=i.query(o,i.Scope.INLINE))e.prototype.insertAt.call(this,t,o,l);else{var n=this.split(t),r=i.create(o,l);n.parent.insertBefore(r,n)}},t.prototype.update=function(t,o){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,o)},t.blotName="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="P",t}(r.default);t.default=a},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.formats=function(e){},t.prototype.format=function(t,o){e.prototype.formatAt.call(this,0,this.length(),t,o)},t.prototype.formatAt=function(t,o,l,n){0===t&&o===this.length()?this.format(l,n):e.prototype.formatAt.call(this,t,o,l,n)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(o(19).default);t.default=r},function(e,t,o){"use strict";var l,n=this&&this.__extends||(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(19),i=o(1),a=function(e){function t(t){var o=e.call(this,t)||this;return o.text=o.statics.value(o.domNode),o}return n(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,o,l){null==l?(this.text=this.text.slice(0,t)+o+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,o,l)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(o){e.prototype.optimize.call(this,o),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var o=i.create(this.domNode.splitText(e));return this.parent.insertBefore(o,this.next),this.text=this.statics.value(this.domNode),o},t.prototype.update=function(e,t){var o=this;e.some(function(e){return"characterData"===e.type&&e.target===o.domNode})&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=i.Scope.INLINE_BLOT,t}(r.default);t.default=a},function(e,t,o){"use strict";var l=document.createElement("div");if(l.classList.toggle("test-class",!1),l.classList.contains("test-class")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:n.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var o=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>o.length)&&(t=o.length),t-=e.length;var l=o.indexOf(e,t);return-1!==l&&l===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,o=Object(this),l=o.length>>>0,n=arguments[1],r=0;r<l;r++)if(t=o[r],e.call(n,t,r,o))return t}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(e,t){var o=-1;function l(e,t,s){if(e==t)return e?[[0,e]]:[];(s<0||e.length<s)&&(s=null);var c=r(e,t),d=e.substring(0,c);c=i(e=e.substring(c),t=t.substring(c));var f=e.substring(e.length-c),p=function(e,t){var a;if(!e)return[[1,t]];if(!t)return[[o,e]];var s=e.length>t.length?e:t,u=e.length>t.length?t:e,c=s.indexOf(u);if(-1!=c)return a=[[1,s.substring(0,c)],[0,u],[1,s.substring(c+u.length)]],e.length>t.length&&(a[0][0]=a[2][0]=o),a;if(1==u.length)return[[o,e],[1,t]];var d=function(e,t){var o=e.length>t.length?e:t,l=e.length>t.length?t:e;if(o.length<4||2*l.length<o.length)return null;function n(e,t,o){for(var l,n,a,s,u=e.substring(o,o+Math.floor(e.length/4)),c=-1,d="";-1!=(c=t.indexOf(u,c+1));){var f=r(e.substring(o),t.substring(c)),p=i(e.substring(0,o),t.substring(0,c));d.length<p+f&&(d=t.substring(c-p,c)+t.substring(c,c+f),l=e.substring(0,o-p),n=e.substring(o+f),a=t.substring(0,c-p),s=t.substring(c+f))}return 2*d.length>=e.length?[l,n,a,s,d]:null}var a,s,u,c,d,f=n(o,l,Math.ceil(o.length/4)),p=n(o,l,Math.ceil(o.length/2));if(!f&&!p)return null;a=p?f&&f[4].length>p[4].length?f:p:f,e.length>t.length?(s=a[0],u=a[1],c=a[2],d=a[3]):(c=a[0],d=a[1],s=a[2],u=a[3]);var h=a[4];return[s,u,c,d,h]}(e,t);if(d){var f=d[0],p=d[1],h=d[2],b=d[3],q=d[4],m=l(f,h),y=l(p,b);return m.concat([[0,q]],y)}return function(e,t){for(var l=e.length,r=t.length,i=Math.ceil((l+r)/2),a=i,s=2*i,u=new Array(s),c=new Array(s),d=0;d<s;d++)u[d]=-1,c[d]=-1;u[a+1]=0,c[a+1]=0;for(var f=l-r,p=f%2!=0,h=0,b=0,q=0,m=0,y=0;y<i;y++){for(var g=-y+h;g<=y-b;g+=2){for(var v=a+g,k=(E=g==-y||g!=y&&u[v-1]<u[v+1]?u[v+1]:u[v-1]+1)-g;E<l&&k<r&&e.charAt(E)==t.charAt(k);)E++,k++;if(u[v]=E,E>l)b+=2;else if(k>r)h+=2;else if(p&&(x=a+f-g)>=0&&x<s&&-1!=c[x]&&E>=(w=l-c[x]))return n(e,t,E,k)}for(var _=-y+q;_<=y-m;_+=2){for(var w,x=a+_,O=(w=_==-y||_!=y&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1)-_;w<l&&O<r&&e.charAt(l-w-1)==t.charAt(r-O-1);)w++,O++;if(c[x]=w,w>l)m+=2;else if(O>r)q+=2;else if(!p){var E;if((v=a+f-_)>=0&&v<s&&-1!=u[v])if(k=a+(E=u[v])-v,E>=(w=l-w))return n(e,t,E,k)}}}return[[o,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-c),t=t.substring(0,t.length-c));return d&&p.unshift([0,d]),f&&p.push([0,f]),a(p),null!=s&&(p=function(e,t){var l=function(e,t){if(0===t)return[0,e];for(var l=0,n=0;n<e.length;n++){var r=e[n];if(r[0]===o||0===r[0]){var i=l+r[1].length;if(t===i)return[n+1,e];if(t<i){e=e.slice();var a=t-l,s=[r[0],r[1].slice(0,a)],u=[r[0],r[1].slice(a)];return e.splice(n,1,s,u),[n+1,e]}l=i}}throw new Error("cursor_pos is out of bounds!")}(e,t),n=l[1],r=l[0],i=n[r],a=n[r+1];if(null==i)return e;if(0!==i[0])return e;if(null!=a&&i[1]+a[1]===a[1]+i[1])return n.splice(r,2,a,i),u(n,r,2);if(null!=a&&0===a[1].indexOf(i[1])){n.splice(r,2,[a[0],i[1]],[0,i[1]]);var s=a[1].slice(i[1].length);return s.length>0&&n.splice(r+2,0,[a[0],s]),u(n,r,3)}return e}(p,s)),p=function(e){for(var t=!1,l=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},n=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},r=2;r<e.length;r+=1)0===e[r-2][0]&&n(e[r-2][1])&&e[r-1][0]===o&&l(e[r-1][1])&&1===e[r][0]&&l(e[r][1])&&(t=!0,e[r-1][1]=e[r-2][1].slice(-1)+e[r-1][1],e[r][1]=e[r-2][1].slice(-1)+e[r][1],e[r-2][1]=e[r-2][1].slice(0,-1));if(!t)return e;var i=[];for(r=0;r<e.length;r+=1)e[r][1].length>0&&i.push(e[r]);return i}(p)}function n(e,t,o,n){var r=e.substring(0,o),i=t.substring(0,n),a=e.substring(o),s=t.substring(n),u=l(r,i),c=l(a,s);return u.concat(c)}function r(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var o=0,l=Math.min(e.length,t.length),n=l,r=0;o<n;)e.substring(r,n)==t.substring(r,n)?r=o=n:l=n,n=Math.floor((l-o)/2+o);return n}function i(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var o=0,l=Math.min(e.length,t.length),n=l,r=0;o<n;)e.substring(e.length-n,e.length-r)==t.substring(t.length-n,t.length-r)?r=o=n:l=n,n=Math.floor((l-o)/2+o);return n}function a(e){e.push([0,""]);for(var t,l=0,n=0,s=0,u="",c="";l<e.length;)switch(e[l][0]){case 1:s++,c+=e[l][1],l++;break;case o:n++,u+=e[l][1],l++;break;case 0:n+s>1?(0!==n&&0!==s&&(0!==(t=r(c,u))&&(l-n-s>0&&0==e[l-n-s-1][0]?e[l-n-s-1][1]+=c.substring(0,t):(e.splice(0,0,[0,c.substring(0,t)]),l++),c=c.substring(t),u=u.substring(t)),0!==(t=i(c,u))&&(e[l][1]=c.substring(c.length-t)+e[l][1],c=c.substring(0,c.length-t),u=u.substring(0,u.length-t))),0===n?e.splice(l-s,n+s,[1,c]):0===s?e.splice(l-n,n+s,[o,u]):e.splice(l-n-s,n+s,[o,u],[1,c]),l=l-n-s+(n?1:0)+(s?1:0)+1):0!==l&&0==e[l-1][0]?(e[l-1][1]+=e[l][1],e.splice(l,1)):l++,s=0,n=0,u="",c=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(l=1;l<e.length-1;)0==e[l-1][0]&&0==e[l+1][0]&&(e[l][1].substring(e[l][1].length-e[l-1][1].length)==e[l-1][1]?(e[l][1]=e[l-1][1]+e[l][1].substring(0,e[l][1].length-e[l-1][1].length),e[l+1][1]=e[l-1][1]+e[l+1][1],e.splice(l-1,1),d=!0):e[l][1].substring(0,e[l+1][1].length)==e[l+1][1]&&(e[l-1][1]+=e[l+1][1],e[l][1]=e[l][1].substring(e[l+1][1].length)+e[l+1][1],e.splice(l+1,1),d=!0)),l++;d&&a(e)}var s=l;function u(e,t,o){for(var l=t+o-1;l>=0&&l>=t-1;l--)if(l+1<e.length){var n=e[l],r=e[l+1];n[0]===r[1]&&e.splice(l,2,[n[0],n[1]+r[1]])}return e}s.INSERT=1,s.DELETE=o,s.EQUAL=0,e.exports=s},function(e,t){function o(e){var t=[];for(var o in e)t.push(o);return t}(e.exports="function"==typeof Object.keys?Object.keys:o).shim=o},function(e,t){var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function l(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function n(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=o?l:n).supported=l,t.unsupported=n},function(e,t){"use strict";var o=Object.prototype.hasOwnProperty,l="~";function n(){}function r(e,t,o){this.fn=e,this.context=t,this.once=o||!1}function i(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),i.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)o.call(e,t)&&n.push(l?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},i.prototype.listeners=function(e,t){var o=l?l+e:e,n=this._events[o];if(t)return!!n;if(!n)return[];if(n.fn)return[n.fn];for(var r=0,i=n.length,a=new Array(i);r<i;r++)a[r]=n[r].fn;return a},i.prototype.emit=function(e,t,o,n,r,i){var a=l?l+e:e;if(!this._events[a])return!1;var s,u,c=this._events[a],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,o),!0;case 4:return c.fn.call(c.context,t,o,n),!0;case 5:return c.fn.call(c.context,t,o,n,r),!0;case 6:return c.fn.call(c.context,t,o,n,r,i),!0}for(u=1,s=new Array(d-1);u<d;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,o);break;case 4:c[u].fn.call(c[u].context,t,o,n);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];c[u].fn.apply(c[u].context,s)}}return!0},i.prototype.on=function(e,t,o){var n=new r(t,o||this),i=l?l+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],n]:this._events[i].push(n):(this._events[i]=n,this._eventsCount++),this},i.prototype.once=function(e,t,o){var n=new r(t,o||this,!0),i=l?l+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],n]:this._events[i].push(n):(this._events[i]=n,this._eventsCount++),this},i.prototype.removeListener=function(e,t,o,r){var i=l?l+e:e;if(!this._events[i])return this;if(!t)return 0===--this._eventsCount?this._events=new n:delete this._events[i],this;var a=this._events[i];if(a.fn)a.fn!==t||r&&!a.once||o&&a.context!==o||(0===--this._eventsCount?this._events=new n:delete this._events[i]);else{for(var s=0,u=[],c=a.length;s<c;s++)(a[s].fn!==t||r&&!a[s].once||o&&a[s].context!==o)&&u.push(a[s]);u.length?this._events[i]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new n:delete this._events[i]}return this},i.prototype.removeAllListeners=function(e){var t;return e?(t=l?l+e:e,this._events[t]&&(0===--this._eventsCount?this._events=new n:delete this._events[t])):(this._events=new n,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=l,i.EventEmitter=i,void 0!==e&&(e.exports=i)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),i=g(o(3)),a=g(o(2)),s=g(o(0)),u=g(o(5)),c=g(o(10)),d=g(o(9)),f=o(36),p=o(37),h=g(o(13)),b=o(26),q=o(38),m=o(39),y=o(40);function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var k=(0,c.default)("quill:clipboard"),_="__ql-matcher",w=[[Node.TEXT_NODE,B],[Node.TEXT_NODE,M],["br",function(e,t){return j(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,C],[Node.ELEMENT_NODE,function(e,t){var o={},l=e.style||{};return l.fontStyle&&"italic"===A(e).fontStyle&&(o.italic=!0),l.fontWeight&&(A(e).fontWeight.startsWith("bold")||parseInt(A(e).fontWeight)>=700)&&(o.bold=!0),Object.keys(o).length>0&&(t=N(t,o)),parseFloat(l.textIndent||0)>0&&(t=(new a.default).insert("\t").concat(t)),t}],["li",function(e,t){var o=s.default.query(e);if(null==o||"list-item"!==o.blotName||!j(t,"\n"))return t;for(var l=-1,n=e.parentNode;!n.classList.contains("ql-clipboard");)"list"===(s.default.query(n)||{}).blotName&&(l+=1),n=n.parentNode;return l<=0?t:t.compose((new a.default).retain(t.length()-1).retain(1,{indent:l}))}],["b",T.bind(T,"bold")],["i",T.bind(T,"italic")],["style",function(){return new a.default}]],x=[f.AlignAttribute,q.DirectionAttribute].reduce(function(e,t){return e[t.keyName]=t,e},{}),O=[f.AlignStyle,p.BackgroundStyle,b.ColorStyle,q.DirectionStyle,m.FontStyle,y.SizeStyle].reduce(function(e,t){return e[t.keyName]=t,e},{}),E=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.quill.root.addEventListener("paste",l.onPaste.bind(l)),l.container=l.quill.addContainer("ql-clipboard"),l.container.setAttribute("contenteditable",!0),l.container.setAttribute("tabindex",-1),l.matchers=[],w.concat(l.options.matchers).forEach(function(e){var t=n(e,2),r=t[0],i=t[1];(o.matchVisual||i!==R)&&l.addMatcher(r,i)}),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[h.default.blotName]){var o=this.container.innerText;return this.container.innerHTML="",(new a.default).insert(o,v({},h.default.blotName,t[h.default.blotName]))}var l=this.prepareMatching(),r=n(l,2),i=r[0],s=r[1],u=S(this.container,i,s);return j(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new a.default).retain(u.length()-1).delete(1))),k.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,u.default.sources.SILENT);else{var l=this.convert(t);this.quill.updateContents((new a.default).retain(e).concat(l),o),this.quill.setSelection(e+l.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var o=this.quill.getSelection(),l=(new a.default).retain(o.index),n=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout(function(){l=l.concat(t.convert()).delete(o.length),t.quill.updateContents(l,u.default.sources.USER),t.quill.setSelection(l.length()-o.length,u.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=n,t.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],o=[];return this.matchers.forEach(function(l){var r=n(l,2),i=r[0],a=r[1];switch(i){case Node.TEXT_NODE:o.push(a);break;case Node.ELEMENT_NODE:t.push(a);break;default:[].forEach.call(e.container.querySelectorAll(i),function(e){e[_]=e[_]||[],e[_].push(a)})}}),[t,o]}}]),t}(d.default);function N(e,t,o){return"object"===(void 0===t?"undefined":l(t))?Object.keys(t).reduce(function(e,o){return N(e,o,t[o])},e):e.reduce(function(e,l){return l.attributes&&l.attributes[t]?e.push(l):e.insert(l.insert,(0,i.default)({},v({},t,o),l.attributes))},new a.default)}function A(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function j(e,t){for(var o="",l=e.ops.length-1;l>=0&&o.length<t.length;--l){var n=e.ops[l];if("string"!=typeof n.insert)break;o=n.insert+o}return o.slice(-1*t.length)===t}function P(e){if(0===e.childNodes.length)return!1;var t=A(e);return["block","list-item"].indexOf(t.display)>-1}function S(e,t,o){return e.nodeType===e.TEXT_NODE?o.reduce(function(t,o){return o(e,t)},new a.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],function(l,n){var r=S(n,t,o);return n.nodeType===e.ELEMENT_NODE&&(r=t.reduce(function(e,t){return t(n,e)},r),r=(n[_]||[]).reduce(function(e,t){return t(n,e)},r)),l.concat(r)},new a.default):new a.default}function T(e,t,o){return N(o,e,!0)}function C(e,t){var o=s.default.Attributor.Attribute.keys(e),l=s.default.Attributor.Class.keys(e),n=s.default.Attributor.Style.keys(e),r={};return o.concat(l).concat(n).forEach(function(t){var o=s.default.query(t,s.default.Scope.ATTRIBUTE);null!=o&&(r[o.attrName]=o.value(e),r[o.attrName])||(null==(o=x[t])||o.attrName!==t&&o.keyName!==t||(r[o.attrName]=o.value(e)||void 0),null==(o=O[t])||o.attrName!==t&&o.keyName!==t||(o=O[t],r[o.attrName]=o.value(e)||void 0))}),Object.keys(r).length>0&&(t=N(t,r)),t}function L(e,t){var o=s.default.query(e);if(null==o)return t;if(o.prototype instanceof s.default.Embed){var l={},n=o.value(e);null!=n&&(l[o.blotName]=n,t=(new a.default).insert(l,o.formats(e)))}else"function"==typeof o.formats&&(t=N(t,o.blotName,o.formats(e)));return t}function M(e,t){return j(t,"\n")||(P(e)||t.length()>0&&e.nextSibling&&P(e.nextSibling))&&t.insert("\n"),t}function R(e,t){if(P(e)&&null!=e.nextElementSibling&&!j(t,"\n\n")){var o=e.offsetHeight+parseFloat(A(e).marginTop)+parseFloat(A(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*o&&t.insert("\n")}return t}function B(e,t){var o=e.data;if("O:P"===e.parentNode.tagName)return t.insert(o.trim());if(0===o.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!A(e.parentNode).whiteSpace.startsWith("pre")){var l=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};o=(o=o.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,l.bind(l,!0)),(null==e.previousSibling&&P(e.parentNode)||null!=e.previousSibling&&P(e.previousSibling))&&(o=o.replace(/^\s+/,l.bind(l,!1))),(null==e.nextSibling&&P(e.parentNode)||null!=e.nextSibling&&P(e.nextSibling))&&(o=o.replace(/\s+$/,l.bind(l,!1)))}return t.insert(o)}E.DEFAULTS={matchers:[],matchVisual:!0},t.default=E,t.matchAttributor=C,t.matchBlot=L,t.matchNewline=M,t.matchSpacing=R,t.matchText=B},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(6),a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default);a.blotName="bold",a.tagName=["STRONG","B"],t.default=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=c(o(2)),i=c(o(0)),a=c(o(5)),s=c(o(10)),u=c(o(9));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=(0,s.default)("quill:toolbar"),p=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));if(Array.isArray(r.options.container)){var i=document.createElement("div");b(i,r.options.container),e.container.parentNode.insertBefore(i,e.container),r.container=i}else"string"==typeof r.options.container?r.container=document.querySelector(r.options.container):r.container=r.options.container;return r.container instanceof HTMLElement?(r.container.classList.add("ql-toolbar"),r.controls=[],r.handlers={},Object.keys(r.options.handlers).forEach(function(e){r.addHandler(e,r.options.handlers[e])}),[].forEach.call(r.container.querySelectorAll("button, select"),function(e){r.attach(e)}),r.quill.on(a.default.events.EDITOR_CHANGE,function(e,t){e===a.default.events.SELECTION_CHANGE&&r.update(t)}),r.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){var e=r.quill.selection.getRange(),t=l(e,1)[0];r.update(t)}),r):(n=f.error("Container required for toolbar",r.options),d(r,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,o=[].find.call(e.classList,function(e){return 0===e.indexOf("ql-")});if(o){if(o=o.slice(3),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[o]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[o])return void f.warn("ignoring attaching to disabled format",o,e);if(null==i.default.query(o))return void f.warn("ignoring attaching to nonexistent format",o,e)}var n="SELECT"===e.tagName?"change":"click";e.addEventListener(n,function(n){var s=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var u=e.options[e.selectedIndex];s=!u.hasAttribute("selected")&&(u.value||!1)}else s=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),n.preventDefault();t.quill.focus();var c=t.quill.selection.getRange(),d=l(c,1)[0];if(null!=t.handlers[o])t.handlers[o].call(t,s);else if(i.default.query(o).prototype instanceof i.default.Embed){if(!(s=prompt("Enter "+o)))return;t.quill.updateContents((new r.default).retain(d.index).delete(d.length).insert(function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}({},o,s)),a.default.sources.USER)}else t.quill.format(o,s,a.default.sources.USER);t.update(d)}),this.controls.push([o,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(function(o){var n=l(o,2),r=n[0],i=n[1];if("SELECT"===i.tagName){var a=void 0;if(null==e)a=null;else if(null==t[r])a=i.querySelector("option[selected]");else if(!Array.isArray(t[r])){var s=t[r];"string"==typeof s&&(s=s.replace(/\"/g,'\\"')),a=i.querySelector('option[value="'+s+'"]')}null==a?(i.value="",i.selectedIndex=-1):a.selected=!0}else if(null==e)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var u=t[r]===i.getAttribute("value")||null!=t[r]&&t[r].toString()===i.getAttribute("value")||null==t[r]&&!i.getAttribute("value");i.classList.toggle("ql-active",u)}else i.classList.toggle("ql-active",null!=t[r])})}}]),t}(u.default);function h(e,t,o){var l=document.createElement("button");l.setAttribute("type","button"),l.classList.add("ql-"+t),null!=o&&(l.value=o),e.appendChild(l)}function b(e,t){Array.isArray(t[0])||(t=[t]),t.forEach(function(t){var o=document.createElement("span");o.classList.add("ql-formats"),t.forEach(function(e){if("string"==typeof e)h(o,e);else{var t=Object.keys(e)[0],l=e[t];Array.isArray(l)?function(e,t,o){var l=document.createElement("select");l.classList.add("ql-"+t),o.forEach(function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),l.appendChild(t)}),e.appendChild(l)}(o,t,l):h(o,t,l)}}),e.appendChild(o)})}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var o=this.quill.getFormat();Object.keys(o).forEach(function(t){null!=i.default.query(t,i.default.Scope.INLINE)&&e.quill.format(t,!1)})}else this.quill.removeFormat(t,a.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",a.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,a.default.sources.USER),this.quill.format("direction",e,a.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),o=this.quill.getFormat(t),l=parseInt(o.indent||0);if("+1"===e||"-1"===e){var n="+1"===e?1:-1;"rtl"===o.direction&&(n*=-1),this.quill.format("indent",l+n,a.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,a.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),o=this.quill.getFormat(t);"check"===e?"checked"===o.list||"unchecked"===o.list?this.quill.format("list",!1,a.default.sources.USER):this.quill.format("list","unchecked",a.default.sources.USER):this.quill.format("list",e,a.default.sources.USER)}}},t.default=p,t.addControls=b},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(28),a=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.label.innerHTML=o,l.container.classList.add("ql-color-picker"),[].slice.call(l.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(e){e.classList.add("ql-primary")}),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"buildItem",value:function(e){var o=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return o.style.backgroundColor=e.getAttribute("value")||"",o}},{key:"selectItem",value:function(e,o){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,o);var l=this.label.querySelector(".ql-color-label"),n=e&&e.getAttribute("data-value")||"";l&&("line"===l.tagName?l.style.stroke=n:l.style.fill=n)}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default);t.default=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(28),a=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.container.classList.add("ql-icon-picker"),[].forEach.call(l.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=o[e.getAttribute("data-value")||""]}),l.defaultItem=l.container.querySelector(".ql-selected"),l.selectItem(l.defaultItem),l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"selectItem",value:function(e,o){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,o),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default);t.default=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function(){function e(t,o){var l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=o||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){l.root.style.marginTop=-1*l.quill.root.scrollTop+"px"}),this.hide()}return l(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,o=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=o+"px",this.root.classList.remove("ql-flip");var l=this.boundsContainer.getBoundingClientRect(),n=this.root.getBoundingClientRect(),r=0;if(n.right>l.right&&(r=l.right-n.right,this.root.style.left=t+r+"px"),n.left<l.left&&(r=l.left-n.left,this.root.style.left=t+r+"px"),n.bottom>l.bottom){var i=n.bottom-n.top,a=e.bottom-e.top+i;this.root.style.top=o-a+"px",this.root.classList.add("ql-flip")}return r}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],l=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(l=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){n=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),i=p(o(3)),a=p(o(8)),s=o(43),u=p(s),c=p(o(27)),d=o(15),f=p(o(41));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(e){function t(e,o){h(this,t),null!=o.modules.toolbar&&null==o.modules.toolbar.container&&(o.modules.toolbar.container=m);var l=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.quill.container.classList.add("ql-snow"),l}return q(t,e),r(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),f.default),this.tooltip=new g(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(t,o){e.handlers.link.call(e,!o.format.link)})}}]),t}(u.default);y.DEFAULTS=(0,i.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var o=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(o)&&0!==o.indexOf("mailto:")&&(o="mailto:"+o),this.quill.theme.tooltip.edit("link",o)}else this.quill.format("link",!1)}}}}});var g=function(e){function t(e,o){h(this,t);var l=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.preview=l.root.querySelector("a.ql-preview"),l}return q(t,e),r(t,[{key:"listen",value:function(){var e=this;n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(t){if(null!=e.linkRange){var o=e.linkRange;e.restoreFocus(),e.quill.formatText(o,"link",!1,a.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()}),this.quill.on(a.default.events.SELECTION_CHANGE,function(t,o,n){if(null!=t){if(0===t.length&&n===a.default.sources.USER){var r=e.quill.scroll.descendant(c.default,t.index),i=l(r,2),s=i[0],u=i[1];if(null!=s){e.linkRange=new d.Range(t.index-u,s.length());var f=c.default.formats(s.domNode);return e.preview.textContent=f,e.preview.setAttribute("href",f),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}})}},{key:"show",value:function(){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(s.BaseTooltip);g.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=y},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=M(o(29)),n=o(36),r=o(38),i=o(64),a=M(o(65)),s=M(o(66)),u=o(67),c=M(u),d=o(37),f=o(26),p=o(39),h=o(40),b=M(o(56)),q=M(o(68)),m=M(o(27)),y=M(o(69)),g=M(o(70)),v=M(o(71)),k=M(o(72)),_=M(o(73)),w=o(13),x=M(w),O=M(o(74)),E=M(o(75)),N=M(o(57)),A=M(o(41)),j=M(o(28)),P=M(o(59)),S=M(o(60)),T=M(o(61)),C=M(o(108)),L=M(o(62));function M(e){return e&&e.__esModule?e:{default:e}}l.default.register({"attributors/attribute/direction":r.DirectionAttribute,"attributors/class/align":n.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":f.ColorClass,"attributors/class/direction":r.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":n.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":f.ColorStyle,"attributors/style/direction":r.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":h.SizeStyle},!0),l.default.register({"formats/align":n.AlignClass,"formats/direction":r.DirectionClass,"formats/indent":i.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":f.ColorStyle,"formats/font":p.FontClass,"formats/size":h.SizeClass,"formats/blockquote":a.default,"formats/code-block":x.default,"formats/header":s.default,"formats/list":c.default,"formats/bold":b.default,"formats/code":w.Code,"formats/italic":q.default,"formats/link":m.default,"formats/script":y.default,"formats/strike":g.default,"formats/underline":v.default,"formats/image":k.default,"formats/video":_.default,"formats/list/item":u.ListItem,"modules/formula":O.default,"modules/syntax":E.default,"modules/toolbar":N.default,"themes/bubble":C.default,"themes/snow":L.default,"ui/icons":A.default,"ui/picker":j.default,"ui/icon-picker":S.default,"ui/color-picker":P.default,"ui/tooltip":T.default},!0),t.default=l.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(0),a=(l=i)&&l.__esModule?l:{default:l},s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"add",value:function(e,o){if("+1"===o||"-1"===o){var l=this.value(e)||0;o="+1"===o?l+1:l-1}return 0===o?(this.remove(e),!0):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,o)}},{key:"canAdd",value:function(e,o){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,o)||r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(o))}},{key:"value",value:function(e){return parseInt(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(a.default.Attributor.Class),u=new s("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=o(4),r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((l=n)&&l.__esModule?l:{default:l}).default);r.blotName="blockquote",r.tagName="blockquote",t.default=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=o(4),i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((l=r)&&l.__esModule?l:{default:l}).default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=s(o(0)),i=s(o(4)),a=s(o(25));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),l(t,[{key:"format",value:function(e,o){e!==p.blotName||o?n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o):this.replaceWith(r.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,o){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,o),this):(this.parent.unwrap(),n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,o))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:n(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(i.default);f.blotName="list-item",f.tagName="LI";var p=function(e){function t(e){u(this,t);var o=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),l=function(t){if(t.target.parentNode===e){var l=o.statics.formats(e),n=r.default.find(t.target);"checked"===l?n.format("list","unchecked"):"unchecked"===l&&n.format("list","checked")}};return e.addEventListener("touchstart",l),e.addEventListener("mousedown",l),o}return d(t,e),l(t,null,[{key:"create",value:function(e){var o="ordered"===e?"OL":"UL",l=n(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,o);return"checked"!==e&&"unchecked"!==e||l.setAttribute("data-checked","checked"===e),l}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),l(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,o=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var e,t,o}},{key:"insertBefore",value:function(e,o){if(e instanceof f)n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,o);else{var l=null==o?this.length():o.offset(this),r=this.split(l);r.parent.insertBefore(e,r)}}},{key:"optimize",value:function(e){n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var o=this.next;null!=o&&o.prev===this&&o.statics.blotName===this.statics.blotName&&o.domNode.tagName===this.domNode.tagName&&o.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(o.moveChildren(this),o.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var o=r.default.create(this.statics.defaultChild);e.moveChildren(o),this.appendChild(o)}n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(a.default);p.blotName="list",p.scope=r.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[f],t.ListItem=f,t.default=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=o(56),r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((l=n)&&l.__esModule?l:{default:l}).default);r.blotName="italic",r.tagName=["EM","I"],t.default=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(6),a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((l=i)&&l.__esModule?l:{default:l}).default);a.blotName="script",a.tagName=["SUB","SUP"],t.default=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=o(6),r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((l=n)&&l.__esModule?l:{default:l}).default);r.blotName="strike",r.tagName="S",t.default=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=o(6),r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((l=n)&&l.__esModule?l:{default:l}).default);r.blotName="underline",r.tagName="U",t.default=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(0),a=(l=i)&&l.__esModule?l:{default:l},s=o(27),u=["alt","height","width"],c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"format",value:function(e,o){u.indexOf(e)>-1?o?this.domNode.setAttribute(e,o):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o)}}],[{key:"create",value:function(e){var o=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&o.setAttribute("src",this.sanitize(e)),o}},{key:"formats",value:function(e){return u.reduce(function(t,o){return e.hasAttribute(o)&&(t[o]=e.getAttribute(o)),t},{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);c.blotName="image",c.tagName="IMG",t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},i=o(4),a=o(27),s=(l=a)&&l.__esModule?l:{default:l},u=["height","width"],c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"format",value:function(e,o){u.indexOf(e)>-1?o?this.domNode.setAttribute(e,o):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,o)}}],[{key:"create",value:function(e){var o=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen",!0),o.setAttribute("src",this.sanitize(e)),o}},{key:"formats",value:function(e){return u.reduce(function(t,o){return e.hasAttribute(o)&&(t[o]=e.getAttribute(o)),t},{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(i.BlockEmbed);c.blotName="video",c.className="ql-video",c.tagName="IFRAME",t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=s(o(35)),i=s(o(5)),a=s(o(9));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),l(t,null,[{key:"create",value:function(e){var o=n(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,o,{throwOnError:!1,errorColor:"#f00"}),o.setAttribute("data-value",e)),o}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(r.default);f.blotName="formula",f.className="ql-formula",f.tagName="SPAN";var p=function(e){function t(){u(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),l(t,null,[{key:"register",value:function(){i.default.register(f,!0)}}]),t}(a.default);t.FormulaBlot=f,t.default=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var l=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),n=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},r=s(o(0)),i=s(o(5)),a=s(o(9));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),l(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(s(o(13)).default);f.className="ql-syntax";var p=new r.default.Attributor.Class("token","hljs",{scope:r.default.Scope.INLINE}),h=function(e){function t(e,o){u(this,t);var l=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));if("function"!=typeof l.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var n=null;return l.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(n),n=setTimeout(function(){l.highlight(),n=null},l.options.interval)}),l.highlight(),l}return d(t,e),l(t,null,[{key:"register",value:function(){i.default.register(p,!0),i.default.register(f,!0)}}]),l(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(f).forEach(function(t){t.highlight(e.options.highlight)}),this.quill.update(i.default.sources.SILENT),null!=t&&this.quill.setSelection(t,i.default.sources.SILENT)}}}]),t}(a.default);h.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=f,t.CodeToken=p,t.default=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var l=function e(t,o,l){null===t&&(t=Function.prototype);var n=Object.getOwnPropertyDescriptor(t,o);if(void 0===n){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,o,l)}if("value"in n)return n.value;var i=n.get;return void 0!==i?i.call(l):void 0},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var l=t[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(t,o,l){return o&&e(t.prototype,o),l&&e(t,l),t}}(),r=d(o(3)),i=d(o(8)),a=o(43),s=d(a),u=o(15),c=d(o(41));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],q=function(e){function t(e,o){f(this,t),null!=o.modules.toolbar&&null==o.modules.toolbar.container&&(o.modules.toolbar.container=b);var l=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.quill.container.classList.add("ql-bubble"),l}return h(t,e),n(t,[{key:"extendToolbar",value:function(e){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),c.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),c.default)}}]),t}(s.default);q.DEFAULTS=(0,r.default)(!0,{},s.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(e){function t(e,o){f(this,t);var l=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,o));return l.quill.on(i.default.events.EDITOR_CHANGE,function(e,t,o,n){if(e===i.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&n===i.default.sources.USER){l.show(),l.root.style.left="0px",l.root.style.width="",l.root.style.width=l.root.offsetWidth+"px";var r=l.quill.getLines(t.index,t.length);if(1===r.length)l.position(l.quill.getBounds(t));else{var a=r[r.length-1],s=l.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-s),d=l.quill.getBounds(new u.Range(s,c));l.position(d)}}else document.activeElement!==l.textbox&&l.quill.hasFocus()&&l.hide()}),l}return h(t,e),n(t,[{key:"listen",value:function(){var e=this;l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){e.root.classList.remove("ql-editing")}),this.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var o=l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),n=this.root.querySelector(".ql-tooltip-arrow");if(n.style.marginLeft="",0===o)return o;n.style.marginLeft=-1*o-n.offsetWidth/2+"px"}}]),t}(a.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=m,t.default=q},function(e,t,o){e.exports=o(63)}]).default},e.exports=l()},1606:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var l=o(9726);const n={name:"SmViewComponent",props:{link:String,id:Number}};const r=(0,o(6262).A)(n,[["render",function(e,t,o,n,r,i){var a=(0,l.resolveComponent)("router-link");return(0,l.openBlock)(),(0,l.createBlock)(a,{class:"db-btn-outline sm primary modal-btn m-0.5",to:{name:this.$props.link,params:{id:this.$props.id}}},{default:(0,l.withCtx)(function(){return[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-eye"},null,-1)),t[1]||(t[1]=(0,l.createTextVNode)()),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.view")),1)]}),_:1,__:[0,1]},8,["to"])}]])},1751:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var l=o(9726),n={class:"flex flex-1 justify-between sm:hidden"};const r={name:"PaginationSMBox",components:{TailwindPagination:o(1964).L5},props:{pagination:{type:Object},method:{type:Function}},data:function(){return{activeClass:["bg-blue-50","border-blue-500","text-primary"]}},methods:{page:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.method(e)}}};const i=(0,o(6262).A)(r,[["render",function(e,t,o,r,i,a){var s=(0,l.resolveComponent)("TailwindPagination");return(0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.createVNode)(s,{data:o.pagination,onPaginationChangePage:a.page,"active-classes":i.activeClass,limit:-1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1889:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var l=o(9726),n={class:"text-sm text-gray-700"};const r={name:"PaginationTextComponent",props:["props"]};const i=(0,o(6262).A)(r,[["render",function(e,t,o,r,i,a){var s,u;return(0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createElementVNode)("p",n,(0,l.toDisplayString)(e.$t("message.pagination_label",{from:null!==(s=o.props.page.from)&&void 0!==s?s:0,to:null!==(u=o.props.page.to)&&void 0!==u?u:0,total:o.props.page.total})),1)])}]])},1964:(e,t,o)=>{"use strict";o.d(t,{L5:()=>h});var l=o(9726);const n={emits:["pagination-change-page"],props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},keepLength:{type:Boolean,default:!1}},computed:{isApiResource(){return!!this.data.meta},currentPage(){var e;return this.isApiResource?this.data.meta.current_page:null!=(e=this.data.current_page)?e:null},firstPageUrl(){var e,t,o,l,n;return null!=(n=null!=(l=null!=(t=this.data.first_page_url)?t:null==(e=this.data.meta)?void 0:e.first_page_url)?l:null==(o=this.data.links)?void 0:o.first)?n:null},from(){var e;return this.isApiResource?this.data.meta.from:null!=(e=this.data.from)?e:null},lastPage(){var e;return this.isApiResource?this.data.meta.last_page:null!=(e=this.data.last_page)?e:null},lastPageUrl(){var e,t,o,l,n;return null!=(n=null!=(l=null!=(t=this.data.last_page_url)?t:null==(e=this.data.meta)?void 0:e.last_page_url)?l:null==(o=this.data.links)?void 0:o.last)?n:null},nextPageUrl(){var e,t,o,l,n;return null!=(n=null!=(l=null!=(t=this.data.next_page_url)?t:null==(e=this.data.meta)?void 0:e.next_page_url)?l:null==(o=this.data.links)?void 0:o.next)?n:null},perPage(){var e;return this.isApiResource?this.data.meta.per_page:null!=(e=this.data.per_page)?e:null},prevPageUrl(){var e,t,o,l,n;return null!=(n=null!=(l=null!=(t=this.data.prev_page_url)?t:null==(e=this.data.meta)?void 0:e.prev_page_url)?l:null==(o=this.data.links)?void 0:o.prev)?n:null},to(){var e;return this.isApiResource?this.data.meta.to:null!=(e=this.data.to)?e:null},total(){var e;return this.isApiResource?this.data.meta.total:null!=(e=this.data.total)?e:null},pageRange(){if(-1===this.limit)return 0;if(0===this.limit)return this.lastPage;for(var e,t=this.currentPage,o=this.keepLength,l=this.lastPage,n=this.limit,r=t-n,i=t+n,a=2*(n+2),s=2*(n+2)-1,u=[],c=[],d=1;d<=l;d++)(1===d||d===l||d>=r&&d<=i||o&&d<a&&t<a-2||o&&d>l-s&&t>l-s+2)&&u.push(d);return u.forEach(function(t){e&&(t-e===2?c.push(e+1):t-e!==1&&c.push("...")),c.push(t),e=t}),c}},methods:{previousPage(){this.selectPage(this.currentPage-1)},nextPage(){this.selectPage(this.currentPage+1)},selectPage(e){"..."===e||e===this.currentPage||this.$emit("pagination-change-page",e)}},render(){return this.$slots.default({data:this.data,limit:this.limit,computed:{isApiResource:this.isApiResource,currentPage:this.currentPage,firstPageUrl:this.firstPageUrl,from:this.from,lastPage:this.lastPage,lastPageUrl:this.lastPageUrl,nextPageUrl:this.nextPageUrl,perPage:this.perPage,prevPageUrl:this.prevPageUrl,to:this.to,total:this.total,pageRange:this.pageRange},prevButtonEvents:{click:e=>{e.preventDefault(),this.previousPage()}},nextButtonEvents:{click:e=>{e.preventDefault(),this.nextPage()}},pageButtonEvents:e=>({click:t=>{t.preventDefault(),this.selectPage(e)}})})}},r=(e,t)=>{const o=e.__vccOpts||e;for(const[e,l]of t)o[e]=l;return o};Boolean,Boolean;Boolean,Boolean;const i={compatConfig:{MODE:3},inheritAttrs:!1,emits:["pagination-change-page"],components:{RenderlessPagination:n},props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},keepLength:{type:Boolean,default:!1},itemClasses:{type:Array,default:()=>["bg-white","text-gray-500","border-gray-300","hover:bg-gray-50"]},activeClasses:{type:Array,default:()=>["bg-blue-50","border-blue-500","text-blue-600"]}},methods:{onPaginationChangePage(e){this.$emit("pagination-change-page",e)}}},a=["disabled"],s=(0,l.createElementVNode)("span",{class:"sr-only"},"Previous",-1),u=(0,l.createElementVNode)("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})],-1),c=["aria-current","disabled"],d=["disabled"],f=(0,l.createElementVNode)("span",{class:"sr-only"},"Next",-1),p=(0,l.createElementVNode)("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})],-1);const h=r(i,[["render",function(e,t,o,n,r,i){const h=(0,l.resolveComponent)("RenderlessPagination");return(0,l.openBlock)(),(0,l.createBlock)(h,{data:o.data,limit:o.limit,"keep-length":o.keepLength,onPaginationChangePage:i.onPaginationChangePage},{default:(0,l.withCtx)(t=>[t.computed.total>t.computed.perPage?((0,l.openBlock)(),(0,l.createElementBlock)("nav",(0,l.mergeProps)({key:0},e.$attrs,{class:"inline-flex -space-x-px rounded-md shadow-sm isolate ltr:flex-row rtl:flex-row-reverse","aria-label":"Pagination"}),[(0,l.createElementVNode)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-2 py-2 text-sm font-medium border rounded-l-md focus:z-20 disabled:opacity-50",o.itemClasses],disabled:!t.computed.prevPageUrl},(0,l.toHandlers)(t.prevButtonEvents,!0)),[(0,l.renderSlot)(e.$slots,"prev-nav",{},()=>[s,u])],16,a),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.computed.pageRange,(e,n)=>((0,l.openBlock)(),(0,l.createElementBlock)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-4 py-2 text-sm font-medium border focus:z-20",[e==t.computed.currentPage?o.activeClasses:o.itemClasses,e==t.computed.currentPage?"z-30":""]],"aria-current":t.computed.currentPage?"page":null,key:n},(0,l.toHandlers)(t.pageButtonEvents(e),!0),{disabled:e===t.computed.currentPage}),(0,l.toDisplayString)(e),17,c))),128)),(0,l.createElementVNode)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-2 py-2 text-sm font-medium border rounded-r-md focus:z-20 disabled:opacity-50",o.itemClasses],disabled:!t.computed.nextPageUrl},(0,l.toHandlers)(t.nextButtonEvents,!0)),[(0,l.renderSlot)(e.$slots,"next-nav",{},()=>[f,p])],16,d)],16)):(0,l.createCommentVNode)("",!0)]),_:3},8,["data","limit","keep-length","onPaginationChangePage"])}]])},2676:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var l=o(6314),n=o.n(l)()(function(e){return e[1]});n.push([e.id,'/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}',""]);const r=n},3721:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var l=o(9726),n={class:"db-btn-outline sm danger modal-btn m-0.5"};const r={name:"SmDeleteComponent"};const i=(0,o(6262).A)(r,[["render",function(e,t,o,r,i,a){return(0,l.openBlock)(),(0,l.createElementBlock)("button",n,[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-trash"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.delete")),1)])}]])},5420:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var l=o(6314),n=o.n(l)()(function(e){return e[1]});n.push([e.id,'/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}',""]);const r=n},5458:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var l=o(9726),n={class:"db-btn-outline sm success modal-btn m-0.5"};const r={name:"SmModalEditComponent"};const i=(0,o(6262).A)(r,[["render",function(e,t,o,r,i,a){return(0,l.openBlock)(),(0,l.createElementBlock)("button",n,[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-edit"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.edit")),1)])}]])},6341:(e,t,o)=>{"use strict";o.d(t,{zs:()=>m});var l=o(1574),n=o.n(l),r=o(9726);const i={ref:"editor"};var a=o(5072),s=o.n(a),u=o(5420),c={insert:"head",singleton:!1};s()(u.A,c);u.A.locals;var d=o(2676),f={insert:"head",singleton:!1};s()(d.A,f);d.A.locals;var p=o(9399),h={insert:"head",singleton:!1};s()(p.A,h);p.A.locals;const b={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert content here ...",readOnly:!1},q={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(e,t){const o={editorOption:{},quill:null};let l="";(0,r.watch)(()=>e.value,e=>{o.quill&&(e&&e!==l?(l=e,o.quill.pasteHTML(e)):e||o.quill.setText(""))}),(0,r.watch)(()=>e.content,e=>{o.quill&&(e&&e!==l?(l=e,o.quill.pasteHTML(e)):e||o.quill.setText(""))}),(0,r.watch)(()=>e.disabled,e=>{o.quill&&o.quill.enable(!e)});const i=(0,r.ref)(null),a=(e,t)=>{for(const o in t)e[o]&&"modules"===o?a(e[o],t[o]):e[o]=t[o];return e};return(0,r.onBeforeUnmount)(()=>{const e=i.value.previousSibling;e&&1===e.nodeType&&e.className.indexOf("ql-toolbar")>-1&&e.parentNode.removeChild(e)}),(0,r.onMounted)(()=>{i.value&&(o.editorOption=a(b,e.options),o.editorOption.readOnly=!!e.disabled,o.quill=new(n())(i.value,o.editorOption),e.value&&o.quill.pasteHTML(e.value),o.quill.on("selection-change",e=>{e?t.emit("focus",o.quill):t.emit("blur",o.quill)}),o.quill.on("text-change",()=>{e.disabled&&o.quill.enable(!1);let n=i.value.children[0].innerHTML;const r=o.quill,a=o.quill.getText();"<p><br></p>"===n&&(n=""),l=n,t.emit("update:value",l),t.emit("change",{html:n,text:a,quill:r})}),t.emit("ready",o.quill))}),(0,r.onUnmounted)(()=>{o.quill=null}),{editor:i}}};const m=(0,o(6262).A)(q,[["render",function(e,t,o,l,n,a){return(0,r.openBlock)(),(0,r.createElementBlock)("section",i,null,512)}]]);m.install=function(e){e.component(m.name,m)};n()},6649:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>Ce});var l=o(9726),n={class:"db-card db-tab-div active"},r={class:"db-card-header border-none"},i={class:"db-card-title"},a={class:"db-card-filter"},s={class:"db-table-responsive"},u={class:"db-table stripe"},c={class:"db-table-head"},d={class:"db-table-head-tr"},f={class:"db-table-head-th"},p={class:"db-table-head-th"},h={class:"db-table-head-th"},b={key:0,class:"db-table-body"},q={class:"db-table-body-td"},m={class:"db-table-body-td"},y={class:"db-table-body-td"},g={class:"flex justify-start items-center sm:items-start sm:justify-start gap-1.5"},v={key:1,class:"db-table-body"},k={class:"db-table-body-tr"},_={class:"db-table-body-td text-center",colspan:"3"},w={class:"p-4"},x={class:"max-w-[300px] mx-auto mt-2"},O=["src"],E={class:"d-block mt-3 text-lg"},N={key:0,class:"flex items-center justify-between border-t border-gray-200 bg-white px-4 py-6"},A={class:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between"};var j=o(5475),P={id:"modal",class:"modal"},S={class:"modal-dialog"},T={class:"modal-header"},C={class:"modal-title"},L={class:"modal-body"},M={class:"form-row"},R={class:"form-col-12 sm:form-col-6"},B={for:"title",class:"db-field-title required"},I={key:0,class:"db-field-alert"},D={class:"form-col-12 sm:form-col-6"},z={class:"db-field-title required",for:"active"},V={class:"db-field-radio-group"},U={class:"db-field-radio"},H={class:"custom-radio"},F=["value"],K={for:"active",class:"db-field-label"},$={class:"db-field-radio"},Z={class:"custom-radio"},W=["value"],G={for:"inactive",class:"db-field-label"},Y={key:0,class:"db-field-alert"},X={class:"form-col-12 sm:form-col-6"},Q={for:"menu_section_id",class:"db-field-title required"},J={key:0,class:"db-field-alert"},ee={class:"form-col-12 sm:form-col-6"},te={for:"template_id",class:"db-field-title"},oe={key:0,class:"db-field-alert"},le={class:"form-col-12 sm:form-col-12"},ne={for:"image",class:"db-field-title"},re={key:0,class:"db-field-alert"},ie={class:"form-col-12"},ae={for:"description",class:"db-field-title required"},se={key:0,class:"db-field-alert"},ue={class:"form-col-12"},ce={class:"modal-btns"},de={type:"submit",class:"db-btn py-2 text-white bg-primary"};var fe=o(8691),pe=o(6884),he=o(9856),be=o(8655),qe=o(6341);function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function ye(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=me(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var l=o.call(e,t||"default");if("object"!=me(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==me(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const ge={name:"PageCreateComponent",components:{SmModalCreateComponent:fe.A,LoadingComponent:j.A,quillEditor:qe.zs},props:["props"],data:function(){return{loading:{isActive:!1},enums:{statusEnum:pe.A,statusEnumArray:ye(ye({},pe.A.ACTIVE,this.$t("label.active")),pe.A.INACTIVE,this.$t("label.inactive"))},image:"",errors:{}}},mounted:function(){this.$store.dispatch("menuSection/lists"),this.$store.dispatch("menuTemplate/lists")},computed:{menuSections:function(){return this.$store.getters["menuSection/lists"]},menuTemplates:function(){return this.$store.getters["menuTemplate/lists"]},addButton:function(){return{title:this.$t("button.add_page")}}},methods:{changeImage:function(e){this.image=e.target.files[0]},reset:function(){be.A.modalHide(),this.$store.dispatch("page/reset").then().catch(),this.errors={},this.$props.props.form={title:"",description:"",menu_section_id:null,menu_template_id:null,status:pe.A.ACTIVE},this.image&&(this.image="",this.$refs.imageProperty.value=null)},save:function(){var e=this;try{var t=new FormData;t.append("title",this.props.form.title),t.append("status",this.props.form.status),t.append("description",this.props.form.description),t.append("menu_section_id",null===this.props.form.menu_section_id?"":this.props.form.menu_section_id),t.append("menu_template_id",null===this.props.form.menu_template_id?0:this.props.form.menu_template_id),this.image&&t.append("image",this.image);var o=this.$store.getters["page/temp"].temp_id;this.loading.isActive=!0,this.$store.dispatch("page/save",{form:t,search:this.props.search}).then(function(t){be.A.modalHide(),e.loading.isActive=!1,he.A.successFlip(null===o?0:1,e.$t("menu.pages")),e.props.form={title:"",description:"",menu_section_id:null,menu_template_id:null,status:pe.A.ACTIVE},e.image="",e.errors={},e.$refs.imageProperty.value=null}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.errors})}catch(e){this.loading.isActive=!1,he.A.error(e)}}}};var ve=o(6262);const ke=(0,ve.A)(ge,[["render",function(e,t,o,n,r,i){var a=(0,l.resolveComponent)("LoadingComponent"),s=(0,l.resolveComponent)("SmModalCreateComponent"),u=(0,l.resolveComponent)("vue-select"),c=(0,l.resolveComponent)("quill-editor");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createVNode)(a,{props:r.loading},null,8,["props"]),(0,l.createVNode)(s,{props:i.addButton},null,8,["props"]),(0,l.createElementVNode)("div",P,[(0,l.createElementVNode)("div",S,[(0,l.createElementVNode)("div",T,[(0,l.createElementVNode)("h3",C,(0,l.toDisplayString)(e.$t("menu.pages")),1),(0,l.createElementVNode)("button",{class:"modal-close fa-solid fa-xmark text-xl text-slate-400 hover:text-red-500",onClick:t[0]||(t[0]=function(){return i.reset&&i.reset.apply(i,arguments)})})]),(0,l.createElementVNode)("div",L,[(0,l.createElementVNode)("form",{onSubmit:t[9]||(t[9]=(0,l.withModifiers)(function(){return i.save&&i.save.apply(i,arguments)},["prevent"]))},[(0,l.createElementVNode)("div",M,[(0,l.createElementVNode)("div",R,[(0,l.createElementVNode)("label",B,(0,l.toDisplayString)(e.$t("label.title")),1),(0,l.withDirectives)((0,l.createElementVNode)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(e){return o.props.form.title=e}),class:(0,l.normalizeClass)([r.errors.title?"invalid":"","db-field-control"]),type:"text",id:"title"},null,2),[[l.vModelText,o.props.form.title]]),r.errors.title?((0,l.openBlock)(),(0,l.createElementBlock)("small",I,(0,l.toDisplayString)(r.errors.title[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",D,[(0,l.createElementVNode)("label",z,(0,l.toDisplayString)(e.$t("label.status")),1),(0,l.createElementVNode)("div",V,[(0,l.createElementVNode)("div",U,[(0,l.createElementVNode)("div",H,[(0,l.withDirectives)((0,l.createElementVNode)("input",{value:r.enums.statusEnum.ACTIVE,"onUpdate:modelValue":t[2]||(t[2]=function(e){return o.props.form.status=e}),id:"active",type:"radio",class:"custom-radio-field"},null,8,F),[[l.vModelRadio,o.props.form.status]]),t[10]||(t[10]=(0,l.createElementVNode)("span",{class:"custom-radio-span"},null,-1))]),(0,l.createElementVNode)("label",K,(0,l.toDisplayString)(e.$t("label.active")),1)]),(0,l.createElementVNode)("div",$,[(0,l.createElementVNode)("div",Z,[(0,l.withDirectives)((0,l.createElementVNode)("input",{value:r.enums.statusEnum.INACTIVE,"onUpdate:modelValue":t[3]||(t[3]=function(e){return o.props.form.status=e}),type:"radio",id:"inactive",class:"custom-radio-field"},null,8,W),[[l.vModelRadio,o.props.form.status]]),t[11]||(t[11]=(0,l.createElementVNode)("span",{class:"custom-radio-span"},null,-1))]),(0,l.createElementVNode)("label",G,(0,l.toDisplayString)(e.$t("label.inactive")),1)])]),r.errors.status?((0,l.openBlock)(),(0,l.createElementBlock)("small",Y,(0,l.toDisplayString)(r.errors.status[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",X,[(0,l.createElementVNode)("label",Q,(0,l.toDisplayString)(e.$t("label.menu_section_id")),1),(0,l.createVNode)(u,{class:(0,l.normalizeClass)(["db-field-control f-b-custom-select",r.errors.menu_section_id?"invalid":""]),id:"menu_section_id",modelValue:o.props.form.menu_section_id,"onUpdate:modelValue":t[4]||(t[4]=function(e){return o.props.form.menu_section_id=e}),options:i.menuSections,"label-by":"name","value-by":"id",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),r.errors.menu_section_id?((0,l.openBlock)(),(0,l.createElementBlock)("small",J,(0,l.toDisplayString)(r.errors.menu_section_id[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",ee,[(0,l.createElementVNode)("label",te,(0,l.toDisplayString)(e.$t("label.template_id")),1),(0,l.createVNode)(u,{class:(0,l.normalizeClass)(["db-field-control f-b-custom-select",r.errors.menu_template_id?"invalid":""]),id:"template_id",modelValue:o.props.form.menu_template_id,"onUpdate:modelValue":t[5]||(t[5]=function(e){return o.props.form.menu_template_id=e}),options:i.menuTemplates,"label-by":"name","value-by":"id",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),r.errors.menu_template_id?((0,l.openBlock)(),(0,l.createElementBlock)("small",oe,(0,l.toDisplayString)(r.errors.menu_template_id[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",le,[(0,l.createElementVNode)("label",ne,(0,l.toDisplayString)(e.$t("label.image")),1),(0,l.createElementVNode)("input",{onChange:t[6]||(t[6]=function(){return i.changeImage&&i.changeImage.apply(i,arguments)}),class:(0,l.normalizeClass)([r.errors.image?"invalid":"","db-field-control"]),id:"image",type:"file",ref:"imageProperty",accept:"image/png, image/jpeg, image/jpg"},null,34),r.errors.image?((0,l.openBlock)(),(0,l.createElementBlock)("small",re,(0,l.toDisplayString)(r.errors.image[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",ie,[(0,l.createElementVNode)("label",ae,(0,l.toDisplayString)(e.$t("label.description")),1),(0,l.createVNode)(c,{value:o.props.form.description,"onUpdate:value":t[7]||(t[7]=function(e){return o.props.form.description=e}),class:(0,l.normalizeClass)([r.errors.description?"invalid":"","!h-40 textarea-border-radius ql-container ql-snow"]),id:"description"},null,8,["value","class"]),r.errors.description?((0,l.openBlock)(),(0,l.createElementBlock)("small",se,(0,l.toDisplayString)(r.errors.description[0]),1)):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",ue,[(0,l.createElementVNode)("div",ce,[(0,l.createElementVNode)("button",{type:"button",class:"modal-btn-outline modal-close",onClick:t[8]||(t[8]=function(){return i.reset&&i.reset.apply(i,arguments)})},[t[12]||(t[12]=(0,l.createElementVNode)("i",{class:"lab lab-fill-close-circle"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.close")),1)]),(0,l.createElementVNode)("button",de,[t[13]||(t[13]=(0,l.createElementVNode)("i",{class:"lab lab-fill-save"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.save")),1)])])])])],32)])])])],64)}]]);var _e=o(1889),we=o(1017),xe=o(1751),Oe=o(9319),Ee=o(3721),Ne=o(5458),Ae=o(1606),je=o(8536);function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}function Se(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=Pe(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var l=o.call(e,t||"default");if("object"!=Pe(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const Te={name:"PageListComponent",components:{TableLimitComponent:Oe.A,PaginationSMBox:xe.A,PaginationBox:we.A,PaginationTextComponent:_e.A,PageCreateComponent:ke,LoadingComponent:j.A,SmDeleteComponent:Ee.A,SmModalEditComponent:Ne.A,SmViewComponent:Ae.A},data:function(){return{loading:{isActive:!1},enums:{statusEnum:pe.A,statusEnumArray:Se(Se({},pe.A.ACTIVE,this.$t("label.active")),pe.A.INACTIVE,this.$t("label.inactive"))},props:{form:{title:"",description:"",menu_section_id:null,menu_template_id:null,status:pe.A.ACTIVE},search:{paginate:1,page:1,per_page:10,order_column:"id",order_type:"desc"}},ENV:je.A}},mounted:function(){this.list(),this.$store.dispatch("menuSection/lists"),this.$store.dispatch("menuTemplate/lists")},computed:{pages:function(){return this.$store.getters["page/lists"]},pagination:function(){return this.$store.getters["page/pagination"]},paginationPage:function(){return this.$store.getters["page/page"]},menuSections:function(){return this.$store.getters["menuSection/lists"]},menuTemplates:function(){return this.$store.getters["menuTemplate/lists"]}},methods:{statusClass:function(e){return be.A.statusClass(e)},textShortener:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return be.A.textShortener(e,t)},list:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.loading.isActive=!0,this.props.search.page=t,this.$store.dispatch("page/lists",this.props.search).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},edit:function(e){be.A.modalShow(),this.loading.isActive=!0,this.$store.dispatch("page/edit",e.id),this.props.form={title:e.title,status:e.status,description:e.description,menu_section_id:e.menu_section_id,menu_template_id:0===e.menu_template_id||""===e.menu_template_id||null===e.menu_template_id?null:e.menu_template_id},this.loading.isActive=!1},destroy:function(e){var t=this;be.A.destroyConfirmation().then(function(o){try{t.loading.isActive=!0,t.$store.dispatch("page/destroy",{id:e,search:t.props.search}).then(function(e){t.loading.isActive=!1,he.A.successFlip(null,t.$t("menu.pages"))}).catch(function(e){t.loading.isActive=!1,he.A.error(e.response.data.message)})}catch(e){t.loading.isActive=!1,he.A.error(e.response.data.message)}}).catch(function(e){t.loading.isActive=!1})}}},Ce=(0,ve.A)(Te,[["render",function(e,t,o,j,P,S){var T=(0,l.resolveComponent)("LoadingComponent"),C=(0,l.resolveComponent)("TableLimitComponent"),L=(0,l.resolveComponent)("PageCreateComponent"),M=(0,l.resolveComponent)("SmViewComponent"),R=(0,l.resolveComponent)("SmModalEditComponent"),B=(0,l.resolveComponent)("SmDeleteComponent"),I=(0,l.resolveComponent)("PaginationSMBox"),D=(0,l.resolveComponent)("PaginationTextComponent"),z=(0,l.resolveComponent)("PaginationBox");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createVNode)(T,{props:P.loading},null,8,["props"]),(0,l.createElementVNode)("div",n,[(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("h3",i,(0,l.toDisplayString)(e.$t("menu.pages")),1),(0,l.createElementVNode)("div",a,[(0,l.createVNode)(C,{method:S.list,search:P.props.search,page:S.paginationPage},null,8,["method","search","page"]),(0,l.createVNode)(L,{props:P.props},null,8,["props"])])]),(0,l.createElementVNode)("div",s,[(0,l.createElementVNode)("table",u,[(0,l.createElementVNode)("thead",c,[(0,l.createElementVNode)("tr",d,[(0,l.createElementVNode)("th",f,(0,l.toDisplayString)(e.$t("label.title")),1),(0,l.createElementVNode)("th",p,(0,l.toDisplayString)(e.$t("label.status")),1),(0,l.createElementVNode)("th",h,(0,l.toDisplayString)(e.$t("label.action")),1)])]),S.pages.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("tbody",b,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(S.pages,function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("tr",{class:"db-table-body-tr",key:e},[(0,l.createElementVNode)("td",q,(0,l.toDisplayString)(S.textShortener(e.title)),1),(0,l.createElementVNode)("td",m,[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)(S.statusClass(e.status))},(0,l.toDisplayString)(P.enums.statusEnumArray[e.status]),3)]),(0,l.createElementVNode)("td",y,[(0,l.createElementVNode)("div",g,[(0,l.createVNode)(M,{link:"admin.settings.page.show",id:e.id},null,8,["id"]),(0,l.createVNode)(R,{onClick:function(t){return S.edit(e)}},null,8,["onClick"]),(0,l.createVNode)(B,{onClick:function(t){return S.destroy(e.id)}},null,8,["onClick"])])])])}),128))])):((0,l.openBlock)(),(0,l.createElementBlock)("tbody",v,[(0,l.createElementVNode)("tr",k,[(0,l.createElementVNode)("td",_,[(0,l.createElementVNode)("div",w,[(0,l.createElementVNode)("div",x,[(0,l.createElementVNode)("img",{class:"w-full h-full",src:P.ENV.API_URL+"/images/default/not-found/not_found.png",alt:"Not Found"},null,8,O)]),(0,l.createElementVNode)("span",E,(0,l.toDisplayString)(e.$t("message.no_data_found")),1)])])])]))])]),S.pages.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",N,[(0,l.createVNode)(I,{pagination:S.pagination,method:S.list},null,8,["pagination","method"]),(0,l.createElementVNode)("div",A,[(0,l.createVNode)(D,{props:{page:S.paginationPage}},null,8,["props"]),(0,l.createVNode)(z,{pagination:S.pagination,method:S.list},null,8,["pagination","method"])])])):(0,l.createCommentVNode)("",!0)])],64)}]])},8691:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var l=o(9726);var n=o(8655);const r={name:"SmModalCreateComponent",props:["props"],methods:{add:function(){n.A.modalShow()}}};const i=(0,o(6262).A)(r,[["render",function(e,t,o,n,r,i){return(0,l.openBlock)(),(0,l.createElementBlock)("button",{type:"button",onClick:t[0]||(t[0]=function(){return i.add&&i.add.apply(i,arguments)}),"data-modal":"#modal",class:"db-btn h-[37px] text-white bg-primary"},[t[1]||(t[1]=(0,l.createElementVNode)("i",{class:"lab lab-line-add-circle"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(o.props.title),1)])}]])},9319:(e,t,o)=>{"use strict";o.d(t,{A:()=>f});var l=o(9726),n={key:0,class:"db-field-down-arrow"},r={value:"10"},i={value:"25"},a={value:"50"},s={value:"100"},u={value:"500"},c={value:"1000"};const d={name:"TableLimitComponent",props:{page:{type:Object},search:{type:Object},method:{type:Function}},methods:{limitChange:function(){this.method()}}};const f=(0,o(6262).A)(d,[["render",function(e,t,o,d,f,p){return o.page.total>10?((0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.withDirectives)((0,l.createElementVNode)("select",{onChange:t[0]||(t[0]=function(){return p.limitChange&&p.limitChange.apply(p,arguments)}),"onUpdate:modelValue":t[1]||(t[1]=function(e){return o.search.per_page=e}),class:"db-card-filter-select"},[(0,l.createElementVNode)("option",r,(0,l.toDisplayString)(e.$t("number.10")),1),(0,l.createElementVNode)("option",i,(0,l.toDisplayString)(e.$t("number.25")),1),(0,l.createElementVNode)("option",a,(0,l.toDisplayString)(e.$t("number.50")),1),(0,l.createElementVNode)("option",s,(0,l.toDisplayString)(e.$t("number.100")),1),(0,l.createElementVNode)("option",u,(0,l.toDisplayString)(e.$t("number.500")),1),(0,l.createElementVNode)("option",c,(0,l.toDisplayString)(e.$t("number.1000")),1)],544),[[l.vModelSelect,o.search.per_page]])])):(0,l.createCommentVNode)("",!0)}]])},9399:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var l=o(6314),n=o.n(l)()(function(e){return e[1]});n.push([e.id,'/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble .ql-toolbar:after,.ql-bubble.ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble .ql-toolbar button,.ql-bubble.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble .ql-toolbar button svg,.ql-bubble.ql-toolbar button svg{float:left;height:100%}.ql-bubble .ql-toolbar button:active:hover,.ql-bubble.ql-toolbar button:active:hover{outline:none}.ql-bubble .ql-toolbar input.ql-image[type=file],.ql-bubble.ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button:focus,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover{color:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble .ql-toolbar button:hover:not(.ql-active),.ql-bubble.ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{position:absolute;right:20px;top:10px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\\D7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;color:#fff;content:attr(href);font-size:12px;font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;top:-5px;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #444;content:" ";height:0;top:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}',""]);const r=n}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285