gds-plus-design-vue 1.1.87 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/lib/{chartbi.c211f08d.js → chartbi.06e48153.js} +20 -20
  2. package/lib/{chartbi.090c7bd2.mjs → chartbi.cdd1e365.mjs} +21 -14
  3. package/lib/gd-initial.js +12 -12
  4. package/lib/gd-initial.mjs +1993 -1336
  5. package/lib/main.2415a49a.js +1 -0
  6. package/lib/{main.b4723893.mjs → main.2cddfbbd.mjs} +5 -5
  7. package/lib/{main.6903ab7a.js → main.4c447fc3.js} +1 -1
  8. package/lib/{main.197a0d5f.mjs → main.86fe06d4.mjs} +6 -6
  9. package/lib/{main.4f2a165f.mjs → main.b2d0a309.mjs} +10 -10
  10. package/lib/{main.d1772cf9.js → main.d091d06d.js} +1 -1
  11. package/lib/{messages.0e2d9d5a.js → messages.2fff74f3.js} +5 -5
  12. package/lib/{messages.a9287789.mjs → messages.d8abe18d.mjs} +18 -18
  13. package/lib/style.css +3 -3
  14. package/lib/{system.account.d3dd14ec.js → system.account.8ea53681.js} +2 -2
  15. package/lib/{system.account.e95f40c9.mjs → system.account.9bc40d08.mjs} +230 -230
  16. package/lib/{system.config.e74cc108.mjs → system.config.8223d495.mjs} +3 -3
  17. package/lib/{system.config.1164deec.js → system.config.c6e30213.js} +1 -1
  18. package/lib/{system.datasource.034737e6.mjs → system.datasource.57233650.mjs} +3 -3
  19. package/lib/{system.datasource.813c512e.js → system.datasource.fd6a4e76.js} +1 -1
  20. package/lib/{system.dict.9b1038c3.mjs → system.dict.8f95218b.mjs} +115 -89
  21. package/lib/system.dict.a24f33b0.js +1 -0
  22. package/lib/{system.duplicatechecking.e5542a97.js → system.duplicatechecking.39293985.js} +1 -1
  23. package/lib/{system.duplicatechecking.1aac5b8c.mjs → system.duplicatechecking.6b706948.mjs} +17 -9
  24. package/lib/{system.email.6041b7b0.js → system.email.a2d9a307.js} +2 -2
  25. package/lib/{system.email.96d35919.mjs → system.email.dae988be.mjs} +4 -4
  26. package/lib/{system.fieldsecurity.0909e14b.mjs → system.fieldsecurity.02627a7a.mjs} +14 -14
  27. package/lib/{system.fieldsecurity.eb33e06f.js → system.fieldsecurity.a0cec24d.js} +1 -1
  28. package/lib/{system.file.507bf874.mjs → system.file.0fa095a9.mjs} +4 -4
  29. package/lib/{system.file.e37f9bd2.js → system.file.d695ab37.js} +1 -1
  30. package/lib/{system.log.0c37bd82.mjs → system.log.acb64505.mjs} +2 -2
  31. package/lib/{system.log.73097e0b.js → system.log.c07ae5db.js} +1 -1
  32. package/lib/{system.machine.4302c7e3.js → system.machine.7fa3e3d1.js} +1 -1
  33. package/lib/{system.machine.fb7aa834.mjs → system.machine.fc392d7f.mjs} +2 -2
  34. package/lib/{system.notice.128ebe61.mjs → system.notice.5ae50bd4.mjs} +5 -5
  35. package/lib/{system.notice.d92fe0cd.js → system.notice.f18578ae.js} +1 -1
  36. package/lib/{system.noticereceived.54ac8bcb.mjs → system.noticereceived.1aa70b65.mjs} +4 -4
  37. package/lib/{system.noticereceived.32361d39.js → system.noticereceived.bfa98a9b.js} +1 -1
  38. package/lib/{system.onlineuser.2c37c72c.js → system.onlineuser.1c428d05.js} +1 -1
  39. package/lib/{system.onlineuser.2a4b2db5.mjs → system.onlineuser.3d848a32.mjs} +2 -2
  40. package/lib/{system.org.df5901a3.js → system.org.5bb36f9c.js} +1 -1
  41. package/lib/{system.org.146afbe9.mjs → system.org.fcf96d1e.mjs} +3 -3
  42. package/lib/{system.permissions.5f00b39f.mjs → system.permissions.23f5b097.mjs} +11 -11
  43. package/lib/{system.permissions.41571e57.js → system.permissions.a1a9505c.js} +2 -2
  44. package/lib/{system.plugin.ddd4c699.js → system.plugin.b6de4673.js} +1 -1
  45. package/lib/{system.plugin.9b9c4301.mjs → system.plugin.e37f9dbc.mjs} +4 -4
  46. package/lib/{system.pos.eb8248c1.mjs → system.pos.1a01fc97.mjs} +3 -3
  47. package/lib/{system.pos.352032e6.js → system.pos.a4fb19b0.js} +1 -1
  48. package/lib/system.promptmanagement.290958b1.js +1 -0
  49. package/lib/{system.promptmanagement.cd36225c.mjs → system.promptmanagement.36a65c51.mjs} +20 -12
  50. package/lib/{system.role.8d9f0f33.mjs → system.role.68de93ef.mjs} +13 -13
  51. package/lib/{system.role.656fa7cc.js → system.role.88100f66.js} +1 -1
  52. package/lib/{system.sumberrules.6eee79be.mjs → system.sumberrules.cdef9308.mjs} +5 -5
  53. package/lib/system.sumberrules.dd6299e8.js +1 -0
  54. package/lib/system.team.53d64006.js +1 -0
  55. package/lib/system.team.ee652fe4.mjs +926 -0
  56. package/lib/system.teammembers.26a2ba81.mjs +398 -0
  57. package/lib/system.teammembers.4a3dc336.js +1 -0
  58. package/lib/{system.timers.f4eaacaf.mjs → system.timers.4efa8a7d.mjs} +16 -16
  59. package/lib/{system.timers.a348d394.js → system.timers.b9424204.js} +2 -2
  60. package/lib/{system.translation.00e5bfa2.mjs → system.translation.0a9399b4.mjs} +14 -14
  61. package/lib/{system.translation.aa511bcb.js → system.translation.21d2fd8b.js} +1 -1
  62. package/lib/{system.user.eecef7c2.mjs → system.user.4fcfdf99.mjs} +9 -9
  63. package/lib/{system.user.2a00c354.js → system.user.d48a08db.js} +3 -3
  64. package/lib/{system.useraffiliation.f986d344.js → system.useraffiliation.a59ce45b.js} +1 -1
  65. package/lib/{system.useraffiliation.d638afe1.mjs → system.useraffiliation.fb002239.mjs} +7 -7
  66. package/lib/{system.webresource.5071b3f4.js → system.webresource.3366cc29.js} +1 -1
  67. package/lib/{system.webresource.d25eab7d.mjs → system.webresource.4df01c92.mjs} +9 -9
  68. package/lib/{system.welcome.1988f581.mjs → system.welcome.120f4b50.mjs} +2 -2
  69. package/lib/{system.welcome.b6ec1ec0.js → system.welcome.472f099b.js} +1 -1
  70. package/locale/el/en_US.js +122 -122
  71. package/locale/el/id_ID.js +122 -122
  72. package/locale/el/vi_VN.js +122 -122
  73. package/locale/el/zh_CN.js +122 -122
  74. package/locale/en_US.js +17 -2
  75. package/locale/id_ID.js +17 -2
  76. package/locale/vi_VN.js +17 -2
  77. package/locale/zh_CN.js +17 -2
  78. package/package.json +1 -1
  79. package/lib/main.d9f793bb.js +0 -1
  80. package/lib/system.dict.2deb0cde.js +0 -1
  81. package/lib/system.promptmanagement.25e1639b.js +0 -1
  82. package/lib/system.sumberrules.0a269af6.js +0 -1
  83. /package/lib/{element-theme-chalk.ae828c17.js → element-theme-chalk.dee12271.js} +0 -0
  84. /package/lib/{element-theme-chalk.35b1f600.mjs → element-theme-chalk.fbb1a631.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { m as f, u as h, n as u } from "./chartbi.090c7bd2.mjs";
2
- import { E as b, f as $, o as p, g as _, h as y, t as D } from "./messages.a9287789.mjs";
1
+ import { m as f, u as h, n as u } from "./chartbi.cdd1e365.mjs";
2
+ import { E as b, f as $, o as p, g as _, h as y, t as D } from "./messages.d8abe18d.mjs";
3
3
  function oe(i) {
4
4
  return window.axios({
5
5
  url: "/sysUserAffiliation/page",
@@ -348,7 +348,7 @@ var L = function() {
348
348
  x,
349
349
  !1,
350
350
  null,
351
- "30c8cccf",
351
+ "5f27449d",
352
352
  null,
353
353
  null
354
354
  );
@@ -456,7 +456,7 @@ var O = function() {
456
456
  R,
457
457
  !1,
458
458
  null,
459
- "32a973af",
459
+ "5a7f55d8",
460
460
  null,
461
461
  null
462
462
  );
@@ -1017,7 +1017,7 @@ var M = function() {
1017
1017
  G,
1018
1018
  !1,
1019
1019
  null,
1020
- "d1684601",
1020
+ "6749cad6",
1021
1021
  null,
1022
1022
  null
1023
1023
  );
@@ -1040,6 +1040,14 @@ const K = {
1040
1040
  choiceDisabled: {
1041
1041
  type: Boolean,
1042
1042
  default: !1
1043
+ },
1044
+ modalAppendToBody: {
1045
+ type: Boolean,
1046
+ default: !1
1047
+ },
1048
+ appendToBody: {
1049
+ type: Boolean,
1050
+ default: !0
1043
1051
  }
1044
1052
  },
1045
1053
  data() {
@@ -1324,7 +1332,7 @@ const K = {
1324
1332
  };
1325
1333
  var j = function() {
1326
1334
  var e = this, t = e._self._c;
1327
- return t("div", [e.mode === "dialog" ? t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
1335
+ return t("div", [e.mode === "dialog" ? t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": e.appendToBody, "modal-append-to-body": e.modalAppendToBody, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
1328
1336
  e.visible = s;
1329
1337
  }, closed: e.cancel } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.filter.condition", "\u6761\u4EF6"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0, closed: "cancel" }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("composeMiddle", { attrs: { record: e.sysViewFilters, tableNameAllData: e.tableLists, type: e.type, choiceDisabled: e.choiceDisabled } })], 1)], 1) : [e.visibled ? t("composeMiddle", { attrs: { record: e.sysViewFilters, tableNameAllData: e.tableLists, type: e.type, choiceDisabled: e.choiceDisabled }, on: { change: function(s) {
1330
1338
  return e.$emit("change");
@@ -1335,7 +1343,7 @@ var j = function() {
1335
1343
  P,
1336
1344
  !1,
1337
1345
  null,
1338
- "9a2dfbd7",
1346
+ "9a77a519",
1339
1347
  null,
1340
1348
  null
1341
1349
  );
@@ -1886,7 +1894,7 @@ var Y = function() {
1886
1894
  Z,
1887
1895
  !1,
1888
1896
  null,
1889
- "43bf7b1e",
1897
+ "c8bbac26",
1890
1898
  null,
1891
1899
  null
1892
1900
  );
@@ -2104,7 +2112,7 @@ var se = function() {
2104
2112
  ae,
2105
2113
  !1,
2106
2114
  null,
2107
- "a9183337",
2115
+ "db17f1d6",
2108
2116
  null,
2109
2117
  null
2110
2118
  );
@@ -1,4 +1,4 @@
1
- "use strict";const mt=require("./system.account.d3dd14ec.js"),gt=require("./chartbi.c211f08d.js");var pt={exports:{}},vt={exports:{}};/*!
1
+ "use strict";const mt=require("./system.account.8ea53681.js"),gt=require("./chartbi.06e48153.js");var pt={exports:{}},vt={exports:{}};/*!
2
2
  * Quill Editor v1.3.7
3
3
  * https://quilljs.com/
4
4
  * Copyright (c) 2014, Jason Chen
@@ -38,4 +38,4 @@
38
38
  `),z}function it($,z){if(x($)&&$.nextElementSibling!=null&&!M(z,`
39
39
 
40
40
  `)){var W=$.offsetHeight+parseFloat(C($).marginTop)+parseFloat(C($).marginBottom);$.nextElementSibling.offsetTop>$.offsetTop+W*1.5&&z.insert(`
41
- `)}return z}function st($,z){var W={},Y=$.style||{};return Y.fontStyle&&C($).fontStyle==="italic"&&(W.italic=!0),Y.fontWeight&&(C($).fontWeight.startsWith("bold")||parseInt(C($).fontWeight)>=700)&&(W.bold=!0),Object.keys(W).length>0&&(z=q(z,W)),parseFloat(Y.textIndent||0)>0&&(z=new o.default().insert(" ").concat(z)),z}function ut($,z){var W=$.data;if($.parentNode.tagName==="O:P")return z.insert(W.trim());if(W.trim().length===0&&$.parentNode.classList.contains("ql-clipboard"))return z;if(!C($.parentNode).whiteSpace.startsWith("pre")){var Y=function(tt,et){return et=et.replace(/[^\u00a0]/g,""),et.length<1&&tt?" ":et};W=W.replace(/\r\n/g," ").replace(/\n/g," "),W=W.replace(/\s\s+/g,Y.bind(Y,!0)),($.previousSibling==null&&x($.parentNode)||$.previousSibling!=null&&x($.previousSibling))&&(W=W.replace(/^\s+/,Y.bind(Y,!1))),($.nextSibling==null&&x($.parentNode)||$.nextSibling!=null&&x($.nextSibling))&&(W=W.replace(/\s+$/,Y.bind(Y,!1)))}return z.insert(W)}y.default=P,y.matchAttributor=H,y.matchBlot=K,y.matchNewline=rt,y.matchSpacing=it,y.matchText=ut},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(6),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return S(l,[{key:"optimize",value:function(i){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"optimize",this).call(this,i),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return A(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),l}(v.default);e.blotName="bold",e.tagName=["STRONG","B"],y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.addControls=y.default=void 0;var S=function(){function h(m,k){var T=[],L=!0,B=!1,F=void 0;try{for(var V=m[Symbol.iterator](),I;!(L=(I=V.next()).done)&&(T.push(I.value),!(k&&T.length===k));L=!0);}catch(R){B=!0,F=R}finally{try{!L&&V.return&&V.return()}finally{if(B)throw F}}return T}return function(m,k){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return h(m,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function h(m,k){for(var T=0;T<k.length;T++){var L=k[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(m,L.key,L)}}return function(m,k,T){return k&&h(m.prototype,k),T&&h(m,T),m}}(),O=d(2),v=i(O),p=d(0),c=i(p),o=d(5),t=i(o),e=d(10),u=i(e),l=d(9),a=i(l);function i(h){return h&&h.__esModule?h:{default:h}}function r(h,m,k){return m in h?Object.defineProperty(h,m,{value:k,enumerable:!0,configurable:!0,writable:!0}):h[m]=k,h}function s(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function n(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function f(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var w=(0,u.default)("quill:toolbar"),b=function(h){f(m,h);function m(k,T){s(this,m);var L=n(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,k,T));if(Array.isArray(L.options.container)){var B=document.createElement("div");N(B,L.options.container),k.container.parentNode.insertBefore(B,k.container),L.container=B}else typeof L.options.container=="string"?L.container=document.querySelector(L.options.container):L.container=L.options.container;if(!(L.container instanceof HTMLElement)){var F;return F=w.error("Container required for toolbar",L.options),n(L,F)}return L.container.classList.add("ql-toolbar"),L.controls=[],L.handlers={},Object.keys(L.options.handlers).forEach(function(V){L.addHandler(V,L.options.handlers[V])}),[].forEach.call(L.container.querySelectorAll("button, select"),function(V){L.attach(V)}),L.quill.on(t.default.events.EDITOR_CHANGE,function(V,I){V===t.default.events.SELECTION_CHANGE&&L.update(I)}),L.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var V=L.quill.selection.getRange(),I=S(V,1),R=I[0];L.update(R)}),L}return A(m,[{key:"addHandler",value:function(T,L){this.handlers[T]=L}},{key:"attach",value:function(T){var L=this,B=[].find.call(T.classList,function(V){return V.indexOf("ql-")===0});if(!!B){if(B=B.slice(3),T.tagName==="BUTTON"&&T.setAttribute("type","button"),this.handlers[B]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[B]==null){w.warn("ignoring attaching to disabled format",B,T);return}if(c.default.query(B)==null){w.warn("ignoring attaching to nonexistent format",B,T);return}}var F=T.tagName==="SELECT"?"change":"click";T.addEventListener(F,function(V){var I=void 0;if(T.tagName==="SELECT"){if(T.selectedIndex<0)return;var R=T.options[T.selectedIndex];R.hasAttribute("selected")?I=!1:I=R.value||!1}else T.classList.contains("ql-active")?I=!1:I=T.value||!T.hasAttribute("value"),V.preventDefault();L.quill.focus();var E=L.quill.selection.getRange(),P=S(E,1),q=P[0];if(L.handlers[B]!=null)L.handlers[B].call(L,I);else if(c.default.query(B).prototype instanceof c.default.Embed){if(I=prompt("Enter "+B),!I)return;L.quill.updateContents(new v.default().retain(q.index).delete(q.length).insert(r({},B,I)),t.default.sources.USER)}else L.quill.format(B,I,t.default.sources.USER);L.update(q)}),this.controls.push([B,T])}}},{key:"update",value:function(T){var L=T==null?{}:this.quill.getFormat(T);this.controls.forEach(function(B){var F=S(B,2),V=F[0],I=F[1];if(I.tagName==="SELECT"){var R=void 0;if(T==null)R=null;else if(L[V]==null)R=I.querySelector("option[selected]");else if(!Array.isArray(L[V])){var E=L[V];typeof E=="string"&&(E=E.replace(/\"/g,'\\"')),R=I.querySelector('option[value="'+E+'"]')}R==null?(I.value="",I.selectedIndex=-1):R.selected=!0}else if(T==null)I.classList.remove("ql-active");else if(I.hasAttribute("value")){var P=L[V]===I.getAttribute("value")||L[V]!=null&&L[V].toString()===I.getAttribute("value")||L[V]==null&&!I.getAttribute("value");I.classList.toggle("ql-active",P)}else I.classList.toggle("ql-active",L[V]!=null)})}}]),m}(a.default);b.DEFAULTS={};function _(h,m,k){var T=document.createElement("button");T.setAttribute("type","button"),T.classList.add("ql-"+m),k!=null&&(T.value=k),h.appendChild(T)}function N(h,m){Array.isArray(m[0])||(m=[m]),m.forEach(function(k){var T=document.createElement("span");T.classList.add("ql-formats"),k.forEach(function(L){if(typeof L=="string")_(T,L);else{var B=Object.keys(L)[0],F=L[B];Array.isArray(F)?g(T,B,F):_(T,B,F)}}),h.appendChild(T)})}function g(h,m,k){var T=document.createElement("select");T.classList.add("ql-"+m),k.forEach(function(L){var B=document.createElement("option");L!==!1?B.setAttribute("value",L):B.setAttribute("selected","selected"),T.appendChild(B)}),h.appendChild(T)}b.DEFAULTS={container:null,handlers:{clean:function(){var m=this,k=this.quill.getSelection();if(k!=null)if(k.length==0){var T=this.quill.getFormat();Object.keys(T).forEach(function(L){c.default.query(L,c.default.Scope.INLINE)!=null&&m.quill.format(L,!1)})}else this.quill.removeFormat(k,t.default.sources.USER)},direction:function(m){var k=this.quill.getFormat().align;m==="rtl"&&k==null?this.quill.format("align","right",t.default.sources.USER):!m&&k==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",m,t.default.sources.USER)},indent:function(m){var k=this.quill.getSelection(),T=this.quill.getFormat(k),L=parseInt(T.indent||0);if(m==="+1"||m==="-1"){var B=m==="+1"?1:-1;T.direction==="rtl"&&(B*=-1),this.quill.format("indent",L+B,t.default.sources.USER)}},link:function(m){m===!0&&(m=prompt("Enter link URL:")),this.quill.format("link",m,t.default.sources.USER)},list:function(m){var k=this.quill.getSelection(),T=this.quill.getFormat(k);m==="check"?T.list==="checked"||T.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",m,t.default.sources.USER)}}},y.default=b,y.addControls=N},function(j,y){j.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(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(28),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(a,i){c(this,l);var r=o(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,a));return r.label.innerHTML=i,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(s){s.classList.add("ql-primary")}),r}return S(l,[{key:"buildItem",value:function(i){var r=A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"buildItem",this).call(this,i);return r.style.backgroundColor=i.getAttribute("value")||"",r}},{key:"selectItem",value:function(i,r){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"selectItem",this).call(this,i,r);var s=this.label.querySelector(".ql-color-label"),n=i&&i.getAttribute("data-value")||"";s&&(s.tagName==="line"?s.style.stroke=n:s.style.fill=n)}}]),l}(v.default);y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(28),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(a,i){c(this,l);var r=o(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,a));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),function(s){s.innerHTML=i[s.getAttribute("data-value")||""]}),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return S(l,[{key:"selectItem",value:function(i,r){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"selectItem",this).call(this,i,r),i=i||this.defaultItem,this.label.innerHTML=i.innerHTML}}]),l}(v.default);y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function v(p,c){for(var o=0;o<c.length;o++){var t=c[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(p,t.key,t)}}return function(p,c,o){return c&&v(p.prototype,c),o&&v(p,o),p}}();function A(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}var O=function(){function v(p,c){var o=this;A(this,v),this.quill=p,this.boundsContainer=c||document.body,this.root=p.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return S(v,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(c){var o=c.left+c.width/2-this.root.offsetWidth/2,t=c.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var e=this.boundsContainer.getBoundingClientRect(),u=this.root.getBoundingClientRect(),l=0;if(u.right>e.right&&(l=e.right-u.right,this.root.style.left=o+l+"px"),u.left<e.left&&(l=e.left-u.left,this.root.style.left=o+l+"px"),u.bottom>e.bottom){var a=u.bottom-u.top,i=c.bottom-c.top+a;this.root.style.top=t-i+"px",this.root.classList.add("ql-flip")}return l}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),v}();y.default=O},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function g(h,m){var k=[],T=!0,L=!1,B=void 0;try{for(var F=h[Symbol.iterator](),V;!(T=(V=F.next()).done)&&(k.push(V.value),!(m&&k.length===m));T=!0);}catch(I){L=!0,B=I}finally{try{!T&&F.return&&F.return()}finally{if(L)throw B}}return k}return function(h,m){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,m);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function g(h,m,k){h===null&&(h=Function.prototype);var T=Object.getOwnPropertyDescriptor(h,m);if(T===void 0){var L=Object.getPrototypeOf(h);return L===null?void 0:g(L,m,k)}else{if("value"in T)return T.value;var B=T.get;return B===void 0?void 0:B.call(k)}},O=function(){function g(h,m){for(var k=0;k<m.length;k++){var T=m[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(h,T.key,T)}}return function(h,m,k){return m&&g(h.prototype,m),k&&g(h,k),h}}(),v=d(3),p=s(v),c=d(8),o=s(c),t=d(43),e=s(t),u=d(27),l=s(u),a=d(15),i=d(41),r=s(i);function s(g){return g&&g.__esModule?g:{default:g}}function n(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function f(g,h){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:g}function w(g,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);g.prototype=Object.create(h&&h.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(g,h):g.__proto__=h)}var b=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],_=function(g){w(h,g);function h(m,k){n(this,h),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=b);var T=f(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,k));return T.quill.container.classList.add("ql-snow"),T}return O(h,[{key:"extendToolbar",value:function(k){k.container.classList.add("ql-snow"),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),r.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),r.default),this.tooltip=new N(this.quill,this.options.bounds),k.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(T,L){k.handlers.link.call(k,!L.format.link)})}}]),h}(e.default);_.DEFAULTS=(0,p.default)(!0,{},e.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(h){if(h){var m=this.quill.getSelection();if(m==null||m.length==0)return;var k=this.quill.getText(m);/^\S+@\S+\.\S+$/.test(k)&&k.indexOf("mailto:")!==0&&(k="mailto:"+k);var T=this.quill.theme.tooltip;T.edit("link",k)}else this.quill.format("link",!1)}}}}});var N=function(g){w(h,g);function h(m,k){n(this,h);var T=f(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,k));return T.preview=T.root.querySelector("a.ql-preview"),T}return O(h,[{key:"listen",value:function(){var k=this;A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(T){k.root.classList.contains("ql-editing")?k.save():k.edit("link",k.preview.textContent),T.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(T){if(k.linkRange!=null){var L=k.linkRange;k.restoreFocus(),k.quill.formatText(L,"link",!1,o.default.sources.USER),delete k.linkRange}T.preventDefault(),k.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(T,L,B){if(T!=null){if(T.length===0&&B===o.default.sources.USER){var F=k.quill.scroll.descendant(l.default,T.index),V=S(F,2),I=V[0],R=V[1];if(I!=null){k.linkRange=new a.Range(T.index-R,I.length());var E=l.default.formats(I.domNode);k.preview.textContent=E,k.preview.setAttribute("href",E),k.show(),k.position(k.quill.getBounds(k.linkRange));return}}else delete k.linkRange;k.hide()}})}},{key:"show",value:function(){A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),h}(t.BaseTooltip);N.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(""),y.default=_},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(29),A=Z(S),O=d(36),v=d(38),p=d(64),c=d(65),o=Z(c),t=d(66),e=Z(t),u=d(67),l=Z(u),a=d(37),i=d(26),r=d(39),s=d(40),n=d(56),f=Z(n),w=d(68),b=Z(w),_=d(27),N=Z(_),g=d(69),h=Z(g),m=d(70),k=Z(m),T=d(71),L=Z(T),B=d(72),F=Z(B),V=d(73),I=Z(V),R=d(13),E=Z(R),P=d(74),q=Z(P),C=d(75),M=Z(C),x=d(57),D=Z(x),U=d(41),H=Z(U),K=d(28),Q=Z(K),X=d(59),J=Z(X),rt=d(60),it=Z(rt),st=d(61),ut=Z(st),$=d(108),z=Z($),W=d(62),Y=Z(W);function Z(tt){return tt&&tt.__esModule?tt:{default:tt}}A.default.register({"attributors/attribute/direction":v.DirectionAttribute,"attributors/class/align":O.AlignClass,"attributors/class/background":a.BackgroundClass,"attributors/class/color":i.ColorClass,"attributors/class/direction":v.DirectionClass,"attributors/class/font":r.FontClass,"attributors/class/size":s.SizeClass,"attributors/style/align":O.AlignStyle,"attributors/style/background":a.BackgroundStyle,"attributors/style/color":i.ColorStyle,"attributors/style/direction":v.DirectionStyle,"attributors/style/font":r.FontStyle,"attributors/style/size":s.SizeStyle},!0),A.default.register({"formats/align":O.AlignClass,"formats/direction":v.DirectionClass,"formats/indent":p.IndentClass,"formats/background":a.BackgroundStyle,"formats/color":i.ColorStyle,"formats/font":r.FontClass,"formats/size":s.SizeClass,"formats/blockquote":o.default,"formats/code-block":E.default,"formats/header":e.default,"formats/list":l.default,"formats/bold":f.default,"formats/code":R.Code,"formats/italic":b.default,"formats/link":N.default,"formats/script":h.default,"formats/strike":k.default,"formats/underline":L.default,"formats/image":F.default,"formats/video":I.default,"formats/list/item":u.ListItem,"modules/formula":q.default,"modules/syntax":M.default,"modules/toolbar":D.default,"themes/bubble":z.default,"themes/snow":Y.default,"ui/icons":H.default,"ui/picker":Q.default,"ui/icon-picker":it.default,"ui/color-picker":J.default,"ui/tooltip":ut.default},!0),y.default=A.default},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.IndentClass=void 0;var S=function(){function l(a,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}return function(a,i,r){return i&&l(a.prototype,i),r&&l(a,r),a}}(),A=function l(a,i,r){a===null&&(a=Function.prototype);var s=Object.getOwnPropertyDescriptor(a,i);if(s===void 0){var n=Object.getPrototypeOf(a);return n===null?void 0:l(n,i,r)}else{if("value"in s)return s.value;var f=s.get;return f===void 0?void 0:f.call(r)}},O=d(0),v=p(O);function p(l){return l&&l.__esModule?l:{default:l}}function c(l,a){if(!(l instanceof a))throw new TypeError("Cannot call a class as a function")}function o(l,a){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:l}function t(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);l.prototype=Object.create(a&&a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(l,a):l.__proto__=a)}var e=function(l){t(a,l);function a(){return c(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return S(a,[{key:"add",value:function(r,s){if(s==="+1"||s==="-1"){var n=this.value(r)||0;s=s==="+1"?n+1:n-1}return s===0?(this.remove(r),!0):A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"add",this).call(this,r,s)}},{key:"canAdd",value:function(r,s){return A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,r,s)||A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,r,parseInt(s))}},{key:"value",value:function(r){return parseInt(A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"value",this).call(this,r))||void 0}}]),a}(v.default.Attributor.Class),u=new e("indent","ql-indent",{scope:v.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});y.IndentClass=u},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(4),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="blockquote",o.tagName="blockquote",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function e(u,l){for(var a=0;a<l.length;a++){var i=l[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(u,i.key,i)}}return function(u,l,a){return l&&e(u.prototype,l),a&&e(u,a),u}}(),A=d(4),O=v(A);function v(e){return e&&e.__esModule?e:{default:e}}function p(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function c(e,u){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:e}function o(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(e,u):e.__proto__=u)}var t=function(e){o(u,e);function u(){return p(this,u),c(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return S(u,null,[{key:"formats",value:function(a){return this.tagName.indexOf(a.tagName)+1}}]),u}(O.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],y.default=t},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.ListItem=void 0;var S=function(){function n(f,w){for(var b=0;b<w.length;b++){var _=w[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(f,_.key,_)}}return function(f,w,b){return w&&n(f.prototype,w),b&&n(f,b),f}}(),A=function n(f,w,b){f===null&&(f=Function.prototype);var _=Object.getOwnPropertyDescriptor(f,w);if(_===void 0){var N=Object.getPrototypeOf(f);return N===null?void 0:n(N,w,b)}else{if("value"in _)return _.value;var g=_.get;return g===void 0?void 0:g.call(b)}},O=d(0),v=e(O),p=d(4),c=e(p),o=d(25),t=e(o);function e(n){return n&&n.__esModule?n:{default:n}}function u(n,f,w){return f in n?Object.defineProperty(n,f,{value:w,enumerable:!0,configurable:!0,writable:!0}):n[f]=w,n}function l(n,f){if(!(n instanceof f))throw new TypeError("Cannot call a class as a function")}function a(n,f){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:n}function i(n,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);n.prototype=Object.create(f&&f.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(n,f):n.__proto__=f)}var r=function(n){i(f,n);function f(){return l(this,f),a(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return S(f,[{key:"format",value:function(b,_){b===s.blotName&&!_?this.replaceWith(v.default.create(this.statics.scope)):A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"format",this).call(this,b,_)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(b,_){return this.parent.isolate(this.offset(this.parent),this.length()),b===this.parent.statics.blotName?(this.parent.replaceWith(b,_),this):(this.parent.unwrap(),A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replaceWith",this).call(this,b,_))}}],[{key:"formats",value:function(b){return b.tagName===this.tagName?void 0:A(f.__proto__||Object.getPrototypeOf(f),"formats",this).call(this,b)}}]),f}(c.default);r.blotName="list-item",r.tagName="LI";var s=function(n){i(f,n),S(f,null,[{key:"create",value:function(b){var _=b==="ordered"?"OL":"UL",N=A(f.__proto__||Object.getPrototypeOf(f),"create",this).call(this,_);return(b==="checked"||b==="unchecked")&&N.setAttribute("data-checked",b==="checked"),N}},{key:"formats",value:function(b){if(b.tagName==="OL")return"ordered";if(b.tagName==="UL")return b.hasAttribute("data-checked")?b.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function f(w){l(this,f);var b=a(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,w)),_=function(g){if(g.target.parentNode===w){var h=b.statics.formats(w),m=v.default.find(g.target);h==="checked"?m.format("list","unchecked"):h==="unchecked"&&m.format("list","checked")}};return w.addEventListener("touchstart",_),w.addEventListener("mousedown",_),b}return S(f,[{key:"format",value:function(b,_){this.children.length>0&&this.children.tail.format(b,_)}},{key:"formats",value:function(){return u({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(b,_){if(b instanceof r)A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"insertBefore",this).call(this,b,_);else{var N=_==null?this.length():_.offset(this),g=this.split(N);g.parent.insertBefore(b,g)}}},{key:"optimize",value:function(b){A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"optimize",this).call(this,b);var _=this.next;_!=null&&_.prev===this&&_.statics.blotName===this.statics.blotName&&_.domNode.tagName===this.domNode.tagName&&_.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(_.moveChildren(this),_.remove())}},{key:"replace",value:function(b){if(b.statics.blotName!==this.statics.blotName){var _=v.default.create(this.statics.defaultChild);b.moveChildren(_),this.appendChild(_)}A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replace",this).call(this,b)}}]),f}(t.default);s.blotName="list",s.scope=v.default.Scope.BLOCK_BLOT,s.tagName=["OL","UL"],s.defaultChild="list-item",s.allowedChildren=[r],y.ListItem=r,y.default=s},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(56),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="italic",o.tagName=["EM","I"],y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(6),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return S(l,null,[{key:"create",value:function(i){return i==="super"?document.createElement("sup"):i==="sub"?document.createElement("sub"):A(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this,i)}},{key:"formats",value:function(i){if(i.tagName==="SUB")return"sub";if(i.tagName==="SUP")return"super"}}]),l}(v.default);e.blotName="script",e.tagName=["SUB","SUP"],y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(6),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="strike",o.tagName="S",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(6),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="underline",o.tagName="U",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function a(i,r){for(var s=0;s<r.length;s++){var n=r[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}return function(i,r,s){return r&&a(i.prototype,r),s&&a(i,s),i}}(),A=function a(i,r,s){i===null&&(i=Function.prototype);var n=Object.getOwnPropertyDescriptor(i,r);if(n===void 0){var f=Object.getPrototypeOf(i);return f===null?void 0:a(f,r,s)}else{if("value"in n)return n.value;var w=n.get;return w===void 0?void 0:w.call(s)}},O=d(0),v=c(O),p=d(27);function c(a){return a&&a.__esModule?a:{default:a}}function o(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function t(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:a}function e(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}var u=["alt","height","width"],l=function(a){e(i,a);function i(){return o(this,i),t(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return S(i,[{key:"format",value:function(s,n){u.indexOf(s)>-1?n?this.domNode.setAttribute(s,n):this.domNode.removeAttribute(s):A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,s,n)}}],[{key:"create",value:function(s){var n=A(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,s);return typeof s=="string"&&n.setAttribute("src",this.sanitize(s)),n}},{key:"formats",value:function(s){return u.reduce(function(n,f){return s.hasAttribute(f)&&(n[f]=s.getAttribute(f)),n},{})}},{key:"match",value:function(s){return/\.(jpe?g|gif|png)$/.test(s)||/^data:image\/.+;base64/.test(s)}},{key:"sanitize",value:function(s){return(0,p.sanitize)(s,["http","https","data"])?s:"//:0"}},{key:"value",value:function(s){return s.getAttribute("src")}}]),i}(v.default.Embed);l.blotName="image",l.tagName="IMG",y.default=l},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function a(i,r){for(var s=0;s<r.length;s++){var n=r[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}return function(i,r,s){return r&&a(i.prototype,r),s&&a(i,s),i}}(),A=function a(i,r,s){i===null&&(i=Function.prototype);var n=Object.getOwnPropertyDescriptor(i,r);if(n===void 0){var f=Object.getPrototypeOf(i);return f===null?void 0:a(f,r,s)}else{if("value"in n)return n.value;var w=n.get;return w===void 0?void 0:w.call(s)}},O=d(4),v=d(27),p=c(v);function c(a){return a&&a.__esModule?a:{default:a}}function o(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function t(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:a}function e(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}var u=["height","width"],l=function(a){e(i,a);function i(){return o(this,i),t(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return S(i,[{key:"format",value:function(s,n){u.indexOf(s)>-1?n?this.domNode.setAttribute(s,n):this.domNode.removeAttribute(s):A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,s,n)}}],[{key:"create",value:function(s){var n=A(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,s);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(s)),n}},{key:"formats",value:function(s){return u.reduce(function(n,f){return s.hasAttribute(f)&&(n[f]=s.getAttribute(f)),n},{})}},{key:"sanitize",value:function(s){return p.default.sanitize(s)}},{key:"value",value:function(s){return s.getAttribute("src")}}]),i}(O.BlockEmbed);l.blotName="video",l.className="ql-video",l.tagName="IFRAME",y.default=l},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.FormulaBlot=void 0;var S=function(){function s(n,f){for(var w=0;w<f.length;w++){var b=f[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(n,b.key,b)}}return function(n,f,w){return f&&s(n.prototype,f),w&&s(n,w),n}}(),A=function s(n,f,w){n===null&&(n=Function.prototype);var b=Object.getOwnPropertyDescriptor(n,f);if(b===void 0){var _=Object.getPrototypeOf(n);return _===null?void 0:s(_,f,w)}else{if("value"in b)return b.value;var N=b.get;return N===void 0?void 0:N.call(w)}},O=d(35),v=e(O),p=d(5),c=e(p),o=d(9),t=e(o);function e(s){return s&&s.__esModule?s:{default:s}}function u(s,n){if(!(s instanceof n))throw new TypeError("Cannot call a class as a function")}function l(s,n){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:s}function a(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);s.prototype=Object.create(n&&n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(s,n):s.__proto__=n)}var i=function(s){a(n,s);function n(){return u(this,n),l(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return S(n,null,[{key:"create",value:function(w){var b=A(n.__proto__||Object.getPrototypeOf(n),"create",this).call(this,w);return typeof w=="string"&&(window.katex.render(w,b,{throwOnError:!1,errorColor:"#f00"}),b.setAttribute("data-value",w)),b}},{key:"value",value:function(w){return w.getAttribute("data-value")}}]),n}(v.default);i.blotName="formula",i.className="ql-formula",i.tagName="SPAN";var r=function(s){a(n,s),S(n,null,[{key:"register",value:function(){c.default.register(i,!0)}}]);function n(){u(this,n);var f=l(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return f}return n}(t.default);y.FormulaBlot=i,y.default=r},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.CodeToken=y.CodeBlock=void 0;var S=function(){function w(b,_){for(var N=0;N<_.length;N++){var g=_[N];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(b,g.key,g)}}return function(b,_,N){return _&&w(b.prototype,_),N&&w(b,N),b}}(),A=function w(b,_,N){b===null&&(b=Function.prototype);var g=Object.getOwnPropertyDescriptor(b,_);if(g===void 0){var h=Object.getPrototypeOf(b);return h===null?void 0:w(h,_,N)}else{if("value"in g)return g.value;var m=g.get;return m===void 0?void 0:m.call(N)}},O=d(0),v=l(O),p=d(5),c=l(p),o=d(9),t=l(o),e=d(13),u=l(e);function l(w){return w&&w.__esModule?w:{default:w}}function a(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function i(w,b){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:w}function r(w,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);w.prototype=Object.create(b&&b.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(w,b):w.__proto__=b)}var s=function(w){r(b,w);function b(){return a(this,b),i(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return S(b,[{key:"replaceWith",value:function(N){this.domNode.textContent=this.domNode.textContent,this.attach(),A(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"replaceWith",this).call(this,N)}},{key:"highlight",value:function(N){var g=this.domNode.textContent;this.cachedText!==g&&((g.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=N(g),this.domNode.normalize(),this.attach()),this.cachedText=g)}}]),b}(u.default);s.className="ql-syntax";var n=new v.default.Attributor.Class("token","hljs",{scope:v.default.Scope.INLINE}),f=function(w){r(b,w),S(b,null,[{key:"register",value:function(){c.default.register(n,!0),c.default.register(s,!0)}}]);function b(_,N){a(this,b);var g=i(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,_,N));if(typeof g.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var h=null;return g.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(h),h=setTimeout(function(){g.highlight(),h=null},g.options.interval)}),g.highlight(),g}return S(b,[{key:"highlight",value:function(){var N=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var g=this.quill.getSelection();this.quill.scroll.descendants(s).forEach(function(h){h.highlight(N.options.highlight)}),this.quill.update(c.default.sources.SILENT),g!=null&&this.quill.setSelection(g,c.default.sources.SILENT)}}}]),b}(t.default);f.DEFAULTS={highlight:function(){return window.hljs==null?null:function(w){var b=window.hljs.highlightAuto(w);return b.value}}(),interval:1e3},y.CodeBlock=s,y.CodeToken=n,y.default=f},function(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.BubbleTooltip=void 0;var S=function b(_,N,g){_===null&&(_=Function.prototype);var h=Object.getOwnPropertyDescriptor(_,N);if(h===void 0){var m=Object.getPrototypeOf(_);return m===null?void 0:b(m,N,g)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(g)}},A=function(){function b(_,N){for(var g=0;g<N.length;g++){var h=N[g];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(_,h.key,h)}}return function(_,N,g){return N&&b(_.prototype,N),g&&b(_,g),_}}(),O=d(3),v=a(O),p=d(8),c=a(p),o=d(43),t=a(o),e=d(15),u=d(41),l=a(u);function a(b){return b&&b.__esModule?b:{default:b}}function i(b,_){if(!(b instanceof _))throw new TypeError("Cannot call a class as a function")}function r(b,_){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:b}function s(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);b.prototype=Object.create(_&&_.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(b,_):b.__proto__=_)}var n=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],f=function(b){s(_,b);function _(N,g){i(this,_),g.modules.toolbar!=null&&g.modules.toolbar.container==null&&(g.modules.toolbar.container=n);var h=r(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,N,g));return h.quill.container.classList.add("ql-bubble"),h}return A(_,[{key:"extendToolbar",value:function(g){this.tooltip=new w(this.quill,this.options.bounds),this.tooltip.root.appendChild(g.container),this.buildButtons([].slice.call(g.container.querySelectorAll("button")),l.default),this.buildPickers([].slice.call(g.container.querySelectorAll("select")),l.default)}}]),_}(t.default);f.DEFAULTS=(0,v.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(_){_?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var w=function(b){s(_,b);function _(N,g){i(this,_);var h=r(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,N,g));return h.quill.on(c.default.events.EDITOR_CHANGE,function(m,k,T,L){if(m===c.default.events.SELECTION_CHANGE)if(k!=null&&k.length>0&&L===c.default.sources.USER){h.show(),h.root.style.left="0px",h.root.style.width="",h.root.style.width=h.root.offsetWidth+"px";var B=h.quill.getLines(k.index,k.length);if(B.length===1)h.position(h.quill.getBounds(k));else{var F=B[B.length-1],V=h.quill.getIndex(F),I=Math.min(F.length()-1,k.index+k.length-V),R=h.quill.getBounds(new e.Range(V,I));h.position(R)}}else document.activeElement!==h.textbox&&h.quill.hasFocus()&&h.hide()}),h}return A(_,[{key:"listen",value:function(){var g=this;S(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){g.root.classList.remove("ql-editing")}),this.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!g.root.classList.contains("ql-hidden")){var h=g.quill.getSelection();h!=null&&g.position(g.quill.getBounds(h))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(g){var h=S(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"position",this).call(this,g),m=this.root.querySelector(".ql-tooltip-arrow");if(m.style.marginLeft="",h===0)return h;m.style.marginLeft=-1*h-m.offsetWidth/2+"px"}}]),_}(o.BaseTooltip);w.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(""),y.BubbleTooltip=w,y.default=f},function(j,y,d){j.exports=d(63)}]).default})}(vt)),vt.exports}(function(lt,G){(function(j,y){lt.exports=y(Ot())})(mt.commonjsGlobal,function(j){return function(y){function d(A){if(S[A])return S[A].exports;var O=S[A]={i:A,l:!1,exports:{}};return y[A].call(O.exports,O,O.exports,d),O.l=!0,O.exports}var S={};return d.m=y,d.c=S,d.i=function(A){return A},d.d=function(A,O,v){d.o(A,O)||Object.defineProperty(A,O,{configurable:!1,enumerable:!0,get:v})},d.n=function(A){var O=A&&A.__esModule?function(){return A.default}:function(){return A};return d.d(O,"a",O),O},d.o=function(A,O){return Object.prototype.hasOwnProperty.call(A,O)},d.p="/",d(d.s=2)}([function(y,d){y.exports=j},function(y,d,S){Object.defineProperty(d,"__esModule",{value:!0});var A=S(4),O=S.n(A),v=S(6),p=S(5),c=p(O.a,v.a,!1,null,null,null);d.default=c.exports},function(y,d,S){function A(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(d,"__esModule",{value:!0}),d.install=d.quillEditor=d.Quill=void 0;var O=S(0),v=A(O),p=S(1),c=A(p),o=window.Quill||v.default,t=function(u,l){l&&(c.default.props.globalOptions.default=function(){return l}),u.component(c.default.name,c.default)},e={Quill:o,quillEditor:c.default,install:t};d.default=e,d.Quill=o,d.quillEditor=c.default,d.install=t},function(y,d,S){Object.defineProperty(d,"__esModule",{value:!0}),d.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(y,d,S){function A(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(d,"__esModule",{value:!0});var O=S(0),v=A(O),p=S(3),c=A(p),o=window.Quill||v.default;typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(t),l=1;l<arguments.length;l++){var a=arguments[l];if(a!=null)for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(u[i]=a[i])}return u},writable:!0,configurable:!0}),d.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:c.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new o(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)}),this.quill.on("text-change",function(e,u,l){var a=t.$refs.editor.children[0].innerHTML,i=t.quill,r=t.quill.getText();a==="<p><br></p>"&&(a=""),t._content=a,t.$emit("input",t._content),t.$emit("change",{html:a,text:r,quill:i})}),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(y,d){y.exports=function(S,A,O,v,p,c){var o,t=S=S||{},e=typeof S.default;e!=="object"&&e!=="function"||(o=S,t=S.default);var u=typeof t=="function"?t.options:t;A&&(u.render=A.render,u.staticRenderFns=A.staticRenderFns,u._compiled=!0),O&&(u.functional=!0),p&&(u._scopeId=p);var l;if(c?(l=function(r){r=r||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,r||typeof __VUE_SSR_CONTEXT__>"u"||(r=__VUE_SSR_CONTEXT__),v&&v.call(this,r),r&&r._registeredComponents&&r._registeredComponents.add(c)},u._ssrRegister=l):v&&(l=v),l){var a=u.functional,i=a?u.render:u.beforeCreate;a?(u._injectStyles=l,u.render=function(r,s){return l.call(s),i(r,s)}):u.beforeCreate=i?[].concat(i,l):[l]}return{esModule:o,exports:t,options:u}}},function(y,d,S){var A=function(){var p=this,c=p.$createElement,o=p._self._c||c;return o("div",{staticClass:"quill-editor"},[p._t("toolbar"),p._v(" "),o("div",{ref:"editor"})],2)},O=[],v={render:A,staticRenderFns:O};d.a=v}])})})(pt);const Et={props:{record:{type:Object,default:()=>({})},ruleFormData:{type:Object,required:!0}},components:{quillEditor:pt.exports.quillEditor},data(){return{}},computed:{editorOption(){return{placeholder:this.$i18nt(this.record.placeholderTransKey,this.record.placeholder)}},style(){return{height:`${this.record.height|300}px`}},disabled(){return this.record.disabled===void 0?!1:this.record.disabled}},methods:{onEditorBlur(){},onEditorFocus(){},onEditorChange(lt){this.$emit("change",lt.html)}},mounted(){this.$refs.vueQuillEditor.quill.enable(!1),this.$nextTick(()=>{setTimeout(()=>{this.$refs.vueQuillEditor.quill.blur(),this.$refs.vueQuillEditor.quill.enable(!0)},1e3)})}};var kt=function(){var G=this,j=G._self._c;return j("quillEditor",{ref:"vueQuillEditor",staticClass:"ql-editor-class",class:{chinesization:!0},style:G.style,attrs:{options:G.editorOption,disabled:G.disabled},on:{blur:function(y){return G.onEditorBlur(y)},focus:function(y){return G.onEditorFocus(y)},change:function(y){return G.onEditorChange(y)}},model:{value:G.ruleFormData[G.record.prop],callback:function(y){G.$set(G.ruleFormData,G.record.prop,y)},expression:"ruleFormData[record.prop]"}})},At=[],wt=gt.normalizeComponent(Et,kt,At,!1,null,"7ce68bc2",null,null);const bt=wt.exports;function Nt(lt){return window.axios({url:"/email/sendEmail",method:"post",data:lt})}function Tt(lt){return window.axios({url:"/email/sendEmailHtml",method:"post",data:lt})}const xt={name:"GdEmail",props:{height:{type:Number,default:100}},components:{childEditor:bt},data(){return{confirmLoading:!1,editorContent:"",type:"1",simpleFormData:{email:"",subject:"",content:""},htmlFormData:{email:"",subject:"",content:""},htmlFormRecord:{prop:"content",disabled:!1},rules:{email:[{type:"email",message:this.$i18nt("gd.email.receivingEmailTip","\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1"),trigger:"change"},{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}],subject:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}],content:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}]}}},methods:{onHandleTabChange(){this.type=="1"?this.$nextTick(()=>[this.$refs.simpleFormRef.clearValidate()]):this.$nextTick(()=>[this.$refs.htmlFormRef.clearValidate()])},changeEditor(lt){this.editorContent=lt,this.htmlFormData.content=lt},handleSubmitSimple(){this.confirmLoading=!0,this.$refs.simpleFormRef.validate(lt=>{lt?Nt({to:this.simpleFormData.email,title:this.simpleFormData.subject,content:this.simpleFormData.content}).then(G=>{G.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.confirmLoading=!1,this.$refs.simpleFormRef.resetFields()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+G.message)}).finally(G=>{this.confirmLoading=!1}):this.confirmLoading=!1})},handleSubmitHtml(){this.confirmLoading=!0,this.$refs.htmlFormRef.validate((lt,G)=>{console.log("details: ",G),lt?Tt({to:this.htmlFormData.email,title:this.htmlFormData.subject,content:this.htmlFormData.content}).then(j=>{j.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.confirmLoading=!1,this.editorContent="",this.$refs.htmlFormRef.resetFields()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+j.message)}).finally(j=>{this.confirmLoading=!1}):this.confirmLoading=!1})}}};var St=function(){var G=this,j=G._self._c;return j("div",{staticClass:"gd-base-body"},[j("el-card",{staticClass:"ant-card-bodys",attrs:{bordered:!1}},[j("el-tabs",{on:{"tab-click":G.onHandleTabChange},model:{value:G.type,callback:function(y){G.type=y},expression:"type"}},[G.$hasPerm("email:sendEmail")?j("el-tab-pane",{attrs:{name:"1",label:G.$i18nt("gd.email.sendEmail","\u53D1\u9001\u90AE\u4EF6")}},[j("el-form",{ref:"simpleFormRef",attrs:{model:G.simpleFormData,rules:G.rules,"label-position":"top"},nativeOn:{submit:function(y){y.preventDefault()}}},[j("el-form-item",{attrs:{label:G.$i18nt("gd.email.receivingEmail","\u6536\u4EF6\u90AE\u7BB1"),prop:"email"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.email,callback:function(y){G.$set(G.simpleFormData,"email",y)},expression:"simpleFormData.email"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.subject","\u90AE\u4EF6\u6807\u9898"),prop:"subject"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.subject,callback:function(y){G.$set(G.simpleFormData,"subject",y)},expression:"simpleFormData.subject"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.content","\u90AE\u4EF6\u5185\u5BB9"),prop:"content"}},[j("el-input",{attrs:{type:"textarea",rows:4,placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.content,callback:function(y){G.$set(G.simpleFormData,"content",y)},expression:"simpleFormData.content"}})],1),j("el-form-item",{staticClass:"subForm-item"},[j("el-button",{attrs:{type:"primary",loading:G.confirmLoading},on:{click:G.handleSubmitSimple}},[G._v(" "+G._s(G.$i18nt("gd.email.sending","\u53D1\u9001"))+" ")])],1)],1)],1):G._e(),G.$hasPerm("email:sendEmailHtml")?j("el-tab-pane",{attrs:{name:"2",label:G.$i18nt("gd.email.htmlEmail","\u53D1\u9001Html\u90AE\u4EF6")}},[j("el-form",{ref:"htmlFormRef",attrs:{rules:G.rules,model:G.htmlFormData,"label-position":"top"},nativeOn:{submit:function(y){y.preventDefault()}}},[j("el-form-item",{attrs:{label:G.$i18nt("gd.email.receivingEmail","\u6536\u4EF6\u90AE\u7BB1"),prop:"email"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.htmlFormData.email,callback:function(y){G.$set(G.htmlFormData,"email",y)},expression:"htmlFormData.email"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.subject","\u90AE\u4EF6\u6807\u9898"),prop:"subject"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.htmlFormData.subject,callback:function(y){G.$set(G.htmlFormData,"subject",y)},expression:"htmlFormData.subject"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.content","\u90AE\u4EF6\u5185\u5BB9"),prop:"content"}},[j("childEditor",{attrs:{record:G.htmlFormRecord,ruleFormData:G.htmlFormData},on:{change:G.changeEditor}})],1),j("el-form-item",{staticClass:"subForm-item"},[j("el-button",{attrs:{type:"primary",loading:G.confirmLoading},on:{click:G.handleSubmitHtml}},[G._v(" "+G._s(G.$i18nt("gd.email.sending","\u53D1\u9001"))+" ")])],1)],1)],1):G._e()],1)],1)],1)},Pt=[],qt=gt.normalizeComponent(xt,St,Pt,!1,null,"601e0cd9",null,null);const dt=qt.exports;dt.install=function(lt){lt.component(dt.name,dt)};exports.GDpackage=dt;exports.childEditor=bt;exports.vueQuillEditor=pt;
41
+ `)}return z}function st($,z){var W={},Y=$.style||{};return Y.fontStyle&&C($).fontStyle==="italic"&&(W.italic=!0),Y.fontWeight&&(C($).fontWeight.startsWith("bold")||parseInt(C($).fontWeight)>=700)&&(W.bold=!0),Object.keys(W).length>0&&(z=q(z,W)),parseFloat(Y.textIndent||0)>0&&(z=new o.default().insert(" ").concat(z)),z}function ut($,z){var W=$.data;if($.parentNode.tagName==="O:P")return z.insert(W.trim());if(W.trim().length===0&&$.parentNode.classList.contains("ql-clipboard"))return z;if(!C($.parentNode).whiteSpace.startsWith("pre")){var Y=function(tt,et){return et=et.replace(/[^\u00a0]/g,""),et.length<1&&tt?" ":et};W=W.replace(/\r\n/g," ").replace(/\n/g," "),W=W.replace(/\s\s+/g,Y.bind(Y,!0)),($.previousSibling==null&&x($.parentNode)||$.previousSibling!=null&&x($.previousSibling))&&(W=W.replace(/^\s+/,Y.bind(Y,!1))),($.nextSibling==null&&x($.parentNode)||$.nextSibling!=null&&x($.nextSibling))&&(W=W.replace(/\s+$/,Y.bind(Y,!1)))}return z.insert(W)}y.default=P,y.matchAttributor=H,y.matchBlot=K,y.matchNewline=rt,y.matchSpacing=it,y.matchText=ut},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(6),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return S(l,[{key:"optimize",value:function(i){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"optimize",this).call(this,i),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return A(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),l}(v.default);e.blotName="bold",e.tagName=["STRONG","B"],y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.addControls=y.default=void 0;var S=function(){function h(m,k){var T=[],L=!0,B=!1,F=void 0;try{for(var V=m[Symbol.iterator](),I;!(L=(I=V.next()).done)&&(T.push(I.value),!(k&&T.length===k));L=!0);}catch(R){B=!0,F=R}finally{try{!L&&V.return&&V.return()}finally{if(B)throw F}}return T}return function(m,k){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return h(m,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function h(m,k){for(var T=0;T<k.length;T++){var L=k[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(m,L.key,L)}}return function(m,k,T){return k&&h(m.prototype,k),T&&h(m,T),m}}(),O=d(2),v=i(O),p=d(0),c=i(p),o=d(5),t=i(o),e=d(10),u=i(e),l=d(9),a=i(l);function i(h){return h&&h.__esModule?h:{default:h}}function r(h,m,k){return m in h?Object.defineProperty(h,m,{value:k,enumerable:!0,configurable:!0,writable:!0}):h[m]=k,h}function s(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function n(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function f(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var w=(0,u.default)("quill:toolbar"),b=function(h){f(m,h);function m(k,T){s(this,m);var L=n(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,k,T));if(Array.isArray(L.options.container)){var B=document.createElement("div");N(B,L.options.container),k.container.parentNode.insertBefore(B,k.container),L.container=B}else typeof L.options.container=="string"?L.container=document.querySelector(L.options.container):L.container=L.options.container;if(!(L.container instanceof HTMLElement)){var F;return F=w.error("Container required for toolbar",L.options),n(L,F)}return L.container.classList.add("ql-toolbar"),L.controls=[],L.handlers={},Object.keys(L.options.handlers).forEach(function(V){L.addHandler(V,L.options.handlers[V])}),[].forEach.call(L.container.querySelectorAll("button, select"),function(V){L.attach(V)}),L.quill.on(t.default.events.EDITOR_CHANGE,function(V,I){V===t.default.events.SELECTION_CHANGE&&L.update(I)}),L.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var V=L.quill.selection.getRange(),I=S(V,1),R=I[0];L.update(R)}),L}return A(m,[{key:"addHandler",value:function(T,L){this.handlers[T]=L}},{key:"attach",value:function(T){var L=this,B=[].find.call(T.classList,function(V){return V.indexOf("ql-")===0});if(!!B){if(B=B.slice(3),T.tagName==="BUTTON"&&T.setAttribute("type","button"),this.handlers[B]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[B]==null){w.warn("ignoring attaching to disabled format",B,T);return}if(c.default.query(B)==null){w.warn("ignoring attaching to nonexistent format",B,T);return}}var F=T.tagName==="SELECT"?"change":"click";T.addEventListener(F,function(V){var I=void 0;if(T.tagName==="SELECT"){if(T.selectedIndex<0)return;var R=T.options[T.selectedIndex];R.hasAttribute("selected")?I=!1:I=R.value||!1}else T.classList.contains("ql-active")?I=!1:I=T.value||!T.hasAttribute("value"),V.preventDefault();L.quill.focus();var E=L.quill.selection.getRange(),P=S(E,1),q=P[0];if(L.handlers[B]!=null)L.handlers[B].call(L,I);else if(c.default.query(B).prototype instanceof c.default.Embed){if(I=prompt("Enter "+B),!I)return;L.quill.updateContents(new v.default().retain(q.index).delete(q.length).insert(r({},B,I)),t.default.sources.USER)}else L.quill.format(B,I,t.default.sources.USER);L.update(q)}),this.controls.push([B,T])}}},{key:"update",value:function(T){var L=T==null?{}:this.quill.getFormat(T);this.controls.forEach(function(B){var F=S(B,2),V=F[0],I=F[1];if(I.tagName==="SELECT"){var R=void 0;if(T==null)R=null;else if(L[V]==null)R=I.querySelector("option[selected]");else if(!Array.isArray(L[V])){var E=L[V];typeof E=="string"&&(E=E.replace(/\"/g,'\\"')),R=I.querySelector('option[value="'+E+'"]')}R==null?(I.value="",I.selectedIndex=-1):R.selected=!0}else if(T==null)I.classList.remove("ql-active");else if(I.hasAttribute("value")){var P=L[V]===I.getAttribute("value")||L[V]!=null&&L[V].toString()===I.getAttribute("value")||L[V]==null&&!I.getAttribute("value");I.classList.toggle("ql-active",P)}else I.classList.toggle("ql-active",L[V]!=null)})}}]),m}(a.default);b.DEFAULTS={};function _(h,m,k){var T=document.createElement("button");T.setAttribute("type","button"),T.classList.add("ql-"+m),k!=null&&(T.value=k),h.appendChild(T)}function N(h,m){Array.isArray(m[0])||(m=[m]),m.forEach(function(k){var T=document.createElement("span");T.classList.add("ql-formats"),k.forEach(function(L){if(typeof L=="string")_(T,L);else{var B=Object.keys(L)[0],F=L[B];Array.isArray(F)?g(T,B,F):_(T,B,F)}}),h.appendChild(T)})}function g(h,m,k){var T=document.createElement("select");T.classList.add("ql-"+m),k.forEach(function(L){var B=document.createElement("option");L!==!1?B.setAttribute("value",L):B.setAttribute("selected","selected"),T.appendChild(B)}),h.appendChild(T)}b.DEFAULTS={container:null,handlers:{clean:function(){var m=this,k=this.quill.getSelection();if(k!=null)if(k.length==0){var T=this.quill.getFormat();Object.keys(T).forEach(function(L){c.default.query(L,c.default.Scope.INLINE)!=null&&m.quill.format(L,!1)})}else this.quill.removeFormat(k,t.default.sources.USER)},direction:function(m){var k=this.quill.getFormat().align;m==="rtl"&&k==null?this.quill.format("align","right",t.default.sources.USER):!m&&k==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",m,t.default.sources.USER)},indent:function(m){var k=this.quill.getSelection(),T=this.quill.getFormat(k),L=parseInt(T.indent||0);if(m==="+1"||m==="-1"){var B=m==="+1"?1:-1;T.direction==="rtl"&&(B*=-1),this.quill.format("indent",L+B,t.default.sources.USER)}},link:function(m){m===!0&&(m=prompt("Enter link URL:")),this.quill.format("link",m,t.default.sources.USER)},list:function(m){var k=this.quill.getSelection(),T=this.quill.getFormat(k);m==="check"?T.list==="checked"||T.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",m,t.default.sources.USER)}}},y.default=b,y.addControls=N},function(j,y){j.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(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(28),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(a,i){c(this,l);var r=o(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,a));return r.label.innerHTML=i,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(s){s.classList.add("ql-primary")}),r}return S(l,[{key:"buildItem",value:function(i){var r=A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"buildItem",this).call(this,i);return r.style.backgroundColor=i.getAttribute("value")||"",r}},{key:"selectItem",value:function(i,r){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"selectItem",this).call(this,i,r);var s=this.label.querySelector(".ql-color-label"),n=i&&i.getAttribute("data-value")||"";s&&(s.tagName==="line"?s.style.stroke=n:s.style.fill=n)}}]),l}(v.default);y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(28),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(a,i){c(this,l);var r=o(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,a));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),function(s){s.innerHTML=i[s.getAttribute("data-value")||""]}),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return S(l,[{key:"selectItem",value:function(i,r){A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"selectItem",this).call(this,i,r),i=i||this.defaultItem,this.label.innerHTML=i.innerHTML}}]),l}(v.default);y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function v(p,c){for(var o=0;o<c.length;o++){var t=c[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(p,t.key,t)}}return function(p,c,o){return c&&v(p.prototype,c),o&&v(p,o),p}}();function A(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}var O=function(){function v(p,c){var o=this;A(this,v),this.quill=p,this.boundsContainer=c||document.body,this.root=p.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return S(v,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(c){var o=c.left+c.width/2-this.root.offsetWidth/2,t=c.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var e=this.boundsContainer.getBoundingClientRect(),u=this.root.getBoundingClientRect(),l=0;if(u.right>e.right&&(l=e.right-u.right,this.root.style.left=o+l+"px"),u.left<e.left&&(l=e.left-u.left,this.root.style.left=o+l+"px"),u.bottom>e.bottom){var a=u.bottom-u.top,i=c.bottom-c.top+a;this.root.style.top=t-i+"px",this.root.classList.add("ql-flip")}return l}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),v}();y.default=O},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function g(h,m){var k=[],T=!0,L=!1,B=void 0;try{for(var F=h[Symbol.iterator](),V;!(T=(V=F.next()).done)&&(k.push(V.value),!(m&&k.length===m));T=!0);}catch(I){L=!0,B=I}finally{try{!T&&F.return&&F.return()}finally{if(L)throw B}}return k}return function(h,m){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,m);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function g(h,m,k){h===null&&(h=Function.prototype);var T=Object.getOwnPropertyDescriptor(h,m);if(T===void 0){var L=Object.getPrototypeOf(h);return L===null?void 0:g(L,m,k)}else{if("value"in T)return T.value;var B=T.get;return B===void 0?void 0:B.call(k)}},O=function(){function g(h,m){for(var k=0;k<m.length;k++){var T=m[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(h,T.key,T)}}return function(h,m,k){return m&&g(h.prototype,m),k&&g(h,k),h}}(),v=d(3),p=s(v),c=d(8),o=s(c),t=d(43),e=s(t),u=d(27),l=s(u),a=d(15),i=d(41),r=s(i);function s(g){return g&&g.__esModule?g:{default:g}}function n(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")}function f(g,h){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:g}function w(g,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);g.prototype=Object.create(h&&h.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(g,h):g.__proto__=h)}var b=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],_=function(g){w(h,g);function h(m,k){n(this,h),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=b);var T=f(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,k));return T.quill.container.classList.add("ql-snow"),T}return O(h,[{key:"extendToolbar",value:function(k){k.container.classList.add("ql-snow"),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),r.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),r.default),this.tooltip=new N(this.quill,this.options.bounds),k.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(T,L){k.handlers.link.call(k,!L.format.link)})}}]),h}(e.default);_.DEFAULTS=(0,p.default)(!0,{},e.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(h){if(h){var m=this.quill.getSelection();if(m==null||m.length==0)return;var k=this.quill.getText(m);/^\S+@\S+\.\S+$/.test(k)&&k.indexOf("mailto:")!==0&&(k="mailto:"+k);var T=this.quill.theme.tooltip;T.edit("link",k)}else this.quill.format("link",!1)}}}}});var N=function(g){w(h,g);function h(m,k){n(this,h);var T=f(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,k));return T.preview=T.root.querySelector("a.ql-preview"),T}return O(h,[{key:"listen",value:function(){var k=this;A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(T){k.root.classList.contains("ql-editing")?k.save():k.edit("link",k.preview.textContent),T.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(T){if(k.linkRange!=null){var L=k.linkRange;k.restoreFocus(),k.quill.formatText(L,"link",!1,o.default.sources.USER),delete k.linkRange}T.preventDefault(),k.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(T,L,B){if(T!=null){if(T.length===0&&B===o.default.sources.USER){var F=k.quill.scroll.descendant(l.default,T.index),V=S(F,2),I=V[0],R=V[1];if(I!=null){k.linkRange=new a.Range(T.index-R,I.length());var E=l.default.formats(I.domNode);k.preview.textContent=E,k.preview.setAttribute("href",E),k.show(),k.position(k.quill.getBounds(k.linkRange));return}}else delete k.linkRange;k.hide()}})}},{key:"show",value:function(){A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),h}(t.BaseTooltip);N.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(""),y.default=_},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(29),A=Z(S),O=d(36),v=d(38),p=d(64),c=d(65),o=Z(c),t=d(66),e=Z(t),u=d(67),l=Z(u),a=d(37),i=d(26),r=d(39),s=d(40),n=d(56),f=Z(n),w=d(68),b=Z(w),_=d(27),N=Z(_),g=d(69),h=Z(g),m=d(70),k=Z(m),T=d(71),L=Z(T),B=d(72),F=Z(B),V=d(73),I=Z(V),R=d(13),E=Z(R),P=d(74),q=Z(P),C=d(75),M=Z(C),x=d(57),D=Z(x),U=d(41),H=Z(U),K=d(28),Q=Z(K),X=d(59),J=Z(X),rt=d(60),it=Z(rt),st=d(61),ut=Z(st),$=d(108),z=Z($),W=d(62),Y=Z(W);function Z(tt){return tt&&tt.__esModule?tt:{default:tt}}A.default.register({"attributors/attribute/direction":v.DirectionAttribute,"attributors/class/align":O.AlignClass,"attributors/class/background":a.BackgroundClass,"attributors/class/color":i.ColorClass,"attributors/class/direction":v.DirectionClass,"attributors/class/font":r.FontClass,"attributors/class/size":s.SizeClass,"attributors/style/align":O.AlignStyle,"attributors/style/background":a.BackgroundStyle,"attributors/style/color":i.ColorStyle,"attributors/style/direction":v.DirectionStyle,"attributors/style/font":r.FontStyle,"attributors/style/size":s.SizeStyle},!0),A.default.register({"formats/align":O.AlignClass,"formats/direction":v.DirectionClass,"formats/indent":p.IndentClass,"formats/background":a.BackgroundStyle,"formats/color":i.ColorStyle,"formats/font":r.FontClass,"formats/size":s.SizeClass,"formats/blockquote":o.default,"formats/code-block":E.default,"formats/header":e.default,"formats/list":l.default,"formats/bold":f.default,"formats/code":R.Code,"formats/italic":b.default,"formats/link":N.default,"formats/script":h.default,"formats/strike":k.default,"formats/underline":L.default,"formats/image":F.default,"formats/video":I.default,"formats/list/item":u.ListItem,"modules/formula":q.default,"modules/syntax":M.default,"modules/toolbar":D.default,"themes/bubble":z.default,"themes/snow":Y.default,"ui/icons":H.default,"ui/picker":Q.default,"ui/icon-picker":it.default,"ui/color-picker":J.default,"ui/tooltip":ut.default},!0),y.default=A.default},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.IndentClass=void 0;var S=function(){function l(a,i){for(var r=0;r<i.length;r++){var s=i[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}return function(a,i,r){return i&&l(a.prototype,i),r&&l(a,r),a}}(),A=function l(a,i,r){a===null&&(a=Function.prototype);var s=Object.getOwnPropertyDescriptor(a,i);if(s===void 0){var n=Object.getPrototypeOf(a);return n===null?void 0:l(n,i,r)}else{if("value"in s)return s.value;var f=s.get;return f===void 0?void 0:f.call(r)}},O=d(0),v=p(O);function p(l){return l&&l.__esModule?l:{default:l}}function c(l,a){if(!(l instanceof a))throw new TypeError("Cannot call a class as a function")}function o(l,a){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:l}function t(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);l.prototype=Object.create(a&&a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(l,a):l.__proto__=a)}var e=function(l){t(a,l);function a(){return c(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return S(a,[{key:"add",value:function(r,s){if(s==="+1"||s==="-1"){var n=this.value(r)||0;s=s==="+1"?n+1:n-1}return s===0?(this.remove(r),!0):A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"add",this).call(this,r,s)}},{key:"canAdd",value:function(r,s){return A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,r,s)||A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,r,parseInt(s))}},{key:"value",value:function(r){return parseInt(A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"value",this).call(this,r))||void 0}}]),a}(v.default.Attributor.Class),u=new e("indent","ql-indent",{scope:v.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});y.IndentClass=u},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(4),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="blockquote",o.tagName="blockquote",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function e(u,l){for(var a=0;a<l.length;a++){var i=l[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(u,i.key,i)}}return function(u,l,a){return l&&e(u.prototype,l),a&&e(u,a),u}}(),A=d(4),O=v(A);function v(e){return e&&e.__esModule?e:{default:e}}function p(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function c(e,u){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:e}function o(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(e,u):e.__proto__=u)}var t=function(e){o(u,e);function u(){return p(this,u),c(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return S(u,null,[{key:"formats",value:function(a){return this.tagName.indexOf(a.tagName)+1}}]),u}(O.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],y.default=t},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.ListItem=void 0;var S=function(){function n(f,w){for(var b=0;b<w.length;b++){var _=w[b];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(f,_.key,_)}}return function(f,w,b){return w&&n(f.prototype,w),b&&n(f,b),f}}(),A=function n(f,w,b){f===null&&(f=Function.prototype);var _=Object.getOwnPropertyDescriptor(f,w);if(_===void 0){var N=Object.getPrototypeOf(f);return N===null?void 0:n(N,w,b)}else{if("value"in _)return _.value;var g=_.get;return g===void 0?void 0:g.call(b)}},O=d(0),v=e(O),p=d(4),c=e(p),o=d(25),t=e(o);function e(n){return n&&n.__esModule?n:{default:n}}function u(n,f,w){return f in n?Object.defineProperty(n,f,{value:w,enumerable:!0,configurable:!0,writable:!0}):n[f]=w,n}function l(n,f){if(!(n instanceof f))throw new TypeError("Cannot call a class as a function")}function a(n,f){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:n}function i(n,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);n.prototype=Object.create(f&&f.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(n,f):n.__proto__=f)}var r=function(n){i(f,n);function f(){return l(this,f),a(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return S(f,[{key:"format",value:function(b,_){b===s.blotName&&!_?this.replaceWith(v.default.create(this.statics.scope)):A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"format",this).call(this,b,_)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(b,_){return this.parent.isolate(this.offset(this.parent),this.length()),b===this.parent.statics.blotName?(this.parent.replaceWith(b,_),this):(this.parent.unwrap(),A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replaceWith",this).call(this,b,_))}}],[{key:"formats",value:function(b){return b.tagName===this.tagName?void 0:A(f.__proto__||Object.getPrototypeOf(f),"formats",this).call(this,b)}}]),f}(c.default);r.blotName="list-item",r.tagName="LI";var s=function(n){i(f,n),S(f,null,[{key:"create",value:function(b){var _=b==="ordered"?"OL":"UL",N=A(f.__proto__||Object.getPrototypeOf(f),"create",this).call(this,_);return(b==="checked"||b==="unchecked")&&N.setAttribute("data-checked",b==="checked"),N}},{key:"formats",value:function(b){if(b.tagName==="OL")return"ordered";if(b.tagName==="UL")return b.hasAttribute("data-checked")?b.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function f(w){l(this,f);var b=a(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,w)),_=function(g){if(g.target.parentNode===w){var h=b.statics.formats(w),m=v.default.find(g.target);h==="checked"?m.format("list","unchecked"):h==="unchecked"&&m.format("list","checked")}};return w.addEventListener("touchstart",_),w.addEventListener("mousedown",_),b}return S(f,[{key:"format",value:function(b,_){this.children.length>0&&this.children.tail.format(b,_)}},{key:"formats",value:function(){return u({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(b,_){if(b instanceof r)A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"insertBefore",this).call(this,b,_);else{var N=_==null?this.length():_.offset(this),g=this.split(N);g.parent.insertBefore(b,g)}}},{key:"optimize",value:function(b){A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"optimize",this).call(this,b);var _=this.next;_!=null&&_.prev===this&&_.statics.blotName===this.statics.blotName&&_.domNode.tagName===this.domNode.tagName&&_.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(_.moveChildren(this),_.remove())}},{key:"replace",value:function(b){if(b.statics.blotName!==this.statics.blotName){var _=v.default.create(this.statics.defaultChild);b.moveChildren(_),this.appendChild(_)}A(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replace",this).call(this,b)}}]),f}(t.default);s.blotName="list",s.scope=v.default.Scope.BLOCK_BLOT,s.tagName=["OL","UL"],s.defaultChild="list-item",s.allowedChildren=[r],y.ListItem=r,y.default=s},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(56),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="italic",o.tagName=["EM","I"],y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function u(l,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(l,r.key,r)}}return function(l,a,i){return a&&u(l.prototype,a),i&&u(l,i),l}}(),A=function u(l,a,i){l===null&&(l=Function.prototype);var r=Object.getOwnPropertyDescriptor(l,a);if(r===void 0){var s=Object.getPrototypeOf(l);return s===null?void 0:u(s,a,i)}else{if("value"in r)return r.value;var n=r.get;return n===void 0?void 0:n.call(i)}},O=d(6),v=p(O);function p(u){return u&&u.__esModule?u:{default:u}}function c(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function o(u,l){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:u}function t(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(u,l):u.__proto__=l)}var e=function(u){t(l,u);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return S(l,null,[{key:"create",value:function(i){return i==="super"?document.createElement("sup"):i==="sub"?document.createElement("sub"):A(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this,i)}},{key:"formats",value:function(i){if(i.tagName==="SUB")return"sub";if(i.tagName==="SUP")return"super"}}]),l}(v.default);e.blotName="script",e.tagName=["SUB","SUP"],y.default=e},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(6),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="strike",o.tagName="S",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=d(6),A=O(S);function O(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return v(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="underline",o.tagName="U",y.default=o},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function a(i,r){for(var s=0;s<r.length;s++){var n=r[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}return function(i,r,s){return r&&a(i.prototype,r),s&&a(i,s),i}}(),A=function a(i,r,s){i===null&&(i=Function.prototype);var n=Object.getOwnPropertyDescriptor(i,r);if(n===void 0){var f=Object.getPrototypeOf(i);return f===null?void 0:a(f,r,s)}else{if("value"in n)return n.value;var w=n.get;return w===void 0?void 0:w.call(s)}},O=d(0),v=c(O),p=d(27);function c(a){return a&&a.__esModule?a:{default:a}}function o(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function t(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:a}function e(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}var u=["alt","height","width"],l=function(a){e(i,a);function i(){return o(this,i),t(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return S(i,[{key:"format",value:function(s,n){u.indexOf(s)>-1?n?this.domNode.setAttribute(s,n):this.domNode.removeAttribute(s):A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,s,n)}}],[{key:"create",value:function(s){var n=A(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,s);return typeof s=="string"&&n.setAttribute("src",this.sanitize(s)),n}},{key:"formats",value:function(s){return u.reduce(function(n,f){return s.hasAttribute(f)&&(n[f]=s.getAttribute(f)),n},{})}},{key:"match",value:function(s){return/\.(jpe?g|gif|png)$/.test(s)||/^data:image\/.+;base64/.test(s)}},{key:"sanitize",value:function(s){return(0,p.sanitize)(s,["http","https","data"])?s:"//:0"}},{key:"value",value:function(s){return s.getAttribute("src")}}]),i}(v.default.Embed);l.blotName="image",l.tagName="IMG",y.default=l},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0});var S=function(){function a(i,r){for(var s=0;s<r.length;s++){var n=r[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}return function(i,r,s){return r&&a(i.prototype,r),s&&a(i,s),i}}(),A=function a(i,r,s){i===null&&(i=Function.prototype);var n=Object.getOwnPropertyDescriptor(i,r);if(n===void 0){var f=Object.getPrototypeOf(i);return f===null?void 0:a(f,r,s)}else{if("value"in n)return n.value;var w=n.get;return w===void 0?void 0:w.call(s)}},O=d(4),v=d(27),p=c(v);function c(a){return a&&a.__esModule?a:{default:a}}function o(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function t(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:a}function e(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}var u=["height","width"],l=function(a){e(i,a);function i(){return o(this,i),t(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return S(i,[{key:"format",value:function(s,n){u.indexOf(s)>-1?n?this.domNode.setAttribute(s,n):this.domNode.removeAttribute(s):A(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"format",this).call(this,s,n)}}],[{key:"create",value:function(s){var n=A(i.__proto__||Object.getPrototypeOf(i),"create",this).call(this,s);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(s)),n}},{key:"formats",value:function(s){return u.reduce(function(n,f){return s.hasAttribute(f)&&(n[f]=s.getAttribute(f)),n},{})}},{key:"sanitize",value:function(s){return p.default.sanitize(s)}},{key:"value",value:function(s){return s.getAttribute("src")}}]),i}(O.BlockEmbed);l.blotName="video",l.className="ql-video",l.tagName="IFRAME",y.default=l},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.FormulaBlot=void 0;var S=function(){function s(n,f){for(var w=0;w<f.length;w++){var b=f[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(n,b.key,b)}}return function(n,f,w){return f&&s(n.prototype,f),w&&s(n,w),n}}(),A=function s(n,f,w){n===null&&(n=Function.prototype);var b=Object.getOwnPropertyDescriptor(n,f);if(b===void 0){var _=Object.getPrototypeOf(n);return _===null?void 0:s(_,f,w)}else{if("value"in b)return b.value;var N=b.get;return N===void 0?void 0:N.call(w)}},O=d(35),v=e(O),p=d(5),c=e(p),o=d(9),t=e(o);function e(s){return s&&s.__esModule?s:{default:s}}function u(s,n){if(!(s instanceof n))throw new TypeError("Cannot call a class as a function")}function l(s,n){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:s}function a(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);s.prototype=Object.create(n&&n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(s,n):s.__proto__=n)}var i=function(s){a(n,s);function n(){return u(this,n),l(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return S(n,null,[{key:"create",value:function(w){var b=A(n.__proto__||Object.getPrototypeOf(n),"create",this).call(this,w);return typeof w=="string"&&(window.katex.render(w,b,{throwOnError:!1,errorColor:"#f00"}),b.setAttribute("data-value",w)),b}},{key:"value",value:function(w){return w.getAttribute("data-value")}}]),n}(v.default);i.blotName="formula",i.className="ql-formula",i.tagName="SPAN";var r=function(s){a(n,s),S(n,null,[{key:"register",value:function(){c.default.register(i,!0)}}]);function n(){u(this,n);var f=l(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return f}return n}(t.default);y.FormulaBlot=i,y.default=r},function(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.CodeToken=y.CodeBlock=void 0;var S=function(){function w(b,_){for(var N=0;N<_.length;N++){var g=_[N];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(b,g.key,g)}}return function(b,_,N){return _&&w(b.prototype,_),N&&w(b,N),b}}(),A=function w(b,_,N){b===null&&(b=Function.prototype);var g=Object.getOwnPropertyDescriptor(b,_);if(g===void 0){var h=Object.getPrototypeOf(b);return h===null?void 0:w(h,_,N)}else{if("value"in g)return g.value;var m=g.get;return m===void 0?void 0:m.call(N)}},O=d(0),v=l(O),p=d(5),c=l(p),o=d(9),t=l(o),e=d(13),u=l(e);function l(w){return w&&w.__esModule?w:{default:w}}function a(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function i(w,b){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:w}function r(w,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);w.prototype=Object.create(b&&b.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(w,b):w.__proto__=b)}var s=function(w){r(b,w);function b(){return a(this,b),i(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return S(b,[{key:"replaceWith",value:function(N){this.domNode.textContent=this.domNode.textContent,this.attach(),A(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"replaceWith",this).call(this,N)}},{key:"highlight",value:function(N){var g=this.domNode.textContent;this.cachedText!==g&&((g.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=N(g),this.domNode.normalize(),this.attach()),this.cachedText=g)}}]),b}(u.default);s.className="ql-syntax";var n=new v.default.Attributor.Class("token","hljs",{scope:v.default.Scope.INLINE}),f=function(w){r(b,w),S(b,null,[{key:"register",value:function(){c.default.register(n,!0),c.default.register(s,!0)}}]);function b(_,N){a(this,b);var g=i(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,_,N));if(typeof g.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var h=null;return g.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(h),h=setTimeout(function(){g.highlight(),h=null},g.options.interval)}),g.highlight(),g}return S(b,[{key:"highlight",value:function(){var N=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var g=this.quill.getSelection();this.quill.scroll.descendants(s).forEach(function(h){h.highlight(N.options.highlight)}),this.quill.update(c.default.sources.SILENT),g!=null&&this.quill.setSelection(g,c.default.sources.SILENT)}}}]),b}(t.default);f.DEFAULTS={highlight:function(){return window.hljs==null?null:function(w){var b=window.hljs.highlightAuto(w);return b.value}}(),interval:1e3},y.CodeBlock=s,y.CodeToken=n,y.default=f},function(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y){j.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(j,y,d){Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.BubbleTooltip=void 0;var S=function b(_,N,g){_===null&&(_=Function.prototype);var h=Object.getOwnPropertyDescriptor(_,N);if(h===void 0){var m=Object.getPrototypeOf(_);return m===null?void 0:b(m,N,g)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(g)}},A=function(){function b(_,N){for(var g=0;g<N.length;g++){var h=N[g];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(_,h.key,h)}}return function(_,N,g){return N&&b(_.prototype,N),g&&b(_,g),_}}(),O=d(3),v=a(O),p=d(8),c=a(p),o=d(43),t=a(o),e=d(15),u=d(41),l=a(u);function a(b){return b&&b.__esModule?b:{default:b}}function i(b,_){if(!(b instanceof _))throw new TypeError("Cannot call a class as a function")}function r(b,_){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:b}function s(b,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);b.prototype=Object.create(_&&_.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(b,_):b.__proto__=_)}var n=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],f=function(b){s(_,b);function _(N,g){i(this,_),g.modules.toolbar!=null&&g.modules.toolbar.container==null&&(g.modules.toolbar.container=n);var h=r(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,N,g));return h.quill.container.classList.add("ql-bubble"),h}return A(_,[{key:"extendToolbar",value:function(g){this.tooltip=new w(this.quill,this.options.bounds),this.tooltip.root.appendChild(g.container),this.buildButtons([].slice.call(g.container.querySelectorAll("button")),l.default),this.buildPickers([].slice.call(g.container.querySelectorAll("select")),l.default)}}]),_}(t.default);f.DEFAULTS=(0,v.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(_){_?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var w=function(b){s(_,b);function _(N,g){i(this,_);var h=r(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,N,g));return h.quill.on(c.default.events.EDITOR_CHANGE,function(m,k,T,L){if(m===c.default.events.SELECTION_CHANGE)if(k!=null&&k.length>0&&L===c.default.sources.USER){h.show(),h.root.style.left="0px",h.root.style.width="",h.root.style.width=h.root.offsetWidth+"px";var B=h.quill.getLines(k.index,k.length);if(B.length===1)h.position(h.quill.getBounds(k));else{var F=B[B.length-1],V=h.quill.getIndex(F),I=Math.min(F.length()-1,k.index+k.length-V),R=h.quill.getBounds(new e.Range(V,I));h.position(R)}}else document.activeElement!==h.textbox&&h.quill.hasFocus()&&h.hide()}),h}return A(_,[{key:"listen",value:function(){var g=this;S(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){g.root.classList.remove("ql-editing")}),this.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!g.root.classList.contains("ql-hidden")){var h=g.quill.getSelection();h!=null&&g.position(g.quill.getBounds(h))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(g){var h=S(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"position",this).call(this,g),m=this.root.querySelector(".ql-tooltip-arrow");if(m.style.marginLeft="",h===0)return h;m.style.marginLeft=-1*h-m.offsetWidth/2+"px"}}]),_}(o.BaseTooltip);w.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(""),y.BubbleTooltip=w,y.default=f},function(j,y,d){j.exports=d(63)}]).default})}(vt)),vt.exports}(function(lt,G){(function(j,y){lt.exports=y(Ot())})(mt.commonjsGlobal,function(j){return function(y){function d(A){if(S[A])return S[A].exports;var O=S[A]={i:A,l:!1,exports:{}};return y[A].call(O.exports,O,O.exports,d),O.l=!0,O.exports}var S={};return d.m=y,d.c=S,d.i=function(A){return A},d.d=function(A,O,v){d.o(A,O)||Object.defineProperty(A,O,{configurable:!1,enumerable:!0,get:v})},d.n=function(A){var O=A&&A.__esModule?function(){return A.default}:function(){return A};return d.d(O,"a",O),O},d.o=function(A,O){return Object.prototype.hasOwnProperty.call(A,O)},d.p="/",d(d.s=2)}([function(y,d){y.exports=j},function(y,d,S){Object.defineProperty(d,"__esModule",{value:!0});var A=S(4),O=S.n(A),v=S(6),p=S(5),c=p(O.a,v.a,!1,null,null,null);d.default=c.exports},function(y,d,S){function A(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(d,"__esModule",{value:!0}),d.install=d.quillEditor=d.Quill=void 0;var O=S(0),v=A(O),p=S(1),c=A(p),o=window.Quill||v.default,t=function(u,l){l&&(c.default.props.globalOptions.default=function(){return l}),u.component(c.default.name,c.default)},e={Quill:o,quillEditor:c.default,install:t};d.default=e,d.Quill=o,d.quillEditor=c.default,d.install=t},function(y,d,S){Object.defineProperty(d,"__esModule",{value:!0}),d.default={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1}},function(y,d,S){function A(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(d,"__esModule",{value:!0});var O=S(0),v=A(O),p=S(3),c=A(p),o=window.Quill||v.default;typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(t),l=1;l<arguments.length;l++){var a=arguments[l];if(a!=null)for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(u[i]=a[i])}return u},writable:!0,configurable:!0}),d.default={name:"quill-editor",data:function(){return{_options:{},_content:"",defaultOptions:c.default}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},mounted:function(){this.initialize()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initialize:function(){var t=this;this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new o(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",function(e){e?t.$emit("focus",t.quill):t.$emit("blur",t.quill)}),this.quill.on("text-change",function(e,u,l){var a=t.$refs.editor.children[0].innerHTML,i=t.quill,r=t.quill.getText();a==="<p><br></p>"&&(a=""),t._content=a,t.$emit("input",t._content),t.$emit("change",{html:a,text:r,quill:i})}),this.$emit("ready",this.quill))}},watch:{content:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value:function(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled:function(t,e){this.quill&&this.quill.enable(!t)}}}},function(y,d){y.exports=function(S,A,O,v,p,c){var o,t=S=S||{},e=typeof S.default;e!=="object"&&e!=="function"||(o=S,t=S.default);var u=typeof t=="function"?t.options:t;A&&(u.render=A.render,u.staticRenderFns=A.staticRenderFns,u._compiled=!0),O&&(u.functional=!0),p&&(u._scopeId=p);var l;if(c?(l=function(r){r=r||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,r||typeof __VUE_SSR_CONTEXT__>"u"||(r=__VUE_SSR_CONTEXT__),v&&v.call(this,r),r&&r._registeredComponents&&r._registeredComponents.add(c)},u._ssrRegister=l):v&&(l=v),l){var a=u.functional,i=a?u.render:u.beforeCreate;a?(u._injectStyles=l,u.render=function(r,s){return l.call(s),i(r,s)}):u.beforeCreate=i?[].concat(i,l):[l]}return{esModule:o,exports:t,options:u}}},function(y,d,S){var A=function(){var p=this,c=p.$createElement,o=p._self._c||c;return o("div",{staticClass:"quill-editor"},[p._t("toolbar"),p._v(" "),o("div",{ref:"editor"})],2)},O=[],v={render:A,staticRenderFns:O};d.a=v}])})})(pt);const Et={props:{record:{type:Object,default:()=>({})},ruleFormData:{type:Object,required:!0}},components:{quillEditor:pt.exports.quillEditor},data(){return{}},computed:{editorOption(){return{placeholder:this.$i18nt(this.record.placeholderTransKey,this.record.placeholder)}},style(){return{height:`${this.record.height|300}px`}},disabled(){return this.record.disabled===void 0?!1:this.record.disabled}},methods:{onEditorBlur(){},onEditorFocus(){},onEditorChange(lt){this.$emit("change",lt.html)}},mounted(){this.$refs.vueQuillEditor.quill.enable(!1),this.$nextTick(()=>{setTimeout(()=>{this.$refs.vueQuillEditor.quill.blur(),this.$refs.vueQuillEditor.quill.enable(!0)},1e3)})}};var kt=function(){var G=this,j=G._self._c;return j("quillEditor",{ref:"vueQuillEditor",staticClass:"ql-editor-class",class:{chinesization:!0},style:G.style,attrs:{options:G.editorOption,disabled:G.disabled},on:{blur:function(y){return G.onEditorBlur(y)},focus:function(y){return G.onEditorFocus(y)},change:function(y){return G.onEditorChange(y)}},model:{value:G.ruleFormData[G.record.prop],callback:function(y){G.$set(G.ruleFormData,G.record.prop,y)},expression:"ruleFormData[record.prop]"}})},At=[],wt=gt.normalizeComponent(Et,kt,At,!1,null,"17f85232",null,null);const bt=wt.exports;function Nt(lt){return window.axios({url:"/email/sendEmail",method:"post",data:lt})}function Tt(lt){return window.axios({url:"/email/sendEmailHtml",method:"post",data:lt})}const xt={name:"GdEmail",props:{height:{type:Number,default:100}},components:{childEditor:bt},data(){return{confirmLoading:!1,editorContent:"",type:"1",simpleFormData:{email:"",subject:"",content:""},htmlFormData:{email:"",subject:"",content:""},htmlFormRecord:{prop:"content",disabled:!1},rules:{email:[{type:"email",message:this.$i18nt("gd.email.receivingEmailTip","\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1"),trigger:"change"},{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}],subject:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}],content:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:"change"}]}}},methods:{onHandleTabChange(){this.type=="1"?this.$nextTick(()=>[this.$refs.simpleFormRef.clearValidate()]):this.$nextTick(()=>[this.$refs.htmlFormRef.clearValidate()])},changeEditor(lt){this.editorContent=lt,this.htmlFormData.content=lt},handleSubmitSimple(){this.confirmLoading=!0,this.$refs.simpleFormRef.validate(lt=>{lt?Nt({to:this.simpleFormData.email,title:this.simpleFormData.subject,content:this.simpleFormData.content}).then(G=>{G.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.confirmLoading=!1,this.$refs.simpleFormRef.resetFields()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+G.message)}).finally(G=>{this.confirmLoading=!1}):this.confirmLoading=!1})},handleSubmitHtml(){this.confirmLoading=!0,this.$refs.htmlFormRef.validate((lt,G)=>{console.log("details: ",G),lt?Tt({to:this.htmlFormData.email,title:this.htmlFormData.subject,content:this.htmlFormData.content}).then(j=>{j.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.confirmLoading=!1,this.editorContent="",this.$refs.htmlFormRef.resetFields()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+j.message)}).finally(j=>{this.confirmLoading=!1}):this.confirmLoading=!1})}}};var St=function(){var G=this,j=G._self._c;return j("div",{staticClass:"gd-base-body"},[j("el-card",{staticClass:"ant-card-bodys",attrs:{bordered:!1}},[j("el-tabs",{on:{"tab-click":G.onHandleTabChange},model:{value:G.type,callback:function(y){G.type=y},expression:"type"}},[G.$hasPerm("email:sendEmail")?j("el-tab-pane",{attrs:{name:"1",label:G.$i18nt("gd.email.sendEmail","\u53D1\u9001\u90AE\u4EF6")}},[j("el-form",{ref:"simpleFormRef",attrs:{model:G.simpleFormData,rules:G.rules,"label-position":"top"},nativeOn:{submit:function(y){y.preventDefault()}}},[j("el-form-item",{attrs:{label:G.$i18nt("gd.email.receivingEmail","\u6536\u4EF6\u90AE\u7BB1"),prop:"email"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.email,callback:function(y){G.$set(G.simpleFormData,"email",y)},expression:"simpleFormData.email"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.subject","\u90AE\u4EF6\u6807\u9898"),prop:"subject"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.subject,callback:function(y){G.$set(G.simpleFormData,"subject",y)},expression:"simpleFormData.subject"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.content","\u90AE\u4EF6\u5185\u5BB9"),prop:"content"}},[j("el-input",{attrs:{type:"textarea",rows:4,placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.simpleFormData.content,callback:function(y){G.$set(G.simpleFormData,"content",y)},expression:"simpleFormData.content"}})],1),j("el-form-item",{staticClass:"subForm-item"},[j("el-button",{attrs:{type:"primary",loading:G.confirmLoading},on:{click:G.handleSubmitSimple}},[G._v(" "+G._s(G.$i18nt("gd.email.sending","\u53D1\u9001"))+" ")])],1)],1)],1):G._e(),G.$hasPerm("email:sendEmailHtml")?j("el-tab-pane",{attrs:{name:"2",label:G.$i18nt("gd.email.htmlEmail","\u53D1\u9001Html\u90AE\u4EF6")}},[j("el-form",{ref:"htmlFormRef",attrs:{rules:G.rules,model:G.htmlFormData,"label-position":"top"},nativeOn:{submit:function(y){y.preventDefault()}}},[j("el-form-item",{attrs:{label:G.$i18nt("gd.email.receivingEmail","\u6536\u4EF6\u90AE\u7BB1"),prop:"email"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.htmlFormData.email,callback:function(y){G.$set(G.htmlFormData,"email",y)},expression:"htmlFormData.email"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.subject","\u90AE\u4EF6\u6807\u9898"),prop:"subject"}},[j("el-input",{attrs:{placeholder:G.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:G.htmlFormData.subject,callback:function(y){G.$set(G.htmlFormData,"subject",y)},expression:"htmlFormData.subject"}})],1),j("el-form-item",{attrs:{label:G.$i18nt("gd.email.content","\u90AE\u4EF6\u5185\u5BB9"),prop:"content"}},[j("childEditor",{attrs:{record:G.htmlFormRecord,ruleFormData:G.htmlFormData},on:{change:G.changeEditor}})],1),j("el-form-item",{staticClass:"subForm-item"},[j("el-button",{attrs:{type:"primary",loading:G.confirmLoading},on:{click:G.handleSubmitHtml}},[G._v(" "+G._s(G.$i18nt("gd.email.sending","\u53D1\u9001"))+" ")])],1)],1)],1):G._e()],1)],1)],1)},Pt=[],qt=gt.normalizeComponent(xt,St,Pt,!1,null,"c047ea98",null,null);const dt=qt.exports;dt.install=function(lt){lt.component(dt.name,dt)};exports.GDpackage=dt;exports.childEditor=bt;exports.vueQuillEditor=pt;
@@ -1,5 +1,5 @@
1
- import { c as yt } from "./system.account.e95f40c9.mjs";
2
- import { n as mt } from "./chartbi.090c7bd2.mjs";
1
+ import { c as yt } from "./system.account.9bc40d08.mjs";
2
+ import { n as mt } from "./chartbi.cdd1e365.mjs";
3
3
  var gt = { exports: {} }, dt = { exports: {} };
4
4
  /*!
5
5
  * Quill Editor v1.3.7
@@ -7274,7 +7274,7 @@ var Et = function() {
7274
7274
  kt,
7275
7275
  !1,
7276
7276
  null,
7277
- "7ce68bc2",
7277
+ "17f85232",
7278
7278
  null,
7279
7279
  null
7280
7280
  );
@@ -7417,7 +7417,7 @@ var St = function() {
7417
7417
  Pt,
7418
7418
  !1,
7419
7419
  null,
7420
- "601e0cd9",
7420
+ "c047ea98",
7421
7421
  null,
7422
7422
  null
7423
7423
  );