12345678910111213141516171819 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=h(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw i}}}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(u){a=!0,o=u}finally{try{l||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=document.createElement("style");y.innerHTML='.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{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.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=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>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-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.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;margin-left:1px;margin-right:1px}.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 button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .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,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.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-miter{stroke:#4b5563}}.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:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.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{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.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:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.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%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.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:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.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{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[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-size .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-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[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-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[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 #d1d5db;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:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.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:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;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]{display:none;border:1px solid #d1d5db;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 #d1d5db;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:0px;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:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}\n',document.head.appendChild(y),System.register([],(function(e){"use strict";return{execute:function(){function n(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return!!n[e.toLowerCase()]}:function(e){return!!n[e]}}e({A:Yn,B:Xn,E:$t,H:Lt,J:vr,K:Xr,L:b,M:c,O:xi,P:Gi,Q:ui,R:In,S:Fr,U:Kr,V:_i,W:gi,_:Yi,a:function(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n},a1:_t,a2:bi,a4:Vt,a5:Hr,a7:kr,a8:Gr,a9:Yr,aB:Mn,aC:Rn,aE:mi,ac:g,ad:yi,ah:Qi,al:$r,an:Jr,ao:St,ap:se,aq:At,ar:Dt,aw:qt,ay:wr,b:Mt,d:tr,e:fe,g:Ia,n:bn,o:de,p:ni,q:ai,r:wt,s:Rt,t:hi,u:Ft,w:Qn,x:Gt,z:si});var o=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),l=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function a(e){return!!e||""===e}function c(e){if(R(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],o=U(r)?y(r):c(r);if(o)for(var i in o)t[i]=o[i]}return t}return U(e)||H(e)?e:void 0}var h=/;(?![^(]*\))/g,v=/:(.+)/;function y(e){var t={};return e.split(h).forEach((function(e){if(e){var n=e.split(v);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function b(e){var t="";if(U(e))t=e;else if(R(e))for(var n=0;n<e.length;n++){var r=b(e[n]);r&&(t+=r+" ")}else if(H(e))for(var o in e)e[o]&&(t+=o+" ");return t.trim()}function g(e){if(!e)return null;var t=e.class,n=e.style;return t&&!U(t)&&(e.class=b(t)),n&&(e.style=c(n)),e}function m(e,t){if(e===t)return!0;var n=D(e),r=D(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=z(e),r=z(t),n||r)return e===t;if(n=R(e),r=R(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;for(var n=!0,r=0;n&&r<e.length;r++)n=m(e[r],t[r]);return n}(e,t);if(n=H(e),r=H(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e){var i=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(i&&!l||!i&&l||!m(e[o],t[o]))return!1}}return String(e)===String(t)}function _(e,t){return e.findIndex((function(e){return m(e,t)}))}var q,w,k=e("X",(function(e){return U(e)?e:null==e?"":R(e)||H(e)&&(e.toString===K||!F(e.toString))?JSON.stringify(e,x,2):String(e)})),x=function e(t,n){return n&&n.__v_isRef?e(t,n.value):I(n)?{[`Map(${n.size})`]:p(n.entries()).reduce((function(e,t){var n=d(t,2),r=n[0],o=n[1];return e[`${r} =>`]=o,e}),{})}:B(n)?{[`Set(${n.size})`]:p(n.values())}:!H(n)||R(n)||Z(n)?n:String(n)},O={},E=[],j=e("N",(function(){})),A=function(){return!1},S=/^on[^a-z]/,N=function(e){return S.test(e)},C=function(e){return e.startsWith("onUpdate:")},T=Object.assign,P=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},L=Object.prototype.hasOwnProperty,M=e("v",(function(e,t){return L.call(e,t)})),R=e("j",Array.isArray),I=function(e){return"[object Map]"===$(e)},B=function(e){return"[object Set]"===$(e)},D=e("ab",(function(e){return"[object Date]"===$(e)})),F=e("y",(function(e){return"function"==typeof e})),U=e("m",(function(e){return"string"==typeof e})),z=function(e){return"symbol"==typeof e},H=e("k",(function(e){return null!==e&&"object"==typeof e})),V=e("ak",(function(e){return H(e)&&F(e.then)&&F(e.catch)})),K=Object.prototype.toString,$=e("ae",(function(e){return K.call(e)})),W=e("as",(function(e){return $(e).slice(8,-1)})),Z=function(e){return"[object Object]"===$(e)},G=function(e){return U(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},Y=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),X=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},Q=/-(\w)/g,J=e("l",X((function(e){return e.replace(Q,(function(e,t){return t?t.toUpperCase():""}))}))),ee=/\B([A-Z])/g,te=e("av",X((function(e){return e.replace(ee,"-$1").toLowerCase()}))),ne=e("ai",X((function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))),re=X((function(e){return e?`on${ne(e)}`:""})),oe=function(e,t){return!Object.is(e,t)},ie=function(e,t){for(var n=0;n<e.length;n++)e[n](t)},le=function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ae=function(e){var t=parseFloat(e);return isNaN(t)?e:t},ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];s(this,e),this.active=!0,this.effects=[],this.cleanups=[],!t&&w&&(this.parent=w,this.index=(w.scopes||(w.scopes=[])).push(this)-1)}return f(e,[{key:"run",value:function(e){if(this.active){var t=w;try{return w=this,e()}finally{w=t}}}},{key:"on",value:function(){w=this}},{key:"off",value:function(){w=this.parent}},{key:"stop",value:function(e){if(this.active){var t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}]),e}();function se(e){return new ue(e)}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;t&&t.active&&t.effects.push(e)}function fe(){return w}function de(e){w&&w.cleanups.push(e)}var pe,he=function(e){var t=new Set(e);return t.w=0,t.n=0,t},ve=function(e){return(e.w&me)>0},ye=function(e){return(e.n&me)>0},be=new WeakMap,ge=0,me=1,_e=Symbol(""),qe=Symbol(""),we=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;s(this,e),this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ce(this,r)}return f(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=pe,t=xe;e;){if(e===this)return;e=e.parent}try{return this.parent=pe,pe=this,xe=!0,me=1<<++ge,ge<=30?function(e){var t=e.deps;if(t.length)for(var n=0;n<t.length;n++)t[n].w|=me}(this):ke(this),this.fn()}finally{ge<=30&&function(e){var t=e.deps;if(t.length){for(var n=0,r=0;r<t.length;r++){var o=t[r];ve(o)&&!ye(o)?o.delete(e):t[n++]=o,o.w&=~me,o.n&=~me}t.length=n}}(this),me=1<<--ge,pe=this.parent,xe=t,this.parent=void 0,this.deferStop&&this.stop()}}},{key:"stop",value:function(){pe===this?this.deferStop=!0:this.active&&(ke(this),this.onStop&&this.onStop(),this.active=!1)}}]),e}();function ke(e){var t=e.deps;if(t.length){for(var n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var xe=!0,Oe=[];function Ee(){Oe.push(xe),xe=!1}function je(){var e=Oe.pop();xe=void 0===e||e}function Ae(e,t,n){if(xe&&pe){var r=be.get(e);r||be.set(e,r=new Map);var o=r.get(n);o||r.set(n,o=he()),Se(o)}}function Se(e,t){var n=!1;ge<=30?ye(e)||(e.n|=me,n=!ve(e)):n=!e.has(pe),n&&(e.add(pe),pe.deps.push(e))}function Ne(e,t,n,r,o,i){var l=be.get(e);if(l){var a=[];if("clear"===t)a=p(l.values());else if("length"===n&&R(e))l.forEach((function(e,t){("length"===t||t>=r)&&a.push(e)}));else switch(void 0!==n&&a.push(l.get(n)),t){case"add":R(e)?G(n)&&a.push(l.get("length")):(a.push(l.get(_e)),I(e)&&a.push(l.get(qe)));break;case"delete":R(e)||(a.push(l.get(_e)),I(e)&&a.push(l.get(qe)));break;case"set":I(e)&&a.push(l.get(_e))}if(1===a.length)a[0]&&Ce(a[0]);else{var s,c=[],f=u(a);try{for(f.s();!(s=f.n()).done;){var d=s.value;d&&c.push.apply(c,p(d))}}catch(h){f.e(h)}finally{f.f()}Ce(he(c))}}}function Ce(e,t){var n,r=R(e)?e:p(e),o=u(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;i.computed&&Te(i)}}catch(c){o.e(c)}finally{o.f()}var l,a=u(r);try{for(a.s();!(l=a.n()).done;){var s=l.value;s.computed||Te(s)}}catch(c){a.e(c)}finally{a.f()}}function Te(e,t){(e!==pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var Pe=n("__proto__,__v_isRef,__isVue"),Le=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(z)),Me=Ue(),Re=Ue(!1,!0),Ie=Ue(!0),Be=Ue(!0,!0),De=Fe();function Fe(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=At(this),n=0,r=this.length;n<r;n++)Ae(e,0,n+"");for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];var a=e[t].apply(e,i);return-1===a||!1===a?e[t].apply(e,p(i.map(At))):a}})),["push","pop","shift","unshift","splice"].forEach((function(t){e[t]=function(){Ee();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=At(this)[t].apply(this,n);return je(),o}})),e}function Ue(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&o===(e?t?mt:gt:t?bt:yt).get(n))return n;var i=R(n);if(!e&&i&&M(De,r))return Reflect.get(De,r,o);var l=Reflect.get(n,r,o);return(z(r)?Le.has(r):Pe(r))?l:(e||Ae(n,0,r),t?l:Lt(l)?i&&G(r)?l:l.value:H(l)?e?wt(l):_t(l):l)}}function ze(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,o){var i=t[n];if(Ot(i)&&Lt(i)&&!Lt(r))return!1;if(!e&&!Ot(r)&&(Et(r)||(r=At(r),i=At(i)),!R(t)&&Lt(i)&&!Lt(r)))return i.value=r,!0;var l=R(t)&&G(n)?Number(n)<t.length:M(t,n),a=Reflect.set(t,n,r,o);return t===At(o)&&(l?oe(r,i)&&Ne(t,"set",n,r):Ne(t,"add",n,r)),a}}var He={get:Me,set:ze(),deleteProperty:function(e,t){var n=M(e,t);e[t];var r=Reflect.deleteProperty(e,t);return r&&n&&Ne(e,"delete",t,void 0),r},has:function(e,t){var n=Reflect.has(e,t);return z(t)&&Le.has(t)||Ae(e,0,t),n},ownKeys:function(e){return Ae(e,0,R(e)?"length":_e),Reflect.ownKeys(e)}},Ve={get:Ie,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ke=T({},He,{get:Re,set:ze(!0)}),$e=T({},Ve,{get:Be}),We=function(e){return e},Ze=function(e){return Reflect.getPrototypeOf(e)};function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=At(e=e.__v_raw),i=At(t);n||(t!==i&&Ae(o,0,t),Ae(o,0,i));var l=Ze(o),a=l.has,u=r?We:n?Ct:Nt;return a.call(o,t)?u(e.get(t)):a.call(o,i)?u(e.get(i)):void(e!==o&&e.get(t))}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=At(n),o=At(e);return t||(e!==o&&Ae(r,0,e),Ae(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&Ae(At(e),0,_e),Reflect.get(e,"size",e)}function Qe(e){e=At(e);var t=At(this);return Ze(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function Je(e,t){t=At(t);var n=At(this),r=Ze(n),o=r.has,i=r.get,l=o.call(n,e);l||(e=At(e),l=o.call(n,e));var a=i.call(n,e);return n.set(e,t),l?oe(t,a)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function et(e){var t=At(this),n=Ze(t),r=n.has,o=n.get,i=r.call(t,e);i||(e=At(e),i=r.call(t,e)),o&&o.call(t,e);var l=t.delete(e);return i&&Ne(t,"delete",e,void 0),l}function tt(){var e=At(this),t=0!==e.size,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function nt(e,t){return function(n,r){var o=this,i=o.__v_raw,l=At(i),a=t?We:e?Ct:Nt;return!e&&Ae(l,0,_e),i.forEach((function(e,t){return n.call(r,a(e),a(t),o)}))}}function rt(e,t,n){return function(){var r=this.__v_raw,o=At(r),i=I(o),l="entries"===e||e===Symbol.iterator&&i,a="keys"===e&&i,u=r[e].apply(r,arguments),s=n?We:t?Ct:Nt;return!t&&Ae(o,0,a?qe:_e),{next(){var e=u.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:l?[s(t[0]),s(t[1])]:s(t),done:n}},[Symbol.iterator](){return this}}}}function ot(e){return function(){return"delete"!==e&&this}}function it(){var e={get(e){return Ge(this,e)},get size(){return Xe(this)},has:Ye,add:Qe,set:Je,delete:et,clear:tt,forEach:nt(!1,!1)},t={get(e){return Ge(this,e,!1,!0)},get size(){return Xe(this)},has:Ye,add:Qe,set:Je,delete:et,clear:tt,forEach:nt(!1,!0)},n={get(e){return Ge(this,e,!0)},get size(){return Xe(this,!0)},has(e){return Ye.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!1)},r={get(e){return Ge(this,e,!0,!0)},get size(){return Xe(this,!0)},has(e){return Ye.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(o){e[o]=rt(o,!1,!1),n[o]=rt(o,!0,!1),t[o]=rt(o,!1,!0),r[o]=rt(o,!0,!0)})),[e,n,t,r]}var lt=d(it(),4),at=lt[0],ut=lt[1],st=lt[2],ct=lt[3];function ft(e,t){var n=t?e?ct:st:e?ut:at;return function(t,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(M(n,r)&&r in t?n:t,r,o)}}var dt={get:ft(!1,!1)},pt={get:ft(!1,!0)},ht={get:ft(!0,!1)},vt={get:ft(!0,!0)},yt=new WeakMap,bt=new WeakMap,gt=new WeakMap,mt=new WeakMap;function _t(e){return Ot(e)?e:kt(e,!1,He,dt,yt)}function qt(e){return kt(e,!1,Ke,pt,bt)}function wt(e){return kt(e,!0,Ve,ht,gt)}function kt(e,t,n,r,o){if(!H(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var i=o.get(e);if(i)return i;var l,a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(W(l));if(0===a)return e;var u=new Proxy(e,2===a?r:n);return o.set(e,u),u}function xt(e){return Ot(e)?xt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ot(e){return!(!e||!e.__v_isReadonly)}function Et(e){return!(!e||!e.__v_isShallow)}function jt(e){return xt(e)||Ot(e)}function At(e){var t=e&&e.__v_raw;return t?At(t):e}function St(e){return le(e,"__v_skip",!0),e}var Nt=function(e){return H(e)?_t(e):e},Ct=function(e){return H(e)?wt(e):e};function Tt(e){xe&&pe&&Se((e=At(e)).dep||(e.dep=he()))}function Pt(e,t){(e=At(e)).dep&&Ce(e.dep)}function Lt(e){return!(!e||!0!==e.__v_isRef)}function Mt(e){return It(e,!1)}function Rt(e){return It(e,!0)}function It(e,t){return Lt(e)?e:new Bt(e,t)}var Bt=function(){function e(t,n){s(this,e),this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:At(t),this._value=n?t:Nt(t)}return f(e,[{key:"value",get:function(){return Tt(this),this._value},set:function(e){e=this.__v_isShallow?e:At(e),oe(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Nt(e),Pt(this))}}]),e}();function Dt(e){Pt(e)}function Ft(e){return Lt(e)?e.value:e}var Ut={get:function(e,t,n){return Ft(Reflect.get(e,t,n))},set:function(e,t,n,r){var o=e[t];return Lt(o)&&!Lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zt(e){return xt(e)?e:new Proxy(e,Ut)}var Ht=function(){function e(t){var n=this;s(this,e),this.dep=void 0,this.__v_isRef=!0;var r=t((function(){return Tt(n)}),(function(){return Pt(n)})),o=r.get,i=r.set;this._get=o,this._set=i}return f(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function Vt(e){var t=R(e)?new Array(e.length):{};for(var n in e)t[n]=$t(e,n);return t}var Kt=function(){function e(t,n,r){s(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}return f(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}}]),e}();function $t(e,t,n){var r=e[t];return Lt(r)?r:new Kt(e,t,n)}var Wt=function(){function e(t,n,r,o){var i=this;s(this,e),this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new we(t,(function(){i._dirty||(i._dirty=!0,Pt(i))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}return f(e,[{key:"value",get:function(){var e=At(this);return Tt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();var Zt=[];function Gt(e){Ee();for(var t=Zt.length?Zt[Zt.length-1].component:null,n=t&&t.appContext.config.warnHandler,r=Yt(),o=arguments.length,i=new Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];if(n)Jt(n,t,11,[e+i.join(""),t&&t.proxy,r.map((function(e){var n=e.vnode;return`at <${$i(t,n.type)}>`})).join("\n"),r]);else{var a,u=[`[Vue warn]: ${e}`].concat(i);r.length&&u.push.apply(u,["\n"].concat(p(Xt(r)))),(a=console).warn.apply(a,p(u))}je()}function Yt(){var e=Zt[Zt.length-1];if(!e)return[];for(var t=[];e;){var n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});var r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Xt(e){var t=[];return e.forEach((function(e,n){var r,o,i,l,a,u,s,c,f,d;t.push.apply(t,p(0===n?[]:["\n"]).concat(p((a=(l=e).vnode,u=l.recurseCount,s=u>0?`... (${u} recursive calls)`:"",c=!!a.component&&null==a.component.parent,f=` at <${$i(a.component,a.type,c)}`,d=">"+s,a.props?[f].concat(p((r=a.props,o=[],(i=Object.keys(r)).slice(0,3).forEach((function(e){o.push.apply(o,p(Qt(e,r[e])))})),i.length>3&&o.push(" ..."),o)),[d]):[f+d]))))})),t}function Qt(e,t,n){return U(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Lt(t)?(t=Qt(e,At(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):F(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),n?t:[`${e}=`,t])}function Jt(e,t,n,r){var o;try{o=r?e.apply(void 0,p(r)):e()}catch(i){tn(i,t,n)}return o}function en(e,t,n,r){if(F(e)){var o=Jt(e,t,n,r);return o&&V(o)&&o.catch((function(e){tn(e,t,n)})),o}for(var i=[],l=0;l<e.length;l++)i.push(en(e[l],t,n,r));return i}function tn(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t?t.vnode:null;if(t){for(var i=t.parent,l=t.proxy,a=n;i;){var u=i.ec;if(u)for(var s=0;s<u.length;s++)if(!1===u[s](e,l,a))return;i=i.parent}var c=t.appContext.config.errorHandler;if(c)return void Jt(c,null,10,[e,l,a])}nn(e,n,o,r)}function nn(e,t,n){console.error(e)}var rn=!1,on=!1,ln=[],an=0,un=[],sn=null,cn=0,fn=[],dn=null,pn=0,hn=Promise.resolve(),vn=null,yn=null;function bn(e){var t=vn||hn;return e?t.then(this?e.bind(this):e):t}function gn(e){ln.length&&ln.includes(e,rn&&e.allowRecurse?an+1:an)||e===yn||(null==e.id?ln.push(e):ln.splice(function(e){for(var t=an+1,n=ln.length;t<n;){var r=t+n>>>1;En(ln[r])<e?t=r+1:n=r}return t}(e.id),0,e),mn())}function mn(){rn||on||(on=!0,vn=hn.then(jn))}function _n(e,t,n,r){R(e)?n.push.apply(n,p(e)):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),mn()}function qn(e){_n(e,sn,un,cn)}function wn(e){_n(e,dn,fn,pn)}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(un.length){for(yn=t,sn=p(new Set(un)),un.length=0,cn=0;cn<sn.length;cn++)sn[cn]();sn=null,cn=0,yn=null,kn(e,t)}}function xn(e){if(kn(),fn.length){var t,n=p(new Set(fn));if(fn.length=0,dn)return void(t=dn).push.apply(t,p(n));for((dn=n).sort((function(e,t){return En(e)-En(t)})),pn=0;pn<dn.length;pn++)dn[pn]();dn=null,pn=0}}var On,En=function(e){return null==e.id?1/0:e.id};function jn(e){on=!1,rn=!0,kn(e),ln.sort((function(e,t){return En(e)-En(t)}));try{for(an=0;an<ln.length;an++){var t=ln[an];t&&!1!==t.active&&Jt(t,null,14)}}finally{an=0,ln.length=0,xn(),rn=!1,vn=null,(ln.length||un.length||fn.length)&&jn(e)}}var An=[];function Sn(e,t){if(!e.isUnmounted){for(var n=e.vnode.props||O,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var l,a=o,u=t.startsWith("update:"),s=u&&t.slice(7);if(s&&s in n){var c=`${"modelValue"===s?"model":s}Modifiers`,f=n[c]||O,d=f.number,p=f.trim;p&&(a=o.map((function(e){return e.trim()}))),d&&(a=o.map(ae))}var h=n[l=re(t)]||n[l=re(J(t))];!h&&u&&(h=n[l=re(te(t))]),h&&en(h,e,6,a);var v=n[l+"Once"];if(v){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,en(v,e,6,a)}}}function Nn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;var i=e.emits,l={},a=!1;if(!F(e)){var u=function(e){var n=Nn(e,t,!0);n&&(a=!0,T(l,n))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return i||a?(R(i)?i.forEach((function(e){return l[e]=null})):T(l,i),r.set(e,l),l):(r.set(e,null),null)}function Cn(e,t){return!(!e||!N(t))&&(t=t.slice(2).replace(/Once$/,""),M(e,t[0].toLowerCase()+t.slice(1))||M(e,te(t))||M(e,t))}var Tn=null,Pn=null;function Ln(e){var t=Tn;return Tn=e,Pn=e&&e.type.__scopeId||null,t}function Mn(e){Pn=e}function Rn(){Pn=null}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tn;if(!t)return e;if(e._n)return e;var n=function n(){n._d&&ii(-1);var r=Ln(t),o=e.apply(void 0,arguments);return Ln(r),n._d&&ii(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function Bn(e){var t,n,r=e.type,o=e.vnode,i=e.proxy,l=e.withProxy,a=e.props,u=d(e.propsOptions,1)[0],s=e.slots,c=e.attrs,f=e.emit,p=e.render,h=e.renderCache,v=e.data,y=e.setupState,b=e.ctx,g=e.inheritAttrs,m=Ln(e);try{if(4&o.shapeFlag){var _=l||i;t=qi(p.call(_,_,h,a,y,v,b)),n=c}else{var q=r;0,t=qi(q.length>1?q(a,{attrs:c,slots:s,emit:f}):q(a,null)),n=r.props?c:Dn(c)}}catch(O){ei.length=0,tn(O,e,1),t=vi(Qo)}var w=t;if(n&&!1!==g){var k=Object.keys(n),x=w.shapeFlag;k.length&&7&x&&(u&&k.some(C)&&(n=Fn(n,u)),w=bi(w,n))}return o.dirs&&((w=bi(w)).dirs=w.dirs?w.dirs.concat(o.dirs):o.dirs),o.transition&&(w.transition=o.transition),t=w,Ln(m),t}var Dn=function(e){var t;for(var n in e)("class"===n||"style"===n||N(n))&&((t||(t={}))[n]=e[n]);return t},Fn=function(e,t){var n={};for(var r in e)C(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Un(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var o=0;o<r.length;o++){var i=r[o];if(t[i]!==e[i]&&!Cn(n,i))return!0}return!1}function zn(e,t){for(var n=e.vnode,r=e.parent;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}var Hn=function(e){return e.__isSuspense},Vn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,l,a,u,s){null==e?function(e,t,n,r,o,i,l,a,u){var s=u.p,c=(0,u.o.createElement)("div"),f=e.suspense=$n(e,o,r,t,c,n,i,l,a,u);s(null,f.pendingBranch=e.ssContent,c,null,r,f,i,l),f.deps>0?(Kn(e,"onPending"),Kn(e,"onFallback"),s(null,e.ssFallback,t,n,r,null,i,l),Gn(f,e.ssFallback)):f.resolve()}(t,n,r,o,i,l,a,u,s):function(e,t,n,r,o,i,l,a,u){var s=u.p,c=u.um,f=u.o.createElement,d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;var p=t.ssContent,h=t.ssFallback,v=d.activeBranch,y=d.pendingBranch,b=d.isInFallback,g=d.isHydrating;if(y)d.pendingBranch=p,ci(p,y)?(s(y,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0?d.resolve():b&&(s(v,h,n,r,o,null,i,l,a),Gn(d,h))):(d.pendingId++,g?(d.isHydrating=!1,d.activeBranch=y):c(y,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),b?(s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0?d.resolve():(s(v,h,n,r,o,null,i,l,a),Gn(d,h))):v&&ci(p,v)?(s(v,p,n,r,o,d,i,l,a),d.resolve(!0)):(s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0&&d.resolve()));else if(v&&ci(p,v))s(v,p,n,r,o,d,i,l,a),Gn(d,p);else if(Kn(t,"onPending"),d.pendingBranch=p,d.pendingId++,s(null,p,d.hiddenContainer,null,o,d,i,l,a),d.deps<=0)d.resolve();else{var m=d.timeout,_=d.pendingId;m>0?setTimeout((function(){d.pendingId===_&&d.fallback(h)}),m):0===m&&d.fallback(h)}}(e,t,n,r,o,l,a,u,s)},hydrate:function(e,t,n,r,o,i,l,a,u){var s=t.suspense=$n(t,r,n,e.parentNode,document.createElement("div"),null,o,i,l,a,!0),c=u(e,s.pendingBranch=t.ssContent,n,s,i,l);0===s.deps&&s.resolve();return c},create:$n,normalize:function(e){var t=e.shapeFlag,n=e.children,r=32&t;e.ssContent=Wn(r?n.default:n),e.ssFallback=r?Wn(n.fallback):vi(Qo)}};function Kn(e,t){var n=e.props&&e.props[t];F(n)&&n()}function $n(e,t,n,r,o,i,l,a,u,s){var c=arguments.length>10&&void 0!==arguments[10]&&arguments[10],f=s.p,d=s.m,h=s.um,v=s.n,y=s.o,b=y.parentNode,g=y.remove,m=ae(e.props&&e.props.timeout),_={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof m?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=_.vnode,n=_.activeBranch,r=_.pendingBranch,o=_.pendingId,i=_.effects,l=_.parentComponent,a=_.container;if(_.isHydrating)_.isHydrating=!1;else if(!e){var u=n&&r.transition&&"out-in"===r.transition.mode;u&&(n.transition.afterLeave=function(){o===_.pendingId&&d(r,a,s,0)});var s=_.anchor;n&&(s=v(n),h(n,l,_,!0)),u||d(r,a,s,0)}Gn(_,r),_.pendingBranch=null,_.isInFallback=!1;for(var c=_.parent,f=!1;c;){if(c.pendingBranch){var y;(y=c.effects).push.apply(y,p(i)),f=!0;break}c=c.parent}f||wn(i),_.effects=[],Kn(t,"onResolve")},fallback(e){if(_.pendingBranch){var t=_.vnode,n=_.activeBranch,r=_.parentComponent,o=_.container,i=_.isSVG;Kn(t,"onFallback");var l=v(n),s=function(){_.isInFallback&&(f(null,e,o,l,r,null,i,a,u),Gn(_,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=s),_.isInFallback=!0,h(n,r,null,!0),c||s()}},move(e,t,n){_.activeBranch&&d(_.activeBranch,e,t,n),_.container=e},next:()=>_.activeBranch&&v(_.activeBranch),registerDep(e,t){var n=!!_.pendingBranch;n&&_.deps++;var r=e.vnode.el;e.asyncDep.catch((function(t){tn(t,e,0)})).then((function(o){if(!e.isUnmounted&&!_.isUnmounted&&_.pendingId===e.suspenseId){e.asyncResolved=!0;var i=e.vnode;Di(e,o,!1),r&&(i.el=r);var a=!r&&e.subTree.el;t(e,i,b(r||e.subTree.el),r?null:v(e.subTree),_,l,u),a&&g(a),zn(e,i.el),n&&0==--_.deps&&_.resolve()}}))},unmount(e,t){_.isUnmounted=!0,_.activeBranch&&h(_.activeBranch,n,e,t),_.pendingBranch&&h(_.pendingBranch,n,e,t)}};return _}function Wn(e){var t;if(F(e)){var n=oi&&e._c;n&&(e._d=!1,ni()),e=e(),n&&(e._d=!0,t=ti,ri())}if(R(e)){var r=function(e){for(var t,n=0;n<e.length;n++){var r=e[n];if(!si(r))return;if(r.type!==Qo||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=r}return e=qi(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((function(t){return t!==e}))),e}function Zn(e,t){var n;t&&t.pendingBranch?R(e)?(n=t.effects).push.apply(n,p(e)):t.effects.push(e):wn(e)}function Gn(e,t){e.activeBranch=t;var n=e.vnode,r=e.parentComponent,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,zn(r,o))}function Yn(e,t){if(Si){var n=Si.provides,r=Si.parent&&Si.parent.provides;r===n&&(n=Si.provides=Object.create(r)),n[e]=t}else;}function Xn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Si||Tn;if(r){var o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&F(t)?t.call(r.proxy):t}}function Qn(e,t){return nr(e,null,t)}function Jn(e,t){return nr(e,null,{flush:"post"})}var er={};function tr(e,t,n){return nr(e,t,n)}function nr(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O,i=o.immediate,l=o.deep,a=o.flush,u=(o.onTrack,o.onTrigger,Si),s=!1,c=!1;if(Lt(e)?(n=function(){return e.value},s=Et(e)):xt(e)?(n=function(){return e},l=!0):R(e)?(c=!0,s=e.some((function(e){return xt(e)||Et(e)})),n=function(){return e.map((function(e){return Lt(e)?e.value:xt(e)?ir(e):F(e)?Jt(e,u,2):void 0}))}):n=F(e)?t?function(){return Jt(e,u,2)}:function(){if(!u||!u.isUnmounted)return r&&r(),en(e,u,3,[d])}:j,t&&l){var f=n;n=function(){return ir(f())}}var d=function(e){r=v.onStop=function(){Jt(e,u,4)}};if(Ri)return d=j,t?i&&en(t,u,3,[n(),c?[]:void 0,d]):n(),j;var p=c?[]:er,h=function(){if(v.active)if(t){var e=v.run();(l||s||(c?e.some((function(e,t){return oe(e,p[t])})):oe(e,p)))&&(r&&r(),en(t,u,3,[e,p===er?void 0:p,d]),p=e)}else v.run()};h.allowRecurse=!!t;var v=new we(n,"sync"===a?h:"post"===a?function(){return Bo(h,u&&u.suspense)}:function(){return qn(h)});return t?i?h():p=v.run():"post"===a?Bo(v.run.bind(v),u&&u.suspense):v.run(),function(){v.stop(),u&&u.scope&&P(u.scope.effects,v)}}function rr(e,t,n){var r,o=this.proxy,i=U(e)?e.includes(".")?or(o,e):function(){return o[e]}:e.bind(o,o);F(t)?r=t:(r=t.handler,n=t);var l=Si;Ci(this);var a=nr(i,r.bind(o),n);return l?Ci(l):Ti(),a}function or(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t}}function ir(e,t){if(!H(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Lt(e))ir(e.value,t);else if(R(e))for(var n=0;n<e.length;n++)ir(e[n],t);else if(B(e)||I(e))e.forEach((function(e){ir(e,t)}));else if(Z(e))for(var r in e)ir(e[r],t);return e}function lr(){var e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cr((function(){e.isMounted=!0})),Lr((function(){e.isUnmounting=!0})),e}var ar=[Function,Array],ur={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ar,onEnter:ar,onAfterEnter:ar,onEnterCancelled:ar,onBeforeLeave:ar,onLeave:ar,onAfterLeave:ar,onLeaveCancelled:ar,onBeforeAppear:ar,onAppear:ar,onAfterAppear:ar,onAppearCancelled:ar},setup(e,t){var n,r=t.slots,o=Ni(),i=lr();return function(){var t=r.default&&hr(r.default(),!0);if(t&&t.length){var l=t[0];if(t.length>1){var a,s=u(t);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(c.type!==Qo){l=c;break}}}catch(q){s.e(q)}finally{s.f()}}var f=At(e),d=f.mode;if(i.isLeaving)return fr(l);var p=dr(l);if(!p)return fr(l);var h=cr(p,f,i,o);pr(p,h);var v=o.subTree,y=v&&dr(v),b=!1,g=p.type.getTransitionKey;if(g){var m=g();void 0===n?n=m:m!==n&&(n=m,b=!0)}if(y&&y.type!==Qo&&(!ci(p,y)||b)){var _=cr(y,f,i,o);if(pr(y,_),"out-in"===d)return i.isLeaving=!0,_.afterLeave=function(){i.isLeaving=!1,o.update()},fr(l);"in-out"===d&&p.type!==Qo&&(_.delayLeave=function(e,t,n){sr(i,y)[String(y.key)]=y,e._leaveCb=function(){t(),e._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return l}}}};function sr(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cr(e,t,n,r){var o=t.appear,i=t.mode,l=t.persisted,a=void 0!==l&&l,u=t.onBeforeEnter,s=t.onEnter,c=t.onAfterEnter,f=t.onEnterCancelled,d=t.onBeforeLeave,p=t.onLeave,h=t.onAfterLeave,v=t.onLeaveCancelled,y=t.onBeforeAppear,b=t.onAppear,g=t.onAfterAppear,m=t.onAppearCancelled,_=String(e.key),q=sr(n,e),w=function(e,t){e&&en(e,r,9,t)},k=function(e,t){var n=t[1];w(e,t),R(e)?e.every((function(e){return e.length<=1}))&&n():e.length<=1&&n()},x={mode:i,persisted:a,beforeEnter(t){var r=u;if(!n.isMounted){if(!o)return;r=y||u}t._leaveCb&&t._leaveCb(!0);var i=q[_];i&&ci(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[t])},enter(e){var t=s,r=c,i=f;if(!n.isMounted){if(!o)return;t=b||s,r=g||c,i=m||f}var l=!1,a=e._enterCb=function(t){l||(l=!0,w(t?i:r,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,a]):a()},leave(t,r){var o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(d,[t]);var i=!1,l=t._leaveCb=function(n){i||(i=!0,r(),w(n?v:h,[t]),t._leaveCb=void 0,q[o]===e&&delete q[o])};q[o]=e,p?k(p,[t,l]):l()},clone:e=>cr(e,t,n,r)};return x}function fr(e){if(gr(e))return(e=bi(e)).children=null,e}function dr(e){return gr(e)?e.children?e.children[0]:void 0:e}function pr(e,t){6&e.shapeFlag&&e.component?pr(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function hr(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],o=0,i=0;i<e.length;i++){var l=e[i],a=null==n?l.key:String(n)+String(null!=l.key?l.key:i);l.type===Yo?(128&l.patchFlag&&o++,r=r.concat(hr(l.children,t,a))):(t||l.type!==Qo)&&r.push(null!=a?bi(l,{key:a}):l)}if(o>1)for(var u=0;u<r.length;u++)r[u].patchFlag=-2;return r}function vr(e){return F(e)?{setup:e,name:e.name}:e}var yr=function(e){return!!e.type.__asyncLoader};function br(e,t){var n=t.vnode,r=n.ref,o=n.props,i=n.children,l=(n.shapeFlag,t.parent,vi(e,o,i));return l.ref=r,l}var gr=function(e){return e.type.__isKeepAlive},mr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,t){var n=t.slots,r=Ni(),o=r.ctx;if(!o.renderer)return function(){var e=n.default&&n.default();return e&&1===e.length?e[0]:e};var i=new Map,l=new Set,a=null,u=r.suspense,s=o.renderer,c=s.p,f=s.m,p=s.um,h=(0,s.o.createElement)("div");function v(e){Er(e),p(e,r,u,!0)}function y(e){i.forEach((function(t,n){var r=Ki(t.type);!r||e&&e(r)||b(n)}))}function b(e){var t=i.get(e);a&&t.type===a.type?a&&Er(a):v(t),i.delete(e),l.delete(e)}o.activate=function(e,t,n,r,o){var i=e.component;f(e,t,n,0,u),c(i.vnode,e,t,n,i,u,r,e.slotScopeIds,o),Bo((function(){i.isDeactivated=!1,i.a&&ie(i.a);var t=e.props&&e.props.onVnodeMounted;t&&Oi(t,i.parent,e)}),u)},o.deactivate=function(e){var t=e.component;f(e,h,null,1,u),Bo((function(){t.da&&ie(t.da);var n=e.props&&e.props.onVnodeUnmounted;n&&Oi(n,t.parent,e),t.isDeactivated=!0}),u)},tr((function(){return[e.include,e.exclude]}),(function(e){var t=d(e,2),n=t[0],r=t[1];n&&y((function(e){return qr(n,e)})),r&&y((function(e){return!qr(r,e)}))}),{flush:"post",deep:!0});var g=null,m=function(){null!=g&&i.set(g,jr(r.subTree))};return Cr(m),Pr(m),Lr((function(){i.forEach((function(e){var t=r.subTree,n=r.suspense,o=jr(t);if(e.type!==o.type)v(e);else{Er(o);var i=o.component.da;i&&Bo(i,n)}}))})),function(){if(g=null,!n.default)return null;var t=n.default(),r=t[0];if(t.length>1)return a=null,t;if(!(si(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;var o=jr(r),u=o.type,s=Ki(yr(o)?o.type.__asyncResolved||{}:u),c=e.include,f=e.exclude,d=e.max;if(c&&(!s||!qr(c,s))||f&&s&&qr(f,s))return a=o,r;var p=null==o.key?u:o.key,h=i.get(p);return o.el&&(o=bi(o),128&r.shapeFlag&&(r.ssContent=o)),g=p,h?(o.el=h.el,o.component=h.component,o.transition&&pr(o,o.transition),o.shapeFlag|=512,l.delete(p),l.add(p)):(l.add(p),d&&l.size>parseInt(d,10)&&b(l.values().next().value)),o.shapeFlag|=256,a=o,Hn(r.type)?r:o}}},_r=e("az",mr);function qr(e,t){return R(e)?e.some((function(e){return qr(e,t)})):U(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function wr(e,t){xr(e,"a",t)}function kr(e,t){xr(e,"da",t)}function xr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Si,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ar(t,r,n),n)for(var o=n.parent;o&&o.parent;)gr(o.parent.vnode)&&Or(r,t,n,o),o=o.parent}function Or(e,t,n,r){var o=Ar(t,e,r,!0);Mr((function(){P(r[t],o)}),n)}function Er(e){var t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function jr(e){return 128&e.shapeFlag?e.ssContent:e}function Ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Si,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=function(){if(!n.isUnmounted){Ee(),Ci(n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var l=en(t,n,e,o);return Ti(),je(),l}});return r?o.unshift(i):o.push(i),i}}var Sr=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Si;return(!Ri||"sp"===e)&&Ar(e,t,n)}},Nr=e("I",Sr("bm")),Cr=e("h",Sr("m")),Tr=e("aj",Sr("bu")),Pr=e("$",Sr("u")),Lr=e("D",Sr("bum")),Mr=e("G",Sr("um")),Rr=Sr("sp"),Ir=Sr("rtg"),Br=Sr("rtc");function Dr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Si;Ar("ec",e,t)}function Fr(e,t){var n=Tn;if(null===n)return e;for(var r=zi(n)||n.proxy,o=e.dirs||(e.dirs=[]),i=0;i<t.length;i++){var l=d(t[i],4),a=l[0],u=l[1],s=l[2],c=l[3],f=void 0===c?O:c;F(a)&&(a={mounted:a,updated:a}),a.deep&&ir(u),o.push({dir:a,instance:r,value:u,oldValue:void 0,arg:s,modifiers:f})}return e}function Ur(e,t,n,r){for(var o=e.dirs,i=t&&t.dirs,l=0;l<o.length;l++){var a=o[l];i&&(a.oldValue=i[l].value);var u=a.dir[r];u&&(Ee(),en(u,n,8,[e.el,a,e,t]),je())}}var zr="components";function Hr(e,t){return Wr(zr,e,!0,t)||e}var Vr=Symbol();function Kr(e){return U(e)?Wr(zr,e,!1)||e:e||Vr}function $r(e){return Wr("directives",e)}function Wr(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=Tn||Si;if(r){var o=r.type;if(e===zr){var i=Ki(o,!1);if(i&&(i===t||i===J(t)||i===ne(J(t))))return o}var l=Zr(r[e]||o[e],t)||Zr(r.appContext[e],t);return!l&&n?o:l}}function Zr(e,t){return e&&(e[t]||e[J(t)]||e[ne(J(t))])}function Gr(e,t,n,r){var o,i=n&&n[r];if(R(e)||U(e)){o=new Array(e.length);for(var l=0,a=e.length;l<a;l++)o[l]=t(e[l],l,void 0,i&&i[l])}else if("number"==typeof e){o=new Array(e);for(var u=0;u<e;u++)o[u]=t(u+1,u,void 0,i&&i[u])}else if(H(e))if(e[Symbol.iterator])o=Array.from(e,(function(e,n){return t(e,n,void 0,i&&i[n])}));else{var s=Object.keys(e);o=new Array(s.length);for(var c=0,f=s.length;c<f;c++){var d=s[c];o[c]=t(e[d],d,c,i&&i[c])}}else o=[];return n&&(n[r]=o),o}function Yr(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(R(r))for(var o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.fn)}return e}function Xr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(Tn.isCE||Tn.parent&&yr(Tn.parent)&&Tn.parent.isCE)return vi("slot","default"===t?null:{name:t},r&&r());var i=e[t];i&&i._c&&(i._d=!1),ni();var l=i&&Qr(i(n)),a=ui(Yo,{key:n.key||`_${t}`},l||(r?r():[]),l&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Qr(e){return e.some((function(e){return!si(e)||e.type!==Qo&&!(e.type===Yo&&!Qr(e.children))}))?e:null}function Jr(e){var t={};for(var n in e)t[re(n)]=e[n];return t}var eo=function e(t){return t?Pi(t)?zi(t)||t.proxy:e(t.parent):null},to=T(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return eo(e.parent)},$root:function(e){return eo(e.root)},$emit:function(e){return e.emit},$options:function(e){return uo(e)},$forceUpdate:function(e){return e.f||(e.f=function(){return gn(e.update)})},$nextTick:function(e){return e.n||(e.n=bn.bind(e.proxy))},$watch:function(e){return rr.bind(e)}}),no={get(e,t){var n,r=e._,o=r.ctx,i=r.setupState,l=r.data,a=r.props,u=r.accessCache,s=r.type,c=r.appContext;if("$"!==t[0]){var f=u[t];if(void 0!==f)switch(f){case 1:return i[t];case 2:return l[t];case 4:return o[t];case 3:return a[t]}else{if(i!==O&&M(i,t))return u[t]=1,i[t];if(l!==O&&M(l,t))return u[t]=2,l[t];if((n=r.propsOptions[0])&&M(n,t))return u[t]=3,a[t];if(o!==O&&M(o,t))return u[t]=4,o[t];oo&&(u[t]=0)}}var d,p,h=to[t];return h?("$attrs"===t&&Ae(r,0,t),h(r)):(d=s.__cssModules)&&(d=d[t])?d:o!==O&&M(o,t)?(u[t]=4,o[t]):(p=c.config.globalProperties,M(p,t)?p[t]:void 0)},set(e,t,n){var r=e._,o=r.data,i=r.setupState,l=r.ctx;return i!==O&&M(i,t)?(i[t]=n,!0):o!==O&&M(o,t)?(o[t]=n,!0):!M(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(l[t]=n,!0))},has(e,t){var n,r=e._,o=r.data,i=r.setupState,l=r.accessCache,a=r.ctx,u=r.appContext,s=r.propsOptions;return!!l[t]||o!==O&&M(o,t)||i!==O&&M(i,t)||(n=s[0])&&M(n,t)||M(a,t)||M(to,t)||M(u.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ro=T({},no,{get(e,t){if(t!==Symbol.unscopables)return no.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!o(t)}),oo=!0;function io(e){var t=uo(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&lo(t.beforeCreate,e,"bc");var o=t.data,i=t.computed,l=t.methods,a=t.watch,u=t.provide,s=t.inject,c=t.created,f=t.beforeMount,d=t.mounted,p=t.beforeUpdate,h=t.updated,v=t.activated,y=t.deactivated,b=(t.beforeDestroy,t.beforeUnmount),g=(t.destroyed,t.unmounted),m=t.render,_=t.renderTracked,q=t.renderTriggered,w=t.errorCaptured,k=t.serverPrefetch,x=t.expose,O=t.inheritAttrs,E=t.components,A=t.directives;t.filters;if(s&&function(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];R(e)&&(e=po(e));var r=function(r){var o=e[r],i=void 0;Lt(i=H(o)?"default"in o?Xn(o.from||r,o.default,!0):Xn(o.from||r):Xn(o))&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){return i.value},set:function(e){return i.value=e}}):t[r]=i};for(var o in e)r(o)}(s,r,null,e.appContext.config.unwrapInjectedRef),l)for(var S in l){var N=l[S];F(N)&&(r[S]=N.bind(n))}if(o){var C=o.call(n,n);H(C)&&(e.data=_t(C))}if(oo=!0,i){var T=function(e){var t=i[e],o=F(t)?t.bind(n,n):F(t.get)?t.get.bind(n,n):j,l=!F(t)&&F(t.set)?t.set.bind(n):j,a=Zi({get:o,set:l});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:function(){return a.value},set:function(e){return a.value=e}})};for(var P in i)T(P)}if(a)for(var L in a)ao(a[L],r,n,L);if(u){var M=F(u)?u.call(n):u;Reflect.ownKeys(M).forEach((function(e){Yn(e,M[e])}))}function I(e,t){R(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(c&&lo(c,e,"c"),I(Nr,f),I(Cr,d),I(Tr,p),I(Pr,h),I(wr,v),I(kr,y),I(Dr,w),I(Br,_),I(Ir,q),I(Lr,b),I(Mr,g),I(Rr,k),R(x))if(x.length){var B=e.exposed||(e.exposed={});x.forEach((function(e){Object.defineProperty(B,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});m&&e.render===j&&(e.render=m),null!=O&&(e.inheritAttrs=O),E&&(e.components=E),A&&(e.directives=A)}function lo(e,t,n){en(R(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function ao(e,t,n,r){var o=r.includes(".")?or(n,r):function(){return n[r]};if(U(e)){var i=t[e];F(i)&&tr(o,i)}else if(F(e))tr(o,e.bind(n));else if(H(e))if(R(e))e.forEach((function(e){return ao(e,t,n,r)}));else{var l=F(e.handler)?e.handler.bind(n):t[e.handler];F(l)&&tr(o,l,e)}}function uo(e){var t,n=e.type,r=n.mixins,o=n.extends,i=e.appContext,l=i.mixins,a=i.optionsCache,u=i.config.optionMergeStrategies,s=a.get(n);return s?t=s:l.length||r||o?(t={},l.length&&l.forEach((function(e){return so(t,e,u,!0)})),so(t,n,u)):t=n,a.set(n,t),t}function so(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t.mixins,i=t.extends;for(var l in i&&so(e,i,n,!0),o&&o.forEach((function(t){return so(e,t,n,!0)})),t)if(r&&"expose"===l);else{var a=co[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}var co={data:fo,props:vo,emits:vo,methods:vo,computed:vo,beforeCreate:ho,created:ho,beforeMount:ho,mounted:ho,beforeUpdate:ho,updated:ho,beforeDestroy:ho,beforeUnmount:ho,destroyed:ho,unmounted:ho,activated:ho,deactivated:ho,errorCaptured:ho,serverPrefetch:ho,components:vo,directives:vo,watch:function(e,t){if(!e)return t;if(!t)return e;var n=T(Object.create(null),e);for(var r in t)n[r]=ho(e[r],t[r]);return n},provide:fo,inject:function(e,t){return vo(po(e),po(t))}};function fo(e,t){return t?e?function(){return T(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function po(e){if(R(e)){for(var t={},n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ho(e,t){return e?p(new Set([].concat(e,t))):t}function vo(e,t){return e?T(T(Object.create(null),e),t):t}function yo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},i={};for(var l in le(i,fi,1),e.propsDefaults=Object.create(null),bo(e,t,o,i),e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:qt(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function bo(e,t,n,r){var o,i=d(e.propsOptions,2),l=i[0],a=i[1],u=!1;if(t)for(var s in t)if(!Y(s)){var c=t[s],f=void 0;l&&M(l,f=J(s))?a&&a.includes(f)?(o||(o={}))[f]=c:n[f]=c:Cn(e.emitsOptions,s)||s in r&&c===r[s]||(r[s]=c,u=!0)}if(a)for(var p=At(n),h=o||O,v=0;v<a.length;v++){var y=a[v];n[y]=go(l,p,y,h[y],e,!M(h,y))}return u}function go(e,t,n,r,o,i){var l=e[n];if(null!=l){var a=M(l,"default");if(a&&void 0===r){var u=l.default;if(l.type!==Function&&F(u)){var s=o.propsDefaults;n in s?r=s[n]:(Ci(o),r=s[n]=u.call(null,t),Ti())}else r=u}l[0]&&(i&&!a?r=!1:!l[1]||""!==r&&r!==te(n)||(r=!0))}return r}function mo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,o=r.get(e);if(o)return o;var i=e.props,l={},a=[],u=!1;if(!F(e)){var s=function(e){u=!0;var n=d(mo(e,t,!0),2),r=n[0],o=n[1];T(l,r),o&&a.push.apply(a,p(o))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!i&&!u)return r.set(e,E),E;if(R(i))for(var c=0;c<i.length;c++){var f=J(i[c]);_o(f)&&(l[f]=O)}else if(i)for(var h in i){var v=J(h);if(_o(v)){var y=i[h],b=l[v]=R(y)||F(y)?{type:y}:y;if(b){var g=ko(Boolean,b.type),m=ko(String,b.type);b[0]=g>-1,b[1]=m<0||g<m,(g>-1||M(b,"default"))&&a.push(v)}}}var _=[l,a];return r.set(e,_),_}function _o(e){return"$"!==e[0]}function qo(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function wo(e,t){return qo(e)===qo(t)}function ko(e,t){return R(t)?t.findIndex((function(t){return wo(t,e)})):F(t)&&wo(t,e)?0:-1}var xo=function(e){return"_"===e[0]||"$stable"===e},Oo=function(e){return R(e)?e.map(qi):[qi(e)]},Eo=function(e,t,n){if(t._n)return t;var r=In((function(){return Oo(t.apply(void 0,arguments))}),n);return r._c=!1,r},jo=function(e,t,n){var r=e._ctx;for(var o in e)if(!xo(o)){var i=e[o];F(i)?t[o]=Eo(0,i,r):null!=i&&function(){var e=Oo(i);t[o]=function(){return e}}()}},Ao=function(e,t){var n=Oo(t);e.slots.default=function(){return n}},So=function(e,t){if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=At(t),le(t,"_",n)):jo(t,e.slots={})}else e.slots={},t&&Ao(e,t);le(e.slots,fi,1)};function No(){return{app:null,config:{isNativeTag:A,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Co=0;function To(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(n)||(n=Object.assign({},n)),null==r||H(r)||(r=null);var o=No(),i=new Set,l=!1,a=o.app={_uid:Co++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:tl,get config(){return o.config},set config(e){},use(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.has(e)||(e&&F(e.install)?(i.add(e),e.install.apply(e,[a].concat(n))):F(e)&&(i.add(e),e.apply(void 0,[a].concat(n)))),a},mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(i,u,s){if(!l){var c=vi(n,r);return c.appContext=o,u&&t?t(c,i):e(c,i,s),l=!0,a._container=i,i.__vue_app__=a,zi(c.component)||c.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a)};return a}}function Po(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(R(e))e.forEach((function(e,i){return Po(e,t&&(R(t)?t[i]:t),n,r,o)}));else if(!yr(r)||o){var i=4&r.shapeFlag?zi(r.component)||r.component.proxy:r.el,l=o?null:i,a=e.i,u=e.r,s=t&&t.r,c=a.refs===O?a.refs={}:a.refs,f=a.setupState;if(null!=s&&s!==u&&(U(s)?(c[s]=null,M(f,s)&&(f[s]=null)):Lt(s)&&(s.value=null)),F(u))Jt(u,a,12,[l,c]);else{var d=U(u),p=Lt(u);if(d||p){var h=function(){if(e.f){var t=d?c[u]:u.value;o?R(t)&&P(t,i):R(t)?t.includes(i)||t.push(i):d?(c[u]=[i],M(f,u)&&(f[u]=c[u])):(u.value=[i],e.k&&(c[e.k]=u.value))}else d?(c[u]=l,M(f,u)&&(f[u]=l)):p&&(u.value=l,e.k&&(c[e.k]=l))};l?(h.id=-1,Bo(h,n)):h()}}}}var Lo=!1,Mo=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},Ro=function(e){return 8===e.nodeType};function Io(e){var t=e.mt,n=e.p,r=e.o,o=r.patchProp,i=r.createText,l=r.nextSibling,a=r.parentNode,u=r.remove,s=r.insert,c=r.createComment,f=function n(r,o,u,c,f){var b=arguments.length>5&&void 0!==arguments[5]&&arguments[5],g=Ro(r)&&"["===r.data,m=function(){return v(r,o,u,c,f,g)},_=o.type,q=o.ref,w=o.shapeFlag,k=o.patchFlag,x=r.nodeType;o.el=r,-2===k&&(b=!1,o.dynamicChildren=null);var O=null;switch(_){case Xo:3!==x?""===o.children?(s(o.el=i(""),a(r),r),O=r):O=m():(r.data!==o.children&&(Lo=!0,r.data=o.children),O=l(r));break;case Qo:O=8!==x||g?m():l(r);break;case Jo:if(1===x||3===x){O=r;for(var E=!o.children.length,j=0;j<o.staticCount;j++)E&&(o.children+=1===O.nodeType?O.outerHTML:O.data),j===o.staticCount-1&&(o.anchor=O),O=l(O);return O}O=m();break;case Yo:O=g?h(r,o,u,c,f,b):m();break;default:if(1&w)O=1!==x||o.type.toLowerCase()!==r.tagName.toLowerCase()?m():d(r,o,u,c,f,b);else if(6&w){o.slotScopeIds=f;var A,S=a(r);if(t(o,S,null,u,c,Mo(S),b),(O=g?y(r):l(r))&&Ro(O)&&"teleport end"===O.data&&(O=l(O)),yr(o))g?(A=vi(Yo)).anchor=O?O.previousSibling:S.lastChild:A=3===r.nodeType?gi(""):vi("div"),A.el=r,o.component.subTree=A}else 64&w?O=8!==x?m():o.type.hydrate(r,o,u,c,f,b,e,p):128&w&&(O=o.type.hydrate(r,o,u,c,Mo(a(r)),f,b,e,n))}return null!=q&&Po(q,null,c,o),O},d=function(e,t,n,r,i,l){l=l||!!t.dynamicChildren;var a=t.type,s=t.props,c=t.patchFlag,f=t.shapeFlag,d=t.dirs,h="input"===a&&d||"option"===a;if(h||-1!==c){if(d&&Ur(t,null,n,"created"),s)if(h||!l||48&c)for(var v in s)(h&&v.endsWith("value")||N(v)&&!Y(v))&&o(e,v,null,s[v],!1,void 0,n);else s.onClick&&o(e,"onClick",null,s.onClick,!1,void 0,n);var y;if((y=s&&s.onVnodeBeforeMount)&&Oi(y,n,t),d&&Ur(t,null,n,"beforeMount"),((y=s&&s.onVnodeMounted)||d)&&Zn((function(){y&&Oi(y,n,t),d&&Ur(t,null,n,"mounted")}),r),16&f&&(!s||!s.innerHTML&&!s.textContent))for(var b=p(e.firstChild,t,e,n,r,i,l);b;){Lo=!0;var g=b;b=b.nextSibling,u(g)}else 8&f&&e.textContent!==t.children&&(Lo=!0,e.textContent=t.children)}return e.nextSibling},p=function(e,t,r,o,i,l,a){a=a||!!t.dynamicChildren;for(var u=t.children,s=u.length,c=0;c<s;c++){var d=a?u[c]:u[c]=qi(u[c]);if(e)e=f(e,d,o,i,l,a);else{if(d.type===Xo&&!d.children)continue;Lo=!0,n(null,d,r,null,o,i,Mo(r),l)}}return e},h=function(e,t,n,r,o,i){var u=t.slotScopeIds;u&&(o=o?o.concat(u):u);var f=a(e),d=p(l(e),t,f,n,r,o,i);return d&&Ro(d)&&"]"===d.data?l(t.anchor=d):(Lo=!0,s(t.anchor=c("]"),f,d),d)},v=function(e,t,r,o,i,s){if(Lo=!0,t.el=null,s)for(var c=y(e);;){var f=l(e);if(!f||f===c)break;u(f)}var d=l(e),p=a(e);return u(e),n(null,t,p,d,r,o,Mo(p),i),d},y=function(e){for(var t=0;e;)if((e=l(e))&&Ro(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return l(e);t--}return e};return[function(e,t){if(!t.hasChildNodes())return n(null,e,t),xn(),void(t._vnode=e);Lo=!1,f(t.firstChild,e,null,null,null),xn(),t._vnode=e,Lo&&console.error("Hydration completed but contains mismatches.")},f]}var Bo=Zn;function Do(e){return Uo(e)}function Fo(e){return Uo(e,Io)}function Uo(e,t){(q||(q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;var n,r,o=e.insert,i=e.remove,l=e.patchProp,a=e.createElement,u=e.createText,s=e.createComment,c=e.setText,f=e.setElementText,p=e.parentNode,h=e.nextSibling,v=e.setScopeId,y=void 0===v?j:v,b=e.cloneNode,g=e.insertStaticContent,m=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!ci(e,t)&&(r=ee(e),W(e,o,i,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);var s=t.type,c=t.ref,f=t.shapeFlag;switch(s){case Xo:_(e,t,n,r);break;case Qo:w(e,t,n,r);break;case Jo:null==e&&k(t,n,r,l);break;case Yo:I(e,t,n,r,o,i,l,a,u);break;default:1&f?A(e,t,n,r,o,i,l,a,u):6&f?B(e,t,n,r,o,i,l,a,u):(64&f||128&f)&&s.process(e,t,n,r,o,i,l,a,u,re)}null!=c&&o&&Po(c,e&&e.ref,i,t||e,!t)}},_=function(e,t,n,r){if(null==e)o(t.el=u(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&c(i,t.children)}},w=function(e,t,n,r){null==e?o(t.el=s(t.children||""),n,r):t.el=e.el},k=function(e,t,n,r){var o=d(g(e.children,t,n,r,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},x=function(e,t,n){for(var r,i=e.el,l=e.anchor;i&&i!==l;)r=h(i),o(i,t,n),i=r;o(l,t,n)},A=function(e,t,n,r,o,i,l,a,u){l=l||"svg"===t.type,null==e?S(t,n,r,o,i,l,a,u):P(e,t,o,i,l,a,u)},S=function(e,t,n,r,i,u,s,c){var d,p,h=e.type,v=e.props,y=e.shapeFlag,g=e.transition,m=e.patchFlag,_=e.dirs;if(e.el&&void 0!==b&&-1===m)d=e.el=b(e.el);else{if(d=e.el=a(e.type,u,v&&v.is,v),8&y?f(d,e.children):16&y&&C(e.children,d,null,r,i,u&&"foreignObject"!==h,s,c),_&&Ur(e,null,r,"created"),v){for(var q in v)"value"===q||Y(q)||l(d,q,null,v[q],u,e.children,r,i,Q);"value"in v&&l(d,"value",null,v.value),(p=v.onVnodeBeforeMount)&&Oi(p,r,e)}N(d,e,e.scopeId,s,r)}_&&Ur(e,null,r,"beforeMount");var w=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;w&&g.beforeEnter(d),o(d,t,n),((p=v&&v.onVnodeMounted)||w||_)&&Bo((function(){p&&Oi(p,r,e),w&&g.enter(d),_&&Ur(e,null,r,"mounted")}),i)},N=function e(t,n,r,o,i){if(r&&y(t,r),o)for(var l=0;l<o.length;l++)y(t,o[l]);if(i&&n===i.subTree){var a=i.vnode;e(t,a,a.scopeId,a.slotScopeIds,i.parent)}},C=function(e,t,n,r,o,i,l,a){for(var u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,s=u;s<e.length;s++){var c=e[s]=a?wi(e[s]):qi(e[s]);m(null,c,t,n,r,o,i,l,a)}},P=function(e,t,n,r,o,i,a){var u=t.el=e.el,s=t.patchFlag,c=t.dynamicChildren,d=t.dirs;s|=16&e.patchFlag;var p,h=e.props||O,v=t.props||O;n&&zo(n,!1),(p=v.onVnodeBeforeUpdate)&&Oi(p,n,t,e),d&&Ur(t,e,n,"beforeUpdate"),n&&zo(n,!0);var y=o&&"foreignObject"!==t.type;if(c?L(e.dynamicChildren,c,u,n,r,y,i):a||H(e,t,u,null,n,r,y,i,!1),s>0){if(16&s)R(u,t,h,v,n,r,o);else if(2&s&&h.class!==v.class&&l(u,"class",null,v.class,o),4&s&&l(u,"style",h.style,v.style,o),8&s)for(var b=t.dynamicProps,g=0;g<b.length;g++){var m=b[g],_=h[m],q=v[m];q===_&&"value"!==m||l(u,m,_,q,o,e.children,n,r,Q)}1&s&&e.children!==t.children&&f(u,t.children)}else a||null!=c||R(u,t,h,v,n,r,o);((p=v.onVnodeUpdated)||d)&&Bo((function(){p&&Oi(p,n,t,e),d&&Ur(t,e,n,"updated")}),r)},L=function(e,t,n,r,o,i,l){for(var a=0;a<t.length;a++){var u=e[a],s=t[a],c=u.el&&(u.type===Yo||!ci(u,s)||70&u.shapeFlag)?p(u.el):n;m(u,s,c,null,r,o,i,l,!0)}},R=function(e,t,n,r,o,i,a){if(n!==r){for(var u in r)if(!Y(u)){var s=r[u],c=n[u];s!==c&&"value"!==u&&l(e,u,c,s,a,t.children,o,i,Q)}if(n!==O)for(var f in n)Y(f)||f in r||l(e,f,n[f],null,a,t.children,o,i,Q);"value"in r&&l(e,"value",n.value,r.value)}},I=function(e,t,n,r,i,l,a,s,c){var f=t.el=e?e.el:u(""),d=t.anchor=e?e.anchor:u(""),p=t.patchFlag,h=t.dynamicChildren,v=t.slotScopeIds;v&&(s=s?s.concat(v):v),null==e?(o(f,n,r),o(d,n,r),C(t.children,n,d,i,l,a,s,c)):p>0&&64&p&&h&&e.dynamicChildren?(L(e.dynamicChildren,h,n,i,l,a,s),(null!=t.key||i&&t===i.subTree)&&Ho(e,t,!0)):H(e,t,n,d,i,l,a,s,c)},B=function(e,t,n,r,o,i,l,a,u){t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,l,u):D(t,n,r,o,i,l,u):F(e,t,u)},D=function(e,t,n,r,o,i,l){var a=e.component=Ai(e,r,o);if(gr(e)&&(a.ctx.renderer=re),Ii(a),a.asyncDep){if(o&&o.registerDep(a,U),!e.el){var u=a.subTree=vi(Qo);w(null,u,t,n)}}else U(a,e,t,n,o,i,l)},F=function(e,t,n){var r,o,i=t.component=e.component;if(function(e,t,n){var r=e.props,o=e.children,i=e.component,l=t.props,a=t.children,u=t.patchFlag,s=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&u>=0))return!(!o&&!a||a&&a.$stable)||r!==l&&(r?!l||Un(r,l,s):!!l);if(1024&u)return!0;if(16&u)return r?Un(r,l,s):!!l;if(8&u)for(var c=t.dynamicProps,f=0;f<c.length;f++){var d=c[f];if(l[d]!==r[d]&&!Cn(s,d))return!0}return!1}(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void z(i,t,n);i.next=t,r=i.update,(o=ln.indexOf(r))>an&&ln.splice(o,1),i.update()}else t.el=e.el,i.vnode=t},U=function(e,t,n,o,i,l,a){var u=e.effect=new we((function(){if(e.isMounted){var u,s=e.next,c=e.bu,f=e.u,d=e.parent,h=e.vnode,v=s;zo(e,!1),s?(s.el=h.el,z(e,s,a)):s=h,c&&ie(c),(u=s.props&&s.props.onVnodeBeforeUpdate)&&Oi(u,d,s,h),zo(e,!0);var y=Bn(e),b=e.subTree;e.subTree=y,m(b,y,p(b.el),ee(b),e,i,l),s.el=y.el,null===v&&zn(e,y.el),f&&Bo(f,i),(u=s.props&&s.props.onVnodeUpdated)&&Bo((function(){return Oi(u,d,s,h)}),i)}else{var g,_=t,q=_.el,w=_.props,k=e.bm,x=e.m,O=e.parent,E=yr(t);if(zo(e,!1),k&&ie(k),!E&&(g=w&&w.onVnodeBeforeMount)&&Oi(g,O,t),zo(e,!0),q&&r){var j=function(){e.subTree=Bn(e),r(q,e.subTree,e,i,null)};E?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&j()})):j()}else{var A=e.subTree=Bn(e);m(null,A,n,o,e,i,l),t.el=A.el}if(x&&Bo(x,i),!E&&(g=w&&w.onVnodeMounted)){var S=t;Bo((function(){return Oi(g,O,S)}),i)}(256&t.shapeFlag||O&&yr(O.vnode)&&256&O.vnode.shapeFlag)&&e.a&&Bo(e.a,i),e.isMounted=!0,t=n=o=null}}),(function(){return gn(s)}),e.scope),s=e.update=function(){return u.run()};s.id=e.uid,zo(e,!0),s()},z=function(e,t,n){t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var o=e.props,i=e.attrs,l=e.vnode.patchFlag,a=At(o),u=d(e.propsOptions,1)[0],s=!1;if(!(r||l>0)||16&l){var c;for(var f in bo(e,t,o,i)&&(s=!0),a)t&&(M(t,f)||(c=te(f))!==f&&M(t,c))||(u?!n||void 0===n[f]&&void 0===n[c]||(o[f]=go(u,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(var p in i)t&&M(t,p)||(delete i[p],s=!0)}else if(8&l)for(var h=e.vnode.dynamicProps,v=0;v<h.length;v++){var y=h[v];if(!Cn(e.emitsOptions,y)){var b=t[y];if(u)if(M(i,y))b!==i[y]&&(i[y]=b,s=!0);else{var g=J(y);o[g]=go(u,a,g,b,e,!1)}else b!==i[y]&&(i[y]=b,s=!0)}}s&&Ne(e,"set","$attrs")}(e,t.props,r,n),function(e,t,n){var r=e.vnode,o=e.slots,i=!0,l=O;if(32&r.shapeFlag){var a=t._;a?n&&1===a?i=!1:(T(o,t),n||1!==a||delete o._):(i=!t.$stable,jo(t,o)),l=t}else t&&(Ao(e,t),l={default:1});if(i)for(var u in o)xo(u)||u in l||delete o[u]}(e,t.children,n),Ee(),kn(void 0,e.update),je()},H=function(e,t,n,r,o,i,l,a){var u=arguments.length>8&&void 0!==arguments[8]&&arguments[8],s=e&&e.children,c=e?e.shapeFlag:0,d=t.children,p=t.patchFlag,h=t.shapeFlag;if(p>0){if(128&p)return void K(s,d,n,r,o,i,l,a,u);if(256&p)return void V(s,d,n,r,o,i,l,a,u)}8&h?(16&c&&Q(s,o,i),d!==s&&f(n,d)):16&c?16&h?K(s,d,n,r,o,i,l,a,u):Q(s,o,i,!0):(8&c&&f(n,""),16&h&&C(d,n,r,o,i,l,a,u))},V=function(e,t,n,r,o,i,l,a,u){t=t||E;var s,c=(e=e||E).length,f=t.length,d=Math.min(c,f);for(s=0;s<d;s++){var p=t[s]=u?wi(t[s]):qi(t[s]);m(e[s],p,n,null,o,i,l,a,u)}c>f?Q(e,o,i,!0,!1,d):C(t,n,r,o,i,l,a,u,d)},K=function(e,t,n,r,o,i,l,a,u){for(var s=0,c=t.length,f=e.length-1,d=c-1;s<=f&&s<=d;){var p=e[s],h=t[s]=u?wi(t[s]):qi(t[s]);if(!ci(p,h))break;m(p,h,n,null,o,i,l,a,u),s++}for(;s<=f&&s<=d;){var v=e[f],y=t[d]=u?wi(t[d]):qi(t[d]);if(!ci(v,y))break;m(v,y,n,null,o,i,l,a,u),f--,d--}if(s>f){if(s<=d)for(var b=d+1,g=b<c?t[b].el:r;s<=d;)m(null,t[s]=u?wi(t[s]):qi(t[s]),n,g,o,i,l,a,u),s++}else if(s>d)for(;s<=f;)W(e[s],o,i,!0),s++;else{var _,q=s,w=s,k=new Map;for(s=w;s<=d;s++){var x=t[s]=u?wi(t[s]):qi(t[s]);null!=x.key&&k.set(x.key,s)}var O=0,j=d-w+1,A=!1,S=0,N=new Array(j);for(s=0;s<j;s++)N[s]=0;for(s=q;s<=f;s++){var C=e[s];if(O>=j)W(C,o,i,!0);else{var T=void 0;if(null!=C.key)T=k.get(C.key);else for(_=w;_<=d;_++)if(0===N[_-w]&&ci(C,t[_])){T=_;break}void 0===T?W(C,o,i,!0):(N[T-w]=s+1,T>=S?S=T:A=!0,m(C,t[T],n,null,o,i,l,a,u),O++)}}var P=A?function(e){var t,n,r,o,i,l=e.slice(),a=[0],u=e.length;for(t=0;t<u;t++){var s=e[t];if(0!==s){if(e[n=a[a.length-1]]<s){l[t]=n,a.push(t);continue}for(r=0,o=a.length-1;r<o;)e[a[i=r+o>>1]]<s?r=i+1:o=i;s<e[a[r]]&&(r>0&&(l[t]=a[r-1]),a[r]=t)}}r=a.length,o=a[r-1];for(;r-- >0;)a[r]=o,o=l[o];return a}(N):E;for(_=P.length-1,s=j-1;s>=0;s--){var L=w+s,M=t[L],R=L+1<c?t[L+1].el:r;0===N[s]?m(null,M,n,R,o,i,l,a,u):A&&(_<0||s!==P[_]?$(M,n,R,2):_--)}}},$=function e(t,n,r,i){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=t.el,u=t.type,s=t.transition,c=t.children,f=t.shapeFlag;if(6&f)e(t.component.subTree,n,r,i);else if(128&f)t.suspense.move(n,r,i);else if(64&f)u.move(t,n,r,re);else if(u!==Yo)if(u!==Jo){var d=2!==i&&1&f&&s;if(d)if(0===i)s.beforeEnter(a),o(a,n,r),Bo((function(){return s.enter(a)}),l);else{var p=s.leave,h=s.delayLeave,v=s.afterLeave,y=function(){return o(a,n,r)},b=function(){p(a,(function(){y(),v&&v()}))};h?h(a,y,b):b()}else o(a,n,r)}else x(t,n,r);else{o(a,n,r);for(var g=0;g<c.length;g++)e(c[g],n,r,i);o(t.anchor,n,r)}},W=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=e.type,l=e.props,a=e.ref,u=e.children,s=e.dynamicChildren,c=e.shapeFlag,f=e.patchFlag,d=e.dirs;if(null!=a&&Po(a,null,n,e,!0),256&c)t.ctx.deactivate(e);else{var p,h=1&c&&d,v=!yr(e);if(v&&(p=l&&l.onVnodeBeforeUnmount)&&Oi(p,t,e),6&c)X(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);h&&Ur(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,o,re,r):s&&(i!==Yo||f>0&&64&f)?Q(s,t,n,!1,!0):(i===Yo&&384&f||!o&&16&c)&&Q(u,t,n),r&&Z(e)}(v&&(p=l&&l.onVnodeUnmounted)||h)&&Bo((function(){p&&Oi(p,t,e),h&&Ur(e,null,t,"unmounted")}),n)}},Z=function(e){var t=e.type,n=e.el,r=e.anchor,o=e.transition;if(t!==Yo)if(t!==Jo){var l=function(){i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var a=o.leave,u=o.delayLeave,s=function(){return a(n,l)};u?u(e.el,l,s):s()}else l()}else!function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=h(n),i(n),n=t;i(r)}(e);else G(n,r)},G=function(e,t){for(var n;e!==t;)n=h(e),i(e),e=n;i(t)},X=function(e,t,n){var r=e.bum,o=e.scope,i=e.update,l=e.subTree,a=e.um;r&&ie(r),o.stop(),i&&(i.active=!1,W(l,e,t,n)),a&&Bo(a,t),Bo((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,l=i;l<e.length;l++)W(e[l],t,n,r,o)},ee=function e(t){return 6&t.shapeFlag?e(t.component.subTree):128&t.shapeFlag?t.suspense.next():h(t.anchor||t.el)},ne=function(e,t,n){null==e?t._vnode&&W(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),xn(),t._vnode=e},re={p:m,um:W,m:$,r:Z,mt:D,mc:C,pc:H,pbc:L,n:ee,o:e};if(t){var oe=d(t(re),2);n=oe[0],r=oe[1]}return{render:ne,hydrate:n,createApp:To(ne,n)}}function zo(e,t){var n=e.effect,r=e.update;n.allowRecurse=r.allowRecurse=t}function Ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=t.children;if(R(r)&&R(o))for(var i=0;i<r.length;i++){var l=r[i],a=o[i];1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||32===a.patchFlag)&&((a=o[i]=wi(o[i])).el=l.el),n||Ho(l,a))}}var Vo=function(e){return e.__isTeleport},Ko=function(e){return e&&(e.disabled||""===e.disabled)},$o=function(e){return"undefined"!=typeof SVGElement&&e instanceof SVGElement},Wo=function(e,t){var n=e&&e.to;return U(n)?t?t(n):null:n};function Zo(e,t,n,r){var o=r.o.insert,i=r.m,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;0===l&&o(e.targetAnchor,t,n);var a=e.el,u=e.anchor,s=e.shapeFlag,c=e.children,f=e.props,d=2===l;if(d&&o(a,t,n),(!d||Ko(f))&&16&s)for(var p=0;p<c.length;p++)i(c[p],t,n,2);d&&o(u,t,n)}var Go=e("a6",{__isTeleport:!0,process(e,t,n,r,o,i,l,a,u,s){var c=s.mc,f=s.pc,d=s.pbc,p=s.o,h=p.insert,v=p.querySelector,y=p.createText,b=(p.createComment,Ko(t.props)),g=t.shapeFlag,m=t.children,_=t.dynamicChildren;if(null==e){var q=t.el=y(""),w=t.anchor=y("");h(q,n,r),h(w,n,r);var k=t.target=Wo(t.props,v),x=t.targetAnchor=y("");k&&(h(x,k),l=l||$o(k));var O=function(e,t){16&g&&c(m,e,t,o,i,l,a,u)};b?O(n,w):k&&O(k,x)}else{t.el=e.el;var E=t.anchor=e.anchor,j=t.target=e.target,A=t.targetAnchor=e.targetAnchor,S=Ko(e.props),N=S?n:j,C=S?E:A;if(l=l||$o(j),_?(d(e.dynamicChildren,_,N,o,i,l,a),Ho(e,t,!0)):u||f(e,t,N,C,o,i,l,a,!1),b)S||Zo(t,n,E,s,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){var T=t.target=Wo(t.props,v);T&&Zo(t,T,null,s,0)}else S&&Zo(t,j,A,s,1)}},remove(e,t,n,r,o,i){var l=o.um,a=o.o.remove,u=e.shapeFlag,s=e.children,c=e.anchor,f=e.targetAnchor,d=e.target,p=e.props;if(d&&a(f),(i||!Ko(p))&&(a(c),16&u))for(var h=0;h<s.length;h++){var v=s[h];l(v,t,n,!0,!!v.dynamicChildren)}},move:Zo,hydrate:function(e,t,n,r,o,i,l,a){var u=l.o,s=u.nextSibling,c=u.parentNode,f=u.querySelector,d=t.target=Wo(t.props,f);if(d){var p=d._lpa||d.firstChild;if(16&t.shapeFlag)if(Ko(t.props))t.anchor=a(s(e),t,c(e),n,r,o,i),t.targetAnchor=p;else{t.anchor=s(e);for(var h=p;h;)if((h=s(h))&&8===h.nodeType&&"teleport anchor"===h.data){t.targetAnchor=h,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}a(p,t,d,n,r,o,i)}}return t.anchor&&s(t.anchor)}}),Yo=e("F",Symbol(void 0)),Xo=e("a3",Symbol(void 0)),Qo=e("C",Symbol(void 0)),Jo=Symbol(void 0),ei=[],ti=null;function ni(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ei.push(ti=e?null:[])}function ri(){ei.pop(),ti=ei[ei.length-1]||null}var oi=1;function ii(e){oi+=e}function li(e){return e.dynamicChildren=oi>0?ti||E:null,ri(),oi>0&&ti&&ti.push(e),e}function ai(e,t,n,r,o,i){return li(hi(e,t,n,r,o,i,!0))}function ui(e,t,n,r,o){return li(vi(e,t,n,r,o,!0))}function si(e){return!!e&&!0===e.__v_isVNode}function ci(e,t){return e.type===t.type&&e.key===t.key}var fi="__vInternal",di=function(e){var t=e.key;return null!=t?t:null},pi=function(e){var t=e.ref,n=e.ref_key,r=e.ref_for;return null!=t?U(t)||Lt(t)||F(t)?{i:Tn,r:t,k:n,f:!!r}:t:null};function hi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Yo?0:1,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&pi(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(ki(u,n),128&i&&e.normalize(u)):n&&(u.shapeFlag|=U(n)?8:16),oi>0&&!l&&ti&&(u.patchFlag>0||6&i)&&32!==u.patchFlag&&ti.push(u),u}var vi=e("Y",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==Vr||(e=Qo);if(si(e)){var l=bi(e,t,!0);return n&&ki(l,n),oi>0&&!i&&ti&&(6&l.shapeFlag?ti[ti.indexOf(e)]=l:ti.push(l)),l.patchFlag|=-2,l}Wi(e)&&(e=e.__vccOpts);if(t){var a=t=yi(t),u=a.class,s=a.style;u&&!U(u)&&(t.class=b(u)),H(s)&&(jt(s)&&!R(s)&&(s=T({},s)),t.style=c(s))}var f=U(e)?1:Hn(e)?128:Vo(e)?64:H(e)?4:F(e)?2:0;return hi(e,t,n,r,o,f,i,!0)}));function yi(e){return e?jt(e)||fi in e?T({},e):e:null}function bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,o=e.ref,i=e.patchFlag,l=e.children,a=t?xi(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&di(a),ref:t&&t.ref?n&&o?R(o)?o.concat(pi(t)):[o,pi(t)]:pi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Yo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bi(e.ssContent),ssFallback:e.ssFallback&&bi(e.ssFallback),el:e.el,anchor:e.anchor};return u}function gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return vi(Xo,null,e,t)}function mi(e,t){var n=vi(Jo,null,e);return n.staticCount=t,n}function _i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(ni(),ui(Qo,null,e)):vi(Qo,null,e)}function qi(e){return null==e||"boolean"==typeof e?vi(Qo):R(e)?vi(Yo,null,e.slice()):"object"==typeof e?wi(e):vi(Xo,null,String(e))}function wi(e){return null===e.el||e.memo?e:bi(e)}function ki(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(R(t))n=16;else if("object"==typeof t){if(65&r){var o=t.default;return void(o&&(o._c&&(o._d=!1),ki(e,o()),o._c&&(o._d=!0)))}n=32;var i=t._;i||fi in t?3===i&&Tn&&(1===Tn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Tn}else F(t)?(t={default:t,_ctx:Tn},n=32):(t=String(t),64&r?(n=16,t=[gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function xi(){for(var e={},t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];for(var r in n)if("class"===r)e.class!==n.class&&(e.class=b([e.class,n.class]));else if("style"===r)e.style=c([e.style,n.style]);else if(N(r)){var o=e[r],i=n[r];!i||o===i||R(o)&&o.includes(i)||(e[r]=o?[].concat(o,i):i)}else""!==r&&(e[r]=n[r])}return e}function Oi(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;en(e,t,7,[n,r])}var Ei=No(),ji=0;function Ai(e,t,n){var r=e.type,o=(t?t.appContext:e.appContext)||Ei,i={uid:ji++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ue(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mo(r,o),emitsOptions:Nn(r,o),emit:null,emitted:null,propsDefaults:O,inheritAttrs:r.inheritAttrs,ctx:O,data:O,props:O,attrs:O,slots:O,refs:O,setupState:O,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Sn.bind(null,i),e.ce&&e.ce(i),i}var Si=null,Ni=e("f",(function(){return Si||Tn})),Ci=function(e){Si=e,e.scope.on()},Ti=function(){Si&&Si.scope.off(),Si=null};function Pi(e){return 4&e.vnode.shapeFlag}var Li,Mi,Ri=!1;function Ii(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Ri=t;var n=e.vnode,r=n.props,o=n.children,i=Pi(e);yo(e,r,i,t),So(e,o);var l=i?Bi(e,t):void 0;return Ri=!1,l}function Bi(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=St(new Proxy(e.ctx,no));var r=n.setup;if(r){var o=e.setupContext=r.length>1?Ui(e):null;Ci(e),Ee();var i=Jt(r,e,0,[e.props,o]);if(je(),Ti(),V(i)){if(i.then(Ti,Ti),t)return i.then((function(n){Di(e,n,t)})).catch((function(t){tn(t,e,0)}));e.asyncDep=i}else Di(e,i,t)}else Fi(e,t)}function Di(e,t,n){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:H(t)&&(e.setupState=zt(t)),Fi(e,n)}function Fi(e,t,n){var r=e.type;if(!e.render){if(!t&&Li&&!r.render){var o=r.template;if(o){var i=e.appContext.config,l=i.isCustomElement,a=i.compilerOptions,u=r.delimiters,s=r.compilerOptions,c=T(T({isCustomElement:l,delimiters:u},a),s);r.render=Li(o,c)}}e.render=r.render||j,Mi&&Mi(e)}Ci(e),Ee(),io(e),je(),Ti()}function Ui(e){var t;return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Ae(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function zi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zt(St(e.exposed)),{get:(t,n)=>n in t?t[n]:n in to?to[n](e):void 0}))}var Hi=/(?:^|[-_])(\w)/g,Vi=function(e){return e.replace(Hi,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function Ki(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return F(e)?e.displayName||e.name:e.name||t&&e.__name}function $i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Ki(t);if(!r&&t.__file){var o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){var i=function(e){for(var n in e)if(e[n]===t)return n};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?Vi(r):n?"App":"Anonymous"}function Wi(e){return F(e)&&"__vccOpts"in e}var Zi=e("i",(function(e,t){return function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=F(e);return i?(n=e,r=j):(n=e.get,r=e.set),new Wt(n,r,i||!r,o)}(e,t,Ri)}));function Gi(){return Xi().slots}function Yi(){return Xi().attrs}function Xi(){var e=Ni();return e.setupContext||(e.setupContext=Ui(e))}function Qi(e,t,n){var r=arguments.length;return 2===r?H(t)&&!R(t)?si(t)?vi(e,null,[t]):vi(e,t):vi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&si(n)&&(n=[n]),vi(e,t,n))}var Ji=Symbol("");function el(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r<n.length;r++)if(oe(n[r],t[r]))return!1;return oi>0&&ti&&ti.push(e),!0}var tl="3.2.37",nl={createComponentInstance:Ai,setupComponent:Ii,renderComponentRoot:Bn,setCurrentRenderingInstance:Ln,isVNode:si,normalizeVNode:qi},rl="undefined"!=typeof document?document:null,ol=rl&&rl.createElement("template"),il={insert:function(e,t,n){t.insertBefore(e,n||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,n,r){var o=t?rl.createElementNS("http://www.w3.org/2000/svg",e):rl.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:function(e){return rl.createTextNode(e)},createComment:function(e){return rl.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return rl.querySelector(e)},setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){var l=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{ol.innerHTML=r?`<svg>${e}</svg>`:e;var a=ol.content;if(r){for(var u=a.firstChild;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function ll(e,t,n){var r=e._vtc;r&&(t=(t?[t].concat(p(r)):p(r)).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function al(e,t,n){var r=e.style,o=U(n);if(n&&!o){for(var i in n)sl(r,i,n[i]);if(t&&!U(t))for(var l in t)null==n[l]&&sl(r,l,"")}else{var a=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}var ul=/\s*!important$/;function sl(e,t,n){if(R(n))n.forEach((function(n){return sl(e,t,n)}));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{var r=function(e,t){var n=fl[t];if(n)return n;var r=J(t);if("filter"!==r&&r in e)return fl[t]=r;r=ne(r);for(var o=0;o<cl.length;o++){var i=cl[o]+r;if(i in e)return fl[t]=i}return t}(e,t);ul.test(n)?e.setProperty(te(r),n.replace(ul,""),"important"):e[r]=n}}var cl=["Webkit","Moz","ms"],fl={};var dl="http://www.w3.org/1999/xlink";function pl(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(dl,t.slice(6,t.length)):e.setAttributeNS(dl,t,n);else{var i=l(t);null==n||i&&!a(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function hl(e,t,n,r,o,i,l){if("innerHTML"===t||"textContent"===t)return r&&l(r,o,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;var u=null==n?"":n;return e.value===u&&"OPTION"!==e.tagName||(e.value=u),void(null==n&&e.removeAttribute(t))}var s=!1;if(""===n||null==n){var c=typeof e[t];"boolean"===c?n=a(n):null==n&&"string"===c?(n="",s=!0):"number"===c&&(n=0,s=!0)}try{e[t]=n}catch(f){}s&&e.removeAttribute(t)}var vl=function(){var e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));var n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]}(),yl=d(vl,2),bl=yl[0],gl=yl[1],ml=0,_l=Promise.resolve(),ql=function(){ml=0};function wl(e,t,n,r){e.addEventListener(t,n,r)}function kl(e,t,n,r){e.removeEventListener(t,n,r)}function xl(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=e._vei||(e._vei={}),l=i[t];if(r&&l)l.value=r;else{var a=El(t),u=d(a,2),s=u[0],c=u[1];if(r){var f=i[t]=jl(r,o);wl(e,s,f,c)}else l&&(kl(e,s,l,c),i[t]=void 0)}}var Ol=/(?:Once|Passive|Capture)$/;function El(e){var t,n;if(Ol.test(e))for(t={};n=e.match(Ol);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[te(e.slice(2)),t]}function jl(e,t){var n=function e(n){var r=n.timeStamp||bl();(gl||r>=e.attached-1)&&en(function(e,t){if(R(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}(n,e.value),t,5,[n])};return n.value=e,n.attached=ml||(_l.then(ql),ml=bl()),n}var Al=/^on[a-z]/;function Sl(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Al.test(t)&&F(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Al.test(t)||!U(n))&&t in e))))}function Nl(e,t){var n=vr(e),o=function(e){r(l,e);var o=i(l);function l(e){return s(this,l),o.call(this,n,e,t)}return f(l)}(Cl);return o.def=n,o}var Cl=function(e){r(n,e);var t=i(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return s(this,n),(r=t.call(this))._def=e,r._props=o,r._instance=null,r._connected=!1,r._resolved=!1,r._numberProps=null,r.shadowRoot&&i?i(r._createVNode(),r.shadowRoot):r.attachShadow({mode:"open"}),r}return f(n,[{key:"connectedCallback",value:function(){this._connected=!0,this._instance||this._resolveDef()}},{key:"disconnectedCallback",value:function(){var e=this;this._connected=!1,bn((function(){e._connected||(Na(null,e.shadowRoot),e._instance=null)}))}},{key:"_resolveDef",value:function(){var e=this;if(!this._resolved){this._resolved=!0;for(var t=0;t<this.attributes.length;t++)this._setAttr(this.attributes[t].name);new MutationObserver((function(t){var n,r=u(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;e._setAttr(o.attributeName)}}catch(i){r.e(i)}finally{r.f()}})).observe(this,{attributes:!0});var n=function(t){var n,r=t.props,o=t.styles,i=!R(r),l=r?i?Object.keys(r):r:[];if(i)for(var a in e._props){var s=r[a];(s===Number||s&&s.type===Number)&&(e._props[a]=ae(e._props[a]),(n||(n=Object.create(null)))[a]=!0)}e._numberProps=n;for(var c=0,f=Object.keys(e);c<f.length;c++){var d=f[c];"_"!==d[0]&&e._setProp(d,e[d],!0,!1)}var p,h=u(l.map(J));try{var v=function(){var t=p.value;Object.defineProperty(e,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}})};for(h.s();!(p=h.n()).done;)v()}catch(y){h.e(y)}finally{h.f()}e._applyStyles(o),e._update()},r=this._def.__asyncLoader;r?r().then(n):n(this._def)}}},{key:"_setAttr",value:function(e){var t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=ae(t)),this._setProp(J(e),t,!1)}},{key:"_getProp",value:function(e){return this._props[e]}},{key:"_setProp",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(te(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(te(e),t+""):t||this.removeAttribute(te(e))))}},{key:"_update",value:function(){Na(this._createVNode(),this.shadowRoot)}},{key:"_createVNode",value:function(){var e=this,t=vi(this._def,T({},this._props));return this._instance||(t.ce=function(t){e._instance=t,t.isCE=!0,t.emit=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.dispatchEvent(new CustomEvent(t,{detail:r}))};for(var r=e;r=r&&(r.parentNode||r.host);)if(r instanceof n){t.parent=r._instance;break}}),t}},{key:"_applyStyles",value:function(e){var t=this;e&&e.forEach((function(e){var n=document.createElement("style");n.textContent=e,t.shadowRoot.appendChild(n)}))}}]),n}("undefined"!=typeof HTMLElement?HTMLElement:function(){return f((function e(){s(this,e)}))}());function Tl(e,t){if(128&e.shapeFlag){var n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((function(){Tl(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Pl(e.el,t);else if(e.type===Yo)e.children.forEach((function(e){return Tl(e,t)}));else if(e.type===Jo)for(var r=e,o=r.el,i=r.anchor;o&&(Pl(o,t),o!==i);)o=o.nextSibling}function Pl(e,t){if(1===e.nodeType){var n=e.style;for(var r in t)n.setProperty(`--${r}`,t[r])}}var Ll="transition",Ml="animation",Rl=e("Z",(function(e,t){var n=t.slots;return Qi(ur,Ul(e),n)}));Rl.displayName="Transition";var Il={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Bl=Rl.props=T({},ur.props,Il),Dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];R(e)?e.forEach((function(e){return e.apply(void 0,p(t))})):e&&e.apply(void 0,p(t))},Fl=function(e){return!!e&&(R(e)?e.some((function(e){return e.length>1})):e.length>1)};function Ul(e){var t={};for(var n in e)n in Il||(t[n]=e[n]);if(!1===e.css)return t;var r=e.name,o=void 0===r?"v":r,i=e.type,l=e.duration,a=e.enterFromClass,u=void 0===a?`${o}-enter-from`:a,s=e.enterActiveClass,c=void 0===s?`${o}-enter-active`:s,f=e.enterToClass,d=void 0===f?`${o}-enter-to`:f,p=e.appearFromClass,h=void 0===p?u:p,v=e.appearActiveClass,y=void 0===v?c:v,b=e.appearToClass,g=void 0===b?d:b,m=e.leaveFromClass,_=void 0===m?`${o}-leave-from`:m,q=e.leaveActiveClass,w=void 0===q?`${o}-leave-active`:q,k=e.leaveToClass,x=void 0===k?`${o}-leave-to`:k,O=function(e){if(null==e)return null;if(H(e))return[zl(e.enter),zl(e.leave)];var t=zl(e);return[t,t]}(l),E=O&&O[0],j=O&&O[1],A=t.onBeforeEnter,S=t.onEnter,N=t.onEnterCancelled,C=t.onLeave,P=t.onLeaveCancelled,L=t.onBeforeAppear,M=void 0===L?A:L,R=t.onAppear,I=void 0===R?S:R,B=t.onAppearCancelled,D=void 0===B?N:B,F=function(e,t,n){Vl(e,t?g:d),Vl(e,t?y:c),n&&n()},U=function(e,t){e._isLeaving=!1,Vl(e,_),Vl(e,x),Vl(e,w),t&&t()},z=function(e){return function(t,n){var r=e?I:S,o=function(){return F(t,e,n)};Dl(r,[t,o]),Kl((function(){Vl(t,e?h:u),Hl(t,e?g:d),Fl(r)||Wl(t,i,E,o)}))}};return T(t,{onBeforeEnter(e){Dl(A,[e]),Hl(e,u),Hl(e,c)},onBeforeAppear(e){Dl(M,[e]),Hl(e,h),Hl(e,y)},onEnter:z(!1),onAppear:z(!0),onLeave(e,t){e._isLeaving=!0;var n=function(){return U(e,t)};Hl(e,_),Xl(),Hl(e,w),Kl((function(){e._isLeaving&&(Vl(e,_),Hl(e,x),Fl(C)||Wl(e,i,j,n))})),Dl(C,[e,n])},onEnterCancelled(e){F(e,!1),Dl(N,[e])},onAppearCancelled(e){F(e,!0),Dl(D,[e])},onLeaveCancelled(e){U(e),Dl(P,[e])}})}function zl(e){return ae(e)}function Hl(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e._vtc||(e._vtc=new Set)).add(t)}function Vl(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e._vtc;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Kl(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var $l=0;function Wl(e,t,n,r){var o=e._endId=++$l,i=function(){o===e._endId&&r()};if(n)return setTimeout(i,n);var l=Zl(e,t),a=l.type,u=l.timeout,s=l.propCount;if(!a)return r();var c=a+"end",f=0,d=function(){e.removeEventListener(c,p),i()},p=function(t){t.target===e&&++f>=s&&d()};setTimeout((function(){f<s&&d()}),u+1),e.addEventListener(c,p)}function Zl(e,t){var n=window.getComputedStyle(e),r=function(e){return(n[e]||"").split(", ")},o=r("transitionDelay"),i=r("transitionDuration"),l=Gl(o,i),a=r("animationDelay"),u=r("animationDuration"),s=Gl(a,u),c=null,f=0,d=0;return t===Ll?l>0&&(c=Ll,f=l,d=i.length):t===Ml?s>0&&(c=Ml,f=s,d=u.length):d=(c=(f=Math.max(l,s))>0?l>s?Ll:Ml:null)?c===Ll?i.length:u.length:0,{type:c,timeout:f,propCount:d,hasTransform:c===Ll&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function Gl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(Math,p(t.map((function(t,n){return Yl(t)+Yl(e[n])}))))}function Yl(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Xl(){return document.body.offsetHeight}var Ql=new WeakMap,Jl=new WeakMap,ea=e("at",{name:"TransitionGroup",props:T({},Bl,{tag:String,moveClass:String}),setup(e,t){var n,r,o=t.slots,i=Ni(),l=lr();return Pr((function(){if(n.length){var t=e.moveClass||`${e.name||"v"}-move`;if(function(e,t,n){var r=e.cloneNode();e._vtc&&e._vtc.forEach((function(e){e.split(/\s+/).forEach((function(e){return e&&r.classList.remove(e)}))}));n.split(/\s+/).forEach((function(e){return e&&r.classList.add(e)})),r.style.display="none";var o=1===t.nodeType?t:t.parentNode;o.appendChild(r);var i=Zl(r).hasTransform;return o.removeChild(r),i}(n[0].el,i.vnode.el,t)){n.forEach(ta),n.forEach(na);var r=n.filter(ra);Xl(),r.forEach((function(e){var n=e.el,r=n.style;Hl(n,t),r.transform=r.webkitTransform=r.transitionDuration="";var o=n._moveCb=function(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,Vl(n,t))};n.addEventListener("transitionend",o)}))}}})),function(){var t=At(e),a=Ul(t),u=t.tag||Yo;n=r,r=o.default?hr(o.default()):[];for(var s=0;s<r.length;s++){var c=r[s];null!=c.key&&pr(c,cr(c,a,l,i))}if(n)for(var f=0;f<n.length;f++){var d=n[f];pr(d,cr(d,a,l,i)),Ql.set(d,d.el.getBoundingClientRect())}return vi(u,null,r)}}});function ta(e){var t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function na(e){Jl.set(e,e.el.getBoundingClientRect())}function ra(e){var t=Ql.get(e),n=Jl.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){var i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}var oa=function(e){var t=e.props["onUpdate:modelValue"]||!1;return R(t)?function(e){return ie(t,e)}:t};function ia(e){e.target.composing=!0}function la(e){var t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}var aa=e("am",{created(e,t,n){var r=t.modifiers,o=r.lazy,i=r.trim,l=r.number;e._assign=oa(n);var a=l||n.props&&"number"===n.props.type;wl(e,o?"change":"input",(function(t){if(!t.target.composing){var n=e.value;i&&(n=n.trim()),a&&(n=ae(n)),e._assign(n)}})),i&&wl(e,"change",(function(){e.value=e.value.trim()})),o||(wl(e,"compositionstart",ia),wl(e,"compositionend",la),wl(e,"change",la))},mounted(e,t){var n=t.value;e.value=null==n?"":n},beforeUpdate(e,t,n){var r=t.value,o=t.modifiers,i=o.lazy,l=o.trim,a=o.number;if(e._assign=oa(n),!e.composing){if(document.activeElement===e&&"range"!==e.type){if(i)return;if(l&&e.value.trim()===r)return;if((a||"number"===e.type)&&ae(e.value)===r)return}var u=null==r?"":r;e.value!==u&&(e.value=u)}}}),ua=e("af",{deep:!0,created(e,t,n){e._assign=oa(n),wl(e,"change",(function(){var t=e._modelValue,n=pa(e),r=e.checked,o=e._assign;if(R(t)){var i=_(t,n),l=-1!==i;if(r&&!l)o(t.concat(n));else if(!r&&l){var a=p(t);a.splice(i,1),o(a)}}else if(B(t)){var u=new Set(t);r?u.add(n):u.delete(n),o(u)}else o(ha(e,r))}))},mounted:sa,beforeUpdate(e,t,n){e._assign=oa(n),sa(e,t,n)}});function sa(e,t,n){var r=t.value,o=t.oldValue;e._modelValue=r,R(r)?e.checked=_(r,n.props.value)>-1:B(r)?e.checked=r.has(n.props.value):r!==o&&(e.checked=m(r,ha(e,!0)))}var ca=e("ag",{created(e,t,n){var r=t.value;e.checked=m(r,n.props.value),e._assign=oa(n),wl(e,"change",(function(){e._assign(pa(e))}))},beforeUpdate(e,t,n){var r=t.value,o=t.oldValue;e._assign=oa(n),r!==o&&(e.checked=m(r,n.props.value))}}),fa={deep:!0,created(e,t,n){var r=t.value,o=t.modifiers.number,i=B(r);wl(e,"change",(function(){var t=Array.prototype.filter.call(e.options,(function(e){return e.selected})).map((function(e){return o?ae(pa(e)):pa(e)}));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=oa(n)},mounted(e,t){da(e,t.value)},beforeUpdate(e,t,n){e._assign=oa(n)},updated(e,t){da(e,t.value)}};function da(e,t){var n=e.multiple;if(!n||R(t)||B(t)){for(var r=0,o=e.options.length;r<o;r++){var i=e.options[r],l=pa(i);if(n)R(t)?i.selected=_(t,l)>-1:i.selected=t.has(l);else if(m(pa(i),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function pa(e){return"_value"in e?e._value:e.value}function ha(e,t){var n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}var va={created(e,t,n){ba(e,t,n,null,"created")},mounted(e,t,n){ba(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ba(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ba(e,t,n,r,"updated")}};function ya(e,t){switch(e){case"SELECT":return fa;case"TEXTAREA":return aa;default:switch(t){case"checkbox":return ua;case"radio":return ca;default:return aa}}}function ba(e,t,n,r,o){var i=ya(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}var ga=["ctrl","shift","alt","meta"],ma={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return ga.some((function(n){return e[`${n}Key`]&&!t.includes(n)}))}},_a=e("a0",(function(e,t){return function(n){for(var r=0;r<t.length;r++){var o=ma[t[r]];if(o&&o(n,t))return}for(var i=arguments.length,l=new Array(i>1?i-1:0),a=1;a<i;a++)l[a-1]=arguments[a];return e.apply(void 0,[n].concat(l))}})),qa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wa=e("aa",(function(e,t){return function(n){if("key"in n){var r=te(n.key);return t.some((function(e){return e===r||qa[e]===r}))?e(n):void 0}}})),ka=e("T",{beforeMount(e,t,n){var r=t.value,o=n.transition;e._vod="none"===e.style.display?"":e.style.display,o&&r?o.beforeEnter(e):xa(e,r)},mounted(e,t,n){var r=t.value,o=n.transition;o&&r&&o.enter(e)},updated(e,t,n){var r=t.value,o=t.oldValue,i=n.transition;!r!=!o&&(i?r?(i.beforeEnter(e),xa(e,!0),i.enter(e)):i.leave(e,(function(){xa(e,!1)})):xa(e,r))},beforeUnmount(e,t){xa(e,t.value)}});function xa(e,t){e.style.display=t?e._vod:"none"}var Oa,Ea=T({patchProp:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0;"class"===t?ll(e,r,o):"style"===t?al(e,n,r):N(t)?C(t)||xl(e,t,n,r,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Sl(e,t,r,o))?hl(e,t,r,i,l,a,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),pl(e,t,r,o))}},il),ja=!1;function Aa(){return Oa||(Oa=Do(Ea))}function Sa(){return Oa=ja?Oa:Fo(Ea),ja=!0,Oa}var Na=e("ax",(function(){var e;(e=Aa()).render.apply(e,arguments)})),Ca=function(){var e;(e=Sa()).hydrate.apply(e,arguments)},Ta=e("au",(function(){var e,t=(e=Aa()).createApp.apply(e,arguments),n=t.mount;return t.mount=function(e){var r=Pa(e);if(r){var o=t._component;F(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";var i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i}},t}));function Pa(e){return U(e)?document.querySelector(e):e}var La=!1,Ma=Object.freeze(Object.defineProperty({__proto__:null,compile:function(){},EffectScope:ue,ReactiveEffect:we,customRef:function(e){return new Ht(e)},effect:function(e,t){e.effect&&(e=e.effect.fn);var n=new we(e);t&&(T(n,t),t.scope&&ce(n,t.scope)),t&&t.lazy||n.run();var r=n.run.bind(n);return r.effect=n,r},effectScope:se,getCurrentScope:fe,isProxy:jt,isReactive:xt,isReadonly:Ot,isRef:Lt,isShallow:Et,markRaw:St,onScopeDispose:de,proxyRefs:zt,reactive:_t,readonly:wt,ref:Mt,shallowReactive:qt,shallowReadonly:function(e){return kt(e,!0,$e,vt,mt)},shallowRef:Rt,stop:function(e){e.effect.stop()},toRaw:At,toRef:$t,toRefs:Vt,triggerRef:Dt,unref:Ft,camelize:J,capitalize:ne,normalizeClass:b,normalizeProps:g,normalizeStyle:c,toDisplayString:k,toHandlerKey:re,BaseTransition:ur,Comment:Qo,Fragment:Yo,KeepAlive:_r,Static:Jo,Suspense:Vn,Teleport:Go,Text:Xo,callWithAsyncErrorHandling:en,callWithErrorHandling:Jt,cloneVNode:bi,compatUtils:null,computed:Zi,createBlock:ui,createCommentVNode:_i,createElementBlock:ai,createElementVNode:hi,createHydrationRenderer:Fo,createPropsRestProxy:function(e,t){var n={},r=function(r){t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:function(){return e[r]}})};for(var o in e)r(o);return n},createRenderer:Do,createSlots:Yr,createStaticVNode:mi,createTextVNode:gi,createVNode:vi,defineAsyncComponent:function(e){F(e)&&(e={loader:e});var t,n=e,r=n.loader,o=n.loadingComponent,i=n.errorComponent,l=n.delay,a=void 0===l?200:l,u=n.timeout,s=n.suspensible,c=void 0===s||s,f=n.onError,d=null,p=0,h=function(){return p++,d=null,v()},v=function(){var e;return d||(e=d=r().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),f)return new Promise((function(t,n){f(e,(function(){return t(h())}),(function(){return n(e)}),p+1)}));throw e})).then((function(n){return e!==d&&d?d:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)})))};return vr({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return t},setup(){var e=Si;if(t)return function(){return br(t,e)};var n=function(t){d=null,tn(t,e,13,!i)};if(c&&e.suspense||Ri)return v().then((function(t){return function(){return br(t,e)}})).catch((function(e){return n(e),function(){return i?vi(i,{error:e}):null}}));var r=Mt(!1),l=Mt(),s=Mt(!!a);return a&&setTimeout((function(){s.value=!1}),a),null!=u&&setTimeout((function(){if(!r.value&&!l.value){var e=new Error(`Async component timed out after ${u}ms.`);n(e),l.value=e}}),u),v().then((function(){r.value=!0,e.parent&&gr(e.parent.vnode)&&gn(e.parent.update)})).catch((function(e){n(e),l.value=e})),function(){return r.value&&t?br(t,e):l.value&&i?vi(i,{error:l.value}):o&&!s.value?vi(o):void 0}}})},defineComponent:vr,defineEmits:function(){return null},defineExpose:function(e){},defineProps:function(){return null},get devtools(){return On},getCurrentInstance:Ni,getTransitionRawChildren:hr,guardReactiveProps:yi,h:Qi,handleError:tn,initCustomFormatter:function(){},inject:Xn,isMemoSame:el,isRuntimeOnly:function(){return!Li},isVNode:si,mergeDefaults:function(e,t){var n=R(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var r in t){var o=n[r];o?R(o)||F(o)?n[r]={type:o,default:t[r]}:o.default=t[r]:null===o&&(n[r]={default:t[r]})}return n},mergeProps:xi,nextTick:bn,onActivated:wr,onBeforeMount:Nr,onBeforeUnmount:Lr,onBeforeUpdate:Tr,onDeactivated:kr,onErrorCaptured:Dr,onMounted:Cr,onRenderTracked:Br,onRenderTriggered:Ir,onServerPrefetch:Rr,onUnmounted:Mr,onUpdated:Pr,openBlock:ni,popScopeId:Rn,provide:Yn,pushScopeId:Mn,queuePostFlushCb:wn,registerRuntimeCompiler:function(e){Li=e,Mi=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,ro))}},renderList:Gr,renderSlot:Xr,resolveComponent:Hr,resolveDirective:$r,resolveDynamicComponent:Kr,resolveFilter:null,resolveTransitionHooks:cr,setBlockTracking:ii,setDevtoolsHook:function e(t,n){var r,o;if(On=t)On.enabled=!0,An.forEach((function(e){var t,n=e.event,r=e.args;return(t=On).emit.apply(t,[n].concat(p(r)))})),An=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(r=window.navigator)||void 0===r?void 0:r.userAgent)||void 0===o?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((function(t){e(t,n)})),setTimeout((function(){On||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,An=[])}),3e3)}else An=[]},setTransitionHooks:pr,ssrContextKey:Ji,ssrUtils:nl,toHandlers:Jr,transformVNodeArgs:function(e){},useAttrs:Yi,useSSRContext:function(){var e=Xn(Ji);return e||Gt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e},useSlots:Gi,useTransitionState:lr,version:tl,warn:Gt,watch:tr,watchEffect:Qn,watchPostEffect:Jn,watchSyncEffect:function(e,t){return nr(e,null,{flush:"sync"})},withAsyncContext:function(e){var t=Ni(),n=e();return Ti(),V(n)&&(n=n.catch((function(e){throw Ci(t),e}))),[n,function(){return Ci(t)}]},withCtx:In,withDefaults:function(e,t){return null},withDirectives:Fr,withMemo:function(e,t,n,r){var o=n[r];if(o&&el(o,e))return o;var i=t();return i.memo=e.slice(),n[r]=i},withScopeId:function(e){return In},Transition:Rl,TransitionGroup:ea,VueElement:Cl,createApp:Ta,createSSRApp:function(){var e,t=(e=Sa()).createApp.apply(e,arguments),n=t.mount;return t.mount=function(e){var t=Pa(e);if(t)return n(t,!0,t instanceof SVGElement)},t},defineCustomElement:Nl,defineSSRCustomElement:function(e){return Nl(e,Ca)},hydrate:Ca,initDirectivesForSSR:function(){La||(La=!0,aa.getSSRProps=function(e){return{value:e.value}},ca.getSSRProps=function(e,t){var n=e.value;if(t.props&&m(t.props.value,n))return{checked:!0}},ua.getSSRProps=function(e,t){var n=e.value;if(R(n)){if(t.props&&_(n,t.props.value)>-1)return{checked:!0}}else if(B(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}},va.getSSRProps=function(e,t){if("string"==typeof t.type){var n=ya(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}},ka.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})},render:Na,useCssModule:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$style",t=Ni();if(!t)return O;var n=t.type.__cssModules;if(!n)return O;var r=n[e];return r||O},useCssVars:function(e){var t=Ni();if(t){var n=function(){return Tl(t.subTree,e(t.proxy))};Jn(n),Cr((function(){var e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Mr((function(){return e.disconnect()}))}))}},vModelCheckbox:ua,vModelDynamic:va,vModelRadio:ca,vModelSelect:fa,vModelText:aa,vShow:ka,withKeys:wa,withModifiers:_a},Symbol.toStringTag,{value:"Module"}));e("aA",Ma);var Ra=e("c","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Ia(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ba,Da={exports:{}};
- /*!
- * Quill Editor v1.3.7
- * https://quilljs.com/
- * Copyright (c) 2014, Jason Chen
- * Copyright (c) 2013, salesforce.com
- */"undefined"!=typeof self&&self,Ba=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(45),a=n(46),u=n(47),s=n(48),c=n(49),f=n(12),d=n(32),p=n(33),h=n(31),v=n(1),y={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:s.default,Scroll:l.default,Block:u.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:h.default}};t.default=y},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=i;var l,a={},u={},s={},c={};function f(e,t){var n;if(void 0===t&&(t=l.ANY),"string"==typeof e)n=c[e]||a[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=c.text;else if("number"==typeof e)e&l.LEVEL&l.BLOCK?n=c.block:e&l.LEVEL&l.INLINE&&(n=c.inline);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=u[r[o]])break;n=n||s[e.tagName]}return null==n?null:t&l.LEVEL&n.scope&&t&l.TYPE&n.scope?n: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"}(l=t.Scope||(t.Scope={})),t.create=function(e,t){var n=f(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:r.create(t);return new r(o,t)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=f,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");if(c[r.blotName||r.attrName]=r,"string"==typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(u[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var o=Array.isArray(r.tagName)?r.tagName:[r.tagName];o.forEach((function(e){null!=s[e]&&null!=r.className||(s[e]=r)}))}return r}},function(e,t,n){var r=n(51),o=n(11),i=n(3),l=n(20),a=String.fromCharCode(0),u=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};u.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},u.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},u.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},u.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.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},u.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},u.prototype.filter=function(e){return this.ops.filter(e)},u.prototype.forEach=function(e){this.ops.forEach(e)},u.prototype.map=function(e){return this.ops.map(e)},u.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},u.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},u.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+l.length(t):t.delete?e-t.delete:e}),0)},u.prototype.length=function(){return this.reduce((function(e,t){return e+l.length(t)}),0)},u.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o<t&&r.hasNext();){var i;o<e?i=r.next(e-o):(i=r.next(t-o),n.push(i)),o+=l.length(i)}return new u(n)},u.prototype.compose=function(e){var t=l.iterator(this.ops),n=l.iterator(e.ops),r=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var a=i.retain;"insert"===t.peekType()&&t.peekLength()<=a;)a-=t.peekLength(),r.push(t.next());i.retain-a>0&&n.next(i.retain-a)}for(var s=new u(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())s.push(n.next());else if("delete"===t.peekType())s.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),f=t.next(c),d=n.next(c);if("number"==typeof d.retain){var p={};"number"==typeof f.retain?p.retain=c:p.insert=f.insert;var h=l.attributes.compose(f.attributes,d.attributes,"number"==typeof f.retain);if(h&&(p.attributes=h),s.push(p),!n.hasNext()&&o(s.ops[s.ops.length-1],p)){var v=new u(t.rest());return s.concat(v).chop()}}else"number"==typeof d.delete&&"number"==typeof f.retain&&s.push(d)}return s.chop()},u.prototype.concat=function(e){var t=new u(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},u.prototype.diff=function(e,t){if(this.ops===e.ops)return new u;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new u,s=r(n[0],n[1],t),c=l.iterator(this.ops),f=l.iterator(e.ops);return s.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(f.peekLength(),t),i.push(f.next(n));break;case r.DELETE:n=Math.min(t,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),t);var a=c.next(n),u=f.next(n);o(a.insert,u.insert)?i.retain(n,l.attributes.diff(a.attributes,u.attributes)):i.push(u).delete(n)}t-=n}})),i.chop()},u.prototype.eachLine=function(e,t){t=t||"\n";for(var n=l.iterator(this.ops),r=new u,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),s="string"==typeof i.insert?i.insert.indexOf(t,a)-a:-1;if(s<0)r.push(n.next());else if(s>0)r.push(n.next(s));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new u}}r.length()>0&&e(r,{},o)},u.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=l.iterator(this.ops),r=l.iterator(e.ops),o=new u;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),s=r.next(i);if(a.delete)continue;s.delete?o.push(s):o.retain(i,l.attributes.transform(a.attributes,s.attributes,t))}else o.retain(l.length(n.next()));return o.chop()},u.prototype.transformPosition=function(e,t){t=!!t;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.exports=u},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)},u=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,i,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=s(f,n),f!==(o=s(t,n))&&(h&&o&&(a(o)||(i=l(o)))?(i?(i=!1,c=r&&l(r)?r:[]):c=r&&a(r)?r:{},u(f,{name:n,newValue:e(h,c,o)})):void 0!==o&&u(f,{name:n,newValue:o}));return f}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=f(n(3)),l=f(n(2)),a=f(n(0)),u=f(n(16)),s=f(n(6)),c=f(n(7));function f(e){return e&&e.__esModule?e:{default:e}}function d(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 v=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),r(t,[{key:"attach",value:function(){o(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 l.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=a.default.query(e,a.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"==typeof n&&n.endsWith("\n")){var i=a.default.create(y.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(a.default.Embed);v.scope=a.default.Scope.BLOCK_BLOT;var y=function(e){function t(e){d(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return h(t,e),r(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(),b(t))}),new l.default).insert("\n",b(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,i){n<=0||(a.default.query(r,a.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,i):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,i),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var i=n.split("\n"),l=i.shift();l.length>0&&(e<this.length()-1||null==this.children.tail?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),l):this.children.tail.insertAt(this.children.tail.length(),l),this.cache={});var a=this;i.reduce((function(e,t){return(a=a.split(e,!0)).insertAt(0,t),t.length}),e+l.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof u.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(a.default.Block);function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:b(e.parent,t))}y.blotName="block",y.tagName="P",y.defaultChild="break",y.allowedChildren=[s.default,a.default.Embed,c.default],t.bubbleFormats=b,t.BlockEmbed=v,t.default=y},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(50);var l=y(n(2)),a=y(n(14)),u=y(n(8)),s=y(n(9)),c=y(n(0)),f=n(15),d=y(f),p=y(n(3)),h=y(n(10)),v=y(n(34));function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=(0,h.default)("quill"),_=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(g(this,e),this.options=q(t,r),this.container=this.options.container,null==this.container)return m.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=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 u.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 d.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(u.default.events.EDITOR_CHANGE,(function(e){e===u.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(u.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;w.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(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]&&m.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||m.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()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,i=k(e,t,n),l=o(i,4);return e=l[0],t=l[1],n=l[3],w.call(this,(function(){return r.editor.deleteText(e,t)}),n,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 n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;return w.call(this,(function(){var r=n.getSelection(!0),o=new l.default;if(null==r)return o;if(c.default.query(e,c.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,b({},e,t));else{if(0===r.length)return n.selection.format(e,t),o;o=n.editor.formatText(r.index,r.length,b({},e,t))}return n.setSelection(r,u.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(e,t,n,r,i){var l,a=this,u=k(e,t,n,r,i),s=o(u,4);return e=s[0],t=s[1],l=s[2],i=s[3],w.call(this,(function(){return a.editor.formatLine(e,t,l)}),i,e,0)}},{key:"formatText",value:function(e,t,n,r,i){var l,a=this,u=k(e,t,n,r,i),s=o(u,4);return e=s[0],t=s[1],l=s[2],i=s[3],w.call(this,(function(){return a.editor.formatText(e,t,l)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.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,n=k(e,t),r=o(n,2);return e=r[0],t=r[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(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&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,n=k(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return w.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),i,t)}},{key:"insertText",value:function(e,t,n,r,i){var l,a=this,u=k(e,0,n,r,i),s=o(u,4);return e=s[0],l=s[2],i=s[3],w.call(this,(function(){return a.editor.insertText(e,t,l)}),i,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,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,i=k(e,t,n),l=o(i,4);return e=l[0],t=l[1],n=l[3],w.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API;return w.call(this,(function(){e=new l.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=k(t,n,r),l=o(i,4);t=l[0],n=l[1],r=l[3],this.selection.setRange(new f.Range(t,n),r),r!==u.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API,n=(new l.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default.sources.API;return w.call(this,(function(){return e=new l.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function q(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==_.DEFAULTS.theme){if(t.theme=_.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,p.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=_.import("modules/"+t);return null==n?m.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.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,{},_.DEFAULTS,{modules:r},n,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,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function w(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===u.default.sources.USER)return new l.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,a=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=x(o,a,t):0!==r&&(o=x(o,n,r,t)),this.setSelection(o,u.default.sources.SILENT)),a.length()>0){var s,c,f=[u.default.events.TEXT_CHANGE,a,i,t];(s=this.emitter).emit.apply(s,[u.default.events.EDITOR_CHANGE].concat(f)),t!==u.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}return a}function k(e,t,n,o,i){var l={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":r(n))?(l=n,i=o):"string"==typeof n&&(null!=o?l[n]=o:i=n),[e,t,l,i=i||u.default.sources.API]}function x(e,t,n,r){if(null==e)return null;var i=void 0,a=void 0;if(t instanceof l.default){var s=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==u.default.sources.USER)})),c=o(s,2);i=c[0],a=c[1]}else{var d=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===u.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),p=o(d,2);i=p[0],a=p[1]}return new f.Range(i,a-i)}_.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},_.events=u.default.events,_.sources=u.default.sources,_.version="1.3.7",_.imports={delta:l.default,parchment:c.default,"core/module":s.default,"core/theme":v.default},t.expandConfig=q,t.overload=k,t.default=_},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=a(n(7)),l=a(n(0));function a(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 s(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 c=function(e){function t(){return u(this,t),s(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),r(t,[{key:"formatAt",value:function(e,n,r,i){if(t.compare(this.statics.blotName,r)<0&&l.default.query(r,l.default.Scope.BLOT)){var a=this.isolate(e,n);i&&a.wrap(r,i)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i)}},{key:"optimize",value:function(e){if(o(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 n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),o=t.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e<n?-1:1}}]),t}(l.default.Inline);c.allowedChildren=[c,l.default.Embed,i.default],c.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 a=function(e){function t(){return i(this,t),l(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}(((r=o)&&r.__esModule?r:{default:r}).default.Text);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=l(n(54));function l(e){return e&&e.__esModule?e:{default:e}}var a=(0,l(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var u=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),r(t,[{key:"emit",value:function(){a.log.apply(a,arguments),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);u.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"},u.sources={API:"api",SILENT:"silent",USER:"user"},t.default=u},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};o.DEFAULTS={},t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),l=1;l<n;l++)i[l-1]=arguments[l];(t=console)[e].apply(t,i)}}function l(e){return r.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=l.level=function(e){o=e},t.default=l},function(e,t,n){var r=Array.prototype.slice,o=n(52),i=n(53),l=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var s,c;if(a(e)||a(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=r.call(e),t=r.call(t),l(e,t,n));if(u(e)){if(!u(t))return!1;if(e.length!==t.length)return!1;for(s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}try{var f=o(e),d=o(t)}catch(p){return!1}if(f.length!=d.length)return!1;for(f.sort(),d.sort(),s=f.length-1;s>=0;s--)if(f[s]!=d[s])return!1;for(s=f.length-1;s>=0;s--)if(c=f[s],!l(e[c],t[c],n))return!1;return typeof e==typeof t}(e,t,n))};function a(e){return null==e}function u(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,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.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!=r.query(e,r.Scope.BLOT&(this.scope|r.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=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=f(n(2)),a=f(n(0)),u=f(n(4)),s=f(n(6)),c=f(n(7));function f(e){return e&&e.__esModule?e:{default:e}}function d(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 v=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),t}(s.default);v.blotName="code",v.tagName="CODE";var y=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),o(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,n){return t.insert(n).insert("\n",e.formats())}),new l.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(c.default,this.length()-1),l=r(o,1)[0];null!=l&&l.deleteAt(l.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,o){if(0!==n&&null!=a.default.query(r,a.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var l=this.newlineIndex(e,!0)+1,u=i-l+1,s=this.isolate(l,u),c=s.next;s.format(r,o),c instanceof t&&c.formatAt(0,e-l+n-u,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(c.default,e),i=r(o,2),l=i[0],a=i[1];l.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){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(a.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(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 n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(u.default);y.blotName="code-block",y.tagName="PRE",y.TAB=" ",t.Code=v,t.default=y},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=b(n(2)),a=b(n(20)),u=b(n(0)),s=b(n(13)),c=b(n(24)),f=n(4),d=b(f),p=b(n(16)),h=b(n(21)),v=b(n(11)),y=b(n(3));function b(e){return e&&e.__esModule?e:{default:e}}var g=/^[ -~]*$/,m=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 i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,h.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}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 r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new l.default)}(e)).reduce((function(e,l){var s=l.retain||l.delete||l.insert.length||1,c=l.attributes||{};if(null!=l.insert){if("string"==typeof l.insert){var p=l.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),e>=i&&!p.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,p);var h=t.scroll.line(e),v=o(h,2),b=v[0],g=v[1],m=(0,y.default)({},(0,f.bubbleFormats)(b));if(b instanceof d.default){var _=b.descendant(u.default.Leaf,g),q=o(_,1)[0];m=(0,y.default)(m,(0,f.bubbleFormats)(q))}c=a.default.attributes.diff(m,c)||{}}else if("object"===r(l.insert)){var w=Object.keys(l.insert)[0];if(null==w)return e;t.scroll.insertAt(e,w,l.insert[w])}i+=s}return Object.keys(c).forEach((function(n){t.scroll.formatAt(e,s,n,c[n])})),e+s}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.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 l.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),l=t;i.forEach((function(t){var i=t.length();if(t instanceof s.default){var a=e-t.offset(n.scroll),u=t.newlineIndex(a+l)-a+1;t.formatAt(a,u,o,r[o])}else t.format(o,r[o]);l-=i}))}})),this.scroll.optimize(),this.update((new l.default).retain(e).retain(t,(0,h.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t,o,r[o])})),this.update((new l.default).retain(e).retain(t,(0,h.default)(r)))}},{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 l.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=o(e,1)[0];t instanceof d.default?n.push(t):t instanceof u.default.Leaf&&r.push(t)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(u.default.Leaf,e,t));var i=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,f.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=_((0,f.bubbleFormats)(n),t)}return t}));return y.default.apply(y.default,i)}},{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,n){return this.scroll.insertAt(e,t,n),this.update((new l.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=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(r).forEach((function(o){n.scroll.formatAt(e,t.length,o,r[o])})),this.update((new l.default).retain(e).insert(t,(0,h.default)(r)))}},{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===d.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),i=o(r,2),a=i[0],u=i[1],c=0,f=new l.default;null!=a&&(c=a instanceof s.default?a.newlineIndex(u)-u+1:a.length()-u,f=a.delta().slice(u,u+c-1).insert("\n"));var d=this.getContents(e,t+c).diff((new l.default).insert(n).concat(f)),p=(new l.default).retain(e).concat(d);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(g)&&u.default.find(t[0].target)){var o=u.default.find(t[0].target),i=(0,f.bubbleFormats)(o),a=o.offset(this.scroll),s=t[0].oldValue.replace(c.default.CONTENTS,""),d=(new l.default).insert(s),p=(new l.default).insert(o.value()),h=(new l.default).retain(a).concat(d.diff(p,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new l.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,v.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function _(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),l=s(n(21)),a=s(n(11)),u=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=(0,s(n(10)).default)("quill:selection"),p=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;f(this,e),this.index=t,this.length=n},h=function(){function e(t,n){var r=this;f(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,u.default.sources.USER),1)})),this.emitter.on(u.default.events.EDITOR_CHANGE,(function(e,t){e===u.default.events.TEXT_CHANGE&&t.length()>0&&r.update(u.default.sources.SILENT)})),this.emitter.on(u.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(u.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(u.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}})),this.update(u.default.sources.SILENT)}return o(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(u.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 n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.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,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,i=this.scroll.leaf(e),l=r(i,2),a=l[0],u=l[1];if(null==a)return null;var s=a.position(u,!0),c=r(s,2);o=c[0],u=c[1];var f=document.createRange();if(t>0){f.setStart(o,u);var d=this.scroll.leaf(e+t),p=r(d,2);if(a=p[0],u=p[1],null==a)return null;var h=a.position(u,!0),v=r(h,2);return o=v[0],u=v[1],f.setEnd(o,u),f.getBoundingClientRect()}var y="left",b=void 0;return o instanceof Text?(u<o.data.length?(f.setStart(o,u),f.setEnd(o,u+1)):(f.setStart(o,u-1),f.setEnd(o,u),y="right"),b=f.getBoundingClientRect()):(b=a.domNode.getBoundingClientRect(),u>0&&(y="right")),{bottom:b.top+b.height,height:b.height,left:b[y],right:b[y],top:b.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 n=this.normalizeNative(t);return d.info("getNativeRange",n),n}},{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,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map((function(e){var n=r(e,2),o=n[0],l=n[1],a=i.default.find(o,!0),u=a.offset(t.scroll);return 0===l?u:a instanceof i.default.Container?u+a.length():u+a.index(o,l)})),l=Math.min(Math.max.apply(Math,c(o)),this.scroll.length()-1),a=Math.min.apply(Math,[l].concat(c(o)));return new p(a,l-a)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(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,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var l,a=t.scroll.leaf(e),u=r(a,2),s=u[0],c=u[1],f=s.position(c,0!==n),d=r(f,2);l=d[0],c=d[1],o.push(l,c)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),l=r(i,1)[0],a=l;if(t.length>0){var u=this.scroll.line(Math.min(t.index+t.length,o));a=r(u,1)[0]}if(null!=l&&null!=a){var s=e.getBoundingClientRect();n.top<s.top?e.scrollTop-=s.top-n.top:n.bottom>s.bottom&&(e.scrollTop+=n.bottom-s.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||e!==l.startContainer||t!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(e,t),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof t&&(n=t,t=!1),d.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,c(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.default.sources.USER,t=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],s=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,a.default)(t,this.lastRange)){var c;!this.composing&&null!=s&&s.native.collapsed&&s.start.node!==this.cursor.textNode&&this.cursor.restore();var f,d=[u.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];(c=this.emitter).emit.apply(c,[u.default.events.EDITOR_CHANGE].concat(d)),e!==u.default.sources.SILENT&&(f=this.emitter).emit.apply(f,d)}}}]),e}();function v(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(0);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return a(this,t),u(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),o(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((r=l)&&r.__esModule?r:{default:r}).default.Embed);s.blotName="break",s.tagName="BR",t.default=s},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),l=n(30),a=n(1),u=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return o(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 i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=s(t);e.insertBefore(n,e.children.head||void 0)}catch(r){if(r instanceof a.ParchmentError)return;throw r}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),o=r[0],i=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,i]:o instanceof t?o.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,l){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,i))),i-=l})),o},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,o){e.formatAt(t,o,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),o=r[0],i=r[1];if(o)o.insertAt(i,t,n);else{var l=null==n?a.create("text",t):a.create(t,n);this.appendChild(l)}},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(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),o=r[0],i=r[1],l=[[this,e]];return o instanceof t?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},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 n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],o=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),o.push.apply(o,e.removedNodes))})),o.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!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.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 r=s(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(l.default);function s(e){var t=a.find(e);if(null==t)try{t=a.create(e)}catch(n){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=u},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),l=n(31),a=n(17),u=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new l.default(n.domNode),n}return o(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 n=u.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||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,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var o=e.prototype.wrap.call(this,n,r);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(a.default);t.default=s},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),l=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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 n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=l.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),o=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=o(!0,{},t);for(var i in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(r[i]=e[i]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new l(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 l(e){this.ops=e,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=i.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},l.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"},l.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=i},function(e,t){var n=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(a){t=function(){}}try{n=Set}catch(a){n=function(){}}try{r=Promise}catch(a){r=function(){}}function o(i,a,u,s,c){"object"==typeof a&&(u=a.depth,s=a.prototype,c=a.includeNonEnumerable,a=a.circular);var f=[],d=[],p="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===u&&(u=1/0),function i(u,h){if(null===u)return null;if(0===h)return u;var v,y;if("object"!=typeof u)return u;if(e(u,t))v=new t;else if(e(u,n))v=new n;else if(e(u,r))v=new r((function(e,t){u.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(o.__isArray(u))v=[];else if(o.__isRegExp(u))v=new RegExp(u.source,l(u)),u.lastIndex&&(v.lastIndex=u.lastIndex);else if(o.__isDate(u))v=new Date(u.getTime());else{if(p&&Buffer.isBuffer(u))return v=Buffer.allocUnsafe?Buffer.allocUnsafe(u.length):new Buffer(u.length),u.copy(v),v;e(u,Error)?v=Object.create(u):void 0===s?(y=Object.getPrototypeOf(u),v=Object.create(y)):(v=Object.create(s),y=s)}if(a){var b=f.indexOf(u);if(-1!=b)return d[b];f.push(u),d.push(v)}for(var g in e(u,t)&&u.forEach((function(e,t){var n=i(t,h-1),r=i(e,h-1);v.set(n,r)})),e(u,n)&&u.forEach((function(e){var t=i(e,h-1);v.add(t)})),u){var m;y&&(m=Object.getOwnPropertyDescriptor(y,g)),m&&null==m.set||(v[g]=i(u[g],h-1))}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(u);for(g=0;g<_.length;g++){var q=_[g];(!(k=Object.getOwnPropertyDescriptor(u,q))||k.enumerable||c)&&(v[q]=i(u[q],h-1),k.enumerable||Object.defineProperty(v,q,{enumerable:!1}))}}if(c){var w=Object.getOwnPropertyNames(u);for(g=0;g<w.length;g++){var k,x=w[g];(k=Object.getOwnPropertyDescriptor(u,x))&&k.enumerable||(v[x]=i(u[x],h-1),Object.defineProperty(v,x,{enumerable:!1}))}}return v}(i,u)}function i(e){return Object.prototype.toString.call(e)}function l(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=i,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},o.__getRegExpFlags=l,o}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=p(n(0)),a=p(n(8)),u=n(4),s=p(u),c=p(n(16)),f=p(n(13)),d=p(n(25));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return e instanceof s.default||e instanceof u.BlockEmbed}var v=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}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),o(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var o=this.line(e),l=r(o,2),a=l[0],s=l[1],d=this.line(e+n),p=r(d,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=p&&a!==p&&s>0){if(a instanceof u.BlockEmbed||p instanceof u.BlockEmbed)return void this.optimize();if(a instanceof f.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 f.default){var v=p.newlineIndex(0);v>-1&&p.split(v+1)}var y=p.children.head instanceof c.default?null:p.children.head;a.moveChildren(p,y),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,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==l.default.query(n,l.default.Scope.BLOCK)){var o=l.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var a=l.default.create(n,r);this.appendChild(a)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===l.default.Scope.INLINE_BLOT){var r=l.default.create(this.statics.defaultChild);r.appendChild(e),e=r}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{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(){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,n=function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){h(t)?o.push(t):t instanceof l.default.Container&&(o=o.concat(e(t,n,i))),i-=r})),o};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(a.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=a.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(a.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(a.default.events.SCROLL_UPDATE,n,e)}}}]),t}(l.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[s.default,u.BlockEmbed,d.default],t.default=v},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=v(n(21)),a=v(n(11)),u=v(n(3)),s=v(n(2)),c=v(n(20)),f=v(n(0)),d=v(n(5)),p=v(n(10)),h=v(n(9));function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,p.default)("quill:keyboard"),g=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",m=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},x),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},q),r.addBinding({key:t.keys.DELETE},{collapsed:!0},w)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},q),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},w)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},k),r.addBinding({key:t.keys.DELETE},{collapsed:!1},k),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},q),r.listen(),r}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),i(t,null,[{key:"match",value:function(e,t){return t=j(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=j(e);if(null==r||null==r.key)return b.warn("Attempted to add invalid keyboard binding",r);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),r=(0,u.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,l=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==l.length){var u=e.quill.getSelection();if(null!=u&&e.quill.hasFocus()){var s=e.quill.getLine(u.index),c=o(s,2),d=c[0],p=c[1],h=e.quill.getLeaf(u.index),v=o(h,2),y=v[0],b=v[1],g=0===u.length?[y,b]:e.quill.getLeaf(u.index+u.length),m=o(g,2),_=m[0],q=m[1],w=y instanceof f.default.Text?y.value().slice(0,b):"",k=_ instanceof f.default.Text?_.value().slice(q):"",x={collapsed:0===u.length,empty:0===u.length&&d.length()<=1,format:e.quill.getFormat(u),offset:p,prefix:w,suffix:k};l.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"===r(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,u,x))}))&&n.preventDefault()}}}}))}}]),t}(h.default);function _(e,t){var n,r=e===m.keys.LEFT?"prefix":"suffix";return y(n={key:e,shiftKey:t,altKey:null},r,/^$/),y(n,"handler",(function(n){var r=n.index;e===m.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof f.default.Embed&&(e===m.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function q(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],i={};if(0===t.offset){var l=this.quill.getLine(e.index-1),a=o(l,1)[0];if(null!=a&&a.length()>1){var u=r.formats(),s=this.quill.getFormat(e.index-1,1);i=c.default.attributes.diff(u,s)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-f,f,d.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-f,f,i,d.default.sources.USER),this.quill.focus()}}function w(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},i=0,l=this.quill.getLine(e.index),a=o(l,1)[0];if(t.offset>=a.length()-1){var u=this.quill.getLine(e.index+1),s=o(u,1)[0];if(s){var f=a.formats(),p=this.quill.getFormat(e.index,1);r=c.default.attributes.diff(f,p)||{},i=s.length()}}this.quill.deleteText(e.index,n,d.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+i-1,n,r,d.default.sources.USER)}}function k(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=c.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,d.default.sources.USER),this.quill.setSelection(e.index,d.default.sources.SILENT),this.quill.focus()}function x(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return f.default.query(n,f.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],d.default.sources.USER))}))}function O(e){return{key:m.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=f.default.query("code-block"),r=t.index,i=t.length,l=this.quill.scroll.descendant(n,r),a=o(l,2),u=a[0],s=a[1];if(null!=u){var c=this.quill.getIndex(u),p=u.newlineIndex(s,!0)+1,h=u.newlineIndex(c+s+i),v=u.domNode.textContent.slice(p,h).split("\n");s=0,v.forEach((function(t,o){e?(u.insertAt(p+s,n.TAB),s+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(u.deleteAt(p+s,n.TAB.length),s-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),s+=t.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(r,i,d.default.sources.SILENT)}}}}function E(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],d.default.sources.USER)}}}function j(e){if("string"==typeof e||"number"==typeof e)return j({key:e});if("object"===(void 0===e?"undefined":r(e))&&(e=(0,l.default)(e,!1)),"string"==typeof e.key)if(null!=m.keys[e.key.toUpperCase()])e.key=m.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[g]=e.shortKey,delete e.shortKey),e}m.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},m.DEFAULTS={bindings:{bold:E("bold"),italic:E("italic"),underline:E("underline"),indent:{key:m.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:m.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",d.default.sources.USER)}},"outdent backspace":{key:m.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",d.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":O(!0),"outdent code-block":O(!1),"remove tab":{key:m.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,d.default.sources.USER)}},tab:{key:m.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new s.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,d.default.sources.SILENT)}},"list empty enter":{key:m.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,d.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:m.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],l=(0,u.default)({},r.formats(),{list:"checked"}),a=(new s.default).retain(e.index).insert("\n",l).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:m.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=o(n,2),i=r[0],l=r[1],a=(new s.default).retain(e.index).insert("\n",t.format).retain(i.length()-l-1).retain(1,{header:null});this.quill.updateContents(a,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),i=o(r,2),l=i[0],a=i[1];if(a>n)return!0;var u=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":u="unchecked";break;case"[x]":u="checked";break;case"-":case"*":u="bullet";break;default:u="ordered"}this.quill.insertText(e.index," ",d.default.sources.USER),this.quill.history.cutoff();var c=(new s.default).retain(e.index-a).delete(n+1).retain(l.length()-2-a).retain(1,{list:u});this.quill.updateContents(c,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,d.default.sources.SILENT)}},"code exit":{key:m.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],l=(new s.default).retain(e.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(l,d.default.sources.USER)}},"embed left":_(m.keys.LEFT,!1),"embed left shift":_(m.keys.LEFT,!0),"embed right":_(m.keys.RIGHT,!1),"embed right shift":_(m.keys.RIGHT,!0)}},t.default=m,t.SHORTKEY=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=u(n(0)),a=u(n(7));function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}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),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var r=this,i=0;null!=r&&r.statics.scope!==l.default.Scope.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=t.CONTENTS.length,r.optimize(),r.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(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,n=this.selection.getNativeRange(),o=void 0,i=void 0,u=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var s=[e,n.start.offset,n.end.offset];o=s[0],i=s[1],u=s[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?(o=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(l.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var f=[i,u].map((function(e){return Math.max(0,Math.min(o.data.length,e-1))})),d=r(f,2);return i=d[0],u=d[1],{startNode:o,startOffset:i,endNode:o,endOffset:u}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(l.default.Embed);s.blotName="cursor",s.className="ql-cursor",s.tagName="span",s.CONTENTS="\ufeff",t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(0)),o=n(4),i=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return a(this,t),u(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}(r.default.Container);s.allowedChildren=[i.default,o.BlockEmbed,s],t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(0),a=(r=l)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c=function(e){function t(){return u(this,t),s(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),o(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(a.default.Attributor.Style),f=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),d=new c("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=c,t.ColorClass=f,t.ColorStyle=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(6);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return a(this,t),u(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),o(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return c(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((r=l)&&r.__esModule?r:{default:r}).default);function c(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}s.blotName="link",s.tagName="A",s.SANITIZED_URL="about:blank",s.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=s,t.sanitize=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(23)),l=a(n(107));function a(e){return e&&e.__esModule?e:{default:e}}var u=0;function s(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var c=function(){function e(t){var n=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(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return o(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),s(this.label,"aria-expanded"),s(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=l.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-"+u,u+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),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],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.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":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}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 n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(0)),o=b(n(5)),i=n(4),l=b(i),a=b(n(16)),u=b(n(25)),s=b(n(24)),c=b(n(35)),f=b(n(6)),d=b(n(22)),p=b(n(7)),h=b(n(55)),v=b(n(42)),y=b(n(23));function b(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":l.default,"blots/block/embed":i.BlockEmbed,"blots/break":a.default,"blots/container":u.default,"blots/cursor":s.default,"blots/embed":c.default,"blots/inline":f.default,"blots/scroll":d.default,"blots/text":p.default,"modules/clipboard":h.default,"modules/history":v.default,"modules/keyboard":y.default}),r.default.register(l.default,a.default,s.default,f.default,d.default,p.default),t.default=o.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e){this.domNode=e,this.domNode[r.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 r.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 r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},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[r.DATA_KEY]&&delete this.domNode[r.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 n="string"==typeof e?r.create(e,t):e;return n.replace(this),n},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 n="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),l=n(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=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);t.concat(n).concat(a).forEach((function(t){var n=l.query(t,l.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},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,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=a},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=l},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return r(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}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=a(n(0)),l=a(n(7));function a(e){return e&&e.__esModule?e:{default:e}}var u="\ufeff",s=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 n=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 n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(u),n.rightGuard=document.createTextNode(u),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),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),r(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(u).join("");if(e===this.leftGuard)if(this.prev instanceof l.default){var o=this.prev.length();this.prev.insertAt(o,r),t={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof l.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=u,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(i.default.Embed);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},l={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},a=new i.default.Attributor.Attribute("align","align",l),u=new i.default.Attributor.Class("align","ql-align",l),s=new i.default.Attributor.Style("align","text-align",l);t.AlignAttribute=a,t.AlignClass=u,t.AlignStyle=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},l=n(26),a=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),u=new l.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=a,t.BackgroundStyle=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},l={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},a=new i.default.Attributor.Attribute("direction","dir",l),u=new i.default.Attributor.Class("direction","ql-direction",l),s=new i.default.Attributor.Style("direction","direction",l);t.DirectionAttribute=a,t.DirectionClass=u,t.DirectionStyle=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(0),a=(r=l)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},f=new a.default.Attributor.Class("font","ql-font",c),d=function(e){function t(){return u(this,t),s(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),o(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(a.default.Attributor.Style),p=new d("font","font-family",c);t.FontStyle=p,t.FontClass=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},l=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),a=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=l,t.SizeStyle=a},function(e,t,n){e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(0)),i=l(n(5));function l(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,o){e!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}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:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var r=u(n[e]);this.quill.setSelection(r)}}},{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 n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),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}(l(n(9)).default);function u(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=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!=o.default.query(e,o.default.Scope.BLOCK)})))}(e)&&(n-=1),n}a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=a,t.getLastChangeIndex=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=h(n(3)),l=h(n(2)),a=h(n(8)),u=h(n(23)),s=h(n(34)),c=h(n(59)),f=h(n(60)),d=h(n(28)),p=h(n(61));function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 b(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 g=[!1,"center","right","justify"],m=["#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"],_=[!1,"serif","monospace"],q=["1","2","3",!1],w=["small",!1,"large","huge"],k=function(e){function t(e,n){v(this,t);var r=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),r}return b(t,e),r(t,[{key:"addModule",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&O(e,g),new f.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&O(e,m,"background"===n?"#ffffff":"#000000"),new c.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?O(e,_):e.classList.contains("ql-header")?O(e,q):e.classList.contains("ql-size")&&O(e,w)),new d.default(e)})),this.quill.on(a.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(s.default);k.DEFAULTS=(0,i.default)(!0,{},s.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 n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new l.default).retain(r.index).delete(r.length).insert({image:n.target.result}),a.default.sources.USER),e.quill.setSelection(r.index+1,a.default.sources.SILENT),t.value=""},n.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,n){v(this,t);var r=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return b(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){u.default.match(t,"enter")?(e.save(),t.preventDefault()):u.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,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,a.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,a.default.sources.USER)),this.quill.root.scrollTop=r;break;case"video":t=(e=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/),n=t?(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(!n)break;var o=this.quill.getSelection(!0);if(null!=o){var i=o.index+o.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),n,a.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",a.default.sources.USER),this.quill.setSelection(i+2,a.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=x,t.default=k},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=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,n=this.iterator();t=n();)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,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.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 n,r=this.iterator();n=r();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var r,o=this.find(e),i=o[0],l=e-o[1],a=this.iterator(i);(r=a())&&l<e+t;){var u=r.length();e>l?n(r,e-l,Math.min(t,l+u-e)):n(r,0,Math.min(u,e+t-l)),l+=u}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),l=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var a=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[l.DATA_KEY].mutations&&(t.domNode[l.DATA_KEY].mutations=[]),n&&e(t.parent))},u=function e(t){null!=t.domNode[l.DATA_KEY]&&null!=t.domNode[l.DATA_KEY].mutations&&(t instanceof i.default&&t.children.forEach(e),t.optimize(n))},s=t,c=0;s.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach((function(e){var t=l.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(a(l.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=l.find(e,!1);a(t,!1),t instanceof i.default&&t.children.forEach((function(e){a(e,!1)}))}))):"attributes"===e.type&&a(t.prev)),a(t))})),this.children.forEach(u),o=(s=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=l.find(e.target,!0);return null==t?null:null==t.domNode[l.DATA_KEY].mutations?(t.domNode[l.DATA_KEY].mutations=[e],t):(t.domNode[l.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[l.DATA_KEY]&&e.update(e.domNode[l.DATA_KEY].mutations||[],n)})),null!=this.domNode[l.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=l.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=u},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=l.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=a},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var r=l.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=l.query(n,l.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=l.query(r,l.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=l.query(n,l.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),i=l.create(n,r);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=l.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),l=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(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,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),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[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 n=l.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=l.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.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 n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===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,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function r(e,t,u){if(e==t)return e?[[0,e]]:[];(u<0||e.length<u)&&(u=null);var c=i(e,t),f=e.substring(0,c);c=l(e=e.substring(c),t=t.substring(c));var d=e.substring(e.length-c),p=function(e,t){var a;if(!e)return[[1,t]];if(!t)return[[n,e]];var u=e.length>t.length?e:t,s=e.length>t.length?t:e,c=u.indexOf(s);if(-1!=c)return a=[[1,u.substring(0,c)],[0,s],[1,u.substring(c+s.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==s.length)return[[n,e],[1,t]];var f=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function o(e,t,n){for(var r,o,a,u,s=e.substring(n,n+Math.floor(e.length/4)),c=-1,f="";-1!=(c=t.indexOf(s,c+1));){var d=i(e.substring(n),t.substring(c)),p=l(e.substring(0,n),t.substring(0,c));f.length<p+d&&(f=t.substring(c-p,c)+t.substring(c,c+d),r=e.substring(0,n-p),o=e.substring(n+d),a=t.substring(0,c-p),u=t.substring(c+d))}return 2*f.length>=e.length?[r,o,a,u,f]:null}var a,u,s,c,f,d=o(n,r,Math.ceil(n.length/4)),p=o(n,r,Math.ceil(n.length/2));if(!d&&!p)return null;a=p?d&&d[4].length>p[4].length?d:p:d,e.length>t.length?(u=a[0],s=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],u=a[2],s=a[3]);var h=a[4];return[u,s,c,f,h]}(e,t);if(f){var d=f[0],p=f[1],h=f[2],v=f[3],y=f[4],b=r(d,h),g=r(p,v);return b.concat([[0,y]],g)}return function(e,t){for(var r=e.length,i=t.length,l=Math.ceil((r+i)/2),a=l,u=2*l,s=new Array(u),c=new Array(u),f=0;f<u;f++)s[f]=-1,c[f]=-1;s[a+1]=0,c[a+1]=0;for(var d=r-i,p=d%2!=0,h=0,v=0,y=0,b=0,g=0;g<l;g++){for(var m=-g+h;m<=g-v;m+=2){for(var _=a+m,q=(E=m==-g||m!=g&&s[_-1]<s[_+1]?s[_+1]:s[_-1]+1)-m;E<r&&q<i&&e.charAt(E)==t.charAt(q);)E++,q++;if(s[_]=E,E>r)v+=2;else if(q>i)h+=2;else if(p&&(x=a+d-m)>=0&&x<u&&-1!=c[x]&&E>=(k=r-c[x]))return o(e,t,E,q)}for(var w=-g+y;w<=g-b;w+=2){for(var k,x=a+w,O=(k=w==-g||w!=g&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1)-w;k<r&&O<i&&e.charAt(r-k-1)==t.charAt(i-O-1);)k++,O++;if(c[x]=k,k>r)b+=2;else if(O>i)y+=2;else if(!p){var E;if((_=a+d-w)>=0&&_<u&&-1!=s[_]&&(q=a+(E=s[_])-_,E>=(k=r-k)))return o(e,t,E,q)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-c),t=t.substring(0,t.length-c));return f&&p.unshift([0,f]),d&&p.push([0,d]),a(p),null!=u&&(p=function(e,t){var r=function(e,t){if(0===t)return[0,e];for(var r=0,o=0;o<e.length;o++){var i=e[o];if(i[0]===n||0===i[0]){var l=r+i[1].length;if(t===l)return[o+1,e];if(t<l){e=e.slice();var a=t-r,u=[i[0],i[1].slice(0,a)],s=[i[0],i[1].slice(a)];return e.splice(o,1,u,s),[o+1,e]}r=l}}throw new Error("cursor_pos is out of bounds!")}(e,t),o=r[1],i=r[0],l=o[i],a=o[i+1];if(null==l)return e;if(0!==l[0])return e;if(null!=a&&l[1]+a[1]===a[1]+l[1])return o.splice(i,2,a,l),s(o,i,2);if(null!=a&&0===a[1].indexOf(l[1])){o.splice(i,2,[a[0],l[1]],[0,l[1]]);var u=a[1].slice(l[1].length);return u.length>0&&o.splice(i+2,0,[a[0],u]),s(o,i,3)}return e}(p,u)),p=function(e){for(var t=!1,r=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&o(e[i-2][1])&&e[i-1][0]===n&&r(e[i-1][1])&&1===e[i][0]&&r(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var l=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&l.push(e[i]);return l}(p),p}function o(e,t,n,o){var i=e.substring(0,n),l=t.substring(0,o),a=e.substring(n),u=t.substring(o),s=r(i,l),c=r(a,u);return s.concat(c)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function l(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function a(e){e.push([0,""]);for(var t,r=0,o=0,u=0,s="",c="";r<e.length;)switch(e[r][0]){case 1:u++,c+=e[r][1],r++;break;case n:o++,s+=e[r][1],r++;break;case 0:o+u>1?(0!==o&&0!==u&&(0!==(t=i(c,s))&&(r-o-u>0&&0==e[r-o-u-1][0]?e[r-o-u-1][1]+=c.substring(0,t):(e.splice(0,0,[0,c.substring(0,t)]),r++),c=c.substring(t),s=s.substring(t)),0!==(t=l(c,s))&&(e[r][1]=c.substring(c.length-t)+e[r][1],c=c.substring(0,c.length-t),s=s.substring(0,s.length-t))),0===o?e.splice(r-u,o+u,[1,c]):0===u?e.splice(r-o,o+u,[n,s]):e.splice(r-o-u,o+u,[n,s],[1,c]),r=r-o-u+(o?1:0)+(u?1:0)+1):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,u=0,o=0,s="",c=""}""===e[e.length-1][1]&&e.pop();var f=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),f=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),f=!0)),r++;f&&a(e)}var u=r;function s(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var o=e[r],i=e[r+1];o[0]===i[1]&&e.splice(r,2,[o[0],o[1]+i[1]])}return e}u.INSERT=1,u.DELETE=n,u.EQUAL=0,e.exports=u},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(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=n?r:o).supported=r,t.unsupported=o},function(e,t){var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),l.prototype.eventNames=function(){var e,t,o=[];if(0===this._eventsCount)return o;for(t in e=this._events)n.call(e,t)&&o.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e,t){var n=r?r+e:e,o=this._events[n];if(t)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,l=o.length,a=new Array(l);i<l;i++)a[i]=o[i].fn;return a},l.prototype.emit=function(e,t,n,o,i,l){var a=r?r+e:e;if(!this._events[a])return!1;var u,s,c=this._events[a],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){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,n),!0;case 4:return c.fn.call(c.context,t,n,o),!0;case 5:return c.fn.call(c.context,t,n,o,i),!0;case 6:return c.fn.call(c.context,t,n,o,i,l),!0}for(s=1,u=new Array(f-1);s<f;s++)u[s-1]=arguments[s];c.fn.apply(c.context,u)}else{var d,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(e,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,t);break;case 3:c[s].fn.call(c[s].context,t,n);break;case 4:c[s].fn.call(c[s].context,t,n,o);break;default:if(!u)for(d=1,u=new Array(f-1);d<f;d++)u[d-1]=arguments[d];c[s].fn.apply(c[s].context,u)}}return!0},l.prototype.on=function(e,t,n){var o=new i(t,n||this),l=r?r+e:e;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],o]:this._events[l].push(o):(this._events[l]=o,this._eventsCount++),this},l.prototype.once=function(e,t,n){var o=new i(t,n||this,!0),l=r?r+e:e;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],o]:this._events[l].push(o):(this._events[l]=o,this._eventsCount++),this},l.prototype.removeListener=function(e,t,n,i){var l=r?r+e:e;if(!this._events[l])return this;if(!t)return 0==--this._eventsCount?this._events=new o:delete this._events[l],this;var a=this._events[l];if(a.fn)a.fn!==t||i&&!a.once||n&&a.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[l]);else{for(var u=0,s=[],c=a.length;u<c;u++)(a[u].fn!==t||i&&!a[u].once||n&&a[u].context!==n)&&s.push(a[u]);s.length?this._events[l]=1===s.length?s[0]:s:0==--this._eventsCount?this._events=new o:delete this._events[l]}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new o:delete this._events[t])):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function(){return this},l.prefixed=r,l.EventEmitter=l,void 0!==e&&(e.exports=l)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=m(n(3)),a=m(n(2)),u=m(n(0)),s=m(n(5)),c=m(n(10)),f=m(n(9)),d=n(36),p=n(37),h=m(n(13)),v=n(26),y=n(38),b=n(39),g=n(40);function m(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q=(0,c.default)("quill:clipboard"),w="__ql-matcher",k=[[Node.TEXT_NODE,I],[Node.TEXT_NODE,M],["br",function(e,t){return S(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,P],[Node.ELEMENT_NODE,function(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===A(e).fontStyle&&(n.italic=!0),r.fontWeight&&(A(e).fontWeight.startsWith("bold")||parseInt(A(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=j(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new a.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=u.default.query(e);if(null==n||"list-item"!==n.blotName||!S(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(u.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new a.default).retain(t.length()-1).retain(1,{indent:r}))}],["b",T.bind(T,"bold")],["i",T.bind(T,"italic")],["style",function(){return new a.default}]],x=[d.AlignAttribute,y.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),O=[d.AlignStyle,p.BackgroundStyle,v.ColorStyle,y.DirectionStyle,b.FontStyle,g.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),E=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],k.concat(r.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],l=t[1];(n.matchVisual||l!==R)&&r.addMatcher(i,l)})),r}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),i(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 n=this.container.innerText;return this.container.innerHTML="",(new a.default).insert(n,_({},h.default.blotName,t[h.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),l=i[0],u=i[1],s=C(this.container,l,u);return S(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new a.default).retain(s.length()-1).delete(1))),q.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,s.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new a.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),s.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new a.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(s.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,s.default.sources.USER),t.quill.setSelection(r.length()-n.length,s.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),l=i[0],a=i[1];switch(l){case Node.TEXT_NODE:n.push(a);break;case Node.ELEMENT_NODE:t.push(a);break;default:[].forEach.call(e.container.querySelectorAll(l),(function(e){e[w]=e[w]||[],e[w].push(a)}))}})),[t,n]}}]),t}(f.default);function j(e,t,n){return"object"===(void 0===t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return j(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,l.default)({},_({},t,n),r.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 S(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var o=e.ops[r];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*t.length)===t}function N(e){if(0===e.childNodes.length)return!1;var t=A(e);return["block","list-item"].indexOf(t.display)>-1}function C(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new a.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,o){var i=C(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[w]||[]).reduce((function(e,t){return t(o,e)}),i)),r.concat(i)}),new a.default):new a.default}function T(e,t,n){return j(n,e,!0)}function P(e,t){var n=u.default.Attributor.Attribute.keys(e),r=u.default.Attributor.Class.keys(e),o=u.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach((function(t){var n=u.default.query(t,u.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=x[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=O[t])||n.attrName!==t&&n.keyName!==t||(n=O[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=j(t,i)),t}function L(e,t){var n=u.default.query(e);if(null==n)return t;if(n.prototype instanceof u.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new a.default).insert(r,n.formats(e)))}else"function"==typeof n.formats&&(t=j(t,n.blotName,n.formats(e)));return t}function M(e,t){return S(t,"\n")||(N(e)||t.length()>0&&e.nextSibling&&N(e.nextSibling))&&t.insert("\n"),t}function R(e,t){if(N(e)&&null!=e.nextElementSibling&&!S(t,"\n\n")){var n=e.offsetHeight+parseFloat(A(e).marginTop)+parseFloat(A(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function I(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!A(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&N(e.parentNode)||null!=e.previousSibling&&N(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&N(e.parentNode)||null!=e.nextSibling&&N(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}E.DEFAULTS={matchers:[],matchVisual:!0},t.default=E,t.matchAttributor=P,t.matchBlot=L,t.matchNewline=M,t.matchSpacing=R,t.matchText=I},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(6);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return a(this,t),u(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),o(t,[{key:"optimize",value:function(e){i(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 i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((r=l)&&r.__esModule?r:{default:r}).default);s.blotName="bold",s.tagName=["STRONG","B"],t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(2)),l=c(n(0)),a=c(n(5)),u=c(n(10)),s=c(n(9));function c(e){return e&&e.__esModule?e:{default:e}}function f(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 d=(0,u.default)("quill:toolbar"),p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,i=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var l=document.createElement("div");v(l,i.options.container),e.container.parentNode.insertBefore(l,e.container),i.container=l}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t){e===a.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=r(e,1)[0];i.update(t)})),i):(o=d.error("Container required for toolbar",i.options),f(i,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),o(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void d.warn("ignoring attaching to disabled format",n,e);if(null==l.default.query(n))return void d.warn("ignoring attaching to nonexistent format",n,e)}var o="SELECT"===e.tagName?"change":"click";e.addEventListener(o,(function(o){var u=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var s=e.options[e.selectedIndex];u=!s.hasAttribute("selected")&&(s.value||!1)}else u=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),o.preventDefault();t.quill.focus();var c=t.quill.selection.getRange(),f=r(c,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,u);else if(l.default.query(n).prototype instanceof l.default.Embed){if(!(u=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(f.index).delete(f.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,u)),a.default.sources.USER)}else t.quill.format(n,u,a.default.sources.USER);t.update(f)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var o=r(n,2),i=o[0],l=o[1];if("SELECT"===l.tagName){var a=void 0;if(null==e)a=null;else if(null==t[i])a=l.querySelector("option[selected]");else if(!Array.isArray(t[i])){var u=t[i];"string"==typeof u&&(u=u.replace(/\"/g,'\\"')),a=l.querySelector('option[value="'+u+'"]')}null==a?(l.value="",l.selectedIndex=-1):a.selected=!0}else if(null==e)l.classList.remove("ql-active");else if(l.hasAttribute("value")){var s=t[i]===l.getAttribute("value")||null!=t[i]&&t[i].toString()===l.getAttribute("value")||null==t[i]&&!l.getAttribute("value");l.classList.toggle("ql-active",s)}else l.classList.toggle("ql-active",null!=t[i])}))}}]),t}(s.default);function h(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function v(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)h(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?function(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}(n,t,r):h(n,t,r)}})),e.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=l.default.query(t,l.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(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,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(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.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=v},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,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(28),a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}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),o(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(((r=l)&&r.__esModule?r:{default:r}).default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(28),a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}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),o(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((r=l)&&r.__esModule?r:{default:r}).default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){var r=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=n||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(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(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,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=t+i+"px"),o.bottom>r.bottom){var l=o.bottom-o.top,a=e.bottom-e.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=e[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=p(n(3)),a=p(n(8)),u=n(43),s=p(u),c=p(n(27)),f=n(15),d=p(n(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 v(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 y(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=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],g=function(e){function t(e,n){h(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=b);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return y(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),d.default),this.tooltip=new m(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(s.default);g.DEFAULTS=(0,l.default)(!0,{},s.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var m=function(e){function t(e,n){h(this,t);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return y(t,e),i(t,[{key:"listen",value:function(){var e=this;o(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 n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,a.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(a.default.events.SELECTION_CHANGE,(function(t,n,o){if(null!=t){if(0===t.length&&o===a.default.sources.USER){var i=e.quill.scroll.descendant(c.default,t.index),l=r(i,2),u=l[0],s=l[1];if(null!=u){e.linkRange=new f.Range(t.index-s,u.length());var d=c.default.formats(u.domNode);return e.preview.textContent=d,e.preview.setAttribute("href",d),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(u.BaseTooltip);m.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=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=M(n(29)),o=n(36),i=n(38),l=n(64),a=M(n(65)),u=M(n(66)),s=n(67),c=M(s),f=n(37),d=n(26),p=n(39),h=n(40),v=M(n(56)),y=M(n(68)),b=M(n(27)),g=M(n(69)),m=M(n(70)),_=M(n(71)),q=M(n(72)),w=M(n(73)),k=n(13),x=M(k),O=M(n(74)),E=M(n(75)),j=M(n(57)),A=M(n(41)),S=M(n(28)),N=M(n(59)),C=M(n(60)),T=M(n(61)),P=M(n(108)),L=M(n(62));function M(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":h.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":l.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":p.FontClass,"formats/size":h.SizeClass,"formats/blockquote":a.default,"formats/code-block":x.default,"formats/header":u.default,"formats/list":c.default,"formats/bold":v.default,"formats/code":k.Code,"formats/italic":y.default,"formats/link":b.default,"formats/script":g.default,"formats/strike":m.default,"formats/underline":_.default,"formats/image":q.default,"formats/video":w.default,"formats/list/item":s.ListItem,"modules/formula":O.default,"modules/syntax":E.default,"modules/toolbar":j.default,"themes/bubble":P.default,"themes/snow":L.default,"ui/icons":A.default,"ui/picker":S.default,"ui/icon-picker":C.default,"ui/color-picker":N.default,"ui/tooltip":T.default},!0),t.default=r.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(0),a=(r=l)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c=function(e){function t(){return u(this,t),s(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),o(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(a.default.Attributor.Class),f=new c("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 a=function(e){function t(){return i(this,t),l(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}(((r=o)&&r.__esModule?r:{default:r}).default);a.blotName="blockquote",a.tagName="blockquote",t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 u=function(e){function t(){return l(this,t),a(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),o(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);u.blotName="header",u.tagName=["H1","H2","H3","H4","H5","H6"],t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=u(n(0)),l=u(n(4)),a=u(n(25));function u(e){return e&&e.__esModule?e:{default:e}}function s(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 f(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 d=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"format",value:function(e,n){e!==p.blotName||n?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:o(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(l.default);d.blotName="list-item",d.tagName="LI";var p=function(e){function t(e){s(this,t);var n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),o=i.default.find(t.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return f(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{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}}]),r(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,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof d)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(a.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[d],t.ListItem=d,t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 a=function(e){function t(){return i(this,t),l(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}(((r=o)&&r.__esModule?r:{default:r}).default);a.blotName="italic",a.tagName=["EM","I"],t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(6);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return a(this,t),u(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),o(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(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}(((r=l)&&r.__esModule?r:{default:r}).default);s.blotName="script",s.tagName=["SUB","SUP"],t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 a=function(e){function t(){return i(this,t),l(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}(((r=o)&&r.__esModule?r:{default:r}).default);a.blotName="strike",a.tagName="S",t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 a=function(e){function t(){return i(this,t),l(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}(((r=o)&&r.__esModule?r:{default:r}).default);a.blotName="underline",a.tagName="U",t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(0),a=(r=l)&&r.__esModule?r:{default:r},u=n(27);function s(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}var f=["alt","height","width"],d=function(e){function t(){return s(this,t),c(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),o(t,[{key:"format",value:function(e,n){f.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return f.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),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,u.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);d.blotName="image",d.tagName="IMG",t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},l=n(4),a=n(27),u=(r=a)&&r.__esModule?r:{default:r};function s(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}var f=["height","width"],d=function(e){function t(){return s(this,t),c(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),o(t,[{key:"format",value:function(e,n){f.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return f.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return u.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(l.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=u(n(35)),l=u(n(5)),a=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function s(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 f(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 d=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,null,[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var p=function(e){function t(){s(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 f(t,e),r(t,null,[{key:"register",value:function(){l.default.register(d,!0)}}]),t}(a.default);t.FormulaBlot=d,t.default=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},i=u(n(0)),l=u(n(5)),a=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function s(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 f(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 d=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),o(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}(u(n(13)).default);d.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),h=function(e){function t(e,n){s(this,t);var r=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return f(t,e),r(t,null,[{key:"register",value:function(){l.default.register(p,!0),l.default.register(d,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.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=d,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,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var l=o.get;return void 0!==l?l.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=f(n(3)),l=f(n(8)),a=n(43),u=f(a),s=n(15),c=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function d(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 v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],y=function(e){function t(e,n){d(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return h(t,e),o(t,[{key:"extendToolbar",value:function(e){this.tooltip=new b(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}(u.default);y.DEFAULTS=(0,i.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var b=function(e){function t(e,n){d(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t,n,o){if(e===l.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var a=i[i.length-1],u=r.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-u),f=r.quill.getBounds(new s.Range(u,c));r.position(f)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return h(t,e),o(t,[{key:"listen",value:function(){var e=this;r(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(l.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 n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(a.BaseTooltip);b.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=b,t.default=y},function(e,t,n){e.exports=n(63)}]).default},Da.exports=Ba();var Fa=Ia(Da.exports),Ua=-1;function za(e,t,n,r){if(e===t)return e?[[0,e]]:[];if(null!=n){var o=function(e,t,n){var r="number"==typeof n?{index:n,length:0}:n.oldRange,o="number"==typeof n?null:n.newRange,i=e.length,l=t.length;if(0===r.length&&(null===o||0===o.length)){var a=r.index,u=e.slice(0,a),s=e.slice(a),c=o?o.index:null,f=a+l-i;if((null===c||c===f)&&!(f<0||f>l)){var d=t.slice(0,f);if((v=t.slice(f))===s){var p=Math.min(a,f);if((b=u.slice(0,p))===(m=d.slice(0,p)))return Xa(b,u.slice(p),d.slice(p),s)}}if(null===c||c===a){var h=a,v=(d=t.slice(0,h),t.slice(h));if(d===u){var y=Math.min(i-h,l-h);if((g=s.slice(s.length-y))===(_=v.slice(v.length-y)))return Xa(u,s.slice(0,s.length-y),v.slice(0,v.length-y),g)}}}if(r.length>0&&o&&0===o.length){var b=e.slice(0,r.index),g=e.slice(r.index+r.length);if(!(l<(p=b.length)+(y=g.length))){var m=t.slice(0,p),_=t.slice(l-y);if(b===m&&g===_)return Xa(b,e.slice(p,i-y),t.slice(p,l-y),g)}}return null}(e,t,n);if(o)return o}var i=Va(e,t),l=e.substring(0,i);i=Ka(e=e.substring(i),t=t.substring(i));var a=e.substring(e.length-i),u=function(e,t){var n;if(!e)return[[1,t]];if(!t)return[[Ua,e]];var r=e.length>t.length?e:t,o=e.length>t.length?t:e,i=r.indexOf(o);if(-1!==i)return n=[[1,r.substring(0,i)],[0,o],[1,r.substring(i+o.length)]],e.length>t.length&&(n[0][0]=n[2][0]=Ua),n;if(1===o.length)return[[Ua,e],[1,t]];var l=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function o(e,t,n){for(var r,o,i,l,a=e.substring(n,n+Math.floor(e.length/4)),u=-1,s="";-1!==(u=t.indexOf(a,u+1));){var c=Va(e.substring(n),t.substring(u)),f=Ka(e.substring(0,n),t.substring(0,u));s.length<f+c&&(s=t.substring(u-f,u)+t.substring(u,u+c),r=e.substring(0,n-f),o=e.substring(n+c),i=t.substring(0,u-f),l=t.substring(u+c))}return 2*s.length>=e.length?[r,o,i,l,s]:null}var i,l,a,u,s,c=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!c&&!f)return null;i=f?c&&c[4].length>f[4].length?c:f:c;e.length>t.length?(l=i[0],a=i[1],u=i[2],s=i[3]):(u=i[0],s=i[1],l=i[2],a=i[3]);var d=i[4];return[l,a,u,s,d]}(e,t);if(l){var a=l[0],u=l[1],s=l[2],c=l[3],f=l[4],d=za(a,s),p=za(u,c);return d.concat([[0,f]],p)}return function(e,t){for(var n=e.length,r=t.length,o=Math.ceil((n+r)/2),i=o,l=2*o,a=new Array(l),u=new Array(l),s=0;s<l;s++)a[s]=-1,u[s]=-1;a[i+1]=0,u[i+1]=0;for(var c=n-r,f=c%2!=0,d=0,p=0,h=0,v=0,y=0;y<o;y++){for(var b=-y+d;b<=y-p;b+=2){for(var g=i+b,m=(x=b===-y||b!==y&&a[g-1]<a[g+1]?a[g+1]:a[g-1]+1)-b;x<n&&m<r&&e.charAt(x)===t.charAt(m);)x++,m++;if(a[g]=x,x>n)p+=2;else if(m>r)d+=2;else if(f){if((w=i+c-b)>=0&&w<l&&-1!==u[w])if(x>=(q=n-u[w]))return Ha(e,t,x,m)}}for(var _=-y+h;_<=y-v;_+=2){for(var q,w=i+_,k=(q=_===-y||_!==y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-_;q<n&&k<r&&e.charAt(n-q-1)===t.charAt(r-k-1);)q++,k++;if(u[w]=q,q>n)v+=2;else if(k>r)h+=2;else if(!f){if((g=i+c-_)>=0&&g<l&&-1!==a[g]){var x;m=i+(x=a[g])-g;if(x>=(q=n-q))return Ha(e,t,x,m)}}}}return[[Ua,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-i),t=t.substring(0,t.length-i));return l&&u.unshift([0,l]),a&&u.push([0,a]),$a(u,r),u}function Ha(e,t,n,r){var o=e.substring(0,n),i=t.substring(0,r),l=e.substring(n),a=t.substring(r),u=za(o,i),s=za(l,a);return u.concat(s)}function Va(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return Wa(e.charCodeAt(o-1))&&o--,o}function Ka(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return Za(e.charCodeAt(e.length-o))&&o--,o}function $a(e,t){e.push([0,""]);for(var n,r=0,o=0,i=0,l="",a="";r<e.length;)if(r<e.length-1&&!e[r][1])e.splice(r,1);else switch(e[r][0]){case 1:i++,a+=e[r][1],r++;break;case Ua:o++,l+=e[r][1],r++;break;case 0:var u=r-i-o-1;if(t){if(u>=0&&Ya(e[u][1])){var s=e[u][1].slice(-1);if(e[u][1]=e[u][1].slice(0,-1),l=s+l,a=s+a,!e[u][1]){e.splice(u,1),r--;var c=u-1;e[c]&&1===e[c][0]&&(i++,a=e[c][1]+a,c--),e[c]&&e[c][0]===Ua&&(o++,l=e[c][1]+l,c--),u=c}}if(Ga(e[r][1])){s=e[r][1].charAt(0);e[r][1]=e[r][1].slice(1),l+=s,a+=s}}if(r<e.length-1&&!e[r][1]){e.splice(r,1);break}if(l.length>0||a.length>0){l.length>0&&a.length>0&&(0!==(n=Va(a,l))&&(u>=0?e[u][1]+=a.substring(0,n):(e.splice(0,0,[0,a.substring(0,n)]),r++),a=a.substring(n),l=l.substring(n)),0!==(n=Ka(a,l))&&(e[r][1]=a.substring(a.length-n)+e[r][1],a=a.substring(0,a.length-n),l=l.substring(0,l.length-n)));var f=i+o;0===l.length&&0===a.length?(e.splice(r-f,f),r-=f):0===l.length?(e.splice(r-f,f,[1,a]),r=r-f+1):0===a.length?(e.splice(r-f,f,[Ua,l]),r=r-f+1):(e.splice(r-f,f,[Ua,l],[1,a]),r=r-f+2)}0!==r&&0===e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,i=0,o=0,l="",a=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(r=1;r<e.length-1;)0===e[r-1][0]&&0===e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)===e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),d=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),d=!0)),r++;d&&$a(e,t)}function Wa(e){return e>=55296&&e<=56319}function Za(e){return e>=56320&&e<=57343}function Ga(e){return Za(e.charCodeAt(0))}function Ya(e){return Wa(e.charCodeAt(e.length-1))}function Xa(e,t,n,r){return Ya(e)||Ga(r)?null:function(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}([[0,e],[Ua,t],[1,n],[0,r]])}function Qa(e,t,n){return za(e,t,n,!0)}Qa.INSERT=1,Qa.DELETE=Ua,Qa.EQUAL=0;var Ja=Qa,eu={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Boolean]",l="[object Date]",a="[object Function]",u="[object GeneratorFunction]",s="[object Map]",c="[object Number]",f="[object Object]",d="[object Promise]",p="[object RegExp]",h="[object Set]",v="[object String]",y="[object Symbol]",b="[object WeakMap]",g="[object ArrayBuffer]",m="[object DataView]",_="[object Float32Array]",q="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",x="[object Int32Array]",O="[object Uint8Array]",E="[object Uint8ClampedArray]",j="[object Uint16Array]",A="[object Uint32Array]",S=/\w*$/,N=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,T={};T[o]=T["[object Array]"]=T[g]=T[m]=T[i]=T[l]=T[_]=T[q]=T[w]=T[k]=T[x]=T[s]=T[c]=T[f]=T[p]=T[h]=T[v]=T[y]=T[O]=T[E]=T[j]=T[A]=!0,T["[object Error]"]=T[a]=T[b]=!1;var P="object"==typeof Ra&&Ra&&Ra.Object===Object&&Ra,L="object"==typeof self&&self&&self.Object===Object&&self,M=P||L||Function("return this")(),R=t&&!t.nodeType&&t,I=R&&e&&!e.nodeType&&e,B=I&&I.exports===R;function D(e,t){return e.set(t[0],t[1]),e}function F(e,t){return e.add(t),e}function U(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function H(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function V(e,t){return function(n){return e(t(n))}}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var $=Array.prototype,W=Function.prototype,Z=Object.prototype,G=M["__core-js_shared__"],Y=function(){var e=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),X=W.toString,Q=Z.hasOwnProperty,J=Z.toString,ee=RegExp("^"+X.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=B?M.Buffer:void 0,ne=M.Symbol,re=M.Uint8Array,oe=V(Object.getPrototypeOf,Object),ie=Object.create,le=Z.propertyIsEnumerable,ae=$.splice,ue=Object.getOwnPropertySymbols,se=te?te.isBuffer:void 0,ce=V(Object.keys,Object),fe=Re(M,"DataView"),de=Re(M,"Map"),pe=Re(M,"Promise"),he=Re(M,"Set"),ve=Re(M,"WeakMap"),ye=Re(Object,"create"),be=Ue(fe),ge=Ue(de),me=Ue(pe),_e=Ue(he),qe=Ue(ve),we=ne?ne.prototype:void 0,ke=we?we.valueOf:void 0;function xe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function je(e){this.__data__=new Oe(e)}function Ae(e,t){var n=He(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&Q.call(e,"callee")&&(!le.call(e,"callee")||J.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var l in e)!t&&!Q.call(e,l)||i&&("length"==l||De(l,r))||n.push(l);return n}function Se(e,t,n){var r=e[t];Q.call(e,t)&&ze(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Ne(e,t){for(var n=e.length;n--;)if(ze(e[n][0],t))return n;return-1}function Ce(e,t,n,r,d,b,N){var C;if(r&&(C=b?r(e,d,b,N):r(e)),void 0!==C)return C;if(!We(e))return e;var P=He(e);if(P){if(C=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&Q.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,C)}else{var L=Be(e),M=L==a||L==u;if(Ke(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(L==f||L==o||M&&!b){if(z(e))return b?e:{};if(C=function(e){return"function"!=typeof e.constructor||Fe(e)?{}:(t=oe(e),We(t)?ie(t):{});var t}(M?{}:e),!t)return function(e,t){return Le(e,Ie(e),t)}(e,function(e,t){return e&&Le(t,Ze(t),e)}(C,e))}else{if(!T[L])return b?e:{};C=function(e,t,n,r){var o=e.constructor;switch(t){case g:return Pe(e);case i:case l:return new o(+e);case m:return function(e,t){var n=t?Pe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case _:case q:case w:case k:case x:case O:case E:case j:case A:return function(e,t){var n=t?Pe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case s:return function(e,t,n){return U(t?n(H(e),!0):H(e),D,new e.constructor)}(e,r,n);case c:case v:return new o(e);case p:return function(e){var t=new e.constructor(e.source,S.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){return U(t?n(K(e),!0):K(e),F,new e.constructor)}(e,r,n);case y:return a=e,ke?Object(ke.call(a)):{}}var a}(e,L,Ce,t)}}N||(N=new je);var R=N.get(e);if(R)return R;if(N.set(e,C),!P)var I=n?function(e){return function(e,t,n){var r=t(e);return He(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ze,Ie)}(e):Ze(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(I||e,(function(o,i){I&&(o=e[i=o]),Se(C,i,Ce(o,t,n,r,i,e,N))})),C}function Te(e){return!(!We(e)||(t=e,Y&&Y in t))&&($e(e)||z(e)?ee:N).test(Ue(e));var t}function Pe(e){var t=new e.constructor(e.byteLength);return new re(t).set(new re(e)),t}function Le(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var l=t[o],a=r?r(n[l],e[l],l,n,e):void 0;Se(n,l,void 0===a?e[l]:a)}return n}function Me(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Re(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Te(n)?n:void 0}xe.prototype.clear=function(){this.__data__=ye?ye(null):{}},xe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},xe.prototype.get=function(e){var t=this.__data__;if(ye){var r=t[e];return r===n?void 0:r}return Q.call(t,e)?t[e]:void 0},xe.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:Q.call(t,e)},xe.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?n:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,n=Ne(t,e);return!(n<0)&&(n==t.length-1?t.pop():ae.call(t,n,1),!0)},Oe.prototype.get=function(e){var t=this.__data__,n=Ne(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return Ne(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,r=Ne(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ee.prototype.clear=function(){this.__data__={hash:new xe,map:new(de||Oe),string:new xe}},Ee.prototype.delete=function(e){return Me(this,e).delete(e)},Ee.prototype.get=function(e){return Me(this,e).get(e)},Ee.prototype.has=function(e){return Me(this,e).has(e)},Ee.prototype.set=function(e,t){return Me(this,e).set(e,t),this},je.prototype.clear=function(){this.__data__=new Oe},je.prototype.delete=function(e){return this.__data__.delete(e)},je.prototype.get=function(e){return this.__data__.get(e)},je.prototype.has=function(e){return this.__data__.has(e)},je.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var r=n.__data__;if(!de||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ee(r)}return n.set(e,t),this};var Ie=ue?V(ue,Object):function(){return[]},Be=function(e){return J.call(e)};function De(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||C.test(e))&&e>-1&&e%1==0&&e<t}function Fe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Z)}function Ue(e){if(null!=e){try{return X.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ze(e,t){return e===t||e!=e&&t!=t}(fe&&Be(new fe(new ArrayBuffer(1)))!=m||de&&Be(new de)!=s||pe&&Be(pe.resolve())!=d||he&&Be(new he)!=h||ve&&Be(new ve)!=b)&&(Be=function(e){var t=J.call(e),n=t==f?e.constructor:void 0,r=n?Ue(n):void 0;if(r)switch(r){case be:return m;case ge:return s;case me:return d;case _e:return h;case qe:return b}return t});var He=Array.isArray;function Ve(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!$e(e)}var Ke=se||function(){return!1};function $e(e){var t=We(e)?J.call(e):"";return t==a||t==u}function We(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ze(e){return Ve(e)?Ae(e):function(e){if(!Fe(e))return ce(e);var t=[];for(var n in Object(e))Q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ce(e,!0,!0)}}(eu,eu.exports);var tu={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Array]",l="[object Boolean]",a="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",g="[object WeakMap]",m="[object ArrayBuffer]",_="[object DataView]",q=/^\[object .+?Constructor\]$/,w=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[o]=k[i]=k[m]=k[l]=k[_]=k[a]=k[u]=k[s]=k[c]=k[f]=k[d]=k[h]=k[v]=k[y]=k[g]=!1;var x="object"==typeof Ra&&Ra&&Ra.Object===Object&&Ra,O="object"==typeof self&&self&&self.Object===Object&&self,E=x||O||Function("return this")(),j=t&&!t.nodeType&&t,A=j&&e&&!e.nodeType&&e,S=A&&A.exports===j,N=S&&x.process,C=function(){try{return N&&N.binding&&N.binding("util")}catch(e){}}(),T=C&&C.isTypedArray;function P(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var R,I,B=Array.prototype,D=Function.prototype,F=Object.prototype,U=E["__core-js_shared__"],z=D.toString,H=F.hasOwnProperty,V=function(){var e=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),K=F.toString,$=RegExp("^"+z.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=S?E.Buffer:void 0,Z=E.Symbol,G=E.Uint8Array,Y=F.propertyIsEnumerable,X=B.splice,Q=Z?Z.toStringTag:void 0,J=Object.getOwnPropertySymbols,ee=W?W.isBuffer:void 0,te=(R=Object.keys,I=Object,function(e){return R(I(e))}),ne=Ne(E,"DataView"),re=Ne(E,"Map"),oe=Ne(E,"Promise"),ie=Ne(E,"Set"),le=Ne(E,"WeakMap"),ae=Ne(Object,"create"),ue=Le(ne),se=Le(re),ce=Le(oe),fe=Le(ie),de=Le(le),pe=Z?Z.prototype:void 0,he=pe?pe.valueOf:void 0;function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new be;++t<n;)this.add(e[t])}function me(e){var t=this.__data__=new ye(e);this.size=t.size}function _e(e,t){var n=Ie(e),r=!n&&Re(e),o=!n&&!r&&Be(e),i=!n&&!r&&!o&&He(e),l=n||r||o||i,a=l?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=a.length;for(var s in e)!t&&!H.call(e,s)||l&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Pe(s,u))||a.push(s);return a}function qe(e,t){for(var n=e.length;n--;)if(Me(e[n][0],t))return n;return-1}function we(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Q&&Q in Object(e)?function(e){var t=H.call(e,Q),n=e[Q];try{e[Q]=void 0;var r=!0}catch(i){}var o=K.call(e);r&&(t?e[Q]=n:delete e[Q]);return o}(e):function(e){return K.call(e)}(e)}function ke(e){return ze(e)&&we(e)==o}function xe(e,t,n,r,s){return e===t||(null==e||null==t||!ze(e)&&!ze(t)?e!=e&&t!=t:function(e,t,n,r,s,p){var g=Ie(e),q=Ie(t),w=g?i:Te(e),k=q?i:Te(t),x=(w=w==o?d:w)==d,O=(k=k==o?d:k)==d,E=w==k;if(E&&Be(e)){if(!Be(t))return!1;g=!0,x=!1}if(E&&!x)return p||(p=new me),g||He(e)?je(e,t,n,r,s,p):function(e,t,n,r,o,i,s){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case m:return!(e.byteLength!=t.byteLength||!i(new G(e),new G(t)));case l:case a:case f:return Me(+e,+t);case u:return e.name==t.name&&e.message==t.message;case h:case y:return e==t+"";case c:var d=L;case v:var p=1&r;if(d||(d=M),e.size!=t.size&&!p)return!1;var g=s.get(e);if(g)return g==t;r|=2,s.set(e,t);var q=je(d(e),d(t),r,o,i,s);return s.delete(e),q;case b:if(he)return he.call(e)==he.call(t)}return!1}(e,t,w,n,r,s,p);if(!(1&n)){var j=x&&H.call(e,"__wrapped__"),A=O&&H.call(t,"__wrapped__");if(j||A){var S=j?e.value():e,N=A?t.value():t;return p||(p=new me),s(S,N,n,r,p)}}if(!E)return!1;return p||(p=new me),function(e,t,n,r,o,i){var l=1&n,a=Ae(e),u=a.length,s=Ae(t).length;if(u!=s&&!l)return!1;var c=u;for(;c--;){var f=a[c];if(!(l?f in t:H.call(t,f)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var p=!0;i.set(e,t),i.set(t,e);var h=l;for(;++c<u;){var v=e[f=a[c]],y=t[f];if(r)var b=l?r(y,v,f,t,e,i):r(v,y,f,e,t,i);if(!(void 0===b?v===y||o(v,y,n,r,i):b)){p=!1;break}h||(h="constructor"==f)}if(p&&!h){var g=e.constructor,m=t.constructor;g==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,s,p)}(e,t,n,r,xe,s))}function Oe(e){return!(!Ue(e)||function(e){return!!V&&V in e}(e))&&(De(e)?$:q).test(Le(e))}function Ee(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||F,t!==r)return te(e);var t,n,r,o=[];for(var i in Object(e))H.call(e,i)&&"constructor"!=i&&o.push(i);return o}function je(e,t,n,r,o,i){var l=1&n,a=e.length,u=t.length;if(a!=u&&!(l&&u>a))return!1;var s=i.get(e);if(s&&i.get(t))return s==t;var c=-1,f=!0,d=2&n?new ge:void 0;for(i.set(e,t),i.set(t,e);++c<a;){var p=e[c],h=t[c];if(r)var v=l?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(void 0!==v){if(v)continue;f=!1;break}if(d){if(!P(t,(function(e,t){if(l=t,!d.has(l)&&(p===e||o(p,e,n,r,i)))return d.push(t);var l}))){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function Ae(e){return function(e,t,n){var r=t(e);return Ie(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ve,Ce)}function Se(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Ne(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Oe(n)?n:void 0}ve.prototype.clear=function(){this.__data__=ae?ae(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(ae){var r=t[e];return r===n?void 0:r}return H.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return ae?void 0!==t[e]:H.call(t,e)},ve.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ae&&void 0===t?n:t,this},ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=qe(t,e);return!(n<0)&&(n==t.length-1?t.pop():X.call(t,n,1),--this.size,!0)},ye.prototype.get=function(e){var t=this.__data__,n=qe(t,e);return n<0?void 0:t[n][1]},ye.prototype.has=function(e){return qe(this.__data__,e)>-1},ye.prototype.set=function(e,t){var n=this.__data__,r=qe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(re||ye),string:new ve}},be.prototype.delete=function(e){var t=Se(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Se(this,e).get(e)},be.prototype.has=function(e){return Se(this,e).has(e)},be.prototype.set=function(e,t){var n=Se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ge.prototype.add=ge.prototype.push=function(e){return this.__data__.set(e,n),this},ge.prototype.has=function(e){return this.__data__.has(e)},me.prototype.clear=function(){this.__data__=new ye,this.size=0},me.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},me.prototype.get=function(e){return this.__data__.get(e)},me.prototype.has=function(e){return this.__data__.has(e)},me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!re||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Ce=J?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var l=e[n];t(l,n,e)&&(i[o++]=l)}return i}(J(e),(function(t){return Y.call(e,t)})))}:function(){return[]},Te=we;function Pe(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function Le(e){if(null!=e){try{return z.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Me(e,t){return e===t||e!=e&&t!=t}(ne&&Te(new ne(new ArrayBuffer(1)))!=_||re&&Te(new re)!=c||oe&&Te(oe.resolve())!=p||ie&&Te(new ie)!=v||le&&Te(new le)!=g)&&(Te=function(e){var t=we(e),n=t==d?e.constructor:void 0,r=n?Le(n):"";if(r)switch(r){case ue:return _;case se:return c;case ce:return p;case fe:return v;case de:return g}return t});var Re=ke(function(){return arguments}())?ke:function(e){return ze(e)&&H.call(e,"callee")&&!Y.call(e,"callee")},Ie=Array.isArray;var Be=ee||function(){return!1};function De(e){if(!Ue(e))return!1;var t=we(e);return t==s||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Fe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Ue(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ze(e){return null!=e&&"object"==typeof e}var He=T?function(e){return function(t){return e(t)}}(T):function(e){return ze(e)&&Fe(e.length)&&!!k[we(e)]};function Ve(e){return null!=(t=e)&&Fe(t.length)&&!De(t)?_e(e):Ee(e);var t}e.exports=function(e,t){return xe(e,t)}}(tu,tu.exports);var nu={},ru=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nu,"__esModule",{value:!0});var ou,iu=ru(eu.exports),lu=ru(tu.exports);!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=iu.default(t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return lu.default(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce((function(n,r){return t[r]!==e[r]&&void 0!==e[r]&&(n[r]=t[r]),n}),{});return Object.keys(e).reduce((function(n,r){return e[r]!==t[r]&&void 0===t[r]&&(n[r]=null),n}),n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}}(ou||(ou={})),nu.default=ou;var au,uu,su={},cu={};function fu(){if(uu)return su;uu=1;var e=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(su,"__esModule",{value:!0});var t,n=e(function(){if(au)return cu;au=1;var e=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cu,"__esModule",{value:!0});var t=e(fu()),n=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var n=this.ops[this.index];if(n){var r=this.offset,o=t.default.length(n);if(e>=o-r?(e=o-r,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof n.delete)return{delete:e};var i={};return n.attributes&&(i.attributes=n.attributes),"number"==typeof n.retain?i.retain=e:"string"==typeof n.insert?i.insert=n.insert.substr(r,e):i.insert=n.insert,i}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0},e.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"},e.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e}();return cu.default=n,cu}());return function(e){e.iterator=function(e){return new n.default(e)},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}}(t||(t={})),su.default=t,su}var du=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},pu=du(Ja),hu=du(eu.exports),vu=du(tu.exports),yu=du(nu),bu=du(fu()),gu=String.fromCharCode(0);!function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=hu.default(e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(vu.default(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.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},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+bu.default.length(t):t.delete?e-t.delete:e}),0)},e.prototype.length=function(){return this.reduce((function(e,t){return e+bu.default.length(t)}),0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var r=[],o=bu.default.iterator(this.ops),i=0;i<n&&o.hasNext();){var l=void 0;i<t?l=o.next(t-i):(l=o.next(n-i),r.push(l)),i+=bu.default.length(l)}return new e(r)},e.prototype.compose=function(t){var n=bu.default.iterator(this.ops),r=bu.default.iterator(t.ops),o=[],i=r.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var l=i.retain;"insert"===n.peekType()&&n.peekLength()<=l;)l-=n.peekLength(),o.push(n.next());i.retain-l>0&&r.next(i.retain-l)}for(var a=new e(o);n.hasNext()||r.hasNext();)if("insert"===r.peekType())a.push(r.next());else if("delete"===n.peekType())a.push(n.next());else{var u=Math.min(n.peekLength(),r.peekLength()),s=n.next(u),c=r.next(u);if("number"==typeof c.retain){var f={};"number"==typeof s.retain?f.retain=u:f.insert=s.insert;var d=yu.default.compose(s.attributes,c.attributes,"number"==typeof s.retain);if(d&&(f.attributes=d),a.push(f),!r.hasNext()&&vu.default(a.ops[a.ops.length-1],f)){var p=new e(n.rest());return a.concat(p).chop()}}else"number"==typeof c.delete&&"number"==typeof s.retain&&a.push(c)}return a.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var r=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:gu;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new e,i=pu.default(r[0],r[1],n),l=bu.default.iterator(this.ops),a=bu.default.iterator(t.ops);return i.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case pu.default.INSERT:n=Math.min(a.peekLength(),t),o.push(a.next(n));break;case pu.default.DELETE:n=Math.min(t,l.peekLength()),l.next(n),o.delete(n);break;case pu.default.EQUAL:n=Math.min(l.peekLength(),a.peekLength(),t);var r=l.next(n),i=a.next(n);vu.default(r.insert,i.insert)?o.retain(n,yu.default.diff(r.attributes,i.attributes)):o.push(i).delete(n)}t-=n}})),o.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var r=bu.default.iterator(this.ops),o=new e,i=0;r.hasNext();){if("insert"!==r.peekType())return;var l=r.peek(),a=bu.default.length(l)-r.peekLength(),u="string"==typeof l.insert?l.insert.indexOf(n,a)-a:-1;if(u<0)o.push(r.next());else if(u>0)o.push(r.next(u));else{if(!1===t(o,r.next(1).attributes||{},i))return;i+=1,o=new e}}o.length()>0&&t(o,{},i)},e.prototype.invert=function(t){var n=new e;return this.reduce((function(e,r){if(r.insert)n.delete(bu.default.length(r));else{if(r.retain&&null==r.attributes)return n.retain(r.retain),e+r.retain;if(r.delete||r.retain&&r.attributes){var o=r.delete||r.retain;return t.slice(e,e+o).forEach((function(e){r.delete?n.push(e):r.retain&&r.attributes&&n.retain(bu.default.length(e),yu.default.invert(r.attributes,e.attributes))})),e+o}}return e}),0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var r=t,o=bu.default.iterator(this.ops),i=bu.default.iterator(r.ops),l=new e;o.hasNext()||i.hasNext();)if("insert"!==o.peekType()||!n&&"insert"===i.peekType())if("insert"===i.peekType())l.push(i.next());else{var a=Math.min(o.peekLength(),i.peekLength()),u=o.next(a),s=i.next(a);if(u.delete)continue;s.delete?l.push(s):l.retain(a,yu.default.transform(u.attributes,s.attributes,n))}else l.retain(bu.default.length(o.next()));return l.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=bu.default.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.Op=bu.default,e.AttributeMap=yu.default}();
- /*!
- * VueQuill @vueup/vue-quill v1.0.0-beta.9
- * https://vueup.github.io/vue-quill/
- *
- * Includes quill v1.3.7
- * https://quilljs.com/
- *
- * Copyright (c) 2022 Ahmad Luthfi Masruri
- * Released under the MIT license
- * Date: 2022-07-15T12:19:26.189Z
- */
- var mu={essential:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}],["blockquote","code-block","link"],[{color:[]},"clean"]],minimal:[[{header:1},{header:2}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}]],full:[["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:[]}],["link","video","image"],["clean"]]};e("aD",vr({name:"QuillEditor",inheritAttrs:!1,props:{content:{type:[String,Object],default:function(){}},contentType:{type:String,default:"delta",validator:function(e){return["delta","html","text"].includes(e)}},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1},theme:{type:String,default:"snow",validator:function(e){return["snow","bubble",""].includes(e)}},toolbar:{type:[String,Array,Object],required:!1,validator:function(e){return"string"!=typeof e||""===e||("#"===e.charAt(0)||-1!==Object.keys(mu).indexOf(e))}},modules:{type:Object,required:!1},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready"],setup:function(e,t){var n,r;Cr((function(){i()})),Lr((function(){n=null}));var o=Mt(),i=function(){var i;if(o.value){if(r=l(),e.modules)if(Array.isArray(e.modules)){var s,d=u(e.modules);try{for(d.s();!(s=d.n()).done;){var h=s.value;Fa.register(`modules/${h.name}`,h.module)}}catch(v){d.e(v)}finally{d.f()}}else Fa.register(`modules/${e.modules.name}`,e.modules.module);n=new Fa(o.value,r),p(e.content),n.on("text-change",a),n.on("selection-change",c),n.on("editor-change",f),"bubble"!==e.theme&&o.value.classList.remove("ql-bubble"),"snow"!==e.theme&&o.value.classList.remove("ql-snow"),null===(i=n.getModule("toolbar"))||void 0===i||i.container.addEventListener("mousedown",(function(e){e.preventDefault()})),t.emit("ready",n)}},l=function(){var t={};if(""!==e.theme&&(t.theme=e.theme),e.readOnly&&(t.readOnly=e.readOnly),e.placeholder&&(t.placeholder=e.placeholder),e.toolbar&&""!==e.toolbar&&(t.modules={toolbar:"object"==typeof e.toolbar?e.toolbar:"string"==typeof e.toolbar?"#"===e.toolbar.charAt(0)?e.toolbar:mu[e.toolbar]:void 0}),e.modules){var n=function(){var t,n,r={};if(Array.isArray(e.modules)){var o,i=u(e.modules);try{for(i.s();!(o=i.n()).done;){var l=o.value;r[l.name]=null!==(t=l.options)&&void 0!==t?t:{}}}catch(a){i.e(a)}finally{i.f()}}else r[e.modules.name]=null!==(n=e.modules.options)&&void 0!==n?n:{};return r}();t.modules=Object.assign({},t.modules,n)}return Object.assign({},e.globalOptions,e.options,t)},a=function(e,n,r){t.emit("update:content",d()),t.emit("textChange",{delta:e,oldContents:n,source:r})},s=Mt(),c=function(e,r,o){s.value=!!(null==n?void 0:n.hasFocus()),t.emit("selectionChange",{range:e,oldRange:r,source:o})};tr(s,(function(e){e?t.emit("focus",o):t.emit("blur",o)}));var f=function(){"text-change"===(arguments.length<=0?void 0:arguments[0])&&t.emit("editorChange",{name:arguments.length<=0?void 0:arguments[0],delta:arguments.length<=1?void 0:arguments[1],oldContents:arguments.length<=2?void 0:arguments[2],source:arguments.length<=3?void 0:arguments[3]}),"selection-change"===(arguments.length<=0?void 0:arguments[0])&&t.emit("editorChange",{name:arguments.length<=0?void 0:arguments[0],range:arguments.length<=1?void 0:arguments[1],oldRange:arguments.length<=2?void 0:arguments[2],source:arguments.length<=3?void 0:arguments[3]})},d=function(t,r){return"html"===e.contentType?y():"text"===e.contentType?h(t,r):null==n?void 0:n.getContents(t,r)},p=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";"html"===e.contentType?b(t):"text"===e.contentType?v(t,r):null==n||n.setContents(t,r)},h=function(e,t){var r;return null!==(r=null==n?void 0:n.getText(e,t))&&void 0!==r?r:""},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";null==n||n.setText(e,t)},y=function(){var e;return null!==(e=null==n?void 0:n.root.innerHTML)&&void 0!==e?e:""},b=function(e){n&&(n.root.innerHTML=e)};return tr((function(){return e.enable}),(function(e){n&&n.enable(e)})),{editor:o,getEditor:function(){return o.value},getToolbar:function(){var e;return null===(e=null==n?void 0:n.getModule("toolbar"))||void 0===e?void 0:e.container},getQuill:function(){if(n)return n;throw'The quill editor hasn\'t been instantiated yet, \n make sure to call this method when the editor ready\n or use v-on:ready="onReady(quill)" event instead.'},getContents:d,setContents:p,getHTML:y,setHTML:b,pasteHTML:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api",r=null==n?void 0:n.clipboard.convert(e);r&&(null==n||n.setContents(r,t))},getText:h,setText:v,reinit:function(){bn((function(){var e;!t.slots.toolbar&&n&&(null===(e=n.getModule("toolbar"))||void 0===e||e.container.remove()),i()}))}}},render(){var e,n;return[null===(n=(e=this.$slots).toolbar)||void 0===n?void 0:n.call(e),Qi("div",t({ref:"editor"},this.$attrs))]}}))}}}))}();
|