@genpact/genome.mfe.solidify-app 1.4.1-alpha.15 → 1.4.1-alpha.18
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.
- package/dist/index.html +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +3 -3
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyLearner.js +1 -1
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerFail.js +1 -1
- package/dist/js/SolidifyLearnerFail.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/app.js +93 -93
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-7c44cd00.js +2 -0
- package/dist/js/chunk-7c44cd00.js.map +1 -0
- package/package.json +3 -3
- package/dist/js/chunk-023cfa4c.js +0 -2
- package/dist/js/chunk-023cfa4c.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"0323":function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,r){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("cad9")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"0323":function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"035b":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-b61c48ee]{position:fixed;top:30%;left:42%}.tableScroll[data-v-b61c48ee]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"03aa":function(t,e,r){var n=r("f5dc"),o=r("5e63"),i=r("a6f5"),a=r("301e"),l=a((function(){i(1)}));n({target:"Object",stat:!0,forced:l},{keys:function(t){return i(o(t))}})},"0418":function(t,e,r){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("cad9")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"102b":function(t,e,r){"use strict";var n=r("9cc1").forEach,o=r("88a7"),i=o("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"112f":function(t,e,r){"use strict";var n=r("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={};function a(t,e,r){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),o=n.length;while(o-- >0){var i=n[o],a=e[i];if(a){var l=t[i],s=void 0===l||a(l,i,t);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+i)}}o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,a){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,a)}},t.exports={assertOptions:a,validators:o}},"11ce":function(t,e){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var o,i,a,l,s;for(a in e)if(o=t[a],i=e[a],o&&r.test(a))if("class"===a&&("string"===typeof o&&(s=o,t[a]=o={},o[s]=!0),"string"===typeof i&&(s=i,e[a]=i={},i[s]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(l in i)o[l]=n(o[l],i[l]);else if(Array.isArray(o))t[a]=o.concat(i);else if(Array.isArray(i))t[a]=[o].concat(i);else for(l in i)o[l]=i[l];else t[a]=e[a];return t}),{})}},"122c":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},1501:function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},1624:function(t,e,r){var n=r("48be");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("9e2516ca",n,!0,{sourceMap:!1,shadowMode:!1})},"1c80":function(t,e,r){"use strict";var n=r("248a"),o=r("924c"),i=r("7096"),a=r("84c7"),l=r("be34"),s=r("d87e"),u=r("3ae6"),c=r("a650").get,f=r("2a39"),d=r("cf26"),p=s("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=o("".charAt),b=o("".indexOf),y=o("".replace),m=o("".slice),w=function(){var t=/a/,e=/b*/g;return n(h,t,"a"),n(h,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),q=l.BROKEN_CARET,x=void 0!==/()??/.exec("")[1],k=w||x||q||f||d;k&&(v=function(t){var e,r,o,l,s,f,d,k=this,_=c(k),O=i(t),E=_.raw;if(E)return E.lastIndex=k.lastIndex,e=n(v,E,O),k.lastIndex=E.lastIndex,e;var j=_.groups,A=q&&k.sticky,S=n(a,k),N=k.source,T=0,C=O;if(A&&(S=y(S,"y",""),-1===b(S,"g")&&(S+="g"),C=m(O,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==g(O,k.lastIndex-1))&&(N="(?: "+N+")",C=" "+C,T++),r=new RegExp("^(?:"+N+")",S)),x&&(r=new RegExp("^"+N+"$(?!\\s)",S)),w&&(o=k.lastIndex),l=n(h,A?r:k,C),A?l?(l.input=m(l.input,T),l[0]=m(l[0],T),l.index=k.lastIndex,k.lastIndex+=l[0].length):k.lastIndex=0:w&&l&&(k.lastIndex=k.global?l.index+l[0].length:o),x&&l&&l.length>1&&n(p,l[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(l[s]=void 0)})),l&&j)for(l.groups=f=u(null),s=0;s<j.length;s++)d=j[s],f[d[0]]=l[d[1]];return l}),t.exports=v},"1dba":function(t,e,r){t.exports=r("46c8")},"1fb7":function(t,e,r){var n=r("248a"),o=r("aaf8"),i=r("a42c"),a=r("2a0e");t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,l=i("toPrimitive");e&&!e[l]&&a(e,l,(function(t){return n(r,this)}),{arity:1})}},2005:function(t,e,r){var n=r("b93d");t.exports=/MSIE|Trident/.test(n)},2170:function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-2139e5c2]{position:fixed;top:30%;left:42%}",""]),t.exports=e},2390:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex"},[n("div",{staticClass:"w-full pt-16 px-32"},[n("div",{staticClass:"md:px-0 lg:px-0 text-center"},[n("div",{staticClass:"text-gray-500"},[n("p",{staticClass:"pt-2"},[t._v(t._s(t.errorMsg))])]),n("div",{staticClass:"pt-8"},[n("a",{attrs:{href:t.helpmateLink,target:"_blank"}},[n("img",{staticClass:"mx-auto",attrs:{src:r("a884")}})])])])])])},o=[],i=r("c452"),a=(r("833b"),r("4687")),l=Object(a["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup:function(t){var e=Object(a["f"])(""),r=Object(a["f"])(localStorage.getItem("helpmateLink"));return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.value=t.errorMessage;case 1:case"end":return r.stop()}}),r)})))),{errorMsg:e,helpmateLink:r}}}),s=l,u=r("b709"),c=Object(u["a"])(s,n,o,!1,null,null,null);e["a"]=c.exports},"241c":function(t,e,r){"use strict";var n=r("f5dc"),o=r("572d"),i=r("248a"),a=r("924c"),l=r("086b"),s=r("5025"),u=r("3a37"),c=r("301e"),f=r("2e4e"),d=r("cc50"),p=r("d67b"),h=r("103b"),v=r("f74b"),g=r("7096"),b=r("5858"),y=r("3ae6"),m=r("a6f5"),w=r("d822"),q=r("bdc4"),x=r("19fa"),k=r("c9c8"),_=r("1ad6"),O=r("80c4"),E=r("4136"),j=r("2a0e"),A=r("d87e"),S=r("3014"),N=r("cf7d"),T=r("7265"),C=r("a42c"),P=r("8cb1"),R=r("8de0"),L=r("1fb7"),I=r("a964"),M=r("a650"),B=r("9cc1").forEach,U=S("hidden"),D="Symbol",z="prototype",F=M.set,H=M.getterFor(D),Y=Object[z],V=o.Symbol,K=V&&V[z],W=o.TypeError,Z=o.QObject,G=k.f,J=_.f,X=q.f,$=E.f,Q=a([].push),tt=A("symbols"),et=A("op-symbols"),rt=A("wks"),nt=!Z||!Z[z]||!Z[z].findChild,ot=s&&c((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(Y,e);n&&delete Y[e],J(t,e,r),n&&t!==Y&&J(Y,e,n)}:J,it=function(t,e){var r=tt[t]=y(K);return F(r,{type:D,tag:t,description:e}),s||(r.description=e),r},at=function(t,e,r){t===Y&&at(et,e,r),p(t);var n=v(e);return p(r),f(tt,n)?(r.enumerable?(f(t,U)&&t[U][n]&&(t[U][n]=!1),r=y(r,{enumerable:b(0,!1)})):(f(t,U)||J(t,U,b(1,{})),t[U][n]=!0),ot(t,n,r)):J(t,n,r)},lt=function(t,e){p(t);var r=h(e),n=m(r).concat(dt(r));return B(n,(function(e){s&&!i(ut,r,e)||at(t,e,r[e])})),t},st=function(t,e){return void 0===e?y(t):lt(y(t),e)},ut=function(t){var e=v(t),r=i($,this,e);return!(this===Y&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,U)&&this[U][e])||r)},ct=function(t,e){var r=h(t),n=v(e);if(r!==Y||!f(tt,n)||f(et,n)){var o=G(r,n);return!o||!f(tt,n)||f(r,U)&&r[U][n]||(o.enumerable=!0),o}},ft=function(t){var e=X(h(t)),r=[];return B(e,(function(t){f(tt,t)||f(N,t)||Q(r,t)})),r},dt=function(t){var e=t===Y,r=X(e?et:h(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(Y,t)||Q(n,tt[t])})),n};u||(V=function(){if(d(K,this))throw W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=T(t),r=function(t){this===Y&&i(r,et,t),f(this,U)&&f(this[U],e)&&(this[U][e]=!1),ot(this,e,b(1,t))};return s&&nt&&ot(Y,e,{configurable:!0,set:r}),it(e,t)},K=V[z],j(K,"toString",(function(){return H(this).tag})),j(V,"withoutSetter",(function(t){return it(T(t),t)})),E.f=ut,_.f=at,O.f=lt,k.f=ct,w.f=q.f=ft,x.f=dt,P.f=function(t){return it(C(t),t)},s&&(J(K,"description",{configurable:!0,get:function(){return H(this).description}}),l||j(Y,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),B(m(rt),(function(t){R(t)})),n({target:D,stat:!0,forced:!u},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:at,defineProperties:lt,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft}),L(),I(V,D),N[U]=!0},"256f":function(t,e,r){var n=r("f5dc"),o=r("3a37"),i=r("301e"),a=r("19fa"),l=r("5e63"),s=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(l(t)):[]}})},"257d":function(t,e,r){"use strict";(function(t){
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
var n=r("ca4a"),o=r("fc83"),i=r("f249");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function l(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?b(t,e,r,n):"string"===typeof e?h(t,e,r):g(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,r,n){return f(e),e<=0?s(t,e):void 0!==r?"string"===typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}function p(t,e){if(f(e),t=s(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(e,r);t=s(t,n);var o=t.write(e,r);return o!==n&&(t=t.slice(0,o)),t}function v(t,e){var r=e.length<0?0:0|y(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function b(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=v(t,e),t}function g(t,e){if(u.isBuffer(e)){var r=0|y(e.length);return t=s(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?s(t,0):v(t,e);if("Buffer"===e.type&&i(e.data))return v(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function m(t){return+t!=t&&(t=0),u.alloc(+t)}function w(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(n)return J(t).length;e=(""+e).toLowerCase(),n=!0}}function q(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return I(this,e,r);case"base64":return T(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function x(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function k(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,o);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,o){var i,a=1,l=t.length,s=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,l/=2,s/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var c=-1;for(i=r;i<l;i++)if(u(t,i)===u(e,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+s>l&&(r=l-s),i=r;i>=0;i--){for(var f=!0,d=0;d<s;d++)if(u(t,i+d)!==u(e,d)){f=!1;break}if(f)return i}return-1}function O(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(2*a,2),16);if(isNaN(l))return a;t[r+a]=l}return a}function E(t,e,r,n){return tt(J(e,t.length-r),t,r,n)}function j(t,e,r,n){return tt(X(e),t,r,n)}function A(t,e,r,n){return j(t,e,r,n)}function S(t,e,r,n){return tt(Q(e),t,r,n)}function N(t,e,r,n){return tt($(e,t.length-r),t,r,n)}function T(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);var n=[],o=e;while(o<r){var i,a,l,s,u=t[o],c=null,f=u>239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:i=t[o+1],128===(192&i)&&(s=(31&u)<<6|63&i,s>127&&(c=s));break;case 3:i=t[o+1],a=t[o+2],128===(192&i)&&128===(192&a)&&(s=(15&u)<<12|(63&i)<<6|63&a,s>2047&&(s<55296||s>57343)&&(c=s));break;case 4:i=t[o+1],a=t[o+2],l=t[o+3],128===(192&i)&&128===(192&a)&&128===(192&l)&&(s=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&l,s>65535&&s<1114112&&(c=s))}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=f}return R(n)}e.Buffer=u,e.SlowBuffer=m,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=l(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return d(null,t,e,r)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=w,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)x(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)x(this,e,e+3),x(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)x(this,e,e+7),x(this,e+1,e+6),x(this,e+2,e+5),x(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):q.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,o){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,a=r-e,l=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),f=0;f<l;++f)if(s[f]!==c[f]){i=s[f],a=c[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return k(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return k(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return O(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return j(this,t,e,r);case"latin1":case"binary":return A(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function R(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="",n=0;while(n<e)r+=String.fromCharCode.apply(String,t.slice(n,n+=P));return r}function L(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function I(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=G(t[i]);return o}function B(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function U(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function z(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function F(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function H(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Y(t,e,r,n,i){return i||H(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function V(t,e,r,n,i){return i||H(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=u.prototype;else{var o=e-t;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t],o=1,i=0;while(++i<e&&(o*=256))n+=this[t+i]*o;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t+--e],o=1;while(e>0&&(o*=256))n+=this[t+--e]*o;return n},u.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t],o=1,i=0;while(++i<e&&(o*=256))n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=e,o=1,i=this[t+--n];while(n>0&&(o*=256))i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,t,e,r,o,0)}var i=1,a=0;this[e]=255&t;while(++a<r&&(i*=256))this[e+a]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,t,e,r,o,0)}var i=r-1,a=1;this[e+i]=255&t;while(--i>=0&&(a*=256))this[e+i]=t/a&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,l=0;this[e]=255&t;while(++i<r&&(a*=256))t<0&&0===l&&0!==this[e+i-1]&&(l=1),this[e+i]=(t/a>>0)-l&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,l=0;this[e+i]=255&t;while(--i>=0&&(a*=256))t<0&&0===l&&0!==this[e+i+1]&&(l=1),this[e+i]=(t/a>>0)-l&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return Y(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return Y(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return V(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return V(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},u.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=u.isBuffer(t)?t:J(new u(t,n).toString()),l=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%l]}return this};var K=/[^+\/0-9A-Za-z-_]/g;function W(t){if(t=Z(t).replace(K,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function Z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function J(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function X(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function $(t,e){for(var r,n,o,i=[],a=0;a<t.length;++a){if((e-=2)<0)break;r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n)}return i}function Q(t){return n.toByteArray(W(t))}function tt(t,e,r,n){for(var o=0;o<n;++o){if(o+r>=e.length||o>=t.length)break;e[o+r]=t[o]}return o}function et(t){return t!==t}}).call(this,r("d8fc"))},"26fa":function(t,e,r){"use strict";r("dc62"),r("699e");var n=r("1dba"),o=r.n(n);r("704a"),r("c440"),r("197e"),r("54a3"),r("5888"),r("533e"),r("cf00");function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}r("7ebd");function s(t){var e=t.$http,r=localStorage.getItem("accessToken");r?e.defaults.headers.common.Authorization="Bearer ".concat(r):delete e.defaults.headers.common.Authorization}var u=function(t){var e=t.$http;s({$http:e}),e.interceptors.request.use((function(t){return s({$http:e}),t}),(function(t){return Promise.reject(t)})),e.interceptors.response.use((function(t){return t}),(function(t){if(console.log("inside interceptor"),console.warn(t.message,l({},t)),!t||!t.response||!t.response.config)return Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status ".concat(t.response.status)),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,l({},e)),console.warn(JSON.stringify(l({},e)))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(t)}))},c="poc",f=window.location.host;console.log(" solidify ".concat(f)),"dev.genome.genpact.com"===f?c="dev":"uat.genome.genpact.com"===f?c="uat":"genome-eda-rel.azurewebsites.net"===f?c="prod":f.includes("localhost")&&(c="local");var d="";d="local"===c?"http://localhost:3000/local/genome-solidify-api-svc":"https://api-router.azurefd.net/".concat(c,"/aws/api/genome/solidify"),console.log(" solidify ".concat(d)),o.a.defaults.baseURL=d,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",u({$http:o.a});e["a"]=o.a},"276f":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Filter Task ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedProgram=e.target.multiple?r:r[0]},function(e){return t.getSelectedProgram(e)}]}},[n("option",[t._v("Select Program")]),t._l(t.programDetails,(function(e){return n("option",{key:e.program_id,domProps:{value:e.program_id}},[t._v(t._s(e.program_name))])}))],2)]),t.showSkillProf?n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedSkill=e.target.multiple?r:r[0]},function(e){return t.getSelectedSkill(e)}]}},[n("option",[t._v("Select Skill")]),t._l(t.skills,(function(e){return n("option",{key:e.skill_id,domProps:{value:e.skill_id}},[t._v(t._s(e.skill_alias))])}))],2)]):t._e(),t.showSkillProf?n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedProficiency=e.target.multiple?r:r[0]},function(e){return t.getSelectedProficiency(e)}]}},[n("option",[t._v("Select Proficiency")]),t._l(t.proficiency,(function(e){return n("option",{key:e.prof_id,domProps:{value:e.prof_id}},[t._v(t._s(e.prof_name))])}))],2)]):t._e(),n("div",{staticClass:"w-full mb-4"},[t.searchBtn?n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.searchTask()}}},[t._v("Search Task")]):t._e()])]),n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"pr-3 mb-4 w-full"},[t.showTaskImportBtn?n("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(e){t.showTaskImport=!0}}},[t._v("Upload Task")]):t._e(),t.showSequencBtn?n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:t.resetTaskOrder}},[t._v("Reset Task Sequence")]):t._e()])]),t.showTaskImport?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?n("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.bulkImportTask}},[t._v("Import Task")])]):t._e(),n("div",{staticClass:"flex w-full"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.viewTaskDetails()}}},[t._v("View Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.archieveTask()}}},[t._v("Archive Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.archieveTask()}}},[t._v("UnArchive Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.createOffCycle()}}},[t._v("Create Off-Cycle")])])]),t.taskDetails?n("div",{staticClass:"w-full mb-8 tableScroll"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over tableScroll"},[t._m(1),n("tbody",{staticClass:"opacity-80 align-bottom"},t._l(t.taskDetails,(function(e){return n("tr",{key:e.task_id,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:e.task_id},domProps:{value:e.task_id,checked:Array.isArray(t.taskCheckOne)?t._i(t.taskCheckOne,e.task_id)>-1:t.taskCheckOne},on:{change:[function(r){var n=t.taskCheckOne,o=r.target,i=!!o.checked;if(Array.isArray(n)){var a=e.task_id,l=t._i(n,a);o.checked?l<0&&(t.taskCheckOne=n.concat([a])):l>-1&&(t.taskCheckOne=n.slice(0,l).concat(n.slice(l+1)))}else t.taskCheckOne=i},function(r){return t.showTaskBtn(r,e.task_id,e.is_archive)}],click:t.taskcheckedOne}})]),n("td",{staticClass:"p-2 px-3"},[t._v(t._s(e.task_name))]),n("td",{staticClass:"p-2 px-3"},[t._v(t._s(e.is_archive))]),n("td",{staticClass:"p-2 px-3"},[t._v(t._s(e.task_type))]),n("td",{staticClass:"p-2 px-3"},[t._v(t._s(e.created_date))]),n("td",{staticClass:"p-2 px-3"},[t._v(t._s(e.task_order))])])})),0)])]):t._e()]),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full flex justify-between"},[r("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Task Management")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("thead",{staticClass:"opacity-90"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task Name")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Is Archive")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Learner Type")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Created Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Sequence Number")])])])}],i=r("c452"),a=(r("833b"),r("0480"),r("523f"),r("3db1"),r("66c6"),r("446e"),r("54a3"),r("7ebd"),r("dc62"),r("699e"),r("4687")),l=r("f9e0"),s=r.n(l),u=r("3212"),c=r("afbc"),f=r("8596"),d=r("675e"),p=r("6235"),h=Object(a["b"])({name:"TaskManagement",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(!0),r=Object(a["f"])(),n=Object(a["f"])([]),o=Object(a["f"])("Select Program"),l=Object(a["f"])(),h=Object(a["f"])(),v=Object(a["f"])(),b=Object(a["f"])(!0),g=Object(a["f"])(!1),y=Object(a["f"])(!1),m=Object(a["f"])(),w=Object(a["f"])(),q=Object(a["f"])(),x=Object(a["f"])(),k=Object(a["f"])(),_=Object(a["f"])(!1),O=Object(a["f"])(),E=Object(a["f"])(),j=Object(a["f"])(),A=Object(a["f"])(),S=Object(a["f"])("Select Skill"),N=Object(a["f"])("Select Proficiency"),T=Object(a["f"])(!1),C=Object(a["f"])(!1),P=Object(a["f"])(!1),R={},L=function(){n.value=[]},I=function(t,e,r){var n=t.target.checked;!0===n?(h.value=e,l.value=!0,!0===r?(E.value=!1,_.value=!1,O.value=!0):(E.value=!0,_.value=!0,O.value=!1)):(l.value=!1,_.value=!1,O.value=!1)},M=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,t.next=3,Object(u["e"])("/getAllTaskByProgram",R);case 3:for(r.value=t.sent,n=0;n<r.value.length;n+=1)i=r.value[n],i.created_date&&(i.created_date=s()(i.created_date).format("DD-MM-YYYY"));r.value=r.value.sort((function(t,e){return t.task_name.localeCompare(e.task_name)})),"infinity"===o.value?P.value=!1:P.value=!0,e.value=!0;case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),B=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return"Select Program"!==o.value&&Object.assign(R,{program_id:o.value}),"Select Skill"!==S.value&&Object.assign(R,{skill_id:S.value}),"Select Proficiency"!==N.value&&Object.assign(R,{proficiency_id:N.value}),t.next=5,M();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),U=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.value=!1,localStorage.setItem("program",r.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),o.value=r.target.value,"Select Program"!==o.value?(y.value=!0,C.value=!0,"infinity"===o.value?(S.value="Select Skill",N.value="Select Proficiency",T.value=!0):(T.value=!1,S.value="",N.value="")):(y.value=!1,g.value=!1,C.value=!1),e.value=!0;case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:localStorage.setItem("skill",e.target.value),S.value=e.target.value,"Select Skill"===S.value&&(S.value="");case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),z=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:localStorage.setItem("proficiency",e.target.value),N.value=e.target.value,"Select Proficiency"===N.value&&(N.value="");case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),F=function(){var r=Object(i["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.value=!1,r.next=3,Object(u["d"])("/cache?cache=program");case 3:t.value=r.sent,e.value=!0;case 5:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),H=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:c["a"].push({path:"taskDetails",query:{task_id:h.value}});case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){var r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{r=e.target.files[0],n=r.name,o=n.endsWith(".csv"),o?(m.value=n,w.value=r):(q.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){q.value=null}),6e3),w.value=null,m.value=null)}catch(i){console.log(i)}case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),V=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var n,i,a,l,c,f;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(w.value){t.next=5;break}q.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){q.value=null}),6e3),t.next=31;break;case 5:return n=s()().format("llll"),e.value=!1,i="".concat(o.value,"_").concat(n,".csv"),t.next=10,Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:i});case 10:return a=t.sent,console.log("presigned URL",a),k.value=a.data.preSignedUrl,t.next=15,Object(u["h"])(k.value,w.value);case 15:if(l=t.sent,200!==l.status){t.next=31;break}return c={program_id:o.value,file_key:"".concat(i)},t.next=20,Object(u["b"])("/task/import",c);case 20:return f=t.sent,console.log(f),e.value=!1,x.value="Task added",w.value=null,m.value=null,t.next=28,Object(u["e"])("/getAllTaskByProgram",{program_id:o.value});case 28:r.value=t.sent,e.value=!0,setTimeout((function(){x.value=null,g.value=!1}),6e3);case 31:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,t.next=3,Object(p["d"])("/getAllSkillProf ");case 3:r=t.sent,j.value=r.skill,A.value=r.proficiency,e.value=!0;case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),W=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=o.value,"infinity"===e){t.next=4;break}return t.next=4,Object(u["f"])("/resetActiveTaskOrder ",{program_id:e});case 4:return t.next=6,M();case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Z=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,r={task_id:h.value,archive_type:E.value},t.next=4,Object(u["c"])("/archieveTask",r);case 4:return t.next=6,W();case 6:_.value=!1,O.value=!1,l.value=!1,n.value=[],e.value=!0;case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),G=function(){var e=t.value.find((function(t){return t.program_id===o.value}));console.log("programDetail ".concat(JSON.stringify(e)));var n=r.value.find((function(t){return t.task_id===h.value}));if(console.log("taskDetail ".concat(JSON.stringify(n))),console.log("programId",o.value),console.log("programName",e.program_name),console.log("linkedTaskId",h.value),console.log("taskName",n.task_name),console.log("taskType",n.task_type),localStorage.setItem("programId",o.value),localStorage.setItem("programName",e.program_name),localStorage.setItem("linkedTaskId",h.value),"infinity"===o.value){localStorage.setItem("skillId",S.value);var i=j.value.find((function(t){return t.skill_id===S.value}));console.log("skillDetail ".concat(JSON.stringify(i))),localStorage.setItem("skillName",i.skill_alias);var a=A.value.find((function(t){return t.prof_id===N.value}));console.log("profDetail ".concat(JSON.stringify(a))),localStorage.setItem("proficiencyId",N.value),localStorage.setItem("proficiencyName",a.prof_name),console.log("skill",S.value),console.log("skill Name",i.skill_alias),console.log("proficiency",N.value),console.log("prof Name",a.prof_name)}localStorage.setItem("taskName",n.task_name),localStorage.setItem("taskType",n.task_type),c["a"].push("createOffcycle")};return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(f["f"])("/getUserRole");case 2:return e=t.sent,v.value=e.user_roles,v.value.length>0&&(v.value.includes("System Admin")||v.value.includes("System Admin View Access")||v.value.includes("Community Manager")||v.value.includes("Program Admin")?b.value=!0:b.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),t.next=16,F();case 16:return t.next=18,K();case 18:if(localStorage.getItem("program")&&(o.value=localStorage.getItem("program")||"Select Program",Object.assign(R,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(S.value=localStorage.getItem("skill")||"Select Skill",Object.assign(R,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(N.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(R,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",R),!localStorage.getItem("program")){t.next=25;break}return t.next=25,M();case 25:C.value=!0,"infinity"===o.value?T.value=!0:T.value=!1;case 27:case"end":return t.stop()}}),t)})))),{renderReady:e,programDetails:t,getSelectedProgram:U,taskDetails:r,taskCheckOne:n,taskcheckedOne:L,checkedTaskId:h,showTaskBtn:I,taskBtn:l,viewTaskDetails:H,showScreen:b,archieveTask:Z,selectedProgram:o,showTaskImport:g,showTaskImportBtn:y,bulkImportTask:V,selectedFile:Y,errorMessage:q,successMessage:x,archiveBtn:_,unArchiveBtn:O,getTaskDetails:M,skills:j,proficiency:A,getSelectedSkill:D,getSelectedProficiency:z,showSkillProf:T,searchBtn:C,resetTaskOrder:W,showSequencBtn:P,createOffCycle:G,selectedSkill:S,selectedProficiency:N,searchTask:B}}}),v=h,b=(r("859e"),r("b709")),g=Object(b["a"])(v,n,o,!1,null,"a6bf4714",null);e["default"]=g.exports},2998:function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,a){var l=[];l.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),n.isString(o)&&l.push("path="+o),n.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2c7b":function(t,e,r){var n=r("cf27"),o=r("5e90"),i=o.RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},3212:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return l})),r.d(e,"a",(function(){return s})),r.d(e,"h",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"f",(function(){return f})),r.d(e,"g",(function(){return d}));var n=r("c452"),o=(r("54a3"),r("7ebd"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return console.log("Response",t),r=t.data.response.program_name,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o["a"].get("/task/".concat(e)).then((function(t){return r=t.data.data,r}));case 3:return t.abrupt("return",r);case 6:return t.prev=6,t.t0=t["catch"](0),t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("".concat(e),{method:"put",body:r});case 3:return n=t.sent,o=n,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t["catch"](0),console.error(t.t0),t.abrupt("return",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,r){return t.apply(this,arguments)}}(),c=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),f=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("inside save task data ".concat(JSON.stringify(e))),t.next=3,o["a"].post("/task/create",e);case 3:return r=t.sent,t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},3348:function(t,e,r){"use strict";r("4e36")},"359b":function(t,e,r){var n=r("b03c"),o=r("0f03"),i=r("cf27"),a=r("6342"),l=r("a471"),s=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(l(t)):[]}})},"384e":function(t,e,r){var n=r("5e90");t.exports=n},"386e":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},3884:function(t,e,r){"use strict";var n=r("8a5d");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var l=t.indexOf("#");-1!==l&&(t=t.slice(0,l)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},"3a85":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-08453404]{position:fixed;top:30%;left:42%}",""]),t.exports=e},"3c08":function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return D}));var n=r("7fb5"),o=r.n(n),i=[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{list:"check"}],[{indent:"-1"},{indent:"+1"}],[{color:[]},{background:[]}],["link","image","video"],["clean"]],a={props:{customModules:Array},methods:{registerCustomModules:function(t){void 0!==this.customModules&&this.customModules.forEach((function(e){t.register("modules/"+e.alias,e.module)}))}}};function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),t}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?h(t):e}function b(t,e){return g(t)||y(t,e)||m()}function g(t){if(Array.isArray(t))return t}function y(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{n||null==l["return"]||l["return"]()}finally{if(o)throw i}}return r}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function w(t,e){var r=function(t){return t&&"object"===l(t)};return r(t)&&r(e)?(Object.keys(e).forEach((function(n){var o=t[n],i=e[n];Array.isArray(o)&&Array.isArray(i)?t[n]=o.concat(i):r(o)&&r(i)?t[n]=w(Object.assign({},o),i):t[n]=i})),t):e}var q=o.a.import("blots/block/embed"),x=function(t){function e(){return s(this,e),v(this,d(e).apply(this,arguments))}return f(e,t),e}(q);x.blotName="hr",x.tagName="hr",o.a.register("formats/horizontal",x);var k=function(){function t(e,r){var n=this;s(this,t),this.quill=e,this.options=r,this.ignoreTags=["PRE"],this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e,r){var o=r.exec(t);if(o){var i=o[0].length;setTimeout((function(){n.quill.formatLine(e.index,0,"header",i-1),n.quill.deleteText(e.index-i,i)}),0)}}},{name:"blockquote",pattern:/^(>)\s/g,action:function(t,e){setTimeout((function(){n.quill.formatLine(e.index,1,"blockquote",!0),n.quill.deleteText(e.index-2,2)}),0)}},{name:"code-block",pattern:/^`{3}(?:\s|\n)/g,action:function(t,e){setTimeout((function(){n.quill.formatLine(e.index,1,"code-block",!0),n.quill.deleteText(e.index-4,4)}),0)}},{name:"bolditalic",pattern:/(?:\*|_){3}(.+?)(?:\*|_){3}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{bold:!0,italic:!0}),n.quill.format("bold",!1)}),0)}},{name:"bold",pattern:/(?:\*|_){2}(.+?)(?:\*|_){2}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{bold:!0}),n.quill.format("bold",!1)}),0)}},{name:"italic",pattern:/(?:\*|_){1}(.+?)(?:\*|_){1}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{italic:!0}),n.quill.format("italic",!1)}),0)}},{name:"strikethrough",pattern:/(?:~~)(.+?)(?:~~)/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{strike:!0}),n.quill.format("strike",!1)}),0)}},{name:"code",pattern:/(?:`)(.+?)(?:`)/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{code:!0}),n.quill.format("code",!1),n.quill.insertText(n.quill.getSelection()," ")}),0)}},{name:"hr",pattern:/^([-*]\s?){3}/g,action:function(t,e){var r=e.index-t.length;setTimeout((function(){n.quill.deleteText(r,t.length),n.quill.insertEmbed(r+1,"hr",!0,o.a.sources.USER),n.quill.insertText(r+2,"\n",o.a.sources.SILENT),n.quill.setSelection(r+2,o.a.sources.SILENT)}),0)}},{name:"asterisk-ul",pattern:/^(\*|\+)\s$/g,action:function(t,e,r){setTimeout((function(){n.quill.formatLine(e.index,1,"list","unordered"),n.quill.deleteText(e.index-2,2)}),0)}},{name:"image",pattern:/(?:!\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,r){var o=t.search(r),i=t.match(r)[0],a=t.match(/(?:\((.*?)\))/g)[0],l=e.index-i.length-1;-1!==o&&setTimeout((function(){n.quill.deleteText(l,i.length),n.quill.insertEmbed(l,"image",a.slice(1,a.length-1))}),0)}},{name:"link",pattern:/(?:\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,r){var o=t.search(r),i=t.match(r)[0],a=t.match(/(?:\[(.*?)\])/g)[0],l=t.match(/(?:\((.*?)\))/g)[0],s=e.index-i.length-1;-1!==o&&setTimeout((function(){n.quill.deleteText(s,i.length),n.quill.insertText(s,a.slice(1,a.length-1),"link",l.slice(1,l.length-1))}),0)}}],this.quill.on("text-change",(function(t,e,r){for(var o=0;o<t.ops.length;o++)t.ops[o].hasOwnProperty("insert")&&(" "===t.ops[o].insert?n.onSpace():"\n"===t.ops[o].insert&&n.onEnter())}))}return c(t,[{key:"isValid",value:function(t,e){return"undefined"!==typeof t&&t&&-1===this.ignoreTags.indexOf(e)}},{key:"onSpace",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),r=b(e,2),n=r[0],o=r[1],i=n.domNode.textContent,a=t.index-o;if(this.isValid(i,n.domNode.tagName)){var l=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched:",d.name,i),void d.action(i,t,d.pattern,a)}}catch(h){s=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(s)throw u}}}}}},{key:"onEnter",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),r=b(e,2),n=r[0],o=r[1],i=n.domNode.textContent+" ",a=t.index-o;if(t.length=t.index++,this.isValid(i,n.domNode.tagName)){var l=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched",d.name,i),void d.action(i,t,d.pattern,a)}}catch(h){s=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(s)throw u}}}}}}]),t}(),_={name:"VueEditor",mixins:[a],props:{id:{type:String,default:"quill-container"},placeholder:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean},editorToolbar:{type:Array,default:function(){return[]}},editorOptions:{type:Object,required:!1,default:function(){return{}}},useCustomImageHandler:{type:Boolean,default:!1},useMarkdownShortcuts:{type:Boolean,default:!1}},data:function(){return{quill:null}},watch:{value:function(t){t==this.quill.root.innerHTML||this.quill.hasFocus()||(this.quill.root.innerHTML=t)},disabled:function(t){this.quill.enable(!t)}},mounted:function(){this.registerCustomModules(o.a),this.registerPrototypes(),this.initializeEditor()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initializeEditor:function(){this.setupQuillEditor(),this.checkForCustomImageHandler(),this.handleInitialContent(),this.registerEditorEventListeners(),this.$emit("ready",this.quill)},setupQuillEditor:function(){var t={debug:!1,modules:this.setModules(),theme:"snow",placeholder:this.placeholder?this.placeholder:"",readOnly:!!this.disabled&&this.disabled};this.prepareEditorConfig(t),this.quill=new o.a(this.$refs.quillContainer,t)},setModules:function(){var t={toolbar:this.editorToolbar.length?this.editorToolbar:i};return this.useMarkdownShortcuts&&(o.a.register("modules/markdownShortcuts",k,!0),t["markdownShortcuts"]={}),t},prepareEditorConfig:function(t){Object.keys(this.editorOptions).length>0&&this.editorOptions.constructor===Object&&(this.editorOptions.modules&&"undefined"!==typeof this.editorOptions.modules.toolbar&&delete t.modules.toolbar,w(t,this.editorOptions))},registerPrototypes:function(){o.a.prototype.getHTML=function(){return this.container.querySelector(".ql-editor").innerHTML},o.a.prototype.getWordCount=function(){return this.container.querySelector(".ql-editor").innerText.length}},registerEditorEventListeners:function(){this.quill.on("text-change",this.handleTextChange),this.quill.on("selection-change",this.handleSelectionChange),this.listenForEditorEvent("text-change"),this.listenForEditorEvent("selection-change"),this.listenForEditorEvent("editor-change")},listenForEditorEvent:function(t){var e=this;this.quill.on(t,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.$emit.apply(e,[t].concat(n))}))},handleInitialContent:function(){this.value&&(this.quill.root.innerHTML=this.value)},handleSelectionChange:function(t,e){!t&&e?this.$emit("blur",this.quill):t&&!e&&this.$emit("focus",this.quill)},handleTextChange:function(t,e){var r="<p><br></p>"===this.quill.getHTML()?"":this.quill.getHTML();this.$emit("input",r),this.useCustomImageHandler&&this.handleImageRemoved(t,e)},handleImageRemoved:function(t,e){var r=this,n=this.quill.getContents(),o=n.diff(e),i=o.ops;i.map((function(t){if(t.insert&&t.insert.hasOwnProperty("image")){var e=t.insert.image;r.$emit("image-removed",e)}}))},checkForCustomImageHandler:function(){!0===this.useCustomImageHandler&&this.setupCustomImageHandler()},setupCustomImageHandler:function(){var t=this.quill.getModule("toolbar");t.addHandler("image",this.customImageHandler)},customImageHandler:function(){this.$refs.fileInput.click()},emitImageInfo:function(t){var e=function(){var t=document.getElementById("file-upload");t.value=""},r=t.target.files[0],n=this.quill,o=n.getSelection(),i=o.index;this.$emit("image-added",r,n,i,e)}}};function O(t,e,r,n,o,i,a,l,s,u){"boolean"!==typeof a&&(s=l,l=a,a=!1);var c,f="function"===typeof r?r.options:r;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),n&&(f._scopeId=n),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=a?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,l(t))}),c)if(f.functional){var d=f.render;f.render=function(t,e){return c.call(e),d(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return r}var E,j=O,A="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function S(t){return function(t,e){return T(t,e)}}var N={};function T(t,e){var r=A?e.media||"default":t,n=N[r]||(N[r]={ids:new Set,styles:[]});if(!n.ids.has(t)){n.ids.add(t);var o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",e.media&&n.element.setAttribute("media",e.media),void 0===E&&(E=document.head||document.getElementsByTagName("head")[0]),E.appendChild(n.element)),"styleSheet"in n.element)n.styles.push(o),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n");else{var i=n.ids.size-1,a=document.createTextNode(o),l=n.element.childNodes;l[i]&&n.element.removeChild(l[i]),l.length?n.element.insertBefore(a,l[i]):n.element.appendChild(a)}}}var C=S;const P=_;var R=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"quillWrapper"},[t._t("toolbar"),t._v(" "),r("div",{ref:"quillContainer",attrs:{id:t.id}}),t._v(" "),t.useCustomImageHandler?r("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"file-upload",type:"file",accept:"image/*"},on:{change:function(e){return t.emitImageInfo(e)}}}):t._e()],2)},L=[];const I=function(t){t&&(t("data-v-776e788e_0",{source:"/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",map:void 0,media:void 0}),t("data-v-776e788e_1",{source:".ql-editor{min-height:200px;font-size:16px}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1px!important}.quillWrapper .ql-snow.ql-toolbar{padding-top:8px;padding-bottom:4px}.quillWrapper .ql-snow.ql-toolbar .ql-formats{margin-bottom:10px}.ql-snow .ql-toolbar button svg,.quillWrapper .ql-snow.ql-toolbar button svg{width:22px;height:22px}.quillWrapper .ql-editor ul[data-checked=false]>li::before,.quillWrapper .ql-editor ul[data-checked=true]>li::before{font-size:1.35em;vertical-align:baseline;bottom:-.065em;font-weight:900;color:#222}.quillWrapper .ql-snow .ql-stroke{stroke:rgba(63,63,63,.95);stroke-linecap:square;stroke-linejoin:initial;stroke-width:1.7px}.quillWrapper .ql-picker-label{font-size:15px}.quillWrapper .ql-snow .ql-active .ql-stroke{stroke-width:2.25px}.quillWrapper .ql-toolbar.ql-snow .ql-formats{vertical-align:top}.ql-picker:not(.ql-background){position:relative;top:2px}.ql-picker.ql-color-picker svg{width:22px!important;height:22px!important}.quillWrapper .imageResizeActive img{display:block;cursor:pointer}.quillWrapper .imageResizeActive~div svg{cursor:pointer}",map:void 0,media:void 0}))},M=void 0,B=void 0,U=!1;var D=j({render:R,staticRenderFns:L},I,P,M,U,B,C,void 0),z="2.10.3";function F(t){F.installed||(F.installed=!0,t.component("VueEditor",D))}var H={install:F,version:z,Quill:o.a,VueEditor:D},Y=null;"undefined"!==typeof window?Y=window.Vue:"undefined"!==typeof t&&(Y=t.Vue),Y&&Y.use(H)}).call(this,r("d8fc"))},"3db1":function(t,e,r){"use strict";var n=r("b03c"),o=r("fda0"),i=r("c3e2").f,a=r("dab3"),l=r("c6e5"),s=r("99e2"),u=r("5068"),c=r("1c56"),f=r("5913"),d=o("".endsWith),p=o("".slice),h=Math.min,v=c("endsWith"),b=!f&&!v&&!!function(){var t=i(String.prototype,"endsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!b&&!v},{endsWith:function(t){var e=l(u(this));s(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:h(a(r),n),i=l(t);return d?d(e,i,o):p(e,o-i.length,o)===i}})},"41af":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-a6bf4714]{position:fixed;top:30%;left:42%}.tableScroll[data-v-a6bf4714]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"446e":function(t,e,r){"use strict";var n=r("b03c"),o=r("74cb").find,i=r("c8ed"),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),n({target:"Array",proto:!0,forced:l},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},"46c8":function(t,e,r){"use strict";var n=r("8a5d"),o=r("1464"),i=r("6c7d"),a=r("76b7"),l=r("cc3a");function s(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r.create=function(e){return s(a(t,e))},r}var u=s(l);u.Axios=i,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=r("c279"),u.isAxiosError=r("122c"),t.exports=u,t.exports.default=u},"48be":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,'.ul-nav ul[data-v-164b4999]{display:flex;width:100%}.ul-nav ul li.active[data-v-164b4999]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-164b4999]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-164b4999]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{padding-left:20px!important}.box-overflow1[data-v-164b4999]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-164b4999]{overflow-x:scroll}.box-overflow1[data-v-164b4999]{max-height:none;overflow-y:auto}.ul-nav li[data-v-164b4999]:first-child,.ul-nav li[data-v-164b4999]:nth-child(2){display:none}}',""]),t.exports=e},"4a2f":function(t,e,r){"use strict";r("1624")},"4a3b":function(t,e,r){"use strict";r("5bb1")},"4af6":function(t,e,r){"use strict";var n=r("8a5d"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},"4e36":function(t,e,r){var n=r("9e1e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("d7ce1da0",n,!0,{sourceMap:!1,shadowMode:!1})},"533e":function(t,e,r){var n=r("5e90"),o=r("deeb"),i=r("85ac"),a=r("ace5"),l=r("47be"),s=function(t){if(t&&t.forEach!==a)try{l(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&s(n[u]&&n[u].prototype);s(i)},"55d9":function(t,e,r){var n=r("0f03");t.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},5775:function(t,e,r){"use strict";var n=r("b03c"),o=r("f922");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5888:function(t,e,r){var n=r("b03c"),o=r("cf27"),i=r("5128"),a=r("c3e2").f,l=r("1463"),s=o((function(){a(1)})),u=!l||s;n({target:"Object",stat:!0,forced:u,sham:!l},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"5bb1":function(t,e,r){var n=r("7169");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("393db3b0",n,!0,{sourceMap:!1,shadowMode:!1})},"5cd4":function(t,e,r){"use strict";var n=r("8a5d"),o=r("cc3a");t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},"5df9":function(t,e,r){"use strict";var n=r("8a5d");function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},"5fea":function(t,e,r){var n=r("7b63"),o=n.match(/AppleWebKit\/(\d+)\./);t.exports=!!o&&+o[1]},6136:function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6235:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return a})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return s}));var n=r("c452"),o=(r("66c6"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("".concat(e,"/").concat(r)).then((function(t){return n=t.data.allProxyList,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.allProxyList,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},"639e":function(t,e,r){"use strict";var n=r("6136"),o=r("1501");t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},6534:function(t,e,r){var n=r("7b63"),o=n.match(/firefox\/(\d+)/i);t.exports=!!o&&+o[1]},"675e":function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return i})),r.d(e,"c",(function(){return s})),r.d(e,"e",(function(){return a})),r.d(e,"d",(function(){return u}));var n=r("c452"),o=(r("54a3"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(e),{method:"put",body:r});case 2:return o=t.sent,n=o,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("/task/".concat(e));case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,{learner_task_id:r});case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},"69a5":function(t,e,r){var n=r("7b63");t.exports=/MSIE|Trident/.test(n)},"6c7d":function(t,e,r){"use strict";var n=r("8a5d"),o=r("3884"),i=r("5df9"),a=r("93f9"),l=r("76b7"),s=r("112f"),u=s.validators;function c(t){this.defaults=t,this.interceptors={request:new i,response:new i}}c.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&s.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)})),!o){var f=[a,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(c),i=Promise.resolve(e);while(f.length)i=i.then(f.shift(),f.shift());return i}var d=e;while(n.length){var p=n.shift(),h=n.shift();try{d=p(d)}catch(v){h(v);break}}try{i=a(d)}catch(v){return Promise.reject(v)}while(c.length)i=i.then(c.shift(),c.shift());return i},c.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=l(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,r){return this.request(l(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,r,n){return this.request(l(n||{},{method:t,url:e,data:r}))}})),t.exports=c},"6fc6":function(t,e,r){var n=r("41af");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("d96e19ac",n,!0,{sourceMap:!1,shadowMode:!1})},"704a":function(t,e,r){var n=r("b03c"),o=r("a471"),i=r("aff6"),a=r("cf27"),l=a((function(){i(1)}));n({target:"Object",stat:!0,forced:l},{keys:function(t){return i(o(t))}})},"70ad":function(t,e,r){var n=r("eab9"),o=r("5128"),i=r("97a7").f,a=r("bedc"),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a(l)}};t.exports.f=function(t){return l&&"Window"==n(t)?s(t):i(o(t))}},7169:function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-4d493caa]{position:fixed;top:30%;left:42%}.tableScroll[data-v-4d493caa]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"74cb":function(t,e,r){var n=r("3770"),o=r("fda0"),i=r("4fe1"),a=r("a471"),l=r("77ab"),s=r("6653"),u=o([].push),c=function(t){var e=1==t,r=2==t,o=3==t,c=4==t,f=6==t,d=7==t,p=5==t||f;return function(h,v,b,g){for(var y,m,w=a(h),q=i(w),x=n(v,b),k=l(q),_=0,O=g||s,E=e?O(h,k):r||d?O(h,0):void 0;k>_;_++)if((p||_ in q)&&(y=q[_],m=x(y,_,w),t))if(e)E[_]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:u(E,y)}else switch(t){case 4:return!1;case 7:u(E,y)}return f?-1:o||c?c:E}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"76b7":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function a(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function l(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function s(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var u={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);n.isUndefined(o)&&e!==s||(r[t]=o)})),r}},"787f":function(t,e,r){var n=r("cf27"),o=r("5e90"),i=o.RegExp,a=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),l=a||n((function(){return!i("a","y").sticky})),s=a||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:l,UNSUPPORTED_Y:a}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7ebd":function(t,e,r){var n=r("b03c"),o=r("7924"),i=r("fc02"),a=r("4326"),l=r("fda0"),s=r("cf27"),u=r("2380"),c=r("1ed7"),f=r("e80b"),d=r("3928"),p=r("f09d"),h=r("0f03"),v=o("JSON","stringify"),b=l(/./.exec),g=l("".charAt),y=l("".charCodeAt),m=l("".replace),w=l(1..toString),q=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,_=!h||s((function(){var t=o("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),O=s((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),E=function(t,e){var r=p(arguments),n=e;if((f(e)||void 0!==t)&&!d(t))return u(e)||(e=function(t,e){if(c(n)&&(e=a(n,this,t,e)),!d(e))return e}),r[1]=e,i(v,null,r)},j=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return b(x,t)&&!b(k,o)||b(k,t)&&!b(x,n)?"\\u"+w(y(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:_||O},{stringify:function(t,e,r){var n=p(arguments),o=i(_?E:v,null,n);return O&&"string"==typeof o?m(o,q,j):o}})},"7f31":function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"7fb5":function(t,e,r){(function(e){
|
|
8
|
+
var n=r("ca4a"),o=r("fc83"),i=r("f249");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function l(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,r,n):"string"===typeof e?h(t,e,r):b(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,r,n){return f(e),e<=0?s(t,e):void 0!==r?"string"===typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}function p(t,e){if(f(e),t=s(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(e,r);t=s(t,n);var o=t.write(e,r);return o!==n&&(t=t.slice(0,o)),t}function v(t,e){var r=e.length<0?0:0|y(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function g(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=v(t,e),t}function b(t,e){if(u.isBuffer(e)){var r=0|y(e.length);return t=s(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?s(t,0):v(t,e);if("Buffer"===e.type&&i(e.data))return v(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function m(t){return+t!=t&&(t=0),u.alloc(+t)}function w(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(n)return J(t).length;e=(""+e).toLowerCase(),n=!0}}function q(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return I(this,e,r);case"base64":return T(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function x(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function k(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,o);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,o){var i,a=1,l=t.length,s=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,l/=2,s/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var c=-1;for(i=r;i<l;i++)if(u(t,i)===u(e,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+s>l&&(r=l-s),i=r;i>=0;i--){for(var f=!0,d=0;d<s;d++)if(u(t,i+d)!==u(e,d)){f=!1;break}if(f)return i}return-1}function O(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(2*a,2),16);if(isNaN(l))return a;t[r+a]=l}return a}function E(t,e,r,n){return tt(J(e,t.length-r),t,r,n)}function j(t,e,r,n){return tt(X(e),t,r,n)}function A(t,e,r,n){return j(t,e,r,n)}function S(t,e,r,n){return tt(Q(e),t,r,n)}function N(t,e,r,n){return tt($(e,t.length-r),t,r,n)}function T(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);var n=[],o=e;while(o<r){var i,a,l,s,u=t[o],c=null,f=u>239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:i=t[o+1],128===(192&i)&&(s=(31&u)<<6|63&i,s>127&&(c=s));break;case 3:i=t[o+1],a=t[o+2],128===(192&i)&&128===(192&a)&&(s=(15&u)<<12|(63&i)<<6|63&a,s>2047&&(s<55296||s>57343)&&(c=s));break;case 4:i=t[o+1],a=t[o+2],l=t[o+3],128===(192&i)&&128===(192&a)&&128===(192&l)&&(s=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&l,s>65535&&s<1114112&&(c=s))}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=f}return R(n)}e.Buffer=u,e.SlowBuffer=m,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=l(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return d(null,t,e,r)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=w,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)x(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)x(this,e,e+3),x(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)x(this,e,e+7),x(this,e+1,e+6),x(this,e+2,e+5),x(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):q.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,o){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,a=r-e,l=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),f=0;f<l;++f)if(s[f]!==c[f]){i=s[f],a=c[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return k(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return k(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return O(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":return j(this,t,e,r);case"latin1":case"binary":return A(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function R(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="",n=0;while(n<e)r+=String.fromCharCode.apply(String,t.slice(n,n+=P));return r}function L(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function I(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=G(t[i]);return o}function B(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function U(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function z(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function F(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function H(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Y(t,e,r,n,i){return i||H(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function V(t,e,r,n,i){return i||H(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=u.prototype;else{var o=e-t;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t],o=1,i=0;while(++i<e&&(o*=256))n+=this[t+i]*o;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t+--e],o=1;while(e>0&&(o*=256))n+=this[t+--e]*o;return n},u.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=this[t],o=1,i=0;while(++i<e&&(o*=256))n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);var n=e,o=1,i=this[t+--n];while(n>0&&(o*=256))i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,t,e,r,o,0)}var i=1,a=0;this[e]=255&t;while(++a<r&&(i*=256))this[e+a]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,t,e,r,o,0)}var i=r-1,a=1;this[e+i]=255&t;while(--i>=0&&(a*=256))this[e+i]=t/a&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,l=0;this[e]=255&t;while(++i<r&&(a*=256))t<0&&0===l&&0!==this[e+i-1]&&(l=1),this[e+i]=(t/a>>0)-l&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,l=0;this[e+i]=255&t;while(--i>=0&&(a*=256))t<0&&0===l&&0!==this[e+i+1]&&(l=1),this[e+i]=(t/a>>0)-l&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return Y(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return Y(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return V(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return V(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},u.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=u.isBuffer(t)?t:J(new u(t,n).toString()),l=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%l]}return this};var K=/[^+\/0-9A-Za-z-_]/g;function W(t){if(t=Z(t).replace(K,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function Z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function J(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function X(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function $(t,e){for(var r,n,o,i=[],a=0;a<t.length;++a){if((e-=2)<0)break;r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n)}return i}function Q(t){return n.toByteArray(W(t))}function tt(t,e,r,n){for(var o=0;o<n;++o){if(o+r>=e.length||o>=t.length)break;e[o+r]=t[o]}return o}function et(t){return t!==t}}).call(this,r("d8fc"))},"26fa":function(t,e,r){"use strict";r("205b"),r("ef5f");var n=r("1dba"),o=r.n(n);r("03aa"),r("afda"),r("cc70"),r("e1e0"),r("2e6d"),r("b30e"),r("ddf3");function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}r("5a0e");function s(t){var e=t.$http,r=localStorage.getItem("accessToken");r?e.defaults.headers.common.Authorization="Bearer ".concat(r):delete e.defaults.headers.common.Authorization}var u=function(t){var e=t.$http;s({$http:e}),e.interceptors.request.use((function(t){return s({$http:e}),t}),(function(t){return Promise.reject(t)})),e.interceptors.response.use((function(t){return t}),(function(t){if(console.log("inside interceptor"),console.warn(t.message,l({},t)),!t||!t.response||!t.response.config)return Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status ".concat(t.response.status)),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,l({},e)),console.warn(JSON.stringify(l({},e)))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(t)}))},c="poc",f=window.location.host;console.log(" solidify ".concat(f)),"dev.genome.genpact.com"===f?c="dev":"uat.genome.genpact.com"===f?c="uat":"genome-eda-rel.azurewebsites.net"===f?c="prod":f.includes("localhost")&&(c="local");var d="";d="local"===c?"http://localhost:3000/local/genome-solidify-api-svc":"https://api-router.azurefd.net/".concat(c,"/aws/api/genome/solidify"),console.log(" solidify ".concat(d)),o.a.defaults.baseURL=d,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",u({$http:o.a});e["a"]=o.a},"276f":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Filter Task ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedProgram=e.target.multiple?r:r[0]},function(e){return t.getSelectedProgram(e)}]}},[n("option",[t._v("Select Program")]),t._l(t.programDetails,(function(e){return n("option",{key:e.program_id,domProps:{value:e.program_id}},[t._v(t._s(e.program_name))])}))],2)]),t.showSkillProf?n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedSkill=e.target.multiple?r:r[0]},function(e){return t.getSelectedSkill(e)}]}},[n("option",[t._v("Select Skill")]),t._l(t.skills,(function(e){return n("option",{key:e.skill_id,domProps:{value:e.skill_id}},[t._v(t._s(e.skill_alias))])}))],2)]):t._e(),t.showSkillProf?n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedProficiency=e.target.multiple?r:r[0]},function(e){return t.getSelectedProficiency(e)}]}},[n("option",[t._v("Select Proficiency")]),t._l(t.proficiency,(function(e){return n("option",{key:e.prof_id,domProps:{value:e.prof_id}},[t._v(t._s(e.prof_name))])}))],2)]):t._e(),n("div",{staticClass:"w-full mb-4"},[t.searchBtn?n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.searchTask()}}},[t._v("Search Task")]):t._e()])]),n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"pr-3 mb-4 w-full"},[t.showTaskImportBtn?n("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(e){t.showTaskImport=!0}}},[t._v("Upload Task")]):t._e(),t.showSequencBtn?n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:t.resetTaskOrder}},[t._v("Reset Task Sequence")]):t._e()])]),t.showTaskImport?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?n("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.bulkImportTask}},[t._v("Import Task")])]):t._e(),n("div",{staticClass:"flex w-full"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.viewTaskDetails()}}},[t._v("View Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.archieveTask()}}},[t._v("Archive Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.archieveTask()}}},[t._v("UnArchive Task")]),n("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.createOffCycle()}}},[t._v("Create Off-Cycle")])])]),t.taskDetails?n("div",{staticClass:"w-full mb-8 tableScroll"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[t._m(1),n("tbody",{staticClass:"opacity-80 align-bottom"},t._l(t.taskDetails,(function(e){return n("tr",{key:e.task_id,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:e.task_id},domProps:{value:e.task_id,checked:Array.isArray(t.taskCheckOne)?t._i(t.taskCheckOne,e.task_id)>-1:t.taskCheckOne},on:{change:[function(r){var n=t.taskCheckOne,o=r.target,i=!!o.checked;if(Array.isArray(n)){var a=e.task_id,l=t._i(n,a);o.checked?l<0&&(t.taskCheckOne=n.concat([a])):l>-1&&(t.taskCheckOne=n.slice(0,l).concat(n.slice(l+1)))}else t.taskCheckOne=i},function(r){return t.showTaskBtn(r,e.task_id,e.is_archive)}],click:t.taskcheckedOne}})]),n("td",{staticClass:"p-2 px-3",attrs:{title:e.task_name}},[t._v(t._s(e.task_name))]),n("td",{staticClass:"p-2 px-3",attrs:{title:e.is_archive}},[t._v(t._s(e.is_archive))]),n("td",{staticClass:"p-2 px-3",attrs:{title:e.task_type}},[t._v(t._s(e.task_type))]),n("td",{staticClass:"p-2 px-3",attrs:{title:e.created_date}},[t._v(t._s(e.created_date))]),n("td",{staticClass:"p-2 px-3",attrs:{title:e.task_order}},[t._v(t._s(e.task_order))])])})),0)])]):t._e()]),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full flex justify-between"},[r("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Task Management")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("thead",{staticClass:"opacity-90"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task Name")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Is Archive")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Learner Type")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Created Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Sequence Number")])])])}],i=r("c452"),a=(r("833b"),r("2a7d"),r("ff2c"),r("30d7"),r("4683"),r("c9c2"),r("e1e0"),r("5a0e"),r("205b"),r("ef5f"),r("4687")),l=r("f9e0"),s=r.n(l),u=r("3212"),c=r("afbc"),f=r("8596"),d=r("675e"),p=r("6235"),h=Object(a["b"])({name:"TaskManagement",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(!0),r=Object(a["f"])(),n=Object(a["f"])([]),o=Object(a["f"])("Select Program"),l=Object(a["f"])(),h=Object(a["f"])(),v=Object(a["f"])(),g=Object(a["f"])(!0),b=Object(a["f"])(!1),y=Object(a["f"])(!1),m=Object(a["f"])(),w=Object(a["f"])(),q=Object(a["f"])(),x=Object(a["f"])(),k=Object(a["f"])(),_=Object(a["f"])(!1),O=Object(a["f"])(),E=Object(a["f"])(),j=Object(a["f"])(),A=Object(a["f"])(),S=Object(a["f"])("Select Skill"),N=Object(a["f"])("Select Proficiency"),T=Object(a["f"])(!1),C=Object(a["f"])(!1),P=Object(a["f"])(!1),R={},L=function(){n.value=[]},I=function(t,e,r){var n=t.target.checked;!0===n?(h.value=e,l.value=!0,!0===r?(E.value=!1,_.value=!1,O.value=!0):(E.value=!0,_.value=!0,O.value=!1)):(l.value=!1,_.value=!1,O.value=!1)},M=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,t.next=3,Object(u["e"])("/getAllTaskByProgram",R);case 3:for(r.value=t.sent,n=0;n<r.value.length;n+=1)i=r.value[n],i.created_date&&(i.created_date=s()(i.created_date).format("MMM Do YYYY, h:mm a"));r.value=r.value.sort((function(t,e){return t.task_name.localeCompare(e.task_name)})),"infinity"===o.value?P.value=!1:P.value=!0,e.value=!0;case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),B=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return"Select Program"!==o.value&&Object.assign(R,{program_id:o.value}),"Select Skill"!==S.value&&Object.assign(R,{skill_id:S.value}),"Select Proficiency"!==N.value&&Object.assign(R,{proficiency_id:N.value}),t.next=5,M();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),U=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.value=!1,localStorage.setItem("program",r.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),o.value=r.target.value,"Select Program"!==o.value?(y.value=!0,C.value=!0,"infinity"===o.value?(S.value="Select Skill",N.value="Select Proficiency",T.value=!0):(T.value=!1,S.value="",N.value="")):(y.value=!1,b.value=!1,C.value=!1),e.value=!0;case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:localStorage.setItem("skill",e.target.value),S.value=e.target.value,"Select Skill"===S.value&&(S.value="");case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),z=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:localStorage.setItem("proficiency",e.target.value),N.value=e.target.value,"Select Proficiency"===N.value&&(N.value="");case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),F=function(){var r=Object(i["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.value=!1,r.next=3,Object(u["d"])("/cache?cache=program");case 3:t.value=r.sent,e.value=!0;case 5:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),H=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:c["a"].push({path:"taskDetails",query:{task_id:h.value}});case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){var r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{r=e.target.files[0],n=r.name,o=n.endsWith(".csv"),o?(m.value=n,w.value=r):(q.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){q.value=null}),6e3),w.value=null,m.value=null)}catch(i){console.log(i)}case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),V=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var n,i,a,l,c,f;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(w.value){t.next=5;break}q.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){q.value=null}),6e3),t.next=31;break;case 5:return n=s()().format("llll"),e.value=!1,i="".concat(o.value,"_").concat(n,".csv"),t.next=10,Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:i});case 10:return a=t.sent,console.log("presigned URL",a),k.value=a.data.preSignedUrl,t.next=15,Object(u["h"])(k.value,w.value);case 15:if(l=t.sent,200!==l.status){t.next=31;break}return c={program_id:o.value,file_key:"".concat(i)},t.next=20,Object(u["b"])("/task/import",c);case 20:return f=t.sent,console.log(f),e.value=!1,x.value="Task added",w.value=null,m.value=null,t.next=28,Object(u["e"])("/getAllTaskByProgram",{program_id:o.value});case 28:r.value=t.sent,e.value=!0,setTimeout((function(){x.value=null,b.value=!1}),6e3);case 31:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,t.next=3,Object(p["d"])("/getAllSkillProf ");case 3:r=t.sent,j.value=r.skill,A.value=r.proficiency,e.value=!0;case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),W=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=o.value,"infinity"===e){t.next=4;break}return t.next=4,Object(u["f"])("/resetActiveTaskOrder ",{program_id:e});case 4:return t.next=6,M();case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Z=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.value=!1,r={task_id:h.value,archive_type:E.value},t.next=4,Object(u["c"])("/archieveTask",r);case 4:return t.next=6,W();case 6:_.value=!1,O.value=!1,l.value=!1,n.value=[],e.value=!0;case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),G=function(){var e=t.value.find((function(t){return t.program_id===o.value}));console.log("programDetail ".concat(JSON.stringify(e)));var n=r.value.find((function(t){return t.task_id===h.value}));if(console.log("taskDetail ".concat(JSON.stringify(n))),console.log("programId",o.value),console.log("programName",e.program_name),console.log("linkedTaskId",h.value),console.log("taskName",n.task_name),console.log("taskType",n.task_type),localStorage.setItem("programId",o.value),localStorage.setItem("programName",e.program_name),localStorage.setItem("linkedTaskId",h.value),"infinity"===o.value){localStorage.setItem("skillId",S.value);var i=j.value.find((function(t){return t.skill_id===S.value}));console.log("skillDetail ".concat(JSON.stringify(i))),localStorage.setItem("skillName",i.skill_alias);var a=A.value.find((function(t){return t.prof_id===N.value}));console.log("profDetail ".concat(JSON.stringify(a))),localStorage.setItem("proficiencyId",N.value),localStorage.setItem("proficiencyName",a.prof_name),console.log("skill",S.value),console.log("skill Name",i.skill_alias),console.log("proficiency",N.value),console.log("prof Name",a.prof_name)}localStorage.setItem("taskName",n.task_name),localStorage.setItem("taskType",n.task_type),c["a"].push("createOffcycle")};return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(f["f"])("/getUserRole");case 2:return e=t.sent,v.value=e.user_roles,v.value.length>0&&(v.value.includes("System Admin")||v.value.includes("System Admin View Access")||v.value.includes("Community Manager")||v.value.includes("Program Admin")?g.value=!0:g.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),t.next=16,F();case 16:return t.next=18,K();case 18:if(localStorage.getItem("program")&&(o.value=localStorage.getItem("program")||"Select Program",Object.assign(R,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(S.value=localStorage.getItem("skill")||"Select Skill",Object.assign(R,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(N.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(R,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",R),!localStorage.getItem("program")){t.next=25;break}return t.next=25,M();case 25:C.value=!0,"infinity"===o.value?T.value=!0:T.value=!1;case 27:case"end":return t.stop()}}),t)})))),{renderReady:e,programDetails:t,getSelectedProgram:U,taskDetails:r,taskCheckOne:n,taskcheckedOne:L,checkedTaskId:h,showTaskBtn:I,taskBtn:l,viewTaskDetails:H,showScreen:g,archieveTask:Z,selectedProgram:o,showTaskImport:b,showTaskImportBtn:y,bulkImportTask:V,selectedFile:Y,errorMessage:q,successMessage:x,archiveBtn:_,unArchiveBtn:O,getTaskDetails:M,skills:j,proficiency:A,getSelectedSkill:D,getSelectedProficiency:z,showSkillProf:T,searchBtn:C,resetTaskOrder:W,showSequencBtn:P,createOffCycle:G,selectedSkill:S,selectedProficiency:N,searchTask:B}}}),v=h,g=(r("827e"),r("b709")),b=Object(g["a"])(v,n,o,!1,null,"b61c48ee",null);e["default"]=b.exports},2998:function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,a){var l=[];l.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),n.isString(o)&&l.push("path="+o),n.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2a39":function(t,e,r){var n=r("301e"),o=r("572d"),i=o.RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},"2a7d":function(t,e,r){"use strict";var n=r("f5dc"),o=r("924c"),i=r("fe05"),a=r("5e63"),l=r("7c7b"),s=r("7096"),u=r("301e"),c=r("b7d8"),f=r("88a7"),d=r("e646"),p=r("2005"),h=r("5fb4"),v=r("a3aa"),g=[],b=o(g.sort),y=o(g.push),m=u((function(){g.sort(void 0)})),w=u((function(){g.sort(null)})),q=f("sort"),x=!u((function(){if(h)return h<70;if(!(d&&d>3)){if(p)return!0;if(v)return v<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:e+n,v:r})}for(g.sort((function(t,e){return e.v-t.v})),n=0;n<g.length;n++)e=g[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}})),k=m||!w||!q||!x,_=function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:s(e)>s(r)?1:-1}};n({target:"Array",proto:!0,forced:k},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(x)return void 0===t?b(e):b(e,t);var r,n,o=[],s=l(e);for(n=0;n<s;n++)n in e&&y(o,e[n]);c(o,_(t)),r=o.length,n=0;while(n<r)e[n]=o[n++];while(n<s)delete e[n++];return e}})},"2c69":function(t,e,r){var n=r("2170");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("c72057f2",n,!0,{sourceMap:!1,shadowMode:!1})},"2e6d":function(t,e,r){var n=r("f5dc"),o=r("301e"),i=r("103b"),a=r("c9c8").f,l=r("5025"),s=o((function(){a(1)})),u=!l||s;n({target:"Object",stat:!0,forced:u,sham:!l},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"30d7":function(t,e,r){"use strict";var n=r("f5dc"),o=r("924c"),i=r("c9c8").f,a=r("9340"),l=r("7096"),s=r("d9ba"),u=r("54ea"),c=r("fc48"),f=r("086b"),d=o("".endsWith),p=o("".slice),h=Math.min,v=c("endsWith"),g=!f&&!v&&!!function(){var t=i(String.prototype,"endsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!g&&!v},{endsWith:function(t){var e=l(u(this));s(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:h(a(r),n),i=l(t);return d?d(e,i,o):p(e,o-i.length,o)===i}})},3212:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return l})),r.d(e,"a",(function(){return s})),r.d(e,"h",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"f",(function(){return f})),r.d(e,"g",(function(){return d}));var n=r("c452"),o=(r("e1e0"),r("5a0e"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return console.log("Response",t),r=t.data.response.program_name,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o["a"].get("/task/".concat(e)).then((function(t){return r=t.data.data,r}));case 3:return t.abrupt("return",r);case 6:return t.prev=6,t.t0=t["catch"](0),t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("".concat(e),{method:"put",body:r});case 3:return n=t.sent,o=n,t.abrupt("return",o);case 8:return t.prev=8,t.t0=t["catch"](0),console.error(t.t0),t.abrupt("return",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,r){return t.apply(this,arguments)}}(),c=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),f=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.tasks,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),d=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("inside save task data ".concat(JSON.stringify(e))),t.next=3,o["a"].post("/task/create",e);case 3:return r=t.sent,t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},3348:function(t,e,r){"use strict";r("4e36")},"386e":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},3884:function(t,e,r){"use strict";var n=r("8a5d");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var l=t.indexOf("#");-1!==l&&(t=t.slice(0,l)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},"3c08":function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return D}));var n=r("7fb5"),o=r.n(n),i=[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{list:"check"}],[{indent:"-1"},{indent:"+1"}],[{color:[]},{background:[]}],["link","image","video"],["clean"]],a={props:{customModules:Array},methods:{registerCustomModules:function(t){void 0!==this.customModules&&this.customModules.forEach((function(e){t.register("modules/"+e.alias,e.module)}))}}};function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),t}function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?h(t):e}function g(t,e){return b(t)||y(t,e)||m()}function b(t){if(Array.isArray(t))return t}function y(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{n||null==l["return"]||l["return"]()}finally{if(o)throw i}}return r}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function w(t,e){var r=function(t){return t&&"object"===l(t)};return r(t)&&r(e)?(Object.keys(e).forEach((function(n){var o=t[n],i=e[n];Array.isArray(o)&&Array.isArray(i)?t[n]=o.concat(i):r(o)&&r(i)?t[n]=w(Object.assign({},o),i):t[n]=i})),t):e}var q=o.a.import("blots/block/embed"),x=function(t){function e(){return s(this,e),v(this,d(e).apply(this,arguments))}return f(e,t),e}(q);x.blotName="hr",x.tagName="hr",o.a.register("formats/horizontal",x);var k=function(){function t(e,r){var n=this;s(this,t),this.quill=e,this.options=r,this.ignoreTags=["PRE"],this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e,r){var o=r.exec(t);if(o){var i=o[0].length;setTimeout((function(){n.quill.formatLine(e.index,0,"header",i-1),n.quill.deleteText(e.index-i,i)}),0)}}},{name:"blockquote",pattern:/^(>)\s/g,action:function(t,e){setTimeout((function(){n.quill.formatLine(e.index,1,"blockquote",!0),n.quill.deleteText(e.index-2,2)}),0)}},{name:"code-block",pattern:/^`{3}(?:\s|\n)/g,action:function(t,e){setTimeout((function(){n.quill.formatLine(e.index,1,"code-block",!0),n.quill.deleteText(e.index-4,4)}),0)}},{name:"bolditalic",pattern:/(?:\*|_){3}(.+?)(?:\*|_){3}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{bold:!0,italic:!0}),n.quill.format("bold",!1)}),0)}},{name:"bold",pattern:/(?:\*|_){2}(.+?)(?:\*|_){2}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{bold:!0}),n.quill.format("bold",!1)}),0)}},{name:"italic",pattern:/(?:\*|_){1}(.+?)(?:\*|_){1}/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{italic:!0}),n.quill.format("italic",!1)}),0)}},{name:"strikethrough",pattern:/(?:~~)(.+?)(?:~~)/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{strike:!0}),n.quill.format("strike",!1)}),0)}},{name:"code",pattern:/(?:`)(.+?)(?:`)/g,action:function(t,e,r,o){var i=r.exec(t),a=i[0],l=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){n.quill.deleteText(s,a.length),n.quill.insertText(s,l,{code:!0}),n.quill.format("code",!1),n.quill.insertText(n.quill.getSelection()," ")}),0)}},{name:"hr",pattern:/^([-*]\s?){3}/g,action:function(t,e){var r=e.index-t.length;setTimeout((function(){n.quill.deleteText(r,t.length),n.quill.insertEmbed(r+1,"hr",!0,o.a.sources.USER),n.quill.insertText(r+2,"\n",o.a.sources.SILENT),n.quill.setSelection(r+2,o.a.sources.SILENT)}),0)}},{name:"asterisk-ul",pattern:/^(\*|\+)\s$/g,action:function(t,e,r){setTimeout((function(){n.quill.formatLine(e.index,1,"list","unordered"),n.quill.deleteText(e.index-2,2)}),0)}},{name:"image",pattern:/(?:!\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,r){var o=t.search(r),i=t.match(r)[0],a=t.match(/(?:\((.*?)\))/g)[0],l=e.index-i.length-1;-1!==o&&setTimeout((function(){n.quill.deleteText(l,i.length),n.quill.insertEmbed(l,"image",a.slice(1,a.length-1))}),0)}},{name:"link",pattern:/(?:\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,r){var o=t.search(r),i=t.match(r)[0],a=t.match(/(?:\[(.*?)\])/g)[0],l=t.match(/(?:\((.*?)\))/g)[0],s=e.index-i.length-1;-1!==o&&setTimeout((function(){n.quill.deleteText(s,i.length),n.quill.insertText(s,a.slice(1,a.length-1),"link",l.slice(1,l.length-1))}),0)}}],this.quill.on("text-change",(function(t,e,r){for(var o=0;o<t.ops.length;o++)t.ops[o].hasOwnProperty("insert")&&(" "===t.ops[o].insert?n.onSpace():"\n"===t.ops[o].insert&&n.onEnter())}))}return c(t,[{key:"isValid",value:function(t,e){return"undefined"!==typeof t&&t&&-1===this.ignoreTags.indexOf(e)}},{key:"onSpace",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),r=g(e,2),n=r[0],o=r[1],i=n.domNode.textContent,a=t.index-o;if(this.isValid(i,n.domNode.tagName)){var l=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched:",d.name,i),void d.action(i,t,d.pattern,a)}}catch(h){s=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(s)throw u}}}}}},{key:"onEnter",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),r=g(e,2),n=r[0],o=r[1],i=n.domNode.textContent+" ",a=t.index-o;if(t.length=t.index++,this.isValid(i,n.domNode.tagName)){var l=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched",d.name,i),void d.action(i,t,d.pattern,a)}}catch(h){s=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(s)throw u}}}}}}]),t}(),_={name:"VueEditor",mixins:[a],props:{id:{type:String,default:"quill-container"},placeholder:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean},editorToolbar:{type:Array,default:function(){return[]}},editorOptions:{type:Object,required:!1,default:function(){return{}}},useCustomImageHandler:{type:Boolean,default:!1},useMarkdownShortcuts:{type:Boolean,default:!1}},data:function(){return{quill:null}},watch:{value:function(t){t==this.quill.root.innerHTML||this.quill.hasFocus()||(this.quill.root.innerHTML=t)},disabled:function(t){this.quill.enable(!t)}},mounted:function(){this.registerCustomModules(o.a),this.registerPrototypes(),this.initializeEditor()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initializeEditor:function(){this.setupQuillEditor(),this.checkForCustomImageHandler(),this.handleInitialContent(),this.registerEditorEventListeners(),this.$emit("ready",this.quill)},setupQuillEditor:function(){var t={debug:!1,modules:this.setModules(),theme:"snow",placeholder:this.placeholder?this.placeholder:"",readOnly:!!this.disabled&&this.disabled};this.prepareEditorConfig(t),this.quill=new o.a(this.$refs.quillContainer,t)},setModules:function(){var t={toolbar:this.editorToolbar.length?this.editorToolbar:i};return this.useMarkdownShortcuts&&(o.a.register("modules/markdownShortcuts",k,!0),t["markdownShortcuts"]={}),t},prepareEditorConfig:function(t){Object.keys(this.editorOptions).length>0&&this.editorOptions.constructor===Object&&(this.editorOptions.modules&&"undefined"!==typeof this.editorOptions.modules.toolbar&&delete t.modules.toolbar,w(t,this.editorOptions))},registerPrototypes:function(){o.a.prototype.getHTML=function(){return this.container.querySelector(".ql-editor").innerHTML},o.a.prototype.getWordCount=function(){return this.container.querySelector(".ql-editor").innerText.length}},registerEditorEventListeners:function(){this.quill.on("text-change",this.handleTextChange),this.quill.on("selection-change",this.handleSelectionChange),this.listenForEditorEvent("text-change"),this.listenForEditorEvent("selection-change"),this.listenForEditorEvent("editor-change")},listenForEditorEvent:function(t){var e=this;this.quill.on(t,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.$emit.apply(e,[t].concat(n))}))},handleInitialContent:function(){this.value&&(this.quill.root.innerHTML=this.value)},handleSelectionChange:function(t,e){!t&&e?this.$emit("blur",this.quill):t&&!e&&this.$emit("focus",this.quill)},handleTextChange:function(t,e){var r="<p><br></p>"===this.quill.getHTML()?"":this.quill.getHTML();this.$emit("input",r),this.useCustomImageHandler&&this.handleImageRemoved(t,e)},handleImageRemoved:function(t,e){var r=this,n=this.quill.getContents(),o=n.diff(e),i=o.ops;i.map((function(t){if(t.insert&&t.insert.hasOwnProperty("image")){var e=t.insert.image;r.$emit("image-removed",e)}}))},checkForCustomImageHandler:function(){!0===this.useCustomImageHandler&&this.setupCustomImageHandler()},setupCustomImageHandler:function(){var t=this.quill.getModule("toolbar");t.addHandler("image",this.customImageHandler)},customImageHandler:function(){this.$refs.fileInput.click()},emitImageInfo:function(t){var e=function(){var t=document.getElementById("file-upload");t.value=""},r=t.target.files[0],n=this.quill,o=n.getSelection(),i=o.index;this.$emit("image-added",r,n,i,e)}}};function O(t,e,r,n,o,i,a,l,s,u){"boolean"!==typeof a&&(s=l,l=a,a=!1);var c,f="function"===typeof r?r.options:r;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),n&&(f._scopeId=n),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=a?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,l(t))}),c)if(f.functional){var d=f.render;f.render=function(t,e){return c.call(e),d(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return r}var E,j=O,A="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function S(t){return function(t,e){return T(t,e)}}var N={};function T(t,e){var r=A?e.media||"default":t,n=N[r]||(N[r]={ids:new Set,styles:[]});if(!n.ids.has(t)){n.ids.add(t);var o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",e.media&&n.element.setAttribute("media",e.media),void 0===E&&(E=document.head||document.getElementsByTagName("head")[0]),E.appendChild(n.element)),"styleSheet"in n.element)n.styles.push(o),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n");else{var i=n.ids.size-1,a=document.createTextNode(o),l=n.element.childNodes;l[i]&&n.element.removeChild(l[i]),l.length?n.element.insertBefore(a,l[i]):n.element.appendChild(a)}}}var C=S;const P=_;var R=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"quillWrapper"},[t._t("toolbar"),t._v(" "),r("div",{ref:"quillContainer",attrs:{id:t.id}}),t._v(" "),t.useCustomImageHandler?r("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"file-upload",type:"file",accept:"image/*"},on:{change:function(e){return t.emitImageInfo(e)}}}):t._e()],2)},L=[];const I=function(t){t&&(t("data-v-776e788e_0",{source:"/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",map:void 0,media:void 0}),t("data-v-776e788e_1",{source:".ql-editor{min-height:200px;font-size:16px}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1px!important}.quillWrapper .ql-snow.ql-toolbar{padding-top:8px;padding-bottom:4px}.quillWrapper .ql-snow.ql-toolbar .ql-formats{margin-bottom:10px}.ql-snow .ql-toolbar button svg,.quillWrapper .ql-snow.ql-toolbar button svg{width:22px;height:22px}.quillWrapper .ql-editor ul[data-checked=false]>li::before,.quillWrapper .ql-editor ul[data-checked=true]>li::before{font-size:1.35em;vertical-align:baseline;bottom:-.065em;font-weight:900;color:#222}.quillWrapper .ql-snow .ql-stroke{stroke:rgba(63,63,63,.95);stroke-linecap:square;stroke-linejoin:initial;stroke-width:1.7px}.quillWrapper .ql-picker-label{font-size:15px}.quillWrapper .ql-snow .ql-active .ql-stroke{stroke-width:2.25px}.quillWrapper .ql-toolbar.ql-snow .ql-formats{vertical-align:top}.ql-picker:not(.ql-background){position:relative;top:2px}.ql-picker.ql-color-picker svg{width:22px!important;height:22px!important}.quillWrapper .imageResizeActive img{display:block;cursor:pointer}.quillWrapper .imageResizeActive~div svg{cursor:pointer}",map:void 0,media:void 0}))},M=void 0,B=void 0,U=!1;var D=j({render:R,staticRenderFns:L},I,P,M,U,B,C,void 0),z="2.10.3";function F(t){F.installed||(F.installed=!0,t.component("VueEditor",D))}var H={install:F,version:z,Quill:o.a,VueEditor:D},Y=null;"undefined"!==typeof window?Y=window.Vue:"undefined"!==typeof t&&(Y=t.Vue),Y&&Y.use(H)}).call(this,r("d8fc"))},"46c8":function(t,e,r){"use strict";var n=r("8a5d"),o=r("1464"),i=r("6c7d"),a=r("76b7"),l=r("cc3a");function s(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r.create=function(e){return s(a(t,e))},r}var u=s(l);u.Axios=i,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=r("c279"),u.isAxiosError=r("122c"),t.exports=u,t.exports.default=u},"48be":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,'.ul-nav ul[data-v-164b4999]{display:flex;width:100%}.ul-nav ul li.active[data-v-164b4999]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-164b4999]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-164b4999]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{padding-left:20px!important}.box-overflow1[data-v-164b4999]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-164b4999]{overflow-x:scroll}.box-overflow1[data-v-164b4999]{max-height:none;overflow-y:auto}.ul-nav li[data-v-164b4999]:first-child,.ul-nav li[data-v-164b4999]:nth-child(2){display:none}}',""]),t.exports=e},"4a2f":function(t,e,r){"use strict";r("1624")},"4a3b":function(t,e,r){"use strict";r("5bb1")},"4af6":function(t,e,r){"use strict";var n=r("8a5d"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},"4e36":function(t,e,r){var n=r("9e1e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("d7ce1da0",n,!0,{sourceMap:!1,shadowMode:!1})},"5a0e":function(t,e,r){var n=r("f5dc"),o=r("aaf8"),i=r("6a25"),a=r("248a"),l=r("924c"),s=r("301e"),u=r("781e"),c=r("e3d6"),f=r("01a1"),d=r("cb56"),p=r("a287"),h=r("3a37"),v=o("JSON","stringify"),g=l(/./.exec),b=l("".charAt),y=l("".charCodeAt),m=l("".replace),w=l(1..toString),q=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,_=!h||s((function(){var t=o("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),O=s((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),E=function(t,e){var r=p(arguments),n=e;if((f(e)||void 0!==t)&&!d(t))return u(e)||(e=function(t,e){if(c(n)&&(e=a(n,this,t,e)),!d(e))return e}),r[1]=e,i(v,null,r)},j=function(t,e,r){var n=b(r,e-1),o=b(r,e+1);return g(x,t)&&!g(k,o)||g(k,t)&&!g(x,n)?"\\u"+w(y(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:_||O},{stringify:function(t,e,r){var n=p(arguments),o=i(_?E:v,null,n);return O&&"string"==typeof o?m(o,q,j):o}})},"5bb1":function(t,e,r){var n=r("7169");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("393db3b0",n,!0,{sourceMap:!1,shadowMode:!1})},"5cd4":function(t,e,r){"use strict";var n=r("8a5d"),o=r("cc3a");t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},"5df9":function(t,e,r){"use strict";var n=r("8a5d");function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},6136:function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6235:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return a})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return s}));var n=r("c452"),o=(r("4683"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("".concat(e,"/").concat(r)).then((function(t){return n=t.data.allProxyList,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data.allProxyList,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},"639e":function(t,e,r){"use strict";var n=r("6136"),o=r("1501");t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},"675e":function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return i})),r.d(e,"c",(function(){return s})),r.d(e,"e",(function(){return a})),r.d(e,"d",(function(){return u}));var n=r("c452"),o=(r("e1e0"),r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(e),{method:"put",body:r});case 2:return o=t.sent,n=o,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("/task/".concat(e));case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,{learner_task_id:r});case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},"69b2":function(t,e,r){"use strict";r("2c69")},"6c7d":function(t,e,r){"use strict";var n=r("8a5d"),o=r("3884"),i=r("5df9"),a=r("93f9"),l=r("76b7"),s=r("112f"),u=s.validators;function c(t){this.defaults=t,this.interceptors={request:new i,response:new i}}c.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&s.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)})),!o){var f=[a,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(c),i=Promise.resolve(e);while(f.length)i=i.then(f.shift(),f.shift());return i}var d=e;while(n.length){var p=n.shift(),h=n.shift();try{d=p(d)}catch(v){h(v);break}}try{i=a(d)}catch(v){return Promise.reject(v)}while(c.length)i=i.then(c.shift(),c.shift());return i},c.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=l(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,r){return this.request(l(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,r,n){return this.request(l(n||{},{method:t,url:e,data:r}))}})),t.exports=c},7169:function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-4d493caa]{position:fixed;top:30%;left:42%}.tableScroll[data-v-4d493caa]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},7273:function(t,e,r){var n=r("035b");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("c9fadd42",n,!0,{sourceMap:!1,shadowMode:!1})},7698:function(t,e,r){var n=r("f5dc"),o=r("aaf8"),i=r("2e4e"),a=r("7096"),l=r("d87e"),s=r("a342"),u=l("string-to-symbol-registry"),c=l("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=a(t);if(i(u,e))return u[e];var r=o("Symbol")(e);return u[e]=r,c[r]=e,r}})},"76b7":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function a(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function l(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function s(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var u={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);n.isUndefined(o)&&e!==s||(r[t]=o)})),r}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"7fb5":function(t,e,r){(function(e){
|
|
9
9
|
/*!
|
|
10
10
|
* Quill Editor v1.3.7
|
|
11
11
|
* https://quilljs.com/
|
|
12
12
|
* Copyright (c) 2014, Jason Chen
|
|
13
13
|
* Copyright (c) 2013, salesforce.com
|
|
14
14
|
*/
|
|
15
|
-
(function(e,r){t.exports=r()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=109)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(17),o=r(18),i=r(19),a=r(45),l=r(46),s=r(47),u=r(48),c=r(49),f=r(12),d=r(32),p=r(33),h=r(31),v=r(1),b={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:n.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:a.default,Block:s.default,Inline:l.default,Text:c.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:h.default}};e.default=b},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var r=this;return e="[Parchment] "+e,r=t.call(this,e)||this,r.message=e,r.name=r.constructor.name,r}return n(e,t),e}(Error);e.ParchmentError=o;var i,a={},l={},s={},u={};function c(t,e){var r=d(t);if(null==r)throw new o("Unable to create "+t+" blot");var n=r,i=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:n.create(e);return new n(i,e)}function f(t,r){return void 0===r&&(r=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:r?f(t.parentNode,r):null}function d(t,e){var r;if(void 0===e&&(e=i.ANY),"string"===typeof t)r=u[t]||a[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)r=u["text"];else if("number"===typeof t)t&i.LEVEL&i.BLOCK?r=u["block"]:t&i.LEVEL&i.INLINE&&(r=u["inline"]);else if(t instanceof HTMLElement){var n=(t.getAttribute("class")||"").split(/\s+/);for(var o in n)if(r=l[n[o]],r)break;r=r||s[t.tagName]}return null==r?null:e&i.LEVEL&r.scope&&e&i.TYPE&r.scope?r:null}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return p(t)}));var r=t[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new o("Invalid definition");if("abstract"===r.blotName)throw new o("Cannot register abstract class");if(u[r.blotName||r.attrName]=r,"string"===typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(l[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(t){return t.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var n=Array.isArray(r.tagName)?r.tagName:[r.tagName];n.forEach((function(t){null!=s[t]&&null!=r.className||(s[t]=r)}))}return r}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=c,e.find=f,e.query=d,e.register=p},function(t,e,r){var n=r(51),o=r(11),i=r(3),a=r(20),l=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var r={};return 0===t.length?this:(r.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r))},s.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var r={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r)},s.prototype.push=function(t){var e=this.ops.length,r=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof r){if("number"===typeof t["delete"]&&"number"===typeof r["delete"])return this.ops[e-1]={delete:r["delete"]+t["delete"]},this;if("number"===typeof r["delete"]&&null!=t.insert&&(e-=1,r=this.ops[e-1],"object"!==typeof r))return this.ops.unshift(t),this;if(o(t.attributes,r.attributes)){if("string"===typeof t.insert&&"string"===typeof r.insert)return this.ops[e-1]={insert:r.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof r.retain)return this.ops[e-1]={retain:r.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],r=[];return this.forEach((function(n){var o=t(n)?e:r;o.push(n)})),[e,r]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},s.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},s.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var r=[],n=a.iterator(this.ops),o=0;while(o<e&&n.hasNext()){var i;o<t?i=n.next(t-o):(i=n.next(e-o),r.push(i)),o+=a.length(i)}return new s(r)},s.prototype.compose=function(t){var e=a.iterator(this.ops),r=a.iterator(t.ops),n=[],i=r.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){var l=i.retain;while("insert"===e.peekType()&&e.peekLength()<=l)l-=e.peekLength(),n.push(e.next());i.retain-l>0&&r.next(i.retain-l)}var u=new s(n);while(e.hasNext()||r.hasNext())if("insert"===r.peekType())u.push(r.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),r.peekLength()),f=e.next(c),d=r.next(c);if("number"===typeof d.retain){var p={};"number"===typeof f.retain?p.retain=c:p.insert=f.insert;var h=a.attributes.compose(f.attributes,d.attributes,"number"===typeof f.retain);if(h&&(p.attributes=h),u.push(p),!r.hasNext()&&o(u.ops[u.ops.length-1],p)){var v=new s(e.rest());return u.concat(v).chop()}}else"number"===typeof d["delete"]&&"number"===typeof f.retain&&u.push(d)}return u.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var r=[this,t].map((function(e){return e.map((function(r){if(null!=r.insert)return"string"===typeof r.insert?r.insert:l;var n=e===t?"on":"with";throw new Error("diff() called "+n+" non-document")})).join("")})),i=new s,u=n(r[0],r[1],e),c=a.iterator(this.ops),f=a.iterator(t.ops);return u.forEach((function(t){var e=t[1].length;while(e>0){var r=0;switch(t[0]){case n.INSERT:r=Math.min(f.peekLength(),e),i.push(f.next(r));break;case n.DELETE:r=Math.min(e,c.peekLength()),c.next(r),i["delete"](r);break;case n.EQUAL:r=Math.min(c.peekLength(),f.peekLength(),e);var l=c.next(r),s=f.next(r);o(l.insert,s.insert)?i.retain(r,a.attributes.diff(l.attributes,s.attributes)):i.push(s)["delete"](r);break}e-=r}})),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";var r=a.iterator(this.ops),n=new s,o=0;while(r.hasNext()){if("insert"!==r.peekType())return;var i=r.peek(),l=a.length(i)-r.peekLength(),u="string"===typeof i.insert?i.insert.indexOf(e,l)-l:-1;if(u<0)n.push(r.next());else if(u>0)n.push(r.next(u));else{if(!1===t(n,r.next(1).attributes||{},o))return;o+=1,n=new s}}n.length()>0&&t(n,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var r=a.iterator(this.ops),n=a.iterator(t.ops),o=new s;while(r.hasNext()||n.hasNext())if("insert"!==r.peekType()||!e&&"insert"===n.peekType())if("insert"===n.peekType())o.push(n.next());else{var i=Math.min(r.peekLength(),n.peekLength()),l=r.next(i),u=n.next(i);if(l["delete"])continue;u["delete"]?o.push(u):o.retain(i,a.attributes.transform(l.attributes,u.attributes,e))}else o.retain(a.length(r.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;var r=a.iterator(this.ops),n=0;while(r.hasNext()&&n<=t){var o=r.peekLength(),i=r.peekType();r.next(),"delete"!==i?("insert"===i&&(n<t||!e)&&(t+=o),n+=o):t-=Math.min(o,t-n)}return t},t.exports=s},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},l=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var e,o=r.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(e in t);return"undefined"===typeof e||r.call(t,e)},s=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!r.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,r,n,o,i,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d<p;++d)if(e=arguments[d],null!=e)for(r in e)n=u(f,r),o=u(e,r),f!==o&&(h&&o&&(l(o)||(i=a(o)))?(i?(i=!1,c=n&&a(n)?n:[]):c=n&&l(n)?n:{},s(f,{name:r,newValue:t(h,c,o)})):"undefined"!==typeof o&&s(f,{name:r,newValue:o}));return f}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(3),a=g(i),l=r(2),s=g(l),u=r(0),c=g(u),f=r(16),d=g(f),p=r(6),h=g(p),v=r(7),b=g(v);function g(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function w(t,e){if("function"!==typeof e&&null!==e)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 q=1,x=function(t){function e(){return y(this,e),m(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return w(e,t),n(e,[{key:"attach",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var r=c.default.query(t,c.default.Scope.BLOCK_ATTRIBUTE);null!=r&&this.attributes.attribute(r,e)}},{key:"formatAt",value:function(t,e,r,n){this.format(r,n)}},{key:"insertAt",value:function(t,r,n){if("string"===typeof r&&r.endsWith("\n")){var i=c.default.create(k.blotName);this.parent.insertBefore(i,0===t?this:this.next),i.insertAt(0,r.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n)}}]),e}(c.default.Embed);x.scope=c.default.Scope.BLOCK_BLOT;var k=function(t){function e(t){y(this,e);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.cache={},r}return w(e,t),n(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),_(e))}),new s.default).insert("\n",_(this))),this.cache.delta}},{key:"deleteAt",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,r),this.cache={}}},{key:"formatAt",value:function(t,r,n,i){r<=0||(c.default.query(n,c.default.Scope.BLOCK)?t+r===this.length()&&this.format(n,i):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(r,this.length()-t-1),n,i),this.cache={})}},{key:"insertAt",value:function(t,r,n){if(null!=n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n);if(0!==r.length){var i=r.split("\n"),a=i.shift();a.length>0&&(t<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var l=this;i.reduce((function(t,e){return l=l.split(t,!0),l.insertAt(0,e),e.length}),t+a.length)}}},{key:"insertBefore",value:function(t,r){var n=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r),n instanceof d.default&&n.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+q),this.cache.length}},{key:"moveChildren",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,r),this.cache={}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r&&(0===t||t>=this.length()-q)){var n=this.clone();return 0===t?(this.parent.insertBefore(n,this),this):(this.parent.insertBefore(n,this.next),n)}var i=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,r);return this.cache={},i}}]),e}(c.default.Block);function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:_(t.parent,e))}k.blotName="block",k.tagName="P",k.defaultChild="break",k.allowedChildren=[h.default,c.default.Embed,b.default],e.bubbleFormats=_,e.BlockEmbed=x,e.default=k},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();r(50);var a=r(2),l=_(a),s=r(14),u=_(s),c=r(8),f=_(c),d=r(9),p=_(d),h=r(0),v=_(h),b=r(15),g=_(b),y=r(3),m=_(y),w=r(10),q=_(w),x=r(34),k=_(x);function _(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=(0,q.default)("quill"),A=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,t),this.options=S(e,n),this.container=this.options.container,null==this.container)return j.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new f.default,this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new g.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(t){t===f.default.events.TEXT_CHANGE&&r.root.classList.toggle("ql-blank",r.editor.isBlank())})),this.emitter.on(f.default.events.SCROLL_UPDATE,(function(t,e){var n=r.selection.lastRange,o=n&&0===n.length?n.index:void 0;N.call(r,(function(){return r.editor.update(null,e,o)}),t)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),q.default.level(t)}},{key:"find",value:function(t){return t.__quill||v.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&j.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var o=t.attrName||t.blotName;"string"===typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach((function(n){r.register(n,t[n],e)}))}else null==this.imports[t]||n||j.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?v.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),i(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var r=t;t=document.createElement("div"),t.classList.add(r)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,r){var n=this,i=T(t,e,r),a=o(i,4);return t=a[0],e=a[1],r=a[3],N.call(this,(function(){return n.editor.deleteText(t,e)}),r,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;return N.call(this,(function(){var n=r.getSelection(!0),o=new l.default;if(null==n)return o;if(v.default.query(t,v.default.Scope.BLOCK))o=r.editor.formatLine(n.index,n.length,O({},t,e));else{if(0===n.length)return r.selection.format(t,e),o;o=r.editor.formatText(n.index,n.length,O({},t,e))}return r.setSelection(n,f.default.sources.SILENT),o}),n)}},{key:"formatLine",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,e,r,n,i),u=o(s,4);return t=u[0],e=u[1],l=u[2],i=u[3],N.call(this,(function(){return a.editor.formatLine(t,e,l)}),i,t,0)}},{key:"formatText",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,e,r,n,i),u=o(s,4);return t=u[0],e=u[1],l=u[2],i=u[3],N.call(this,(function(){return a.editor.formatText(t,e,l)}),i,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=void 0;r="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var n=this.container.getBoundingClientRect();return{bottom:r.bottom-n.top,height:r.height,left:r.left-n.left,right:r.right-n.left,top:r.top-n.top,width:r.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,r=T(t,e),n=o(r,2);return t=n[0],e=n[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,r=T(t,e),n=o(r,2);return t=n[0],e=n[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,r,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return N.call(this,(function(){return o.editor.insertEmbed(e,r,n)}),i,e)}},{key:"insertText",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,0,r,n,i),u=o(s,4);return t=u[0],l=u[2],i=u[3],N.call(this,(function(){return a.editor.insertText(t,e,l)}),i,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,r){this.clipboard.dangerouslyPasteHTML(t,e,r)}},{key:"removeFormat",value:function(t,e,r){var n=this,i=T(t,e,r),a=o(i,4);return t=a[0],e=a[1],r=a[3],N.call(this,(function(){return n.editor.removeFormat(t,e)}),r,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return N.call(this,(function(){t=new l.default(t);var r=e.getLength(),n=e.editor.deleteText(0,r),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1));var a=n.compose(o);return a}),r)}},{key:"setSelection",value:function(e,r,n){if(null==e)this.selection.setRange(null,r||t.sources.API);else{var i=T(e,r,n),a=o(i,4);e=a[0],r=a[1],n=a[3],this.selection.setRange(new b.Range(e,r),n),n!==f.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API,r=(new l.default).insert(t);return this.setContents(r,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return N.call(this,(function(){return t=new l.default(t),e.editor.applyDelta(t,r)}),r,!0)}}]),t}();function S(t,e){if(e=(0,m.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==A.DEFAULTS.theme){if(e.theme=A.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=k.default;var r=(0,m.default)(!0,{},e.theme.DEFAULTS);[r,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var n=Object.keys(r.modules).concat(Object.keys(e.modules)),o=n.reduce((function(t,e){var r=A.import("modules/"+e);return null==r?j.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=r.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,m.default)(!0,{},A.DEFAULTS,{modules:o},r,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,r){return e.modules[r]&&(t[r]=e.modules[r]),t}),{}),e}function N(t,e,r,n){if(this.options.strict&&!this.isEnabled()&&e===f.default.sources.USER)return new l.default;var o=null==r?null:this.getSelection(),i=this.editor.delta,a=t();if(null!=o&&(!0===r&&(r=o.index),null==n?o=C(o,a,e):0!==n&&(o=C(o,r,n,e)),this.setSelection(o,f.default.sources.SILENT)),a.length()>0){var s,u,c=[f.default.events.TEXT_CHANGE,a,i,e];if((s=this.emitter).emit.apply(s,[f.default.events.EDITOR_CHANGE].concat(c)),e!==f.default.sources.SILENT)(u=this.emitter).emit.apply(u,c)}return a}function T(t,e,r,o,i){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=o,o=r,r=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=o,o=r,r=e,e=0),"object"===("undefined"===typeof r?"undefined":n(r))?(a=r,i=o):"string"===typeof r&&(null!=o?a[r]=o:i=r),i=i||f.default.sources.API,[t,e,a,i]}function C(t,e,r,n){if(null==t)return null;var i=void 0,a=void 0;if(e instanceof l.default){var s=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,n!==f.default.sources.USER)})),u=o(s,2);i=u[0],a=u[1]}else{var c=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&n===f.default.sources.USER?t:r>=0?t+r:Math.max(e,t+r)})),d=o(c,2);i=d[0],a=d[1]}return new b.Range(i,a-i)}A.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},A.events=f.default.events,A.sources=f.default.sources,A.version="1.3.7",A.imports={delta:l.default,parchment:v.default,"core/module":p.default,"core/theme":k.default},e.expandConfig=S,e.overload=T,e.default=A},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(7),a=u(i),l=r(0),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p=function(t){function e(){return c(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),n(e,[{key:"formatAt",value:function(t,r,n,i){if(e.compare(this.statics.blotName,n)<0&&s.default.query(n,s.default.Scope.BLOT)){var a=this.isolate(t,r);i&&a.wrap(n,i)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,r,n,i)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var r=this.parent.isolate(this.offset(),this.length());this.moveChildren(r),r.wrap(this)}}}],[{key:"compare",value:function(t,r){var n=e.order.indexOf(t),o=e.order.indexOf(r);return n>=0||o>=0?n-o:t===r?0:t<r?-1:1}}]),e}(s.default.Inline);p.allowedChildren=[p,s.default.Embed,a.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default.Text);e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(54),a=u(i),l=r(10),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p=(0,s.default)("quill:events"),h=["selectionchange","mousedown","mouseup","click"];h.forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var r;t.__quill&&t.__quill.emitter&&(r=t.__quill.emitter).handleDOM.apply(r,e)}))}))}));var v=function(t){function e(){c(this,e);var t=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return d(e,t),n(e,[{key:"emit",value:function(){p.log.apply(p,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];(this.listeners[t.type]||[]).forEach((function(e){var n=e.node,o=e.handler;(t.target===n||n.contains(t.target))&&o.apply(void 0,[t].concat(r))}))}},{key:"listenDOM",value:function(t,e,r){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:r})}}]),e}(a.default);v.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},v.sources={API:"api",SILENT:"silent",USER:"user"},e.default=v},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),this.quill=e,this.options=r};o.DEFAULTS={},e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["error","warn","log","info"],o="warn";function i(t){if(n.indexOf(t)<=n.indexOf(o)){for(var e,r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(e=console)[t].apply(e,i)}}function a(t){return n.reduce((function(e,r){return e[r]=i.bind(console,r,t),e}),{})}i.level=a.level=function(t){o=t},e.default=a},function(t,e,r){var n=Array.prototype.slice,o=r(52),i=r(53),a=t.exports=function(t,e,r){return r||(r={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:u(t,e,r))};function l(t){return null===t||void 0===t}function s(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}function u(t,e,r){var u,c;if(l(t)||l(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=n.call(t),e=n.call(e),a(t,e,r));if(s(t)){if(!s(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var f=o(t),d=o(e)}catch(p){return!1}if(f.length!=d.length)return!1;for(f.sort(),d.sort(),u=f.length-1;u>=0;u--)if(f[u]!=d[u])return!1;for(u=f.length-1;u>=0;u--)if(c=f[u],!a(t[c],e[c],r))return!1;return typeof t===typeof e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=function(){function t(t,e,r){void 0===r&&(r={}),this.attrName=t,this.keyName=e;var o=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=r.scope?this.scope=r.scope&n.Scope.LEVEL|o:this.scope=n.Scope.ATTRIBUTE,null!=r.whitelist&&(this.whitelist=r.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var r=n.query(t,n.Scope.BLOT&(this.scope|n.Scope.TYPE));return null!=r&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},a=r(2),l=b(a),s=r(0),u=b(s),c=r(4),f=b(c),d=r(6),p=b(d),h=r(7),v=b(h);function b(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)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 w=function(t){function e(){return g(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),e}(p.default);w.blotName="code",w.tagName="CODE";var q=function(t){function e(){return g(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),o(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,r){return e.insert(r).insert("\n",t.formats())}),new l.default)}},{key:"format",value:function(t,r){if(t!==this.statics.blotName||!r){var o=this.descendant(v.default,this.length()-1),a=n(o,1),l=a[0];null!=l&&l.deleteAt(l.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}},{key:"formatAt",value:function(t,r,n,o){if(0!==r&&null!=u.default.query(n,u.default.Scope.BLOCK)&&(n!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+r)){var a=this.newlineIndex(t,!0)+1,l=i-a+1,s=this.isolate(a,l),c=s.next;s.format(n,o),c instanceof e&&c.formatAt(0,t-a+r-l,n,o)}}}},{key:"insertAt",value:function(t,e,r){if(null==r){var o=this.descendant(v.default,t),i=n(o,2),a=i[0],l=i[1];a.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var r=this.domNode.textContent.slice(t).indexOf("\n");return r>-1?t+r:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===r.statics.formats(r.domNode)&&(r.optimize(t),r.moveChildren(this),r.remove())}},{key:"replace",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var r=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return r.setAttribute("spellcheck",!1),r}},{key:"formats",value:function(){return!0}}]),e}(f.default);q.blotName="code-block",q.tagName="PRE",q.TAB=" ",e.Code=w,e.default=q},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(2),l=E(a),s=r(20),u=E(s),c=r(0),f=E(c),d=r(13),p=E(d),h=r(24),v=E(h),b=r(4),g=E(b),y=r(16),m=E(y),w=r(21),q=E(w),x=r(11),k=E(x),_=r(3),O=E(_);function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var S=/^[ -~]*$/,N=function(){function t(e){A(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function(t){var e=this,r=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),t=C(t),t.reduce((function(t,a){var l=a.retain||a.delete||a.insert.length||1,s=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var c=a.insert;c.endsWith("\n")&&r&&(r=!1,c=c.slice(0,-1)),t>=i&&!c.endsWith("\n")&&(r=!0),e.scroll.insertAt(t,c);var d=e.scroll.line(t),p=o(d,2),h=p[0],v=p[1],y=(0,O.default)({},(0,b.bubbleFormats)(h));if(h instanceof g.default){var m=h.descendant(f.default.Leaf,v),w=o(m,1),q=w[0];y=(0,O.default)(y,(0,b.bubbleFormats)(q))}s=u.default.attributes.diff(y,s)||{}}else if("object"===n(a.insert)){var x=Object.keys(a.insert)[0];if(null==x)return t;e.scroll.insertAt(t,x,a.insert[x])}i+=l}return Object.keys(s).forEach((function(r){e.scroll.formatAt(t,l,r,s[r])})),t+l}),0),t.reduce((function(t,r){return"number"===typeof r.delete?(e.scroll.deleteAt(t,r.delete),t):t+(r.retain||r.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(n).forEach((function(o){if(null==r.scroll.whitelist||r.scroll.whitelist[o]){var i=r.scroll.lines(t,Math.max(e,1)),a=e;i.forEach((function(e){var i=e.length();if(e instanceof p.default){var l=t-e.offset(r.scroll),s=e.newlineIndex(l+a)-l+1;e.formatAt(l,s,o,n[o])}else e.format(o,n[o]);a-=i}))}})),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,q.default)(n)))}},{key:"formatText",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(n).forEach((function(o){r.scroll.formatAt(t,e,o,n[o])})),this.update((new l.default).retain(t).retain(e,(0,q.default)(n)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new l.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[],n=[];0===e?this.scroll.path(t).forEach((function(t){var e=o(t,1),i=e[0];i instanceof g.default?r.push(i):i instanceof f.default.Leaf&&n.push(i)})):(r=this.scroll.lines(t,e),n=this.scroll.descendants(f.default.Leaf,t,e));var i=[r,n].map((function(t){if(0===t.length)return{};var e=(0,b.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var r=t.shift();if(null==r)return e;e=T((0,b.bubbleFormats)(r),e)}return e}));return O.default.apply(O.default,i)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,r){return this.scroll.insertAt(t,e,r),this.update((new l.default).retain(t).insert(j({},e,r)))}},{key:"insertText",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(n).forEach((function(o){r.scroll.formatAt(t,e.length,o,n[o])})),this.update((new l.default).retain(t).insert(e,(0,q.default)(n)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===g.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof m.default)}},{key:"removeFormat",value:function(t,e){var r=this.getText(t,e),n=this.scroll.line(t+e),i=o(n,2),a=i[0],s=i[1],u=0,c=new l.default;null!=a&&(u=a instanceof p.default?a.newlineIndex(s)-s+1:a.length()-s,c=a.delta().slice(s,s+u-1).insert("\n"));var f=this.getContents(t,e+u),d=f.diff((new l.default).insert(r).concat(c)),h=(new l.default).retain(t).concat(d);return this.applyDelta(h)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(S)&&f.default.find(e[0].target)){var o=f.default.find(e[0].target),i=(0,b.bubbleFormats)(o),a=o.offset(this.scroll),s=e[0].oldValue.replace(v.default.CONTENTS,""),u=(new l.default).insert(s),c=(new l.default).insert(o.value()),d=(new l.default).retain(a).concat(u.diff(c,r));t=d.reduce((function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)}),new l.default),this.delta=n.compose(t)}else this.delta=this.getDelta(),t&&(0,k.default)(n.compose(t),this.delta)||(t=n.diff(this.delta,r));return t}}]),t}();function T(t,e){return Object.keys(e).reduce((function(r,n){return null==t[n]||(e[n]===t[n]?r[n]=e[n]:Array.isArray(e[n])?e[n].indexOf(t[n])<0&&(r[n]=e[n].concat([t[n]])):r[n]=[e[n],t[n]]),r}),{})}function C(t){return t.reduce((function(t,e){if(1===e.insert){var r=(0,q.default)(e.attributes);return delete r["image"],t.insert({image:e.attributes.image},r)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,q.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)}),new l.default)}e.default=N},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),a=v(i),l=r(21),s=v(l),u=r(11),c=v(u),f=r(8),d=v(f),p=r(10),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}function b(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill:selection"),m=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;g(this,t),this.index=e,this.length=r},w=function(){function t(e,r){var n=this;g(this,t),this.emitter=r,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new m(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){n.mouseDown||setTimeout(n.update.bind(n,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&n.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(n.hasFocus()){var t=n.getNativeRange();null!=t&&t.start.node!==n.cursor.textNode&&n.emitter.once(d.default.events.SCROLL_UPDATE,(function(){try{n.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var r=e.range,o=r.startNode,i=r.startOffset,a=r.endNode,l=r.endOffset;n.setNativeRange(o,i,a,l)}})),this.update(d.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(d.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var r=this.getNativeRange();if(null!=r&&r.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(r.start.node!==this.cursor.textNode){var n=a.default.find(r.start.node,!1);if(null==n)return;if(n instanceof a.default.Leaf){var o=n.split(r.start.offset);n.parent.insertBefore(this.cursor,o)}else n.insertBefore(this.cursor,r.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();t=Math.min(t,r-1),e=Math.min(t+e,r-1)-t;var o=void 0,i=this.scroll.leaf(t),a=n(i,2),l=a[0],s=a[1];if(null==l)return null;var u=l.position(s,!0),c=n(u,2);o=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(o,s);var d=this.scroll.leaf(t+e),p=n(d,2);if(l=p[0],s=p[1],null==l)return null;var h=l.position(s,!0),v=n(h,2);return o=v[0],s=v[1],f.setEnd(o,s),f.getBoundingClientRect()}var b="left",g=void 0;return o instanceof Text?(s<o.data.length?(f.setStart(o,s),f.setEnd(o,s+1)):(f.setStart(o,s-1),f.setEnd(o,s),b="right"),g=f.getBoundingClientRect()):(g=l.domNode.getBoundingClientRect(),s>0&&(b="right")),{bottom:g.top+g.height,height:g.height,left:g[b],right:g[b],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var r=this.normalizeNative(e);return y.info("getNativeRange",r),r}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,r=[[t.start.node,t.start.offset]];t.native.collapsed||r.push([t.end.node,t.end.offset]);var o=r.map((function(t){var r=n(t,2),o=r[0],i=r[1],l=a.default.find(o,!0),s=l.offset(e.scroll);return 0===i?s:l instanceof a.default.Container?s+l.length():s+l.index(o,i)})),i=Math.min(Math.max.apply(Math,b(o)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(b(o)));return new m(l,i-l)}},{key:"normalizeNative",value:function(t){if(!q(this.root,t.startContainer)||!t.collapsed&&!q(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,r=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>r)e=e.childNodes[r],r=0;else{if(e.childNodes.length!==r)break;e=e.lastChild,r=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=r})),e}},{key:"rangeToNative",value:function(t){var e=this,r=t.collapsed?[t.index]:[t.index,t.index+t.length],o=[],i=this.scroll.length();return r.forEach((function(t,r){t=Math.min(i-1,t);var a=void 0,l=e.scroll.leaf(t),s=n(l,2),u=s[0],c=s[1],f=u.position(c,0!==r),d=n(f,2);a=d[0],c=d[1],o.push(a,c)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var r=this.getBounds(e.index,e.length);if(null!=r){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(e.index,o)),a=n(i,1),l=a[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,o)),c=n(u,1);s=c[0]}if(null!=l&&null!=s){var f=t.getBoundingClientRect();r.top<f.top?t.scrollTop-=f.top-r.top:r.bottom>f.bottom&&(t.scrollTop+=r.bottom-f.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(y.info("setNativeRange",t,e,r,n),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=r.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||t!==a.startContainer||e!==a.startOffset||r!==a.endContainer||n!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==r.tagName&&(n=[].indexOf.call(r.parentNode.childNodes,r),r=r.parentNode);var l=document.createRange();l.setStart(t,e),l.setEnd(r,n),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof e&&(r=e,e=!1),y.info("setRange",t),null!=t){var n=this.rangeToNative(t);this.setNativeRange.apply(this,b(n).concat([e]))}else this.setNativeRange(null);this.update(r)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,e=this.lastRange,r=this.getRange(),o=n(r,2),i=o[0],a=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(e,this.lastRange)){var l;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var u,f=[d.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(e),t];if((l=this.emitter).emit.apply(l,[d.default.events.EDITOR_CHANGE].concat(f)),t!==d.default.sources.SILENT)(u=this.emitter).emit.apply(u,f)}}}]),t}();function q(t,e){try{e.parentNode}catch(r){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=m,e.default=w},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"insertInto",value:function(t,r){0===t.children.length?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,r):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(a.default.Embed);f.blotName="break",f.tagName="BR",e.default=f},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(44),i=r(30),a=r(1),l=function(t){function e(e){var r=t.call(this,e)||this;return r.build(),r}return n(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var r=s(e);t.insertBefore(r,t.children.head||void 0)}catch(n){if(n instanceof a.ParchmentError)return;throw n}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,r){t.deleteAt(e,r)}))},e.prototype.descendant=function(t,r){var n=this.children.find(r),o=n[0],i=n[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,r,n){void 0===r&&(r=0),void 0===n&&(n=Number.MAX_VALUE);var o=[],i=n;return this.children.forEachAt(r,n,(function(r,n,a){(null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t)&&o.push(r),r instanceof e&&(o=o.concat(r.descendants(t,n,i))),i-=a})),o},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,r,n){this.children.forEachAt(t,e,(function(t,e,o){t.formatAt(e,o,r,n)}))},e.prototype.insertAt=function(t,e,r){var n=this.children.find(t),o=n[0],i=n[1];if(o)o.insertAt(i,e,r);else{var l=null==r?a.create("text",e):a.create(e,r);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(r){t.insertBefore(r,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var r=a.create(this.statics.defaultChild);this.appendChild(r),r.optimize(e)}else this.remove()},e.prototype.path=function(t,r){void 0===r&&(r=!1);var n=this.children.find(t,r),o=n[0],i=n[1],a=[[this,t]];return o instanceof e?a.concat(o.path(i,r)):(null!=o&&a.push([o,i]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(r){r instanceof e&&r.moveChildren(this),t.prototype.replace.call(this,r)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=this.clone();return this.parent.insertBefore(r,this.next),this.children.forEachAt(t,this.length(),(function(t,n,o){t=t.split(n,e),r.appendChild(t)})),r},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var r=this,n=[],o=[];t.forEach((function(t){t.target===r.domNode&&"childList"===t.type&&(n.push.apply(n,t.addedNodes),o.push.apply(o,t.removedNodes))})),o.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==r.domNode||e.detach())}})),n.filter((function(t){return t.parentNode==r.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var n=s(t);n.next==e&&null!=n.next||(null!=n.parent&&n.parent.removeChild(r),r.insertBefore(n,e||void 0))}))},e}(i.default);function s(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(r){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12),i=r(31),a=r(17),l=r(1),s=function(t){function e(e){var r=t.call(this,e)||this;return r.attributes=new i.default(r.domNode),r}return n(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var r=l.query(t);r instanceof o.default?this.attributes.attribute(r,e):e&&(null==r||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,r){var n=t.prototype.replaceWith.call(this,e,r);return this.attributes.copy(n),n},e.prototype.update=function(e,r){var n=this;t.prototype.update.call(this,e,r),e.some((function(t){return t.target===n.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(r,n){var o=t.prototype.wrap.call(this,r,n);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(a.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(30),i=r(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var r=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(r+=1),[this.parent.domNode,r]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,r){var n=r(11),o=r(3),i={attributes:{compose:function(t,e,r){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=o(!0,{},e);for(var i in r||(n=Object.keys(n).reduce((function(t,e){return null!=n[e]&&(t[e]=n[e]),t}),{})),t)void 0!==t[i]&&void 0===e[i]&&(n[i]=t[i]);return Object.keys(n).length>0?n:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=Object.keys(t).concat(Object.keys(e)).reduce((function(r,o){return n(t[o],e[o])||(r[o]=void 0===e[o]?null:e[o]),r}),{});return Object.keys(r).length>0?r:void 0},transform:function(t,e,r){if("object"!==typeof t)return e;if("object"===typeof e){if(!r)return e;var n=Object.keys(e).reduce((function(r,n){return void 0===t[n]&&(r[n]=e[n]),r}),{});return Object.keys(n).length>0?n:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var r=this.offset,n=i.length(e);if(t>=n-r?(t=n-r,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"===typeof e.retain?o.retain=t:"string"===typeof e.insert?o.insert=e.insert.substr(r,t):o.insert=e.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=t,this.index=e,[r].concat(n)}return[]},t.exports=i},function(t,r){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var r,n,o;try{r=Map}catch(f){r=function(){}}try{n=Set}catch(f){n=function(){}}try{o=Promise}catch(f){o=function(){}}function i(a,l,s,u,f){"object"===typeof l&&(s=l.depth,u=l.prototype,f=l.includeNonEnumerable,l=l.circular);var d=[],p=[],h="undefined"!=typeof e;function v(a,s){if(null===a)return null;if(0===s)return a;var b,g;if("object"!=typeof a)return a;if(t(a,r))b=new r;else if(t(a,n))b=new n;else if(t(a,o))b=new o((function(t,e){a.then((function(e){t(v(e,s-1))}),(function(t){e(v(t,s-1))}))}));else if(i.__isArray(a))b=[];else if(i.__isRegExp(a))b=new RegExp(a.source,c(a)),a.lastIndex&&(b.lastIndex=a.lastIndex);else if(i.__isDate(a))b=new Date(a.getTime());else{if(h&&e.isBuffer(a))return b=e.allocUnsafe?e.allocUnsafe(a.length):new e(a.length),a.copy(b),b;t(a,Error)?b=Object.create(a):"undefined"==typeof u?(g=Object.getPrototypeOf(a),b=Object.create(g)):(b=Object.create(u),g=u)}if(l){var y=d.indexOf(a);if(-1!=y)return p[y];d.push(a),p.push(b)}for(var m in t(a,r)&&a.forEach((function(t,e){var r=v(e,s-1),n=v(t,s-1);b.set(r,n)})),t(a,n)&&a.forEach((function(t){var e=v(t,s-1);b.add(e)})),a){var w;g&&(w=Object.getOwnPropertyDescriptor(g,m)),w&&null==w.set||(b[m]=v(a[m],s-1))}if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(a);for(m=0;m<q.length;m++){var x=q[m],k=Object.getOwnPropertyDescriptor(a,x);(!k||k.enumerable||f)&&(b[x]=v(a[x],s-1),k.enumerable||Object.defineProperty(b,x,{enumerable:!1}))}}if(f){var _=Object.getOwnPropertyNames(a);for(m=0;m<_.length;m++){var O=_[m];k=Object.getOwnPropertyDescriptor(a,O);k&&k.enumerable||(b[O]=v(a[O],s-1),Object.defineProperty(b,O,{enumerable:!1}))}}return b}return"undefined"==typeof l&&(l=!0),"undefined"==typeof s&&(s=1/0),v(a,s)}function a(t){return Object.prototype.toString.call(t)}function l(t){return"object"===typeof t&&"[object Date]"===a(t)}function s(t){return"object"===typeof t&&"[object Array]"===a(t)}function u(t){return"object"===typeof t&&"[object RegExp]"===a(t)}function c(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return i.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},i.__objToStr=a,i.__isDate=l,i.__isArray=s,i.__isRegExp=u,i.__getRegExpFlags=c,i}();"object"===typeof t&&t.exports&&(t.exports=n)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},a=r(0),l=y(a),s=r(8),u=y(s),c=r(4),f=y(c),d=r(16),p=y(d),h=r(13),v=y(h),b=r(25),g=y(b);function y(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function q(t,e){if("function"!==typeof e&&null!==e)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)}function x(t){return t instanceof f.default||t instanceof c.BlockEmbed}var k=function(t){function e(t,r){m(this,e);var n=w(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.emitter=r.emitter,Array.isArray(r.whitelist)&&(n.whitelist=r.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),n.domNode.addEventListener("DOMNodeInserted",(function(){})),n.optimize(),n.enable(),n}return q(e,t),o(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,r){var o=this.line(t),a=n(o,2),l=a[0],s=a[1],u=this.line(t+r),f=n(u,1),d=f[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,r),null!=d&&l!==d&&s>0){if(l instanceof c.BlockEmbed||d instanceof c.BlockEmbed)return void this.optimize();if(l instanceof v.default){var h=l.newlineIndex(l.length(),!0);if(h>-1&&(l=l.split(h+1),l===d))return void this.optimize()}else if(d instanceof v.default){var b=d.newlineIndex(0);b>-1&&d.split(b+1)}var g=d.children.head instanceof p.default?null:d.children.head;l.moveChildren(d,g),l.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,r,n,o){(null==this.whitelist||this.whitelist[n])&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,r,n,o),this.optimize())}},{key:"insertAt",value:function(t,r,n){if(null==n||null==this.whitelist||this.whitelist[r]){if(t>=this.length())if(null==n||null==l.default.query(r,l.default.Scope.BLOCK)){var o=l.default.create(this.statics.defaultChild);this.appendChild(o),null==n&&r.endsWith("\n")&&(r=r.slice(0,-1)),o.insertAt(0,r,n)}else{var a=l.default.create(r,n);this.appendChild(a)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n);this.optimize()}}},{key:"insertBefore",value:function(t,r){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var n=l.default.create(this.statics.defaultChild);n.appendChild(t),t=n}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(x,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,r=function t(e,r,n){var o=[],i=n;return e.children.forEachAt(r,n,(function(e,r,n){x(e)?o.push(e):e instanceof l.default.Container&&(o=o.concat(t(e,r,i))),i-=n})),o};return r(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,r),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,r))}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var r=u.default.sources.USER;"string"===typeof t&&(r=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,r,t),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,r,t)}}}]),e}(l.default.Scroll);k.blotName="scroll",k.className="ql-editor",k.tagName="DIV",k.defaultChild="block",k.allowedChildren=[f.default,c.BlockEmbed,g.default],e.default=k},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(21),l=_(a),s=r(11),u=_(s),c=r(3),f=_(c),d=r(2),p=_(d),h=r(20),v=_(h),b=r(0),g=_(b),y=r(5),m=_(y),w=r(10),q=_(w),x=r(9),k=_(x);function _(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function A(t,e){if("function"!==typeof e&&null!==e)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 S=(0,q.default)("quill:keyboard"),N=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",T=function(t){function e(t,r){E(this,e);var n=j(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.bindings={},Object.keys(n.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist["list"])&&n.options.bindings[e]&&n.addBinding(n.options.bindings[e])})),n.addBinding({key:e.keys.ENTER,shiftKey:null},I),n.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0},R)):(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},R)),n.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},L),n.addBinding({key:e.keys.DELETE},{collapsed:!1},L),n.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},P),n.listen(),n}return A(e,t),i(e,null,[{key:"match",value:function(t,e){return e=U(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(r){return!!e[r]!==t[r]&&null!==e[r]}))&&e.key===(t.which||t.keyCode)}}]),i(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=U(t);if(null==n||null==n.key)return S.warn("Attempted to add invalid keyboard binding",n);"function"===typeof e&&(e={handler:e}),"function"===typeof r&&(r={handler:r}),n=(0,f.default)(n,e,r),this.bindings[n.key]=this.bindings[n.key]||[],this.bindings[n.key].push(n)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(r){if(!r.defaultPrevented){var i=r.which||r.keyCode,a=(t.bindings[i]||[]).filter((function(t){return e.match(r,t)}));if(0!==a.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var s=t.quill.getLine(l.index),c=o(s,2),f=c[0],d=c[1],p=t.quill.getLeaf(l.index),h=o(p,2),v=h[0],b=h[1],y=0===l.length?[v,b]:t.quill.getLeaf(l.index+l.length),m=o(y,2),w=m[0],q=m[1],x=v instanceof g.default.Text?v.value().slice(0,b):"",k=w instanceof g.default.Text?w.value().slice(q):"",_={collapsed:0===l.length,empty:0===l.length&&f.length()<=1,format:t.quill.getFormat(l),offset:d,prefix:x,suffix:k},O=a.some((function(e){if(null!=e.collapsed&&e.collapsed!==_.collapsed)return!1;if(null!=e.empty&&e.empty!==_.empty)return!1;if(null!=e.offset&&e.offset!==_.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==_.format[t]})))return!1}else if("object"===n(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=_.format[t]:!1===e.format[t]?null==_.format[t]:(0,u.default)(e.format[t],_.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(_.prefix))&&(!(null!=e.suffix&&!e.suffix.test(_.suffix))&&!0!==e.handler.call(t,l,_))}));O&&r.preventDefault()}}}}))}}]),e}(k.default);function C(t,e){var r,n=t===T.keys.LEFT?"prefix":"suffix";return r={key:t,shiftKey:e,altKey:null},O(r,n,/^$/),O(r,"handler",(function(r){var n=r.index;t===T.keys.RIGHT&&(n+=r.length+1);var i=this.quill.getLeaf(n),a=o(i,1),l=a[0];return!(l instanceof g.default.Embed)||(t===T.keys.LEFT?e?this.quill.setSelection(r.index-1,r.length+1,m.default.sources.USER):this.quill.setSelection(r.index-1,m.default.sources.USER):e?this.quill.setSelection(r.index,r.length+1,m.default.sources.USER):this.quill.setSelection(r.index+r.length+1,m.default.sources.USER),!1)})),r}function P(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var r=this.quill.getLine(t.index),n=o(r,1),i=n[0],a={};if(0===e.offset){var l=this.quill.getLine(t.index-1),s=o(l,1),u=s[0];if(null!=u&&u.length()>1){var c=i.formats(),f=this.quill.getFormat(t.index-1,1);a=v.default.attributes.diff(c,f)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,m.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-d,d,a,m.default.sources.USER),this.quill.focus()}}function R(t,e){var r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-r)){var n={},i=0,a=this.quill.getLine(t.index),l=o(a,1),s=l[0];if(e.offset>=s.length()-1){var u=this.quill.getLine(t.index+1),c=o(u,1),f=c[0];if(f){var d=s.formats(),p=this.quill.getFormat(t.index,1);n=v.default.attributes.diff(d,p)||{},i=f.length()}}this.quill.deleteText(t.index,r,m.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index+i-1,r,n,m.default.sources.USER)}}function L(t){var e=this.quill.getLines(t),r={};if(e.length>1){var n=e[0].formats(),o=e[e.length-1].formats();r=v.default.attributes.diff(o,n)||{}}this.quill.deleteText(t,m.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index,1,r,m.default.sources.USER),this.quill.setSelection(t.index,m.default.sources.SILENT),this.quill.focus()}function I(t,e){var r=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var n=Object.keys(e.format).reduce((function(t,r){return g.default.query(r,g.default.Scope.BLOCK)&&!Array.isArray(e.format[r])&&(t[r]=e.format[r]),t}),{});this.quill.insertText(t.index,"\n",n,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==n[t]&&(Array.isArray(e.format[t])||"link"!==t&&r.quill.format(t,e.format[t],m.default.sources.USER))}))}function M(t){return{key:T.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var r=g.default.query("code-block"),n=e.index,i=e.length,a=this.quill.scroll.descendant(r,n),l=o(a,2),s=l[0],u=l[1];if(null!=s){var c=this.quill.getIndex(s),f=s.newlineIndex(u,!0)+1,d=s.newlineIndex(c+u+i),p=s.domNode.textContent.slice(f,d).split("\n");u=0,p.forEach((function(e,o){t?(s.insertAt(f+u,r.TAB),u+=r.TAB.length,0===o?n+=r.TAB.length:i+=r.TAB.length):e.startsWith(r.TAB)&&(s.deleteAt(f+u,r.TAB.length),u-=r.TAB.length,0===o?n-=r.TAB.length:i-=r.TAB.length),u+=e.length+1})),this.quill.update(m.default.sources.USER),this.quill.setSelection(n,i,m.default.sources.SILENT)}}}}function B(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,r){this.quill.format(t,!r.format[t],m.default.sources.USER)}}}function U(t){if("string"===typeof t||"number"===typeof t)return U({key:t});if("object"===("undefined"===typeof t?"undefined":n(t))&&(t=(0,l.default)(t,!1)),"string"===typeof t.key)if(null!=T.keys[t.key.toUpperCase()])t.key=T.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[N]=t.shortKey,delete t.shortKey),t}T.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},T.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:T.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",m.default.sources.USER)}},outdent:{key:T.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",m.default.sources.USER)}},"outdent backspace":{key:T.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",m.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,m.default.sources.USER)}},"indent code-block":M(!0),"outdent code-block":M(!1),"remove tab":{key:T.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,m.default.sources.USER)}},tab:{key:T.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new p.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,m.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,m.default.sources.SILENT)}},"list empty enter":{key:T.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,m.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,m.default.sources.USER)}},"checklist enter":{key:T.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),r=o(e,2),n=r[0],i=r[1],a=(0,f.default)({},n.formats(),{list:"checked"}),l=(new p.default).retain(t.index).insert("\n",a).retain(n.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:T.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var r=this.quill.getLine(t.index),n=o(r,2),i=n[0],a=n[1],l=(new p.default).retain(t.index).insert("\n",e.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(l,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var r=e.prefix.length,n=this.quill.getLine(t.index),i=o(n,2),a=i[0],l=i[1];if(l>r)return!0;var s=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",m.default.sources.USER),this.quill.history.cutoff();var u=(new p.default).retain(t.index-l).delete(r+1).retain(a.length()-2-l).retain(1,{list:s});this.quill.updateContents(u,m.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-r,m.default.sources.SILENT)}},"code exit":{key:T.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),r=o(e,2),n=r[0],i=r[1],a=(new p.default).retain(t.index+n.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,m.default.sources.USER)}},"embed left":C(T.keys.LEFT,!1),"embed left shift":C(T.keys.LEFT,!0),"embed right":C(T.keys.RIGHT,!1),"embed right shift":C(T.keys.RIGHT,!0)}},e.default=T,e.SHORTKEY=N},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(0),l=c(a),s=r(7),u=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)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 h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.selection=r,n.textNode=document.createTextNode(e.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n}return p(e,t),i(e,null,[{key:"value",value:function(){}}]),i(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,r){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r);var n=this,i=0;while(null!=n&&n.statics.scope!==l.default.Scope.BLOCK_BLOT)i+=n.offset(n.parent),n=n.parent;null!=n&&(this._length=e.CONTENTS.length,n.optimize(),n.formatAt(i,e.CONTENTS.length,t,r),this._length=0)}},{key:"index",value:function(t,r){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,r)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,r=this.selection.getNativeRange(),o=void 0,i=void 0,a=void 0;if(null!=r&&r.start.node===t&&r.end.node===t){var s=[t,r.start.offset,r.end.offset];o=s[0],i=s[1],a=s[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof u.default?(o=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(l.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var f=[i,a].map((function(t){return Math.max(0,Math.min(o.data.length,t-1))})),d=n(f,2);return i=d[0],a=d[1],{startNode:o,startOffset:i,endNode:o,endOffset:a}}}}},{key:"update",value:function(t,e){var r=this;if(t.some((function(t){return"characterData"===t.type&&t.target===r.textNode}))){var n=this.restore();n&&(e.range=n)}}},{key:"value",value:function(){return""}}]),e}(l.default.Embed);h.blotName="cursor",h.className="ql-cursor",h.tagName="span",h.CONTENTS="\ufeff",e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=l(n),i=r(4),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),e}(o.default.Container);f.allowedChildren=[a.default,i.BlockEmbed,f],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return r.startsWith("rgb(")?(r=r.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+r.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):r}}]),e}(a.default.Attributor.Style),d=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),p=new f("color","color",{scope:a.default.Scope.INLINE});e.ColorAttributor=f,e.ColorClass=d,e.ColorStyle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"format",value:function(t,r){if(t!==this.statics.blotName||!r)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r);r=this.constructor.sanitize(r),this.domNode.setAttribute("href",r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),r.setAttribute("href",t),r.setAttribute("rel","noopener noreferrer"),r.setAttribute("target","_blank"),r}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return d(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(a.default);function d(t,e){var r=document.createElement("a");r.href=t;var n=r.href.slice(0,r.href.indexOf(":"));return e.indexOf(n)>-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(23),a=u(i),l=r(107),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=0;function d(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var p=function(){function t(e){var r=this;c(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){r.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:r.togglePicker();break;case a.default.keys.ESCAPE:r.escape(),t.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),d(this.label,"aria-expanded"),d(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,r=document.createElement("span");return r.tabIndex="0",r.setAttribute("role","button"),r.classList.add("ql-picker-item"),t.hasAttribute("value")&&r.setAttribute("data-value",t.getAttribute("value")),t.textContent&&r.setAttribute("data-label",t.textContent),r.addEventListener("click",(function(){e.selectItem(r,!0)})),r.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:e.selectItem(r,!0),t.preventDefault();break;case a.default.keys.ESCAPE:e.escape(),t.preventDefault();break;default:}})),r}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=s.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+f,f+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(r){var n=t.buildItem(r);e.appendChild(n),!0===r.selected&&t.selectItem(n)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.container.querySelector(".ql-selected");if(t!==r&&(null!=r&&r.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":n(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var r=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",r)}}]),t}();e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=S(n),i=r(5),a=S(i),l=r(4),s=S(l),u=r(16),c=S(u),f=r(25),d=S(f),p=r(24),h=S(p),v=r(35),b=S(v),g=r(6),y=S(g),m=r(22),w=S(m),q=r(7),x=S(q),k=r(55),_=S(k),O=r(42),E=S(O),j=r(23),A=S(j);function S(t){return t&&t.__esModule?t:{default:t}}a.default.register({"blots/block":s.default,"blots/block/embed":l.BlockEmbed,"blots/break":c.default,"blots/container":d.default,"blots/cursor":h.default,"blots/embed":b.default,"blots/inline":y.default,"blots/scroll":w.default,"blots/text":x.default,"modules/clipboard":_.default,"modules/history":E.default,"modules/keyboard":A.default}),o.default.register(s.default,c.default,h.default,y.default,w.default,x.default),e.default=a.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=function(){function t(t){this.domNode=t,this.domNode[n.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new n.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return n.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[n.DATA_KEY]},t.prototype.deleteAt=function(t,e){var r=this.isolate(t,e);r.remove()},t.prototype.formatAt=function(t,e,r,o){var i=this.isolate(t,e);if(null!=n.query(r,n.Scope.BLOT)&&o)i.wrap(r,o);else if(null!=n.query(r,n.Scope.ATTRIBUTE)){var a=n.create(this.statics.scope);i.wrap(a),a.format(r,o)}},t.prototype.insertAt=function(t,e,r){var o=null==r?n.create("text",e):n.create(e,r),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var r=null;t.children.insertBefore(this,e),null!=e&&(r=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==r||t.domNode.insertBefore(this.domNode,r),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var r=this.split(t);return r.split(e),r},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[n.DATA_KEY]&&delete this.domNode[n.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var r="string"===typeof t?n.create(t,e):t;return r.replace(this),r},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var r="string"===typeof t?n.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(r,this.next),r.appendChild(this),r},t.blotName="abstract",t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(12),o=r(32),i=r(33),a=r(1),l=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=n.default.keys(this.domNode),r=o.default.keys(this.domNode),l=i.default.keys(this.domNode);e.concat(r).concat(l).forEach((function(e){var r=a.query(e,a.Scope.ATTRIBUTE);r instanceof n.default&&(t.attributes[r.attrName]=r)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(r){var n=e.attributes[r].value(e.domNode);t.format(r,n)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,r){return e[r]=t.attributes[r].value(t.domNode),e}),{})},t}();e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12);function i(t,e){var r=t.getAttribute("class")||"";return r.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=i(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=i(t,this.keyName)[0]||"",r=e.slice(this.keyName.length+1);return this.canAdd(t,r)?r:""},e}(o.default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12);function i(t){var e=t.split("-"),r=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+r}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[i(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[i(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[i(this.keyName)];return this.canAdd(t,e)?e:""},e}(o.default);e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){o(this,t),this.quill=e,this.options=r,this.modules={}}return n(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=u(i),l=r(7),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p="\ufeff",h=function(t){function e(t){c(this,e);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.contentNode=document.createElement("span"),r.contentNode.setAttribute("contenteditable",!1),[].slice.call(r.domNode.childNodes).forEach((function(t){r.contentNode.appendChild(t)})),r.leftGuard=document.createTextNode(p),r.rightGuard=document.createTextNode(p),r.domNode.appendChild(r.leftGuard),r.domNode.appendChild(r.contentNode),r.domNode.appendChild(r.rightGuard),r}return d(e,t),n(e,[{key:"index",value:function(t,r){return t===this.leftGuard?0:t===this.rightGuard?1:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,r)}},{key:"restore",value:function(t){var e=void 0,r=void 0,n=t.data.split(p).join("");if(t===this.leftGuard)if(this.prev instanceof s.default){var o=this.prev.length();this.prev.insertAt(o,n),e={startNode:this.prev.domNode,startOffset:o+n.length}}else r=document.createTextNode(n),this.parent.insertBefore(a.default.create(r),this),e={startNode:r,startOffset:n.length};else t===this.rightGuard&&(this.next instanceof s.default?(this.next.insertAt(0,n),e={startNode:this.next.domNode,startOffset:n.length}):(r=document.createTextNode(n),this.parent.insertBefore(a.default.create(r),this.next),e={startNode:r,startOffset:n.length}));return t.data=p,e}},{key:"update",value:function(t,e){var r=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===r.leftGuard||t.target===r.rightGuard)){var n=r.restore(t.target);n&&(e.range=n)}}))}}]),e}(a.default.Embed);e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new o.default.Attributor.Attribute("align","align",a),s=new o.default.Attributor.Class("align","ql-align",a),u=new o.default.Attributor.Style("align","text-align",a);e.AlignAttribute=l,e.AlignClass=s,e.AlignStyle=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var n=r(0),o=a(n),i=r(26);function a(t){return t&&t.__esModule?t:{default:t}}var l=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),s=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},l=new o.default.Attributor.Attribute("direction","dir",a),s=new o.default.Attributor.Class("direction","ql-direction",a),u=new o.default.Attributor.Style("direction","direction",a);e.DirectionAttribute=l,e.DirectionClass=s,e.DirectionStyle=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new a.default.Attributor.Class("font","ql-font",f),p=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(a.default.Attributor.Style),h=new p("font","font-family",f);e.FontStyle=h,e.FontClass=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=a,e.SizeStyle=l},function(t,e,r){"use strict";t.exports={align:{"":r(76),center:r(77),right:r(78),justify:r(79)},background:r(80),blockquote:r(81),bold:r(82),clean:r(83),code:r(58),"code-block":r(58),color:r(84),direction:{"":r(85),rtl:r(86)},float:{center:r(87),full:r(88),left:r(89),right:r(90)},formula:r(91),header:{1:r(92),2:r(93)},italic:r(94),image:r(95),indent:{"+1":r(96),"-1":r(97)},link:r(98),list:{ordered:r(99),bullet:r(100),check:r(101)},script:{sub:r(102),super:r(103)},strike:r(104),underline:r(105),video:r(106)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),i=c(o),a=r(5),l=c(a),s=r(9),u=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)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 h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.lastRecorded=0,n.ignoreChange=!1,n.clear(),n.quill.on(l.default.events.EDITOR_CHANGE,(function(t,e,r,o){t!==l.default.events.TEXT_CHANGE||n.ignoreChange||(n.options.userOnly&&o!==l.default.sources.USER?n.transform(e):n.record(e,r))})),n.quill.keyboard.addBinding({key:"Z",shortKey:!0},n.undo.bind(n)),n.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},n.redo.bind(n)),/Win/i.test(navigator.platform)&&n.quill.keyboard.addBinding({key:"Y",shortKey:!0},n.redo.bind(n)),n}return p(e,t),n(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var r=this.stack[t].pop();this.stack[e].push(r),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(r[t],l.default.sources.USER),this.ignoreChange=!1;var n=b(r[t]);this.quill.setSelection(n)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var r=this.quill.getContents().diff(e),n=Date.now();if(this.lastRecorded+this.options.delay>n&&this.stack.undo.length>0){var o=this.stack.undo.pop();r=r.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=n;this.stack.undo.push({redo:t,undo:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(u.default);function v(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)})))}function b(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),r=t.length()-e;return v(t)&&(r-=1),r}h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=h,e.getLastChangeIndex=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(3),a=k(i),l=r(2),s=k(l),u=r(8),c=k(u),f=r(23),d=k(f),p=r(34),h=k(p),v=r(59),b=k(v),g=r(60),y=k(g),m=r(28),w=k(m),q=r(61),x=k(q);function k(t){return t&&t.__esModule?t:{default:t}}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function E(t,e){if("function"!==typeof e&&null!==e)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 j=[!1,"center","right","justify"],A=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],S=[!1,"serif","monospace"],N=["1","2","3",!1],T=["small",!1,"large","huge"],C=function(t){function e(t,r){_(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r)),o=function e(r){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(r.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach((function(t){t.container.contains(r.target)||t.close()}))};return t.emitter.listenDOM("click",document.body,o),n}return E(e,t),n(e,[{key:"addModule",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(r),r}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){var r=t.getAttribute("class")||"";r.split(/\s+/).forEach((function(r){if(r.startsWith("ql-")&&(r=r.slice("ql-".length),null!=e[r]))if("direction"===r)t.innerHTML=e[r][""]+e[r]["rtl"];else if("string"===typeof e[r])t.innerHTML=e[r];else{var n=t.value||"";null!=n&&e[r][n]&&(t.innerHTML=e[r][n])}}))}))}},{key:"buildPickers",value:function(t,e){var r=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&L(t,j),new y.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var r=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&L(t,A,"background"===r?"#ffffff":"#000000"),new b.default(t,e[r])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?L(t,S):t.classList.contains("ql-header")?L(t,N):t.classList.contains("ql-size")&&L(t,T)),new w.default(t)}));var n=function(){r.pickers.forEach((function(t){t.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,n)}}]),e}(h.default);C.DEFAULTS=(0,a.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var r=new FileReader;r.onload=function(r){var n=t.quill.getSelection(!0);t.quill.updateContents((new s.default).retain(n.index).delete(n.length).insert({image:r.target.result}),c.default.sources.USER),t.quill.setSelection(n.index+1,c.default.sources.SILENT),e.value=""},r.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var P=function(t){function e(t,r){_(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.textbox=n.root.querySelector('input[type="text"]'),n.listen(),n}return E(e,t),n(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){d.default.match(e,"enter")?(t.save(),e.preventDefault()):d.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,c.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=R(t);case"formula":if(!t)break;var r=this.quill.getSelection(!0);if(null!=r){var n=r.index+r.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),t,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",c.default.sources.USER),this.quill.setSelection(n+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(x.default);function R(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var n=document.createElement("option");e===r?n.setAttribute("selected","selected"):n.setAttribute("value",e),t.appendChild(n)}))}e.BaseTooltip=P,e.default=C},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,r=this.iterator();while(e=r())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,r=this.head;while(null!=r){if(r===t)return e;e+=r.length(),r=r.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var r,n=this.iterator();while(r=n()){var o=r.length();if(t<o||e&&t===o&&(null==r.next||0!==r.next.length()))return[r,t];t-=o}return[null,0]},t.prototype.forEach=function(t){var e,r=this.iterator();while(e=r())t(e)},t.prototype.forEachAt=function(t,e,r){if(!(e<=0)){var n,o=this.find(t),i=o[0],a=o[1],l=t-a,s=this.iterator(i);while((n=s())&&l<t+e){var u=n.length();t>l?r(n,t-l,Math.min(e,l+u-t)):r(n,0,Math.min(u,t+e-l)),l+=u}}},t.prototype.map=function(t){return this.reduce((function(e,r){return e.push(t(r)),e}),[])},t.prototype.reduce=function(t,e){var r,n=this.iterator();while(r=n())e=t(e,r);return e},t}();e.default=n},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(17),i=r(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=100,s=function(t){function e(e){var r=t.call(this,e)||this;return r.scroll=r,r.observer=new MutationObserver((function(t){r.update(t)})),r.observer.observe(r.domNode,a),r.attach(),r}return n(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,r){this.update(),0===e&&r===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,r)},e.prototype.formatAt=function(e,r,n,o){this.update(),t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){this.update(),t.prototype.insertAt.call(this,e,r,n)},e.prototype.optimize=function(e,r){var n=this;void 0===e&&(e=[]),void 0===r&&(r={}),t.prototype.optimize.call(this,r);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)e.push(a.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==n&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},u=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(u),t.optimize(r))},c=e,f=0;c.length>0;f+=1){if(f>=l)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),a=c.slice();while(a.length>0)e.push(a.pop())}},e.prototype.update=function(e,r){var n=this;void 0===r&&(r={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==n&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],r)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,r),this.optimize(e,r)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=r(1);function a(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(t[r]!==e[r])return!1;return!0}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){if(r.tagName!==e.tagName)return t.formats.call(this,r)},e.prototype.format=function(r,n){var i=this;r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,r,n,o){if(null!=this.formats()[n]||i.query(n,i.Scope.ATTRIBUTE)){var a=this.isolate(e,r);a.format(n,o)}else t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r);var n=this.formats();if(0===Object.keys(n).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&a(n,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=r(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){var n=i.query(e.blotName).tagName;if(r.tagName!==n)return t.formats.call(this,r)},e.prototype.format=function(r,n){null!=i.query(r,i.Scope.BLOCK)&&(r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,r,n,o){null!=i.query(n,i.Scope.BLOCK)?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){if(null==n||null!=i.query(r,i.Scope.INLINE))t.prototype.insertAt.call(this,e,r,n);else{var o=this.split(e),a=i.create(r,n);o.parent.insertBefore(a,o)}},e.prototype.update=function(e,r){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,r)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(t){},e.prototype.format=function(e,r){t.prototype.formatAt.call(this,0,this.length(),e,r)},e.prototype.formatAt=function(e,r,n,o){0===e&&r===this.length()?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=r(1),a=function(t){function e(e){var r=t.call(this,e)||this;return r.text=r.statics.value(r.domNode),r}return n(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,r,n){null==n?(this.text=this.text.slice(0,e)+r+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,r,n)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=i.create(this.domNode.splitText(t));return this.parent.insertBefore(r,this.next),this.text=this.statics.value(this.domNode),r},e.prototype.update=function(t,e){var r=this;t.some((function(t){return"characterData"===t.type&&t.target===r.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,r){"use strict";var n=document.createElement("div");if(n.classList.toggle("test-class",!1),n.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var r=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>r.length)&&(e=r.length),e-=t.length;var n=r.indexOf(t,e);return-1!==n&&n===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,r=Object(this),n=r.length>>>0,o=arguments[1],i=0;i<n;i++)if(e=r[i],t.call(o,e,i,r))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var r=-1,n=1,o=0;function i(t,e,r){if(t==e)return t?[[o,t]]:[];(r<0||t.length<r)&&(r=null);var n=u(t,e),i=t.substring(0,n);t=t.substring(n),e=e.substring(n),n=c(t,e);var l=t.substring(t.length-n);t=t.substring(0,t.length-n),e=e.substring(0,e.length-n);var s=a(t,e);return i&&s.unshift([o,i]),l&&s.push([o,l]),d(s),null!=r&&(s=v(s,r)),s=b(s),s}function a(t,e){var a;if(!t)return[[n,e]];if(!e)return[[r,t]];var s=t.length>e.length?t:e,u=t.length>e.length?e:t,c=s.indexOf(u);if(-1!=c)return a=[[n,s.substring(0,c)],[o,u],[n,s.substring(c+u.length)]],t.length>e.length&&(a[0][0]=a[2][0]=r),a;if(1==u.length)return[[r,t],[n,e]];var d=f(t,e);if(d){var p=d[0],h=d[1],v=d[2],b=d[3],g=d[4],y=i(p,v),m=i(h,b);return y.concat([[o,g]],m)}return l(t,e)}function l(t,e){for(var o=t.length,i=e.length,a=Math.ceil((o+i)/2),l=a,u=2*a,c=new Array(u),f=new Array(u),d=0;d<u;d++)c[d]=-1,f[d]=-1;c[l+1]=0,f[l+1]=0;for(var p=o-i,h=p%2!=0,v=0,b=0,g=0,y=0,m=0;m<a;m++){for(var w=-m+v;w<=m-b;w+=2){var q=l+w;j=w==-m||w!=m&&c[q-1]<c[q+1]?c[q+1]:c[q-1]+1;var x=j-w;while(j<o&&x<i&&t.charAt(j)==e.charAt(x))j++,x++;if(c[q]=j,j>o)b+=2;else if(x>i)v+=2;else if(h){var k=l+p-w;if(k>=0&&k<u&&-1!=f[k]){var _=o-f[k];if(j>=_)return s(t,e,j,x)}}}for(var O=-m+g;O<=m-y;O+=2){k=l+O;_=O==-m||O!=m&&f[k-1]<f[k+1]?f[k+1]:f[k-1]+1;var E=_-O;while(_<o&&E<i&&t.charAt(o-_-1)==e.charAt(i-E-1))_++,E++;if(f[k]=_,_>o)y+=2;else if(E>i)g+=2;else if(!h){q=l+p-O;if(q>=0&&q<u&&-1!=c[q]){var j=c[q];x=l+j-q;if(_=o-_,j>=_)return s(t,e,j,x)}}}}return[[r,t],[n,e]]}function s(t,e,r,n){var o=t.substring(0,r),a=e.substring(0,n),l=t.substring(r),s=e.substring(n),u=i(o,a),c=i(l,s);return u.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var r=0,n=Math.min(t.length,e.length),o=n,i=0;while(r<o)t.substring(i,o)==e.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var r=0,n=Math.min(t.length,e.length),o=n,i=0;while(r<o)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function f(t,e){var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;function o(t,e,r){var n,o,i,a,l=t.substring(r,r+Math.floor(t.length/4)),s=-1,f="";while(-1!=(s=e.indexOf(l,s+1))){var d=u(t.substring(r),e.substring(s)),p=c(t.substring(0,r),e.substring(0,s));f.length<p+d&&(f=e.substring(s-p,s)+e.substring(s,s+d),n=t.substring(0,r-p),o=t.substring(r+d),i=e.substring(0,s-p),a=e.substring(s+d))}return 2*f.length>=t.length?[n,o,i,a,f]:null}var i,a,l,s,f,d=o(r,n,Math.ceil(r.length/4)),p=o(r,n,Math.ceil(r.length/2));if(!d&&!p)return null;i=p?d&&d[4].length>p[4].length?d:p:d,t.length>e.length?(a=i[0],l=i[1],s=i[2],f=i[3]):(s=i[0],f=i[1],a=i[2],l=i[3]);var h=i[4];return[a,l,s,f,h]}function d(t){t.push([o,""]);var e,i=0,a=0,l=0,s="",f="";while(i<t.length)switch(t[i][0]){case n:l++,f+=t[i][1],i++;break;case r:a++,s+=t[i][1],i++;break;case o:a+l>1?(0!==a&&0!==l&&(e=u(f,s),0!==e&&(i-a-l>0&&t[i-a-l-1][0]==o?t[i-a-l-1][1]+=f.substring(0,e):(t.splice(0,0,[o,f.substring(0,e)]),i++),f=f.substring(e),s=s.substring(e)),e=c(f,s),0!==e&&(t[i][1]=f.substring(f.length-e)+t[i][1],f=f.substring(0,f.length-e),s=s.substring(0,s.length-e))),0===a?t.splice(i-l,a+l,[n,f]):0===l?t.splice(i-a,a+l,[r,s]):t.splice(i-a-l,a+l,[r,s],[n,f]),i=i-a-l+(a?1:0)+(l?1:0)+1):0!==i&&t[i-1][0]==o?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,l=0,a=0,s="",f="";break}""===t[t.length-1][1]&&t.pop();var p=!1;i=1;while(i<t.length-1)t[i-1][0]==o&&t[i+1][0]==o&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),p=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),p=!0)),i++;p&&d(t)}var p=i;function h(t,e){if(0===e)return[o,t];for(var n=0,i=0;i<t.length;i++){var a=t[i];if(a[0]===r||a[0]===o){var l=n+a[1].length;if(e===l)return[i+1,t];if(e<l){t=t.slice();var s=e-n,u=[a[0],a[1].slice(0,s)],c=[a[0],a[1].slice(s)];return t.splice(i,1,u,c),[i+1,t]}n=l}}throw new Error("cursor_pos is out of bounds!")}function v(t,e){var r=h(t,e),n=r[1],i=r[0],a=n[i],l=n[i+1];if(null==a)return t;if(a[0]!==o)return t;if(null!=l&&a[1]+l[1]===l[1]+a[1])return n.splice(i,2,l,a),g(n,i,2);if(null!=l&&0===l[1].indexOf(a[1])){n.splice(i,2,[l[0],a[1]],[0,a[1]]);var s=l[1].slice(a[1].length);return s.length>0&&n.splice(i+2,0,[l[0],s]),g(n,i,3)}return t}function b(t){for(var e=!1,i=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},a=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},l=2;l<t.length;l+=1)t[l-2][0]===o&&a(t[l-2][1])&&t[l-1][0]===r&&i(t[l-1][1])&&t[l][0]===n&&i(t[l][1])&&(e=!0,t[l-1][1]=t[l-2][1].slice(-1)+t[l-1][1],t[l][1]=t[l-2][1].slice(-1)+t[l][1],t[l-2][1]=t[l-2][1].slice(0,-1));if(!e)return t;var s=[];for(l=0;l<t.length;l+=1)t[l][1].length>0&&s.push(t[l]);return s}function g(t,e,r){for(var n=e+r-1;n>=0&&n>=e-1;n--)if(n+1<t.length){var o=t[n],i=t[n+1];o[0]===i[1]&&t.splice(n,2,[o[0],o[1]+i[1]])}return t}p.INSERT=n,p.DELETE=r,p.EQUAL=o,t.exports=p},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}e=t.exports="function"===typeof Object.keys?Object.keys:r,e.shim=r},function(t,e){var r="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}e=t.exports=r?n:o,e.supported=n,e.unsupported=o},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function o(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),a.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)r.call(t,e)&&o.push(n?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},a.prototype.listeners=function(t,e){var r=n?n+t:t,o=this._events[r];if(e)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,l=new Array(a);i<a;i++)l[i]=o[i].fn;return l},a.prototype.emit=function(t,e,r,o,i,a){var l=n?n+t:t;if(!this._events[l])return!1;var s,u,c=this._events[l],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,r),!0;case 4:return c.fn.call(c.context,e,r,o),!0;case 5:return c.fn.call(c.context,e,r,o,i),!0;case 6:return c.fn.call(c.context,e,r,o,i,a),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var d,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,r);break;case 4:c[u].fn.call(c[u].context,e,r,o);break;default:if(!s)for(d=1,s=new Array(f-1);d<f;d++)s[d-1]=arguments[d];c[u].fn.apply(c[u].context,s)}}return!0},a.prototype.on=function(t,e,r){var o=new i(e,r||this),a=n?n+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(t,e,r){var o=new i(e,r||this,!0),a=n?n+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(t,e,r,i){var a=n?n+t:t;if(!this._events[a])return this;if(!e)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var l=this._events[a];if(l.fn)l.fn!==e||i&&!l.once||r&&l.context!==r||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==e||i&&!l[s].once||r&&l[s].context!==r)&&u.push(l[s]);u.length?this._events[a]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=n,a.EventEmitter=a,"undefined"!==typeof t&&(t.exports=a)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(3),l=E(a),s=r(2),u=E(s),c=r(0),f=E(c),d=r(5),p=E(d),h=r(10),v=E(h),b=r(9),g=E(b),y=r(36),m=r(37),w=r(13),q=E(w),x=r(26),k=r(38),_=r(39),O=r(40);function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function N(t,e){if("function"!==typeof e&&null!==e)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 T=(0,v.default)("quill:clipboard"),C="__ql-matcher",P=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,Z],["br",V],[Node.ELEMENT_NODE,Z],[Node.ELEMENT_NODE,Y],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,J],["li",W],["b",F.bind(F,"bold")],["i",F.bind(F,"italic")],["style",K]],R=[y.AlignAttribute,k.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),L=[y.AlignStyle,m.BackgroundStyle,x.ColorStyle,k.DirectionStyle,_.FontStyle,O.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),I=function(t){function e(t,r){A(this,e);var n=S(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],P.concat(n.options.matchers).forEach((function(t){var e=o(t,2),i=e[0],a=e[1];(r.matchVisual||a!==G)&&n.addMatcher(i,a)})),n}return N(e,t),i(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[q.default.blotName]){var r=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(r,j({},q.default.blotName,e[q.default.blotName]))}var n=this.prepareMatching(),i=o(n,2),a=i[0],l=i[1],s=z(this.container,a,l);return U(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new u.default).retain(s.length()-1).delete(1))),T.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,p.default.sources.SILENT);else{var n=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(n),r),this.quill.setSelection(t+n.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var r=this.quill.getSelection(),n=(new u.default).retain(r.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(p.default.sources.SILENT),setTimeout((function(){n=n.concat(e.convert()).delete(r.length),e.quill.updateContents(n,p.default.sources.USER),e.quill.setSelection(n.length()-r.length,p.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],r=[];return this.matchers.forEach((function(n){var i=o(n,2),a=i[0],l=i[1];switch(a){case Node.TEXT_NODE:r.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[C]=t[C]||[],t[C].push(l)}));break}})),[e,r]}}]),e}(g.default);function M(t,e,r){return"object"===("undefined"===typeof e?"undefined":n(e))?Object.keys(e).reduce((function(t,r){return M(t,r,e[r])}),t):t.reduce((function(t,n){return n.attributes&&n.attributes[e]?t.push(n):t.insert(n.insert,(0,l.default)({},j({},e,r),n.attributes))}),new u.default)}function B(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function U(t,e){for(var r="",n=t.ops.length-1;n>=0&&r.length<e.length;--n){var o=t.ops[n];if("string"!==typeof o.insert)break;r=o.insert+r}return r.slice(-1*e.length)===e}function D(t){if(0===t.childNodes.length)return!1;var e=B(t);return["block","list-item"].indexOf(e.display)>-1}function z(t,e,r){return t.nodeType===t.TEXT_NODE?r.reduce((function(e,r){return r(t,e)}),new u.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(n,o){var i=z(o,e,r);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce((function(t,e){return e(o,t)}),i),i=(o[C]||[]).reduce((function(t,e){return e(o,t)}),i)),n.concat(i)}),new u.default):new u.default}function F(t,e,r){return M(r,t,!0)}function H(t,e){var r=f.default.Attributor.Attribute.keys(t),n=f.default.Attributor.Class.keys(t),o=f.default.Attributor.Style.keys(t),i={};return r.concat(n).concat(o).forEach((function(e){var r=f.default.query(e,f.default.Scope.ATTRIBUTE);null!=r&&(i[r.attrName]=r.value(t),i[r.attrName])||(r=R[e],null==r||r.attrName!==e&&r.keyName!==e||(i[r.attrName]=r.value(t)||void 0),r=L[e],null==r||r.attrName!==e&&r.keyName!==e||(r=L[e],i[r.attrName]=r.value(t)||void 0))})),Object.keys(i).length>0&&(e=M(e,i)),e}function Y(t,e){var r=f.default.query(t);if(null==r)return e;if(r.prototype instanceof f.default.Embed){var n={},o=r.value(t);null!=o&&(n[r.blotName]=o,e=(new u.default).insert(n,r.formats(t)))}else"function"===typeof r.formats&&(e=M(e,r.blotName,r.formats(t)));return e}function V(t,e){return U(e,"\n")||e.insert("\n"),e}function K(){return new u.default}function W(t,e){var r=f.default.query(t);if(null==r||"list-item"!==r.blotName||!U(e,"\n"))return e;var n=-1,o=t.parentNode;while(!o.classList.contains("ql-clipboard"))"list"===(f.default.query(o)||{}).blotName&&(n+=1),o=o.parentNode;return n<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:n}))}function Z(t,e){return U(e,"\n")||(D(t)||e.length()>0&&t.nextSibling&&D(t.nextSibling))&&e.insert("\n"),e}function G(t,e){if(D(t)&&null!=t.nextElementSibling&&!U(e,"\n\n")){var r=t.offsetHeight+parseFloat(B(t).marginTop)+parseFloat(B(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*r&&e.insert("\n")}return e}function J(t,e){var r={},n=t.style||{};return n.fontStyle&&"italic"===B(t).fontStyle&&(r.italic=!0),n.fontWeight&&(B(t).fontWeight.startsWith("bold")||parseInt(B(t).fontWeight)>=700)&&(r.bold=!0),Object.keys(r).length>0&&(e=M(e,r)),parseFloat(n.textIndent||0)>0&&(e=(new u.default).insert("\t").concat(e)),e}function X(t,e){var r=t.data;if("O:P"===t.parentNode.tagName)return e.insert(r.trim());if(0===r.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!B(t.parentNode).whiteSpace.startsWith("pre")){var n=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};r=r.replace(/\r\n/g," ").replace(/\n/g," "),r=r.replace(/\s\s+/g,n.bind(n,!0)),(null==t.previousSibling&&D(t.parentNode)||null!=t.previousSibling&&D(t.previousSibling))&&(r=r.replace(/^\s+/,n.bind(n,!1))),(null==t.nextSibling&&D(t.parentNode)||null!=t.nextSibling&&D(t.nextSibling))&&(r=r.replace(/\s+$/,n.bind(n,!1)))}return e.insert(r)}I.DEFAULTS={matchers:[],matchVisual:!0},e.default=I,e.matchAttributor=H,e.matchBlot=Y,e.matchNewline=Z,e.matchSpacing=G,e.matchText=X},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(a.default);f.blotName="bold",f.tagName=["STRONG","B"],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(2),a=v(i),l=r(0),s=v(l),u=r(5),c=v(u),f=r(10),d=v(f),p=r(9),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}function b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)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 w=(0,d.default)("quill:toolbar"),q=function(t){function e(t,r){g(this,e);var o,i=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if(Array.isArray(i.options.container)){var a=document.createElement("div");k(a,i.options.container),t.container.parentNode.insertBefore(a,t.container),i.container=a}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(t){i.addHandler(t,i.options.handlers[t])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(t){i.attach(t)})),i.quill.on(c.default.events.EDITOR_CHANGE,(function(t,e){t===c.default.events.SELECTION_CHANGE&&i.update(e)})),i.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var t=i.quill.selection.getRange(),e=n(t,1),r=e[0];i.update(r)})),i):(o=w.error("Container required for toolbar",i.options),y(i,o))}return m(e,t),o(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,r=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(r){if(r=r.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[r]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[r])return void w.warn("ignoring attaching to disabled format",r,t);if(null==s.default.query(r))return void w.warn("ignoring attaching to nonexistent format",r,t)}var o="SELECT"===t.tagName?"change":"click";t.addEventListener(o,(function(o){var i=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];i=!l.hasAttribute("selected")&&(l.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),o.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),f=n(u,1),d=f[0];if(null!=e.handlers[r])e.handlers[r].call(e,i);else if(s.default.query(r).prototype instanceof s.default.Embed){if(i=prompt("Enter "+r),!i)return;e.quill.updateContents((new a.default).retain(d.index).delete(d.length).insert(b({},r,i)),c.default.sources.USER)}else e.quill.format(r,i,c.default.sources.USER);e.update(d)})),this.controls.push([r,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(r){var o=n(r,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var l=void 0;if(null==t)l=null;else if(null==e[i])l=a.querySelector("option[selected]");else if(!Array.isArray(e[i])){var s=e[i];"string"===typeof s&&(s=s.replace(/\"/g,'\\"')),l=a.querySelector('option[value="'+s+'"]')}null==l?(a.value="",a.selectedIndex=-1):l.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=e[i]===a.getAttribute("value")||null!=e[i]&&e[i].toString()===a.getAttribute("value")||null==e[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=e[i])}))}}]),e}(h.default);function x(t,e,r){var n=document.createElement("button");n.setAttribute("type","button"),n.classList.add("ql-"+e),null!=r&&(n.value=r),t.appendChild(n)}function k(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var r=document.createElement("span");r.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)x(r,t);else{var e=Object.keys(t)[0],n=t[e];Array.isArray(n)?_(r,e,n):x(r,e,n)}})),t.appendChild(r)}))}function _(t,e,r){var n=document.createElement("select");n.classList.add("ql-"+e),r.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),n.appendChild(e)})),t.appendChild(n)}q.DEFAULTS={},q.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var r=this.quill.getFormat();Object.keys(r).forEach((function(e){null!=s.default.query(e,s.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,c.default.sources.USER)},direction:function(t){var e=this.quill.getFormat()["align"];"rtl"===t&&null==e?this.quill.format("align","right",c.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",t,c.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),r=this.quill.getFormat(e),n=parseInt(r.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===r.direction&&(o*=-1),this.quill.format("indent",n+o,c.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,c.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),r=this.quill.getFormat(e);"check"===t?"checked"===r["list"]||"unchecked"===r["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",t,c.default.sources.USER)}}},e.default=q,e.addControls=k},function(t,e){t.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(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(28),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(t,r){s(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.label.innerHTML=r,n.container.classList.add("ql-color-picker"),[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),n}return c(e,t),n(e,[{key:"buildItem",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return r.style.backgroundColor=t.getAttribute("value")||"",r}},{key:"selectItem",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,r);var n=this.label.querySelector(".ql-color-label"),i=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=i:n.style.fill=i)}}]),e}(a.default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(28),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(t,r){s(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=r[t.getAttribute("data-value")||""]})),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}return c(e,t),n(e,[{key:"selectItem",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,r),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(a.default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){var n=this;o(this,t),this.quill=e,this.boundsContainer=r||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"})),this.hide()}return n(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,r=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=r+"px",this.root.classList.remove("ql-flip");var n=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>n.right&&(i=n.right-o.right,this.root.style.left=e+i+"px"),o.left<n.left&&(i=n.left-o.left,this.root.style.left=e+i+"px"),o.bottom>n.bottom){var a=o.bottom-o.top,l=t.bottom-t.top+a;this.root.style.top=r-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(3),l=g(a),s=r(8),u=g(s),c=r(43),f=g(c),d=r(27),p=g(d),h=r(15),v=r(41),b=g(v);function g(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function w(t,e){if("function"!==typeof e&&null!==e)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 q=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],x=function(t){function e(t,r){y(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=q);var n=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-snow"),n}return w(e,t),i(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),b.default),this.tooltip=new k(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,r){t.handlers["link"].call(t,!r.format.link)}))}}]),e}(f.default);x.DEFAULTS=(0,l.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var r=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(r)&&0!==r.indexOf("mailto:")&&(r="mailto:"+r);var n=this.quill.theme.tooltip;n.edit("link",r)}else this.quill.format("link",!1)}}}}});var k=function(t){function e(t,r){y(this,e);var n=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.preview=n.root.querySelector("a.ql-preview"),n}return w(e,t),i(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var r=t.linkRange;t.restoreFocus(),t.quill.formatText(r,"link",!1,u.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(u.default.events.SELECTION_CHANGE,(function(e,r,o){if(null!=e){if(0===e.length&&o===u.default.sources.USER){var i=t.quill.scroll.descendant(p.default,e.index),a=n(i,2),l=a[0],s=a[1];if(null!=l){t.linkRange=new h.Range(e.index-s,l.length());var c=p.default.formats(l.domNode);return t.preview.textContent=c,t.preview.setAttribute("href",c),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(c.BaseTooltip);k.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(""),e.default=x},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(29),o=rt(n),i=r(36),a=r(38),l=r(64),s=r(65),u=rt(s),c=r(66),f=rt(c),d=r(67),p=rt(d),h=r(37),v=r(26),b=r(39),g=r(40),y=r(56),m=rt(y),w=r(68),q=rt(w),x=r(27),k=rt(x),_=r(69),O=rt(_),E=r(70),j=rt(E),A=r(71),S=rt(A),N=r(72),T=rt(N),C=r(73),P=rt(C),R=r(13),L=rt(R),I=r(74),M=rt(I),B=r(75),U=rt(B),D=r(57),z=rt(D),F=r(41),H=rt(F),Y=r(28),V=rt(Y),K=r(59),W=rt(K),Z=r(60),G=rt(Z),J=r(61),X=rt(J),$=r(108),Q=rt($),tt=r(62),et=rt(tt);function rt(t){return t&&t.__esModule?t:{default:t}}o.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":i.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":i.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),o.default.register({"formats/align":i.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":l.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":u.default,"formats/code-block":L.default,"formats/header":f.default,"formats/list":p.default,"formats/bold":m.default,"formats/code":R.Code,"formats/italic":q.default,"formats/link":k.default,"formats/script":O.default,"formats/strike":j.default,"formats/underline":S.default,"formats/image":T.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":M.default,"modules/syntax":U.default,"modules/toolbar":z.default,"themes/bubble":Q.default,"themes/snow":et.default,"ui/icons":H.default,"ui/picker":V.default,"ui/icon-picker":G.default,"ui/color-picker":W.default,"ui/tooltip":X.default},!0),e.default=o.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"add",value:function(t,r){if("+1"===r||"-1"===r){var n=this.value(t)||0;r="+1"===r?n+1:n-1}return 0===r?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,r)}},{key:"canAdd",value:function(t,r){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,r)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(r))}},{key:"value",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(a.default.Attributor.Class),d=new f("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="blockquote",u.tagName="blockquote",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(4),i=a(o);function a(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)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 c=function(t){function e(){return l(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),n(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(i.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=f(i),l=r(4),s=f(l),u=r(25),c=f(u);function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)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 b=function(t){function e(){return p(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return v(e,t),n(e,[{key:"format",value:function(t,r){t!==g.blotName||r?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,r){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,r),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,r))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(s.default);b.blotName="list-item",b.tagName="LI";var g=function(t){function e(t){p(this,e);var r=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),n=function(e){if(e.target.parentNode===t){var n=r.statics.formats(t),o=a.default.find(e.target);"checked"===n?o.format("list","unchecked"):"unchecked"===n&&o.format("list","checked")}};return t.addEventListener("touchstart",n),t.addEventListener("mousedown",n),r}return v(e,t),n(e,null,[{key:"create",value:function(t){var r="ordered"===t?"OL":"UL",n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return"checked"!==t&&"unchecked"!==t||n.setAttribute("data-checked","checked"===t),n}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),n(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,r){if(t instanceof b)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r);else{var n=null==r?this.length():r.offset(this),i=this.split(n);i.parent.insertBefore(t,i)}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&r.domNode.tagName===this.domNode.tagName&&r.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(r.moveChildren(this),r.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var r=a.default.create(this.statics.defaultChild);t.moveChildren(r),this.appendChild(r)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(c.default);g.blotName="list",g.scope=a.default.Scope.BLOCK_BLOT,g.tagName=["OL","UL"],g.defaultChild="list-item",g.allowedChildren=[b],e.ListItem=b,e.default=g},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(56),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="italic",u.tagName=["EM","I"],e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(a.default);f.blotName="script",f.tagName=["SUB","SUP"],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="strike",u.tagName="S",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="underline",u.tagName="U",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=s(i),l=r(27);function s(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)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 d=["alt","height","width"],p=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function(t,r){d.indexOf(t)>-1?r?this.domNode.setAttribute(t,r):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&r.setAttribute("src",this.sanitize(t)),r}},{key:"formats",value:function(t){return d.reduce((function(e,r){return t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.default.Embed);p.blotName="image",p.tagName="IMG",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(4),a=r(27),l=s(a);function s(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)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 d=["height","width"],p=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function(t,r){d.indexOf(t)>-1?r?this.domNode.setAttribute(t,r):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen",!0),r.setAttribute("src",this.sanitize(t)),r}},{key:"formats",value:function(t){return d.reduce((function(e,r){return t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(35),a=f(i),l=r(5),s=f(l),u=r(9),c=f(u);function f(t){return t&&t.__esModule?t:{default:t}}function d(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||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)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 v=function(t){function e(){return d(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),n(e,null,[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,r,{throwOnError:!1,errorColor:"#f00"}),r.setAttribute("data-value",t)),r}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(a.default);v.blotName="formula",v.className="ql-formula",v.tagName="SPAN";var b=function(t){function e(){d(this,e);var t=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),n(e,null,[{key:"register",value:function(){s.default.register(v,!0)}}]),e}(c.default);e.FormulaBlot=v,e.default=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=p(i),l=r(5),s=p(l),u=r(9),c=p(u),f=r(13),d=p(f);function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)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 g=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return b(e,t),n(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(d.default);g.className="ql-syntax";var y=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),m=function(t){function e(t,r){h(this,e);var n=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if("function"!==typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return n.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){n.highlight(),o=null}),n.options.interval)})),n.highlight(),n}return b(e,t),n(e,null,[{key:"register",value:function(){s.default.register(y,!0),s.default.register(g,!0)}}]),n(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(s.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(g).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(s.default.sources.SILENT),null!=e&&this.quill.setSelection(e,s.default.sources.SILENT)}}}]),e}(c.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=g,e.CodeToken=y,e.default=m},function(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var n=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(3),a=h(i),l=r(8),s=h(l),u=r(43),c=h(u),f=r(15),d=r(41),p=h(d);function h(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 b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)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 y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,r){v(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=y);var n=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-bubble"),n}return g(e,t),o(e,[{key:"extendToolbar",value:function(t){this.tooltip=new w(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]),e}(c.default);m.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var w=function(t){function e(t,r){v(this,e);var n=b(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,r,o){if(t===s.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===s.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var i=n.quill.getLines(e.index,e.length);if(1===i.length)n.position(n.quill.getBounds(e));else{var a=i[i.length-1],l=n.quill.getIndex(a),u=Math.min(a.length()-1,e.index+e.length-l),c=n.quill.getBounds(new f.Range(l,u));n.position(c)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()})),n}return g(e,t),o(e,[{key:"listen",value:function(){var t=this;n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var r=n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===r)return r;o.style.marginLeft=-1*r-o.offsetWidth/2+"px"}}]),e}(u.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(""),e.BubbleTooltip=w,e.default=m},function(t,e,r){t.exports=r(63)}])["default"]}))}).call(this,r("257d").Buffer)},"823a":function(t,e,r){"use strict";var n=r("82ac");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"82ac":function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},8596:function(t,e,r){"use strict";r.d(e,"x",(function(){return i})),r.d(e,"s",(function(){return a})),r.d(e,"t",(function(){return l})),r.d(e,"d",(function(){return s})),r.d(e,"w",(function(){return u})),r.d(e,"y",(function(){return c})),r.d(e,"q",(function(){return f})),r.d(e,"r",(function(){return d})),r.d(e,"e",(function(){return p})),r.d(e,"u",(function(){return h})),r.d(e,"g",(function(){return v})),r.d(e,"i",(function(){return b})),r.d(e,"p",(function(){return g})),r.d(e,"n",(function(){return y})),r.d(e,"o",(function(){return m})),r.d(e,"l",(function(){return w})),r.d(e,"j",(function(){return q})),r.d(e,"k",(function(){return x})),r.d(e,"z",(function(){return k})),r.d(e,"B",(function(){return _})),r.d(e,"v",(function(){return O})),r.d(e,"m",(function(){return E})),r.d(e,"h",(function(){return j})),r.d(e,"f",(function(){return A})),r.d(e,"a",(function(){return S})),r.d(e,"A",(function(){return N})),r.d(e,"b",(function(){return T})),r.d(e,"c",(function(){return C}));var n=r("c452"),o=(r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),b=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),g=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),m=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),w=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),q=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),j=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/role",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),N=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/removeRole",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("role");case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),C=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/saveLSS",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},"859e":function(t,e,r){"use strict";r("6fc6")},"8a5d":function(t,e,r){"use strict";var n=r("1464"),o=Object.prototype.toString;function i(t){return Array.isArray(t)}function a(t){return"undefined"===typeof t}function l(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function s(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"[object FormData]"===o.call(t)}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&s(t.buffer),e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===o.call(t)}function b(t){return"[object File]"===o.call(t)}function g(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function m(t){return p(t)&&y(t.pipe)}function w(t){return"[object URLSearchParams]"===o.call(t)}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function _(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=_(t[r],e):h(e)?t[r]=_({},e):i(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)k(arguments[r],e);return t}function O(t,e,r){return k(e,(function(e,o){t[o]=r&&"function"===typeof e?n(e,r):e})),t}function E(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:i,isArrayBuffer:s,isBuffer:l,isFormData:u,isArrayBufferView:c,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:a,isDate:v,isFile:b,isBlob:g,isFunction:y,isStream:m,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:k,merge:_,extend:O,trim:q,stripBOM:E}},"93f9":function(t,e,r){"use strict";var n=r("8a5d"),o=r("5cd4"),i=r("0323"),a=r("cc3a"),l=r("82ac");function s(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new l("canceled")}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return c}));var n=r("11ce"),o=r.n(n),i={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},a={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},l={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},s={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},c={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9c22":function(t,e,r){"use strict";var n=r("3cbe");t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9d84":function(t,e,r){var n=r("b03c"),o=r("c628"),i=r("3928"),a=r("9fbc"),l=r("24b3"),s=r("55d9"),u=l("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t]}})},"9e1e":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-11b8a85c]{position:fixed;top:30%;left:42%}.tableScroll[data-v-11b8a85c]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},a417:function(t,e,r){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},a884:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWUaG2SmZs9oG77PnWLV3Hy8r9iNdSJkY2jPAmojdYMe+1Arq5ZnuzAhi6h5SV3OXjBuV1A8MM8IAXfpqcm9oqeoZpKuhirybhaiL71J8p5LCggLU1a1i3SBt9+9w62YRN0orKSmvIP92Edm1Y/j76WzWkV+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGUVUDxWFebDvlhXOOngePOkUdME8WAsyRuf/cRGZ2Nqnp6Xyg2MlLu06K9j1j/NL4DLA2su0Pstw5ieTGAYbkWcN8ZYIrC98+RuDDHoGhG312AOt+voXjui7qsy+zddEnzDkRhm9oNF6ujiw/5M05fQv3Es+yZuFqFjhFERgSgdLRgRWOQUS0i9rWWIrqjBu7PEI4GxTAvx288Ukro+JWJJ9t2Mzb60+y59QlvEPiCFIeZtnmE+wOSCJNW0vziPzVvqUsJsP+IIDdysnlfs09Tjk58eZHK5EOuIt2P+dpWAaPt4fVqVGccMPeX4W/KodMkQ39hpvTf52t81wJfdgt8sugcs7P3oNTjdjfRppJ2G6DTdFoAAZ60Xoo+OG5Eoa7qgnZqWBbpRxrrSXGaTe/9M+iKM6Dvx5ORT8aGKQ+4wpf2rlxproKXz83/uhT8LgU10b5YO8ZTGS7PGGmLAPYXiW/MZREHx+USiVrbW15a9H7SEs/RnIOEU2I4XxmkmnjNh1CQw8oSQhGYefAv74KILSyGzrS2CIDM76YKObs7N0yMD1Xt9rwecFoQHQI/bRcd+WVHTHoeu4StE3BljtyrK+ZHJU7b9r64uu7nzlqk8+vy0Ppc5pVV9IJDPBkSUARvaOBIXRR3uxxCSGidXTCbFkGMHsnfrLkLyxavoI3Zs3mlXdm8dKfBax/rEc66iMA5T5dGicC9lgtZB5W8DOvfBobU1DMdyXs/wWW4car+1No6q7gkimw/mZuJXjy0y8u4ue9jzkZXXJASK/BxVfJqshUAcyDJf5F8l71XQRm6BLtXfje7xbx8p+WIS1YivTOb5G2HzV2i36i+YjIF+u/CVgLRVnVPGrtk8dCVw/yhkcG+oZ4FL93JrhprCRq8Z1th7v+CTCb0tGAKIl96ALt+UV4LXSWjwLbPvaGqa2etAtHWRxWQH7wceY55zL2aY80aRw+7oFDqZbzfu586F8sxwapivDCzi2YqO9MSYwUwI6fR1qtEAdnN6Tdp5HmLERab2fsElUlT9aP+Rlg9wk/6M4Rv3iScjVkZlzjjJMzh3If0jNQzoU1+1gZkk5qjgZ1TghfzNzAmtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="},aa01:function(t,e,r){"use strict";var n=r("fccd");t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},ace5:function(t,e,r){"use strict";var n=r("74cb").forEach,o=r("d04f"),i=o("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},b03f:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t._m(0),t.renderReady?n("div",{staticClass:"w-full mt-4"},[t.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.taskDetails?n("div",{staticClass:"max-w-4xl m-auto shadow p-5 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Name ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.task_name,expression:"taskDetails.task_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.task_name},on:{input:function(e){e.target.composing||t.$set(t.taskDetails,"task_name",e.target.value)}}})]),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Description ")]),n("vue-editor",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",model:{value:t.taskDetails.description,callback:function(e){t.$set(t.taskDetails,"description",e)},expression:"taskDetails.description"}})],1),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Use Weighted Values? ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_weighted,expression:"taskDetails.is_weighted"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.taskDetails,"is_weighted",e.target.multiple?r:r[0])}}},[n("option"),n("option",{attrs:{value:"false"}},[t._v("No")]),n("option",{attrs:{value:"true"}},[t._v("Yes")])])]),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Type ")]),n("input",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",disabled:""},domProps:{value:t.taskDetails.task_type}})]),t._l(t.taskDetails.task_questions,(function(e,r){return n("div",{key:r,staticClass:"w-full p-2 bg-gray-100"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Checklist "+t._s(r+1)+" ")]),n("textarea",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},domProps:{value:e.text}})]),n("div",{staticClass:"flex"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Question Type ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.type,expression:"question.type"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(r){var n=Array.prototype.filter.call(r.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(e,"type",r.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Yes/No"}},[t._v("Yes/No")]),n("option",{attrs:{value:"Scale"}},[t._v("Scale")])])])])])})),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{path:"taskManagement"}}},[t._v(" Back ")]),t.showUpdate?n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.updateRecord()}}},[t._v("Update")]):t._e()],1)],2)]):t._e()]):t._e(),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl -text-blue-900"},[t._v("Task Details")])])}],i=r("c452"),a=(r("7ebd"),r("dc62"),r("699e"),r("833b"),r("4687")),l=r("3c08"),s=r("1dba"),u=r.n(s),c=r("3212"),f=r("8596"),d=Object(a["b"])({name:"TaskDetails",components:{VueEditor:l["a"]},props:{query:{type:Object,default:function(){return{}}}},setup:function(t){var e=Object(a["f"])(!0),r=Object(a["f"])(!0),n=Object(a["f"])(),o=Object(a["f"])(),l=Object(a["f"])(t.query.task_id),s=Object(a["f"])(!0),d=Object(a["f"])(),p=Object(a["f"])(!1),h=Object(a["f"])(),v=Object(a["f"])(!1),b=Object(a["f"])({}),g=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s.value=!1,t.next=3,Object(c["a"])(l.value);case 3:d.value=t.sent,console.log("Task Response",d.value),s.value=!0;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e,r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,console.log("inside updateRecord task details ".concat(JSON.stringify(d.value))),t.next=4,Object(c["g"])(d.value);case 4:r=t.sent,h.value=null===(e=r.data)||void 0===e?void 0:e.message,s.value=!0,p.value=!0,window.scroll(0,0),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](0),u.a.isAxiosError(t.t0)&&(o=t.t0,s.value=!0,h.value=null===(n=o.response)||void 0===n?void 0:n.data.message,v.value=!0,setTimeout((function(){v.value=!1}),2e3));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(f["f"])("/getUserRole");case 2:return i=t.sent,n.value=i.user_roles,o.value=i.user_key,n.value.length>0&&(n.value.includes("System Admin")||n.value.includes("System Admin View Access")||n.value.includes("Community Manager")||n.value.includes("Program Admin")?(r.value=!0,e.value=!0):(r.value=!1,e.value=!1),n.value.includes("System Admin View Access")&&(e.value=!0,r.value=!1)),t.next=8,g();case 8:case"end":return t.stop()}}),t)})))),{taskId:l,renderReady:s,taskDetails:d,updateRecord:y,showSuccessMessage:p,resMessage:h,showErrorMessage:v,showUpdate:r,editorConfig:b,showScreen:e}}}),p=d,h=(r("de59"),r("b709")),v=Object(h["a"])(p,n,o,!1,null,"08453404",null);e["default"]=v.exports},b719:function(t,e,r){var n=r("3a85");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("c69b").default;o("786c109e",n,!0,{sourceMap:!1,shadowMode:!1})},b833:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(e){return t.getSelectedSkill(e)}}},[n("option",[t._v("Select Skill")]),t._l(t.skills,(function(e){return n("option",{key:e.skill_id,domProps:{value:e.skill_id}},[t._v(t._s(e.skill_alias))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(e){return t.getSelectedProficiency(e)}}},[n("option",[t._v("Select Proficiency")]),t._l(t.proficiency,(function(e){return n("option",{key:e.prof_id,domProps:{value:e.prof_id}},[t._v(t._s(e.prof_name))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Threshold Value ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.threshold,expression:"threshold"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",pattern:"^[0-9]*$"},domProps:{value:t.threshold},on:{input:function(e){e.target.composing||(t.threshold=e.target.value)}}}),t.numErrMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.numErrMessage))]):t._e()]),n("div",{staticClass:"w-full mb-4"},[n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReport()}}},[t._v("Submit")])])]),t.successMessage?n("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),t.errorMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e()])]),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Harvest Report")])])}],i=r("c452"),a=(r("833b"),r("5775"),r("d46f"),r("dc62"),r("699e"),r("4687")),l=r("8596"),s=r("d292"),u=Object(a["b"])({name:"AssignProxy",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(),r=Object(a["f"])(),n=Object(a["f"])(),o=Object(a["f"])(),u=Object(a["f"])(),c=Object(a["f"])(),f=Object(a["f"])(),d=Object(a["f"])(),p=Object(a["f"])(),h=Object(a["f"])(!0),v=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(void 0!==n.value){t.next=5;break}c.value="Select Skill",setTimeout((function(){c.value=null}),6e3),t.next=15;break;case 5:if(/^[0-9]+$/.test(d.value)){t.next=10;break}p.value="Enter only Number",setTimeout((function(){p.value=null}),6e3),t.next=15;break;case 10:return e={skill_id:n.value,proficiency_id:o.value,threshold:d.value},t.next=13,Object(s["a"])("/admin/report/harvestLJ",e);case 13:f.value="The harvesting report is being processed. You should get that over email in next 15 minutes",setTimeout((function(){f.value=null}),6e3);case 15:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var n=Object(i["a"])(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r.value=!1,n.next=3,Object(s["c"])("/getAllSkillProf ");case 3:o=n.sent,t.value=o.skill,e.value=o.proficiency,r.value=!0;case 7:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),g=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n.value=e.target.value;case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:o.value=e.target.value,"Select Proficiency"===o.value&&(o.value="");case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(l["f"])("/getUserRole");case 2:e=t.sent,u.value=e.user_roles,u.value.length>0&&(console.log("inside length"),u.value.includes("System Admin")||u.value.includes("Proxy Admin")||u.value.includes("Community Manager")?(h.value=!0,b()):h.value=!1);case 5:case"end":return t.stop()}}),t)})))),{skills:t,proficiency:e,renderReady:r,getSelectedSkill:g,getSelectedProficiency:y,getSkillandProf:b,showScreen:h,triggerReport:v,errorMessage:c,successMessage:f,threshold:d,numErrMessage:p}}}),c=u,f=(r("4a3b"),r("b709")),d=Object(f["a"])(c,n,o,!1,null,"4d493caa",null);e["default"]=d.exports},bedc:function(t,e,r){var n=r("5e90"),o=r("3514"),i=r("77ab"),a=r("8f67"),l=n.Array,s=Math.max;t.exports=function(t,e,r){for(var n=i(t),u=o(e,n),c=o(void 0===r?n:r,n),f=l(s(c-u,0)),d=0;u<c;u++,d++)a(f,d,t[u]);return f.length=d,f}},c199:function(t,e,r){var n=r("384e"),o=r("c628"),i=r("0a21"),a=r("617a").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},c279:function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},c3fd:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"admin"},[t.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[r("div",{staticClass:"flex w-full mt-6"},[r("div",{staticClass:"w-full mb-4"},[r("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReviewerReport()}}},[t._v("Trigger Need Reviewer Report")])])]),t.successMessage?r("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e()])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Need Reviewer Report")])])}],i=r("c452"),a=(r("dc62"),r("699e"),r("833b"),r("4687")),l=r("8596"),s=r("d292"),u=Object(a["b"])({name:"ReviewerReport",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(),r=Object(a["f"])(),n=Object(a["f"])(!0),o=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(s["b"])("/admin/report/NR");case 2:r.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout((function(){r.value=null}),6e3);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["f"])("/getUserRole");case 2:r=e.sent,t.value=r.user_roles,t.value.length>0&&(console.log("inside length"),t.value.includes("System Admin")||t.value.includes("Proxy Admin")||t.value.includes("Community Manager")?n.value=!0:n.value=!1);case 5:case"end":return e.stop()}}),e)})))),{showScreen:n,triggerReviewerReport:o,errorMessage:e,successMessage:r}}}),c=u,f=(r("3348"),r("b709")),d=Object(f["a"])(c,n,o,!1,null,"11b8a85c",null);e["default"]=d.exports},c440:function(t,e,r){r("dcde"),r("1422"),r("9d84"),r("7ebd"),r("359b")},ca4a:function(t,e,r){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=v;for(var n=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,s=a.length;l<s;++l)n[l]=a[l],o[a.charCodeAt(l)]=l;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function c(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function f(t,e,r){return 3*(e+r)/4-r}function d(t){var e,r,n=u(t),a=n[0],l=n[1],s=new i(f(t,a,l)),c=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===l&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,s[c++]=255&e),1===l&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function h(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(p(n));return o.join("")}function v(t){for(var e,r=t.length,o=r%3,i=[],a=16383,l=0,s=r-o;l<s;l+=a)i.push(h(t,l,l+a>s?s:l+a));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},cad9:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){r=e+1;break}}else-1===n&&(o=!1,n=e+1);return-1===n?"":t.slice(r,n)}function o(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return e=r(o(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),a="/"===i(t,-1);return t=r(o(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&a&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var o=n(t.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),l=a,s=0;s<a;s++)if(o[s]!==i[s]){l=s;break}var u=[];for(s=l;s<o.length;s++)u.push("..");return u=u.concat(i.slice(l)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47!==l)-1===n&&(o=!1,n=a+1),46===l?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){r=a+1;break}}return-1===e||-1===n||0===i||1===i&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("0418"))},cc3a:function(t,e,r){"use strict";(function(e){var n=r("8a5d"),o=r("386e"),i=r("a417"),a={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=r("e50c")),t}function u(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:s(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(l(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(a){if("SyntaxError"===l.name)throw i(l,this,"E_JSON_PARSE");throw l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r("0418"))},cf00:function(t,e,r){var n=r("b03c"),o=r("1463"),i=r("c760"),a=r("5128"),l=r("c3e2"),s=r("8f67");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=a(t),o=l.f,u=i(n),c={},f=0;while(u.length>f)r=o(n,e=u[f++]),void 0!==r&&s(c,e,r);return c}})},d04f:function(t,e,r){"use strict";var n=r("cf27");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},d292:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return l}));var n=r("c452"),o=(r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},d46f:function(t,e,r){"use strict";r("5775");var n=r("b03c"),o=r("5e90"),i=r("4326"),a=r("fda0"),l=r("1ed7"),s=r("e80b"),u=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),c=o.Error,f=a(/./.test);n({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=this.exec;if(!l(e))return f(this,t);var r=i(e,this,t);if(null!==r&&!s(r))throw new c("RegExp exec method returned something other than an Object or null");return!!r}})},d634:function(t,e,r){var n=r("4326"),o=r("7924"),i=r("2599"),a=r("2656");t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,l=i("toPrimitive");e&&!e[l]&&a(e,l,(function(t){return n(r,this)}),{arity:1})}},dcde:function(t,e,r){"use strict";var n=r("b03c"),o=r("5e90"),i=r("4326"),a=r("fda0"),l=r("5913"),s=r("1463"),u=r("0f03"),c=r("cf27"),f=r("c628"),d=r("2e8c"),p=r("3cbe"),h=r("5128"),v=r("c96e"),b=r("c6e5"),g=r("12a7"),y=r("4f5f"),m=r("aff6"),w=r("97a7"),q=r("70ad"),x=r("6342"),k=r("c3e2"),_=r("617a"),O=r("ec8d"),E=r("529a"),j=r("2656"),A=r("24b3"),S=r("dbf2"),N=r("ea6e"),T=r("2ea3"),C=r("2599"),P=r("0a21"),R=r("c199"),L=r("d634"),I=r("3f19"),M=r("89c4"),B=r("74cb").forEach,U=S("hidden"),D="Symbol",z="prototype",F=M.set,H=M.getterFor(D),Y=Object[z],V=o.Symbol,K=V&&V[z],W=o.TypeError,Z=o.QObject,G=k.f,J=_.f,X=q.f,$=E.f,Q=a([].push),tt=A("symbols"),et=A("op-symbols"),rt=A("wks"),nt=!Z||!Z[z]||!Z[z].findChild,ot=s&&c((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(Y,e);n&&delete Y[e],J(t,e,r),n&&t!==Y&&J(Y,e,n)}:J,it=function(t,e){var r=tt[t]=y(K);return F(r,{type:D,tag:t,description:e}),s||(r.description=e),r},at=function(t,e,r){t===Y&&at(et,e,r),p(t);var n=v(e);return p(r),f(tt,n)?(r.enumerable?(f(t,U)&&t[U][n]&&(t[U][n]=!1),r=y(r,{enumerable:g(0,!1)})):(f(t,U)||J(t,U,g(1,{})),t[U][n]=!0),ot(t,n,r)):J(t,n,r)},lt=function(t,e){p(t);var r=h(e),n=m(r).concat(dt(r));return B(n,(function(e){s&&!i(ut,r,e)||at(t,e,r[e])})),t},st=function(t,e){return void 0===e?y(t):lt(y(t),e)},ut=function(t){var e=v(t),r=i($,this,e);return!(this===Y&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,U)&&this[U][e])||r)},ct=function(t,e){var r=h(t),n=v(e);if(r!==Y||!f(tt,n)||f(et,n)){var o=G(r,n);return!o||!f(tt,n)||f(r,U)&&r[U][n]||(o.enumerable=!0),o}},ft=function(t){var e=X(h(t)),r=[];return B(e,(function(t){f(tt,t)||f(N,t)||Q(r,t)})),r},dt=function(t){var e=t===Y,r=X(e?et:h(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(Y,t)||Q(n,tt[t])})),n};u||(V=function(){if(d(K,this))throw W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=T(t),r=function(t){this===Y&&i(r,et,t),f(this,U)&&f(this[U],e)&&(this[U][e]=!1),ot(this,e,g(1,t))};return s&&nt&&ot(Y,e,{configurable:!0,set:r}),it(e,t)},K=V[z],j(K,"toString",(function(){return H(this).tag})),j(V,"withoutSetter",(function(t){return it(T(t),t)})),E.f=ut,_.f=at,O.f=lt,k.f=ct,w.f=q.f=ft,x.f=dt,P.f=function(t){return it(C(t),t)},s&&(J(K,"description",{configurable:!0,get:function(){return H(this).description}}),l||j(Y,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),B(m(rt),(function(t){R(t)})),n({target:D,stat:!0,forced:!u},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:at,defineProperties:lt,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft}),L(),I(V,D),N[U]=!0},de59:function(t,e,r){"use strict";r("b719")},e2d3:function(t,e,r){var n=r("cf27"),o=r("5e90"),i=o.RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},e50c:function(t,e,r){"use strict";var n=r("8a5d"),o=r("aa01"),i=r("2998"),a=r("3884"),l=r("639e"),s=r("4af6"),u=r("7f31"),c=r("fccd"),f=r("cc3a"),d=r("82ac");t.exports=function(t){return new Promise((function(e,r){var p,h=t.data,v=t.headers,b=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}n.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(m+":"+w)}var q=l(t.baseURL,t.url);function x(){if(y){var n="getAllResponseHeaders"in y?s(y.getAllResponseHeaders()):null,i=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};o((function(t){e(t),g()}),(function(t){r(t),g()}),a),y=null}}if(y.open(t.method.toUpperCase(),a(q,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(x)},y.onabort=function(){y&&(r(c("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(c("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(c(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var k=(t.withCredentials||u(q))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;k&&(v[t.xsrfHeaderName]=k)}"setRequestHeader"in y&&n.forEach(v,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),b&&"json"!==b&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(r(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},f22d:function(t,e,r){var n=r("bedc"),o=Math.floor,i=function(t,e){var r=t.length,s=o(r/2);return r<8?a(t,e):l(t,i(n(t,0,s),e),i(n(t,s),e),e)},a=function(t,e){var r,n,o=t.length,i=1;while(i<o){n=i,r=t[i];while(n&&e(t[n-1],r)>0)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},l=function(t,e,r,n){var o=e.length,i=r.length,a=0,l=0;while(a<o||l<i)t[a+l]=a<o&&l<i?n(e[a],r[l])<=0?e[a++]:r[l++]:a<o?e[a++]:r[l++];return t};t.exports=i},f249:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},f568:function(t,e,r){"use strict";r.r(e);var n,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[n("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[t.renderReady?[t.showErrorMessage?t._e():[n("div",{staticClass:"flex"},[n("div",{staticClass:"w-full pt-12"},[t.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t._m(0),n("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[n("div",{staticClass:"block mt-4"},[n("div",{staticClass:"text-gray-600"},[n("div",["infinity"===t.programId?n("p",[t._v(" Proficiency: "),n("strong",[t._v(t._s(t.profName))])]):t._e(),"infinity"===t.programId?n("p",{staticClass:"pt-2"},[t._v(" Skill: "),n("strong",[t._v(t._s(t.skill))])]):t._e(),"infinity"!==t.programId?n("p",{staticClass:"pt-2"},[t._v(" Program: "),n("strong",[t._v(t._s(t.programName))])]):t._e(),n("p",{staticClass:"pt-2"},[n("strong",[t._v("Task Name: ")]),t._v(t._s(t.taskName))])]),"Desktop"===t.taskType?n("div",{staticClass:"mt-4"},[t._m(1),n("p",{staticClass:"pt-1"},[t._v("Maximum file size: 200 MB")]),n("div",{staticClass:"flex"},[n("input",{key:t.fileInputKey,attrs:{type:"file"},on:{change:t.selectedFile}}),t._v(" "),t.learnerSubmission?n("x-icon",{attrs:{size:"1.5x"},on:{click:function(e){return t.clearFile()}}}):t._e()],1)]):t._e(),"Mobile"===t.taskType?n("div",{staticClass:"pt-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:t.learnerSubmission},on:{input:function(e){e.target.composing||(t.learnerSubmission=e.target.value)}}})]):t._e(),t.fileValidationMsg?n("span",{staticClass:"text-red-700"},[t._v(t._s(t.fileValidationMsg))]):t._e()])]),n("div",{staticClass:"block text-center pt-12"},[t._m(2),n("div",{staticClass:"mb-4 text-center"},[n("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationTaskManagement"}}},[t._v("Back")]),n("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:t.submitSubmiision}},[t._v("Submit Task")])],1)])])])])],t.showErrorMessage?n("ErrorMessage",{attrs:{"error-message":t.errorResponse}}):t._e()]:t._e(),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2)])},i=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[r("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[t._v("Create Off-Cycle Task")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("p",{staticClass:"pt-2"},[r("strong",[t._v("Upload the file to create off-cycle task")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pt-4"},[r("p",{staticClass:"text-xl"},[r("em",[t._v("Please don't click the browser back button")])])])}],a=r("c452"),l=(r("523f"),r("833b"),r("4687")),s=r("949b"),u=r("1dba"),c=r.n(u),f=new Uint8Array(16);function d(){if(!n&&(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(f)}var p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function h(t){return"string"===typeof t&&p.test(t)}for(var v=h,b=[],g=0;g<256;++g)b.push((g+256).toString(16).substr(1));function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(b[t[e+0]]+b[t[e+1]]+b[t[e+2]]+b[t[e+3]]+"-"+b[t[e+4]]+b[t[e+5]]+"-"+b[t[e+6]]+b[t[e+7]]+"-"+b[t[e+8]]+b[t[e+9]]+"-"+b[t[e+10]]+b[t[e+11]]+b[t[e+12]]+b[t[e+13]]+b[t[e+14]]+b[t[e+15]]).toLowerCase();if(!v(r))throw TypeError("Stringified UUID is invalid");return r}var m,w,q=y,x=0,k=0;function _(t,e,r){var n=e&&r||0,o=e||new Array(16);t=t||{};var i=t.node||m,a=void 0!==t.clockseq?t.clockseq:w;if(null==i||null==a){var l=t.random||(t.rng||d)();null==i&&(i=m=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==a&&(a=w=16383&(l[6]<<8|l[7]))}var s=void 0!==t.msecs?t.msecs:Date.now(),u=void 0!==t.nsecs?t.nsecs:k+1,c=s-x+(u-k)/1e4;if(c<0&&void 0===t.clockseq&&(a=a+1&16383),(c<0||s>x)&&void 0===t.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");x=s,k=u,w=a,s+=122192928e5;var f=(1e4*(268435455&s)+u)%4294967296;o[n++]=f>>>24&255,o[n++]=f>>>16&255,o[n++]=f>>>8&255,o[n++]=255&f;var p=s/4294967296*1e4&268435455;o[n++]=p>>>8&255,o[n++]=255&p,o[n++]=p>>>24&15|16,o[n++]=p>>>16&255,o[n++]=a>>>8|128,o[n++]=255&a;for(var h=0;h<6;++h)o[n+h]=i[h];return e||q(o)}var O=_;function E(t){if(!v(t))throw TypeError("Invalid UUID");var e,r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r}var j=E;function A(t){t=unescape(encodeURIComponent(t));for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}var S="6ba7b810-9dad-11d1-80b4-00c04fd430c8",N="6ba7b811-9dad-11d1-80b4-00c04fd430c8",T=function(t,e,r){function n(t,n,o,i){if("string"===typeof t&&(t=A(t)),"string"===typeof n&&(n=j(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+t.length);if(a.set(n),a.set(t,n.length),a=r(a),a[6]=15&a[6]|e,a[8]=63&a[8]|128,o){i=i||0;for(var l=0;l<16;++l)o[i+l]=a[l];return o}return q(a)}try{n.name=t}catch(o){}return n.DNS=S,n.URL=N,n};function C(t){if("string"===typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)}return P(L(I(t),8*t.length))}function P(t){for(var e=[],r=32*t.length,n="0123456789abcdef",o=0;o<r;o+=8){var i=t[o>>5]>>>o%32&255,a=parseInt(n.charAt(i>>>4&15)+n.charAt(15&i),16);e.push(a)}return e}function R(t){return 14+(t+64>>>9<<4)+1}function L(t,e){t[e>>5]|=128<<e%32,t[R(e)-1]=e;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,a=0;a<t.length;a+=16){var l=r,s=n,u=o,c=i;r=D(r,n,o,i,t[a],7,-680876936),i=D(i,r,n,o,t[a+1],12,-389564586),o=D(o,i,r,n,t[a+2],17,606105819),n=D(n,o,i,r,t[a+3],22,-1044525330),r=D(r,n,o,i,t[a+4],7,-176418897),i=D(i,r,n,o,t[a+5],12,1200080426),o=D(o,i,r,n,t[a+6],17,-1473231341),n=D(n,o,i,r,t[a+7],22,-45705983),r=D(r,n,o,i,t[a+8],7,1770035416),i=D(i,r,n,o,t[a+9],12,-1958414417),o=D(o,i,r,n,t[a+10],17,-42063),n=D(n,o,i,r,t[a+11],22,-1990404162),r=D(r,n,o,i,t[a+12],7,1804603682),i=D(i,r,n,o,t[a+13],12,-40341101),o=D(o,i,r,n,t[a+14],17,-1502002290),n=D(n,o,i,r,t[a+15],22,1236535329),r=z(r,n,o,i,t[a+1],5,-165796510),i=z(i,r,n,o,t[a+6],9,-1069501632),o=z(o,i,r,n,t[a+11],14,643717713),n=z(n,o,i,r,t[a],20,-373897302),r=z(r,n,o,i,t[a+5],5,-701558691),i=z(i,r,n,o,t[a+10],9,38016083),o=z(o,i,r,n,t[a+15],14,-660478335),n=z(n,o,i,r,t[a+4],20,-405537848),r=z(r,n,o,i,t[a+9],5,568446438),i=z(i,r,n,o,t[a+14],9,-1019803690),o=z(o,i,r,n,t[a+3],14,-187363961),n=z(n,o,i,r,t[a+8],20,1163531501),r=z(r,n,o,i,t[a+13],5,-1444681467),i=z(i,r,n,o,t[a+2],9,-51403784),o=z(o,i,r,n,t[a+7],14,1735328473),n=z(n,o,i,r,t[a+12],20,-1926607734),r=F(r,n,o,i,t[a+5],4,-378558),i=F(i,r,n,o,t[a+8],11,-2022574463),o=F(o,i,r,n,t[a+11],16,1839030562),n=F(n,o,i,r,t[a+14],23,-35309556),r=F(r,n,o,i,t[a+1],4,-1530992060),i=F(i,r,n,o,t[a+4],11,1272893353),o=F(o,i,r,n,t[a+7],16,-155497632),n=F(n,o,i,r,t[a+10],23,-1094730640),r=F(r,n,o,i,t[a+13],4,681279174),i=F(i,r,n,o,t[a],11,-358537222),o=F(o,i,r,n,t[a+3],16,-722521979),n=F(n,o,i,r,t[a+6],23,76029189),r=F(r,n,o,i,t[a+9],4,-640364487),i=F(i,r,n,o,t[a+12],11,-421815835),o=F(o,i,r,n,t[a+15],16,530742520),n=F(n,o,i,r,t[a+2],23,-995338651),r=H(r,n,o,i,t[a],6,-198630844),i=H(i,r,n,o,t[a+7],10,1126891415),o=H(o,i,r,n,t[a+14],15,-1416354905),n=H(n,o,i,r,t[a+5],21,-57434055),r=H(r,n,o,i,t[a+12],6,1700485571),i=H(i,r,n,o,t[a+3],10,-1894986606),o=H(o,i,r,n,t[a+10],15,-1051523),n=H(n,o,i,r,t[a+1],21,-2054922799),r=H(r,n,o,i,t[a+8],6,1873313359),i=H(i,r,n,o,t[a+15],10,-30611744),o=H(o,i,r,n,t[a+6],15,-1560198380),n=H(n,o,i,r,t[a+13],21,1309151649),r=H(r,n,o,i,t[a+4],6,-145523070),i=H(i,r,n,o,t[a+11],10,-1120210379),o=H(o,i,r,n,t[a+2],15,718787259),n=H(n,o,i,r,t[a+9],21,-343485551),r=M(r,l),n=M(n,s),o=M(o,u),i=M(i,c)}return[r,n,o,i]}function I(t){if(0===t.length)return[];for(var e=8*t.length,r=new Uint32Array(R(e)),n=0;n<e;n+=8)r[n>>5]|=(255&t[n/8])<<n%32;return r}function M(t,e){var r=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(r>>16);return n<<16|65535&r}function B(t,e){return t<<e|t>>>32-e}function U(t,e,r,n,o,i){return M(B(M(M(e,t),M(n,i)),o),r)}function D(t,e,r,n,o,i,a){return U(e&r|~e&n,t,e,o,i,a)}function z(t,e,r,n,o,i,a){return U(e&n|r&~n,t,e,o,i,a)}function F(t,e,r,n,o,i,a){return U(e^r^n,t,e,o,i,a)}function H(t,e,r,n,o,i,a){return U(r^(e|~n),t,e,o,i,a)}var Y=C,V=T("v3",48,Y),K=V;function W(t,e,r){t=t||{};var n=t.random||(t.rng||d)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(var o=0;o<16;++o)e[r+o]=n[o];return e}return q(n)}var Z=W;function G(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function J(t,e){return t<<e|t>>>32-e}function X(t){var e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof t){var n=unescape(encodeURIComponent(t));t=[];for(var o=0;o<n.length;++o)t.push(n.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var i=t.length/4+2,a=Math.ceil(i/16),l=new Array(a),s=0;s<a;++s){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=t[64*s+4*c]<<24|t[64*s+4*c+1]<<16|t[64*s+4*c+2]<<8|t[64*s+4*c+3];l[s]=u}l[a-1][14]=8*(t.length-1)/Math.pow(2,32),l[a-1][14]=Math.floor(l[a-1][14]),l[a-1][15]=8*(t.length-1)&4294967295;for(var f=0;f<a;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=l[f][p];for(var h=16;h<80;++h)d[h]=J(d[h-3]^d[h-8]^d[h-14]^d[h-16],1);for(var v=r[0],b=r[1],g=r[2],y=r[3],m=r[4],w=0;w<80;++w){var q=Math.floor(w/20),x=J(v,5)+G(q,b,g,y)+m+e[q]+d[w]>>>0;m=y,y=g,g=J(b,30)>>>0,b=v,v=x}r[0]=r[0]+v>>>0,r[1]=r[1]+b>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+m>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var $=X,Q=T("v5",80,$),tt=Q,et={v1:O,v3:K,v4:Z,v5:tt};var rt=r("afbc"),nt=r("675e"),ot=r("26fa"),it=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ot["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),at=r("2390"),lt=Object(l["b"])({name:"LearnerSubmitTask",components:{XIcon:s["f"],ErrorMessage:at["a"]},setup:function(){var t=Object(l["f"])(localStorage.getItem("linkedTaskId")),e=Object(l["f"])(et.v1()),r=Object(l["f"])(localStorage.getItem("programId")),n=Object(l["f"])(localStorage.getItem("programName")),o=Object(l["f"])(localStorage.getItem("skillId")),i=Object(l["f"])(localStorage.getItem("proficiencyId")),s=Object(l["f"])(localStorage.getItem("skillName")),u=Object(l["f"])(localStorage.getItem("proficiencyName")),f=Object(l["f"])(localStorage.getItem("taskName")),d=Object(l["f"])(localStorage.getItem("taskType")),p=Object(l["f"])(null),h=Object(l["f"])(),v=Object(l["f"])(),b=Object(l["f"])(),g=Object(l["f"])(!0),y=Object(l["f"])(),m=Object(l["f"])(0),w=Object(l["f"])(!1),q=Object(l["f"])(),x=Object(l["f"])(!1),k=Object(l["f"])(),_=Object(l["f"])(!1),O=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:m.value+=1,console.log("before ".concat(v.value)),v.value=null,console.log("after ".concat(v.value));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),E=function(t){var e=t.target.checked;!0===e?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},j=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){var r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{p.value=e.target.files[0],v.value=e.target.files[0].name,r=e.target.files[0].size/1024/1024,r>200&&(h.value="fileSize greater than 200 MB")}catch(i){console.log(i),w.value=!0,c.a.isAxiosError(i)?(o=i,q.value=null===(n=o.response)||void 0===n?void 0:n.data.message):q.value="Something went wrong, please contact helpmate.",_.value=!0}case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(){var n=Object(a["a"])(regeneratorRuntime.mark((function n(){var a,l,s,u,f,g,y,m;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(n.prev=0,w.value=!1,v.value){n.next=6;break}"Mobile"===d.value?(w.value=!0,v.value||(h.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((function(){h.value=null}),6e3))):"Desktop"===d.value&&(w.value=!0,console.log("learnerSubmission.value ".concat(v.value)),v.value||(h.value="please select File",setTimeout((function(){h.value=null}),6e3))),n.next=32;break;case 6:if("Desktop"!==d.value){n.next=27;break}return l={linked_program_name:r.value,learner_task_id:e.value,skill:o.value,proficiency:i.value,linked_task_id:t.value,learner_submission:v.value},n.next=10,Object(nt["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:e.value});case 10:return s=n.sent,u=s.data,b.value=u.preSignedUrl,n.next=15,Object(nt["e"])(b.value,p.value);case 15:if(f=n.sent,200!==f.status){n.next=22;break}return n.next=19,it("/offcycle/create",l);case 19:a=n.sent,n.next=25;break;case 22:w.value=!0,q.value="There is issue in the file upload, please contact with helpmate.",_.value=!0;case 25:n.next=31;break;case 27:return g={linked_program_name:r.value,learner_task_id:e.value,skill:o.value,proficiency:i.value,linked_task_id:t.value,learner_submission_text:v.value},n.next=30,it("/offcycle/create",g);case 30:a=n.sent;case 31:200===a.status?(w.value=!0,k.value=a.data.message,x.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),rt["a"].push("taskManagement")):(w.value=!0,q.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0);case 32:n.next=40;break;case 34:n.prev=34,n.t0=n["catch"](0),w.value=!0,console.log("error ".concat(n.t0)),c.a.isAxiosError(n.t0)?(m=n.t0,q.value=null===(y=m.response)||void 0===y?void 0:y.data.message):q.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0;case 40:case"end":return n.stop()}}),n,null,[[0,34]])})));return function(){return n.apply(this,arguments)}}();return Object(l["c"])(Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:w.value=!0;case 1:case"end":return t.stop()}}),t)})))),{learnerSubmissionFile:p,skillId:o,proficiencyId:i,programId:r,taskType:d,taskName:f,submitSubmiision:A,learnerSubmission:v,selectedFile:j,fileValidationMsg:h,learnerTaskId:e,preSignedUrl:b,buttonDisable:g,setButtonEnable:E,validationError:y,clearFile:O,fileInputKey:m,renderReady:w,errorResponse:q,showErrorMessage:_,programName:n,skill:s,profName:u,showSuccessMessage:x,resMessage:k}}}),st=lt,ut=(r("4a2f"),r("b709")),ct=Object(ut["a"])(st,o,i,!1,null,"164b4999",null);e["default"]=ct.exports},f922:function(t,e,r){"use strict";var n=r("4326"),o=r("fda0"),i=r("c6e5"),a=r("9c22"),l=r("787f"),s=r("24b3"),u=r("4f5f"),c=r("89c4").get,f=r("e2d3"),d=r("2c7b"),p=s("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,b=o("".charAt),g=o("".indexOf),y=o("".replace),m=o("".slice),w=function(){var t=/a/,e=/b*/g;return n(h,t,"a"),n(h,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),q=l.BROKEN_CARET,x=void 0!==/()??/.exec("")[1],k=w||x||q||f||d;k&&(v=function(t){var e,r,o,l,s,f,d,k=this,_=c(k),O=i(t),E=_.raw;if(E)return E.lastIndex=k.lastIndex,e=n(v,E,O),k.lastIndex=E.lastIndex,e;var j=_.groups,A=q&&k.sticky,S=n(a,k),N=k.source,T=0,C=O;if(A&&(S=y(S,"y",""),-1===g(S,"g")&&(S+="g"),C=m(O,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==b(O,k.lastIndex-1))&&(N="(?: "+N+")",C=" "+C,T++),r=new RegExp("^(?:"+N+")",S)),x&&(r=new RegExp("^"+N+"$(?!\\s)",S)),w&&(o=k.lastIndex),l=n(h,A?r:k,C),A?l?(l.input=m(l.input,T),l[0]=m(l[0],T),l.index=k.lastIndex,k.lastIndex+=l[0].length):k.lastIndex=0:w&&l&&(k.lastIndex=k.global?l.index+l[0].length:o),x&&l&&l.length>1&&n(p,l[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(l[s]=void 0)})),l&&j)for(l.groups=f=u(null),s=0;s<j.length;s++)d=j[s],f[d[0]]=l[d[1]];return l}),t.exports=v},fc83:function(t,e){
|
|
15
|
+
(function(e,r){t.exports=r()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=109)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(17),o=r(18),i=r(19),a=r(45),l=r(46),s=r(47),u=r(48),c=r(49),f=r(12),d=r(32),p=r(33),h=r(31),v=r(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:n.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:a.default,Block:s.default,Inline:l.default,Text:c.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:h.default}};e.default=g},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var r=this;return e="[Parchment] "+e,r=t.call(this,e)||this,r.message=e,r.name=r.constructor.name,r}return n(e,t),e}(Error);e.ParchmentError=o;var i,a={},l={},s={},u={};function c(t,e){var r=d(t);if(null==r)throw new o("Unable to create "+t+" blot");var n=r,i=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:n.create(e);return new n(i,e)}function f(t,r){return void 0===r&&(r=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:r?f(t.parentNode,r):null}function d(t,e){var r;if(void 0===e&&(e=i.ANY),"string"===typeof t)r=u[t]||a[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)r=u["text"];else if("number"===typeof t)t&i.LEVEL&i.BLOCK?r=u["block"]:t&i.LEVEL&i.INLINE&&(r=u["inline"]);else if(t instanceof HTMLElement){var n=(t.getAttribute("class")||"").split(/\s+/);for(var o in n)if(r=l[n[o]],r)break;r=r||s[t.tagName]}return null==r?null:e&i.LEVEL&r.scope&&e&i.TYPE&r.scope?r:null}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return p(t)}));var r=t[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new o("Invalid definition");if("abstract"===r.blotName)throw new o("Cannot register abstract class");if(u[r.blotName||r.attrName]=r,"string"===typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(l[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(t){return t.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var n=Array.isArray(r.tagName)?r.tagName:[r.tagName];n.forEach((function(t){null!=s[t]&&null!=r.className||(s[t]=r)}))}return r}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=c,e.find=f,e.query=d,e.register=p},function(t,e,r){var n=r(51),o=r(11),i=r(3),a=r(20),l=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var r={};return 0===t.length?this:(r.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r))},s.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var r={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r)},s.prototype.push=function(t){var e=this.ops.length,r=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof r){if("number"===typeof t["delete"]&&"number"===typeof r["delete"])return this.ops[e-1]={delete:r["delete"]+t["delete"]},this;if("number"===typeof r["delete"]&&null!=t.insert&&(e-=1,r=this.ops[e-1],"object"!==typeof r))return this.ops.unshift(t),this;if(o(t.attributes,r.attributes)){if("string"===typeof t.insert&&"string"===typeof r.insert)return this.ops[e-1]={insert:r.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof r.retain)return this.ops[e-1]={retain:r.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],r=[];return this.forEach((function(n){var o=t(n)?e:r;o.push(n)})),[e,r]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},s.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},s.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);var r=[],n=a.iterator(this.ops),o=0;while(o<e&&n.hasNext()){var i;o<t?i=n.next(t-o):(i=n.next(e-o),r.push(i)),o+=a.length(i)}return new s(r)},s.prototype.compose=function(t){var e=a.iterator(this.ops),r=a.iterator(t.ops),n=[],i=r.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){var l=i.retain;while("insert"===e.peekType()&&e.peekLength()<=l)l-=e.peekLength(),n.push(e.next());i.retain-l>0&&r.next(i.retain-l)}var u=new s(n);while(e.hasNext()||r.hasNext())if("insert"===r.peekType())u.push(r.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),r.peekLength()),f=e.next(c),d=r.next(c);if("number"===typeof d.retain){var p={};"number"===typeof f.retain?p.retain=c:p.insert=f.insert;var h=a.attributes.compose(f.attributes,d.attributes,"number"===typeof f.retain);if(h&&(p.attributes=h),u.push(p),!r.hasNext()&&o(u.ops[u.ops.length-1],p)){var v=new s(e.rest());return u.concat(v).chop()}}else"number"===typeof d["delete"]&&"number"===typeof f.retain&&u.push(d)}return u.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var r=[this,t].map((function(e){return e.map((function(r){if(null!=r.insert)return"string"===typeof r.insert?r.insert:l;var n=e===t?"on":"with";throw new Error("diff() called "+n+" non-document")})).join("")})),i=new s,u=n(r[0],r[1],e),c=a.iterator(this.ops),f=a.iterator(t.ops);return u.forEach((function(t){var e=t[1].length;while(e>0){var r=0;switch(t[0]){case n.INSERT:r=Math.min(f.peekLength(),e),i.push(f.next(r));break;case n.DELETE:r=Math.min(e,c.peekLength()),c.next(r),i["delete"](r);break;case n.EQUAL:r=Math.min(c.peekLength(),f.peekLength(),e);var l=c.next(r),s=f.next(r);o(l.insert,s.insert)?i.retain(r,a.attributes.diff(l.attributes,s.attributes)):i.push(s)["delete"](r);break}e-=r}})),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";var r=a.iterator(this.ops),n=new s,o=0;while(r.hasNext()){if("insert"!==r.peekType())return;var i=r.peek(),l=a.length(i)-r.peekLength(),u="string"===typeof i.insert?i.insert.indexOf(e,l)-l:-1;if(u<0)n.push(r.next());else if(u>0)n.push(r.next(u));else{if(!1===t(n,r.next(1).attributes||{},o))return;o+=1,n=new s}}n.length()>0&&t(n,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);var r=a.iterator(this.ops),n=a.iterator(t.ops),o=new s;while(r.hasNext()||n.hasNext())if("insert"!==r.peekType()||!e&&"insert"===n.peekType())if("insert"===n.peekType())o.push(n.next());else{var i=Math.min(r.peekLength(),n.peekLength()),l=r.next(i),u=n.next(i);if(l["delete"])continue;u["delete"]?o.push(u):o.retain(i,a.attributes.transform(l.attributes,u.attributes,e))}else o.retain(a.length(r.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;var r=a.iterator(this.ops),n=0;while(r.hasNext()&&n<=t){var o=r.peekLength(),i=r.peekType();r.next(),"delete"!==i?("insert"===i&&(n<t||!e)&&(t+=o),n+=o):t-=Math.min(o,t-n)}return t},t.exports=s},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},l=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var e,o=r.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(e in t);return"undefined"===typeof e||r.call(t,e)},s=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!r.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,r,n,o,i,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d<p;++d)if(e=arguments[d],null!=e)for(r in e)n=u(f,r),o=u(e,r),f!==o&&(h&&o&&(l(o)||(i=a(o)))?(i?(i=!1,c=n&&a(n)?n:[]):c=n&&l(n)?n:{},s(f,{name:r,newValue:t(h,c,o)})):"undefined"!==typeof o&&s(f,{name:r,newValue:o}));return f}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(3),a=b(i),l=r(2),s=b(l),u=r(0),c=b(u),f=r(16),d=b(f),p=r(6),h=b(p),v=r(7),g=b(v);function b(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function w(t,e){if("function"!==typeof e&&null!==e)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 q=1,x=function(t){function e(){return y(this,e),m(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return w(e,t),n(e,[{key:"attach",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var r=c.default.query(t,c.default.Scope.BLOCK_ATTRIBUTE);null!=r&&this.attributes.attribute(r,e)}},{key:"formatAt",value:function(t,e,r,n){this.format(r,n)}},{key:"insertAt",value:function(t,r,n){if("string"===typeof r&&r.endsWith("\n")){var i=c.default.create(k.blotName);this.parent.insertBefore(i,0===t?this:this.next),i.insertAt(0,r.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n)}}]),e}(c.default.Embed);x.scope=c.default.Scope.BLOCK_BLOT;var k=function(t){function e(t){y(this,e);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.cache={},r}return w(e,t),n(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),_(e))}),new s.default).insert("\n",_(this))),this.cache.delta}},{key:"deleteAt",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,r),this.cache={}}},{key:"formatAt",value:function(t,r,n,i){r<=0||(c.default.query(n,c.default.Scope.BLOCK)?t+r===this.length()&&this.format(n,i):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(r,this.length()-t-1),n,i),this.cache={})}},{key:"insertAt",value:function(t,r,n){if(null!=n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n);if(0!==r.length){var i=r.split("\n"),a=i.shift();a.length>0&&(t<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var l=this;i.reduce((function(t,e){return l=l.split(t,!0),l.insertAt(0,e),e.length}),t+a.length)}}},{key:"insertBefore",value:function(t,r){var n=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r),n instanceof d.default&&n.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+q),this.cache.length}},{key:"moveChildren",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,r),this.cache={}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r&&(0===t||t>=this.length()-q)){var n=this.clone();return 0===t?(this.parent.insertBefore(n,this),this):(this.parent.insertBefore(n,this.next),n)}var i=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,r);return this.cache={},i}}]),e}(c.default.Block);function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:_(t.parent,e))}k.blotName="block",k.tagName="P",k.defaultChild="break",k.allowedChildren=[h.default,c.default.Embed,g.default],e.bubbleFormats=_,e.BlockEmbed=x,e.default=k},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();r(50);var a=r(2),l=_(a),s=r(14),u=_(s),c=r(8),f=_(c),d=r(9),p=_(d),h=r(0),v=_(h),g=r(15),b=_(g),y=r(3),m=_(y),w=r(10),q=_(w),x=r(34),k=_(x);function _(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=(0,q.default)("quill"),A=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,t),this.options=S(e,n),this.container=this.options.container,null==this.container)return j.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new f.default,this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new b.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(t){t===f.default.events.TEXT_CHANGE&&r.root.classList.toggle("ql-blank",r.editor.isBlank())})),this.emitter.on(f.default.events.SCROLL_UPDATE,(function(t,e){var n=r.selection.lastRange,o=n&&0===n.length?n.index:void 0;N.call(r,(function(){return r.editor.update(null,e,o)}),t)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),q.default.level(t)}},{key:"find",value:function(t){return t.__quill||v.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&j.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var o=t.attrName||t.blotName;"string"===typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach((function(n){r.register(n,t[n],e)}))}else null==this.imports[t]||n||j.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?v.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),i(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var r=t;t=document.createElement("div"),t.classList.add(r)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,r){var n=this,i=T(t,e,r),a=o(i,4);return t=a[0],e=a[1],r=a[3],N.call(this,(function(){return n.editor.deleteText(t,e)}),r,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;return N.call(this,(function(){var n=r.getSelection(!0),o=new l.default;if(null==n)return o;if(v.default.query(t,v.default.Scope.BLOCK))o=r.editor.formatLine(n.index,n.length,O({},t,e));else{if(0===n.length)return r.selection.format(t,e),o;o=r.editor.formatText(n.index,n.length,O({},t,e))}return r.setSelection(n,f.default.sources.SILENT),o}),n)}},{key:"formatLine",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,e,r,n,i),u=o(s,4);return t=u[0],e=u[1],l=u[2],i=u[3],N.call(this,(function(){return a.editor.formatLine(t,e,l)}),i,t,0)}},{key:"formatText",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,e,r,n,i),u=o(s,4);return t=u[0],e=u[1],l=u[2],i=u[3],N.call(this,(function(){return a.editor.formatText(t,e,l)}),i,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=void 0;r="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var n=this.container.getBoundingClientRect();return{bottom:r.bottom-n.top,height:r.height,left:r.left-n.left,right:r.right-n.left,top:r.top-n.top,width:r.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,r=T(t,e),n=o(r,2);return t=n[0],e=n[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,r=T(t,e),n=o(r,2);return t=n[0],e=n[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,r,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return N.call(this,(function(){return o.editor.insertEmbed(e,r,n)}),i,e)}},{key:"insertText",value:function(t,e,r,n,i){var a=this,l=void 0,s=T(t,0,r,n,i),u=o(s,4);return t=u[0],l=u[2],i=u[3],N.call(this,(function(){return a.editor.insertText(t,e,l)}),i,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,r){this.clipboard.dangerouslyPasteHTML(t,e,r)}},{key:"removeFormat",value:function(t,e,r){var n=this,i=T(t,e,r),a=o(i,4);return t=a[0],e=a[1],r=a[3],N.call(this,(function(){return n.editor.removeFormat(t,e)}),r,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return N.call(this,(function(){t=new l.default(t);var r=e.getLength(),n=e.editor.deleteText(0,r),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1));var a=n.compose(o);return a}),r)}},{key:"setSelection",value:function(e,r,n){if(null==e)this.selection.setRange(null,r||t.sources.API);else{var i=T(e,r,n),a=o(i,4);e=a[0],r=a[1],n=a[3],this.selection.setRange(new g.Range(e,r),n),n!==f.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API,r=(new l.default).insert(t);return this.setContents(r,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default.sources.API;return N.call(this,(function(){return t=new l.default(t),e.editor.applyDelta(t,r)}),r,!0)}}]),t}();function S(t,e){if(e=(0,m.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e),e.theme&&e.theme!==A.DEFAULTS.theme){if(e.theme=A.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=k.default;var r=(0,m.default)(!0,{},e.theme.DEFAULTS);[r,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var n=Object.keys(r.modules).concat(Object.keys(e.modules)),o=n.reduce((function(t,e){var r=A.import("modules/"+e);return null==r?j.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=r.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,m.default)(!0,{},A.DEFAULTS,{modules:o},r,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,r){return e.modules[r]&&(t[r]=e.modules[r]),t}),{}),e}function N(t,e,r,n){if(this.options.strict&&!this.isEnabled()&&e===f.default.sources.USER)return new l.default;var o=null==r?null:this.getSelection(),i=this.editor.delta,a=t();if(null!=o&&(!0===r&&(r=o.index),null==n?o=C(o,a,e):0!==n&&(o=C(o,r,n,e)),this.setSelection(o,f.default.sources.SILENT)),a.length()>0){var s,u,c=[f.default.events.TEXT_CHANGE,a,i,e];if((s=this.emitter).emit.apply(s,[f.default.events.EDITOR_CHANGE].concat(c)),e!==f.default.sources.SILENT)(u=this.emitter).emit.apply(u,c)}return a}function T(t,e,r,o,i){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=o,o=r,r=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=o,o=r,r=e,e=0),"object"===("undefined"===typeof r?"undefined":n(r))?(a=r,i=o):"string"===typeof r&&(null!=o?a[r]=o:i=r),i=i||f.default.sources.API,[t,e,a,i]}function C(t,e,r,n){if(null==t)return null;var i=void 0,a=void 0;if(e instanceof l.default){var s=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,n!==f.default.sources.USER)})),u=o(s,2);i=u[0],a=u[1]}else{var c=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&n===f.default.sources.USER?t:r>=0?t+r:Math.max(e,t+r)})),d=o(c,2);i=d[0],a=d[1]}return new g.Range(i,a-i)}A.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},A.events=f.default.events,A.sources=f.default.sources,A.version="1.3.7",A.imports={delta:l.default,parchment:v.default,"core/module":p.default,"core/theme":k.default},e.expandConfig=S,e.overload=T,e.default=A},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(7),a=u(i),l=r(0),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p=function(t){function e(){return c(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),n(e,[{key:"formatAt",value:function(t,r,n,i){if(e.compare(this.statics.blotName,n)<0&&s.default.query(n,s.default.Scope.BLOT)){var a=this.isolate(t,r);i&&a.wrap(n,i)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,r,n,i)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var r=this.parent.isolate(this.offset(),this.length());this.moveChildren(r),r.wrap(this)}}}],[{key:"compare",value:function(t,r){var n=e.order.indexOf(t),o=e.order.indexOf(r);return n>=0||o>=0?n-o:t===r?0:t<r?-1:1}}]),e}(s.default.Inline);p.allowedChildren=[p,s.default.Embed,a.default],p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default.Text);e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(54),a=u(i),l=r(10),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p=(0,s.default)("quill:events"),h=["selectionchange","mousedown","mouseup","click"];h.forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var r;t.__quill&&t.__quill.emitter&&(r=t.__quill.emitter).handleDOM.apply(r,e)}))}))}));var v=function(t){function e(){c(this,e);var t=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",p.error),t}return d(e,t),n(e,[{key:"emit",value:function(){p.log.apply(p,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];(this.listeners[t.type]||[]).forEach((function(e){var n=e.node,o=e.handler;(t.target===n||n.contains(t.target))&&o.apply(void 0,[t].concat(r))}))}},{key:"listenDOM",value:function(t,e,r){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:r})}}]),e}(a.default);v.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},v.sources={API:"api",SILENT:"silent",USER:"user"},e.default=v},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),this.quill=e,this.options=r};o.DEFAULTS={},e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["error","warn","log","info"],o="warn";function i(t){if(n.indexOf(t)<=n.indexOf(o)){for(var e,r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(e=console)[t].apply(e,i)}}function a(t){return n.reduce((function(e,r){return e[r]=i.bind(console,r,t),e}),{})}i.level=a.level=function(t){o=t},e.default=a},function(t,e,r){var n=Array.prototype.slice,o=r(52),i=r(53),a=t.exports=function(t,e,r){return r||(r={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:u(t,e,r))};function l(t){return null===t||void 0===t}function s(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&("function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0]))}function u(t,e,r){var u,c;if(l(t)||l(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=n.call(t),e=n.call(e),a(t,e,r));if(s(t)){if(!s(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var f=o(t),d=o(e)}catch(p){return!1}if(f.length!=d.length)return!1;for(f.sort(),d.sort(),u=f.length-1;u>=0;u--)if(f[u]!=d[u])return!1;for(u=f.length-1;u>=0;u--)if(c=f[u],!a(t[c],e[c],r))return!1;return typeof t===typeof e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=function(){function t(t,e,r){void 0===r&&(r={}),this.attrName=t,this.keyName=e;var o=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=r.scope?this.scope=r.scope&n.Scope.LEVEL|o:this.scope=n.Scope.ATTRIBUTE,null!=r.whitelist&&(this.whitelist=r.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){var r=n.query(t,n.Scope.BLOT&(this.scope|n.Scope.TYPE));return null!=r&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},a=r(2),l=g(a),s=r(0),u=g(s),c=r(4),f=g(c),d=r(6),p=g(d),h=r(7),v=g(h);function g(t){return t&&t.__esModule?t:{default:t}}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)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 w=function(t){function e(){return b(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),e}(p.default);w.blotName="code",w.tagName="CODE";var q=function(t){function e(){return b(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),o(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,r){return e.insert(r).insert("\n",t.formats())}),new l.default)}},{key:"format",value:function(t,r){if(t!==this.statics.blotName||!r){var o=this.descendant(v.default,this.length()-1),a=n(o,1),l=a[0];null!=l&&l.deleteAt(l.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}},{key:"formatAt",value:function(t,r,n,o){if(0!==r&&null!=u.default.query(n,u.default.Scope.BLOCK)&&(n!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+r)){var a=this.newlineIndex(t,!0)+1,l=i-a+1,s=this.isolate(a,l),c=s.next;s.format(n,o),c instanceof e&&c.formatAt(0,t-a+r-l,n,o)}}}},{key:"insertAt",value:function(t,e,r){if(null==r){var o=this.descendant(v.default,t),i=n(o,2),a=i[0],l=i[1];a.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var r=this.domNode.textContent.slice(t).indexOf("\n");return r>-1?t+r:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===r.statics.formats(r.domNode)&&(r.optimize(t),r.moveChildren(this),r.remove())}},{key:"replace",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var r=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return r.setAttribute("spellcheck",!1),r}},{key:"formats",value:function(){return!0}}]),e}(f.default);q.blotName="code-block",q.tagName="PRE",q.TAB=" ",e.Code=w,e.default=q},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(2),l=E(a),s=r(20),u=E(s),c=r(0),f=E(c),d=r(13),p=E(d),h=r(24),v=E(h),g=r(4),b=E(g),y=r(16),m=E(y),w=r(21),q=E(w),x=r(11),k=E(x),_=r(3),O=E(_);function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var S=/^[ -~]*$/,N=function(){function t(e){A(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function(t){var e=this,r=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),t=C(t),t.reduce((function(t,a){var l=a.retain||a.delete||a.insert.length||1,s=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var c=a.insert;c.endsWith("\n")&&r&&(r=!1,c=c.slice(0,-1)),t>=i&&!c.endsWith("\n")&&(r=!0),e.scroll.insertAt(t,c);var d=e.scroll.line(t),p=o(d,2),h=p[0],v=p[1],y=(0,O.default)({},(0,g.bubbleFormats)(h));if(h instanceof b.default){var m=h.descendant(f.default.Leaf,v),w=o(m,1),q=w[0];y=(0,O.default)(y,(0,g.bubbleFormats)(q))}s=u.default.attributes.diff(y,s)||{}}else if("object"===n(a.insert)){var x=Object.keys(a.insert)[0];if(null==x)return t;e.scroll.insertAt(t,x,a.insert[x])}i+=l}return Object.keys(s).forEach((function(r){e.scroll.formatAt(t,l,r,s[r])})),t+l}),0),t.reduce((function(t,r){return"number"===typeof r.delete?(e.scroll.deleteAt(t,r.delete),t):t+(r.retain||r.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(n).forEach((function(o){if(null==r.scroll.whitelist||r.scroll.whitelist[o]){var i=r.scroll.lines(t,Math.max(e,1)),a=e;i.forEach((function(e){var i=e.length();if(e instanceof p.default){var l=t-e.offset(r.scroll),s=e.newlineIndex(l+a)-l+1;e.formatAt(l,s,o,n[o])}else e.format(o,n[o]);a-=i}))}})),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,q.default)(n)))}},{key:"formatText",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(n).forEach((function(o){r.scroll.formatAt(t,e,o,n[o])})),this.update((new l.default).retain(t).retain(e,(0,q.default)(n)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new l.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[],n=[];0===e?this.scroll.path(t).forEach((function(t){var e=o(t,1),i=e[0];i instanceof b.default?r.push(i):i instanceof f.default.Leaf&&n.push(i)})):(r=this.scroll.lines(t,e),n=this.scroll.descendants(f.default.Leaf,t,e));var i=[r,n].map((function(t){if(0===t.length)return{};var e=(0,g.bubbleFormats)(t.shift());while(Object.keys(e).length>0){var r=t.shift();if(null==r)return e;e=T((0,g.bubbleFormats)(r),e)}return e}));return O.default.apply(O.default,i)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,r){return this.scroll.insertAt(t,e,r),this.update((new l.default).retain(t).insert(j({},e,r)))}},{key:"insertText",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(n).forEach((function(o){r.scroll.formatAt(t,e.length,o,n[o])})),this.update((new l.default).retain(t).insert(e,(0,q.default)(n)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===b.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof m.default)}},{key:"removeFormat",value:function(t,e){var r=this.getText(t,e),n=this.scroll.line(t+e),i=o(n,2),a=i[0],s=i[1],u=0,c=new l.default;null!=a&&(u=a instanceof p.default?a.newlineIndex(s)-s+1:a.length()-s,c=a.delta().slice(s,s+u-1).insert("\n"));var f=this.getContents(t,e+u),d=f.diff((new l.default).insert(r).concat(c)),h=(new l.default).retain(t).concat(d);return this.applyDelta(h)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(S)&&f.default.find(e[0].target)){var o=f.default.find(e[0].target),i=(0,g.bubbleFormats)(o),a=o.offset(this.scroll),s=e[0].oldValue.replace(v.default.CONTENTS,""),u=(new l.default).insert(s),c=(new l.default).insert(o.value()),d=(new l.default).retain(a).concat(u.diff(c,r));t=d.reduce((function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)}),new l.default),this.delta=n.compose(t)}else this.delta=this.getDelta(),t&&(0,k.default)(n.compose(t),this.delta)||(t=n.diff(this.delta,r));return t}}]),t}();function T(t,e){return Object.keys(e).reduce((function(r,n){return null==t[n]||(e[n]===t[n]?r[n]=e[n]:Array.isArray(e[n])?e[n].indexOf(t[n])<0&&(r[n]=e[n].concat([t[n]])):r[n]=[e[n],t[n]]),r}),{})}function C(t){return t.reduce((function(t,e){if(1===e.insert){var r=(0,q.default)(e.attributes);return delete r["image"],t.insert({image:e.attributes.image},r)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||(e=(0,q.default)(e),e.attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)}),new l.default)}e.default=N},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),a=v(i),l=r(21),s=v(l),u=r(11),c=v(u),f=r(8),d=v(f),p=r(10),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}function g(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill:selection"),m=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;b(this,t),this.index=e,this.length=r},w=function(){function t(e,r){var n=this;b(this,t),this.emitter=r,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new m(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){n.mouseDown||setTimeout(n.update.bind(n,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&n.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(n.hasFocus()){var t=n.getNativeRange();null!=t&&t.start.node!==n.cursor.textNode&&n.emitter.once(d.default.events.SCROLL_UPDATE,(function(){try{n.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var r=e.range,o=r.startNode,i=r.startOffset,a=r.endNode,l=r.endOffset;n.setNativeRange(o,i,a,l)}})),this.update(d.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(d.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var r=this.getNativeRange();if(null!=r&&r.native.collapsed&&!a.default.query(t,a.default.Scope.BLOCK)){if(r.start.node!==this.cursor.textNode){var n=a.default.find(r.start.node,!1);if(null==n)return;if(n instanceof a.default.Leaf){var o=n.split(r.start.offset);n.parent.insertBefore(this.cursor,o)}else n.insertBefore(this.cursor,r.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();t=Math.min(t,r-1),e=Math.min(t+e,r-1)-t;var o=void 0,i=this.scroll.leaf(t),a=n(i,2),l=a[0],s=a[1];if(null==l)return null;var u=l.position(s,!0),c=n(u,2);o=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(o,s);var d=this.scroll.leaf(t+e),p=n(d,2);if(l=p[0],s=p[1],null==l)return null;var h=l.position(s,!0),v=n(h,2);return o=v[0],s=v[1],f.setEnd(o,s),f.getBoundingClientRect()}var g="left",b=void 0;return o instanceof Text?(s<o.data.length?(f.setStart(o,s),f.setEnd(o,s+1)):(f.setStart(o,s-1),f.setEnd(o,s),g="right"),b=f.getBoundingClientRect()):(b=l.domNode.getBoundingClientRect(),s>0&&(g="right")),{bottom:b.top+b.height,height:b.height,left:b[g],right:b[g],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var r=this.normalizeNative(e);return y.info("getNativeRange",r),r}},{key:"getRange",value:function(){var t=this.getNativeRange();if(null==t)return[null,null];var e=this.normalizedToRange(t);return[e,t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,r=[[t.start.node,t.start.offset]];t.native.collapsed||r.push([t.end.node,t.end.offset]);var o=r.map((function(t){var r=n(t,2),o=r[0],i=r[1],l=a.default.find(o,!0),s=l.offset(e.scroll);return 0===i?s:l instanceof a.default.Container?s+l.length():s+l.index(o,i)})),i=Math.min(Math.max.apply(Math,g(o)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(g(o)));return new m(l,i-l)}},{key:"normalizeNative",value:function(t){if(!q(this.root,t.startContainer)||!t.collapsed&&!q(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){var e=t.node,r=t.offset;while(!(e instanceof Text)&&e.childNodes.length>0)if(e.childNodes.length>r)e=e.childNodes[r],r=0;else{if(e.childNodes.length!==r)break;e=e.lastChild,r=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=r})),e}},{key:"rangeToNative",value:function(t){var e=this,r=t.collapsed?[t.index]:[t.index,t.index+t.length],o=[],i=this.scroll.length();return r.forEach((function(t,r){t=Math.min(i-1,t);var a=void 0,l=e.scroll.leaf(t),s=n(l,2),u=s[0],c=s[1],f=u.position(c,0!==r),d=n(f,2);a=d[0],c=d[1],o.push(a,c)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var r=this.getBounds(e.index,e.length);if(null!=r){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(e.index,o)),a=n(i,1),l=a[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,o)),c=n(u,1);s=c[0]}if(null!=l&&null!=s){var f=t.getBoundingClientRect();r.top<f.top?t.scrollTop-=f.top-r.top:r.bottom>f.bottom&&(t.scrollTop+=r.bottom-f.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(y.info("setNativeRange",t,e,r,n),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=r.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||t!==a.startContainer||e!==a.startOffset||r!==a.endContainer||n!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==r.tagName&&(n=[].indexOf.call(r.parentNode.childNodes,r),r=r.parentNode);var l=document.createRange();l.setStart(t,e),l.setEnd(r,n),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof e&&(r=e,e=!1),y.info("setRange",t),null!=t){var n=this.rangeToNative(t);this.setNativeRange.apply(this,g(n).concat([e]))}else this.setNativeRange(null);this.update(r)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,e=this.lastRange,r=this.getRange(),o=n(r,2),i=o[0],a=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(e,this.lastRange)){var l;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var u,f=[d.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(e),t];if((l=this.emitter).emit.apply(l,[d.default.events.EDITOR_CHANGE].concat(f)),t!==d.default.sources.SILENT)(u=this.emitter).emit.apply(u,f)}}}]),t}();function q(t,e){try{e.parentNode}catch(r){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=m,e.default=w},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"insertInto",value:function(t,r){0===t.children.length?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,r):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(a.default.Embed);f.blotName="break",f.tagName="BR",e.default=f},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(44),i=r(30),a=r(1),l=function(t){function e(e){var r=t.call(this,e)||this;return r.build(),r}return n(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var r=s(e);t.insertBefore(r,t.children.head||void 0)}catch(n){if(n instanceof a.ParchmentError)return;throw n}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,r){t.deleteAt(e,r)}))},e.prototype.descendant=function(t,r){var n=this.children.find(r),o=n[0],i=n[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,r,n){void 0===r&&(r=0),void 0===n&&(n=Number.MAX_VALUE);var o=[],i=n;return this.children.forEachAt(r,n,(function(r,n,a){(null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t)&&o.push(r),r instanceof e&&(o=o.concat(r.descendants(t,n,i))),i-=a})),o},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,r,n){this.children.forEachAt(t,e,(function(t,e,o){t.formatAt(e,o,r,n)}))},e.prototype.insertAt=function(t,e,r){var n=this.children.find(t),o=n[0],i=n[1];if(o)o.insertAt(i,e,r);else{var l=null==r?a.create("text",e):a.create(e,r);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(r){t.insertBefore(r,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var r=a.create(this.statics.defaultChild);this.appendChild(r),r.optimize(e)}else this.remove()},e.prototype.path=function(t,r){void 0===r&&(r=!1);var n=this.children.find(t,r),o=n[0],i=n[1],a=[[this,t]];return o instanceof e?a.concat(o.path(i,r)):(null!=o&&a.push([o,i]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(r){r instanceof e&&r.moveChildren(this),t.prototype.replace.call(this,r)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=this.clone();return this.parent.insertBefore(r,this.next),this.children.forEachAt(t,this.length(),(function(t,n,o){t=t.split(n,e),r.appendChild(t)})),r},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var r=this,n=[],o=[];t.forEach((function(t){t.target===r.domNode&&"childList"===t.type&&(n.push.apply(n,t.addedNodes),o.push.apply(o,t.removedNodes))})),o.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==r.domNode||e.detach())}})),n.filter((function(t){return t.parentNode==r.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var n=s(t);n.next==e&&null!=n.next||(null!=n.parent&&n.parent.removeChild(r),r.insertBefore(n,e||void 0))}))},e}(i.default);function s(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(r){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12),i=r(31),a=r(17),l=r(1),s=function(t){function e(e){var r=t.call(this,e)||this;return r.attributes=new i.default(r.domNode),r}return n(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var r=l.query(t);r instanceof o.default?this.attributes.attribute(r,e):e&&(null==r||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,r){var n=t.prototype.replaceWith.call(this,e,r);return this.attributes.copy(n),n},e.prototype.update=function(e,r){var n=this;t.prototype.update.call(this,e,r),e.some((function(t){return t.target===n.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(r,n){var o=t.prototype.wrap.call(this,r,n);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(a.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(30),i=r(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var r=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(r+=1),[this.parent.domNode,r]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,r){var n=r(11),o=r(3),i={attributes:{compose:function(t,e,r){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=o(!0,{},e);for(var i in r||(n=Object.keys(n).reduce((function(t,e){return null!=n[e]&&(t[e]=n[e]),t}),{})),t)void 0!==t[i]&&void 0===e[i]&&(n[i]=t[i]);return Object.keys(n).length>0?n:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=Object.keys(t).concat(Object.keys(e)).reduce((function(r,o){return n(t[o],e[o])||(r[o]=void 0===e[o]?null:e[o]),r}),{});return Object.keys(r).length>0?r:void 0},transform:function(t,e,r){if("object"!==typeof t)return e;if("object"===typeof e){if(!r)return e;var n=Object.keys(e).reduce((function(r,n){return void 0===t[n]&&(r[n]=e[n]),r}),{});return Object.keys(n).length>0?n:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t["delete"]?t["delete"]:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var r=this.offset,n=i.length(e);if(t>=n-r?(t=n-r,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e["delete"])return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"===typeof e.retain?o.retain=t:"string"===typeof e.insert?o.insert=e.insert.substr(r,t):o.insert=e.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=t,this.index=e,[r].concat(n)}return[]},t.exports=i},function(t,r){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var r,n,o;try{r=Map}catch(f){r=function(){}}try{n=Set}catch(f){n=function(){}}try{o=Promise}catch(f){o=function(){}}function i(a,l,s,u,f){"object"===typeof l&&(s=l.depth,u=l.prototype,f=l.includeNonEnumerable,l=l.circular);var d=[],p=[],h="undefined"!=typeof e;function v(a,s){if(null===a)return null;if(0===s)return a;var g,b;if("object"!=typeof a)return a;if(t(a,r))g=new r;else if(t(a,n))g=new n;else if(t(a,o))g=new o((function(t,e){a.then((function(e){t(v(e,s-1))}),(function(t){e(v(t,s-1))}))}));else if(i.__isArray(a))g=[];else if(i.__isRegExp(a))g=new RegExp(a.source,c(a)),a.lastIndex&&(g.lastIndex=a.lastIndex);else if(i.__isDate(a))g=new Date(a.getTime());else{if(h&&e.isBuffer(a))return g=e.allocUnsafe?e.allocUnsafe(a.length):new e(a.length),a.copy(g),g;t(a,Error)?g=Object.create(a):"undefined"==typeof u?(b=Object.getPrototypeOf(a),g=Object.create(b)):(g=Object.create(u),b=u)}if(l){var y=d.indexOf(a);if(-1!=y)return p[y];d.push(a),p.push(g)}for(var m in t(a,r)&&a.forEach((function(t,e){var r=v(e,s-1),n=v(t,s-1);g.set(r,n)})),t(a,n)&&a.forEach((function(t){var e=v(t,s-1);g.add(e)})),a){var w;b&&(w=Object.getOwnPropertyDescriptor(b,m)),w&&null==w.set||(g[m]=v(a[m],s-1))}if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(a);for(m=0;m<q.length;m++){var x=q[m],k=Object.getOwnPropertyDescriptor(a,x);(!k||k.enumerable||f)&&(g[x]=v(a[x],s-1),k.enumerable||Object.defineProperty(g,x,{enumerable:!1}))}}if(f){var _=Object.getOwnPropertyNames(a);for(m=0;m<_.length;m++){var O=_[m];k=Object.getOwnPropertyDescriptor(a,O);k&&k.enumerable||(g[O]=v(a[O],s-1),Object.defineProperty(g,O,{enumerable:!1}))}}return g}return"undefined"==typeof l&&(l=!0),"undefined"==typeof s&&(s=1/0),v(a,s)}function a(t){return Object.prototype.toString.call(t)}function l(t){return"object"===typeof t&&"[object Date]"===a(t)}function s(t){return"object"===typeof t&&"[object Array]"===a(t)}function u(t){return"object"===typeof t&&"[object RegExp]"===a(t)}function c(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return i.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},i.__objToStr=a,i.__isDate=l,i.__isArray=s,i.__isRegExp=u,i.__getRegExpFlags=c,i}();"object"===typeof t&&t.exports&&(t.exports=n)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},a=r(0),l=y(a),s=r(8),u=y(s),c=r(4),f=y(c),d=r(16),p=y(d),h=r(13),v=y(h),g=r(25),b=y(g);function y(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function q(t,e){if("function"!==typeof e&&null!==e)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)}function x(t){return t instanceof f.default||t instanceof c.BlockEmbed}var k=function(t){function e(t,r){m(this,e);var n=w(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.emitter=r.emitter,Array.isArray(r.whitelist)&&(n.whitelist=r.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),n.domNode.addEventListener("DOMNodeInserted",(function(){})),n.optimize(),n.enable(),n}return q(e,t),o(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,r){var o=this.line(t),a=n(o,2),l=a[0],s=a[1],u=this.line(t+r),f=n(u,1),d=f[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,r),null!=d&&l!==d&&s>0){if(l instanceof c.BlockEmbed||d instanceof c.BlockEmbed)return void this.optimize();if(l instanceof v.default){var h=l.newlineIndex(l.length(),!0);if(h>-1&&(l=l.split(h+1),l===d))return void this.optimize()}else if(d instanceof v.default){var g=d.newlineIndex(0);g>-1&&d.split(g+1)}var b=d.children.head instanceof p.default?null:d.children.head;l.moveChildren(d,b),l.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,r,n,o){(null==this.whitelist||this.whitelist[n])&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,r,n,o),this.optimize())}},{key:"insertAt",value:function(t,r,n){if(null==n||null==this.whitelist||this.whitelist[r]){if(t>=this.length())if(null==n||null==l.default.query(r,l.default.Scope.BLOCK)){var o=l.default.create(this.statics.defaultChild);this.appendChild(o),null==n&&r.endsWith("\n")&&(r=r.slice(0,-1)),o.insertAt(0,r,n)}else{var a=l.default.create(r,n);this.appendChild(a)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,r,n);this.optimize()}}},{key:"insertBefore",value:function(t,r){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var n=l.default.create(this.statics.defaultChild);n.appendChild(t),t=n}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(x,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,r=function t(e,r,n){var o=[],i=n;return e.children.forEachAt(r,n,(function(e,r,n){x(e)?o.push(e):e instanceof l.default.Container&&(o=o.concat(t(e,r,i))),i-=n})),o};return r(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,r),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,r))}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var r=u.default.sources.USER;"string"===typeof t&&(r=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,r,t),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,r,t)}}}]),e}(l.default.Scroll);k.blotName="scroll",k.className="ql-editor",k.tagName="DIV",k.defaultChild="block",k.allowedChildren=[f.default,c.BlockEmbed,b.default],e.default=k},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(21),l=_(a),s=r(11),u=_(s),c=r(3),f=_(c),d=r(2),p=_(d),h=r(20),v=_(h),g=r(0),b=_(g),y=r(5),m=_(y),w=r(10),q=_(w),x=r(9),k=_(x);function _(t){return t&&t.__esModule?t:{default:t}}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function A(t,e){if("function"!==typeof e&&null!==e)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 S=(0,q.default)("quill:keyboard"),N=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",T=function(t){function e(t,r){E(this,e);var n=j(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.bindings={},Object.keys(n.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist["list"])&&n.options.bindings[e]&&n.addBinding(n.options.bindings[e])})),n.addBinding({key:e.keys.ENTER,shiftKey:null},I),n.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0},R)):(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},P),n.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},R)),n.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},L),n.addBinding({key:e.keys.DELETE},{collapsed:!1},L),n.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},P),n.listen(),n}return A(e,t),i(e,null,[{key:"match",value:function(t,e){return e=U(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(r){return!!e[r]!==t[r]&&null!==e[r]}))&&e.key===(t.which||t.keyCode)}}]),i(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=U(t);if(null==n||null==n.key)return S.warn("Attempted to add invalid keyboard binding",n);"function"===typeof e&&(e={handler:e}),"function"===typeof r&&(r={handler:r}),n=(0,f.default)(n,e,r),this.bindings[n.key]=this.bindings[n.key]||[],this.bindings[n.key].push(n)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(r){if(!r.defaultPrevented){var i=r.which||r.keyCode,a=(t.bindings[i]||[]).filter((function(t){return e.match(r,t)}));if(0!==a.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var s=t.quill.getLine(l.index),c=o(s,2),f=c[0],d=c[1],p=t.quill.getLeaf(l.index),h=o(p,2),v=h[0],g=h[1],y=0===l.length?[v,g]:t.quill.getLeaf(l.index+l.length),m=o(y,2),w=m[0],q=m[1],x=v instanceof b.default.Text?v.value().slice(0,g):"",k=w instanceof b.default.Text?w.value().slice(q):"",_={collapsed:0===l.length,empty:0===l.length&&f.length()<=1,format:t.quill.getFormat(l),offset:d,prefix:x,suffix:k},O=a.some((function(e){if(null!=e.collapsed&&e.collapsed!==_.collapsed)return!1;if(null!=e.empty&&e.empty!==_.empty)return!1;if(null!=e.offset&&e.offset!==_.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==_.format[t]})))return!1}else if("object"===n(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=_.format[t]:!1===e.format[t]?null==_.format[t]:(0,u.default)(e.format[t],_.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(_.prefix))&&(!(null!=e.suffix&&!e.suffix.test(_.suffix))&&!0!==e.handler.call(t,l,_))}));O&&r.preventDefault()}}}}))}}]),e}(k.default);function C(t,e){var r,n=t===T.keys.LEFT?"prefix":"suffix";return r={key:t,shiftKey:e,altKey:null},O(r,n,/^$/),O(r,"handler",(function(r){var n=r.index;t===T.keys.RIGHT&&(n+=r.length+1);var i=this.quill.getLeaf(n),a=o(i,1),l=a[0];return!(l instanceof b.default.Embed)||(t===T.keys.LEFT?e?this.quill.setSelection(r.index-1,r.length+1,m.default.sources.USER):this.quill.setSelection(r.index-1,m.default.sources.USER):e?this.quill.setSelection(r.index,r.length+1,m.default.sources.USER):this.quill.setSelection(r.index+r.length+1,m.default.sources.USER),!1)})),r}function P(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var r=this.quill.getLine(t.index),n=o(r,1),i=n[0],a={};if(0===e.offset){var l=this.quill.getLine(t.index-1),s=o(l,1),u=s[0];if(null!=u&&u.length()>1){var c=i.formats(),f=this.quill.getFormat(t.index-1,1);a=v.default.attributes.diff(c,f)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,m.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(t.index-d,d,a,m.default.sources.USER),this.quill.focus()}}function R(t,e){var r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-r)){var n={},i=0,a=this.quill.getLine(t.index),l=o(a,1),s=l[0];if(e.offset>=s.length()-1){var u=this.quill.getLine(t.index+1),c=o(u,1),f=c[0];if(f){var d=s.formats(),p=this.quill.getFormat(t.index,1);n=v.default.attributes.diff(d,p)||{},i=f.length()}}this.quill.deleteText(t.index,r,m.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index+i-1,r,n,m.default.sources.USER)}}function L(t){var e=this.quill.getLines(t),r={};if(e.length>1){var n=e[0].formats(),o=e[e.length-1].formats();r=v.default.attributes.diff(o,n)||{}}this.quill.deleteText(t,m.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index,1,r,m.default.sources.USER),this.quill.setSelection(t.index,m.default.sources.SILENT),this.quill.focus()}function I(t,e){var r=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var n=Object.keys(e.format).reduce((function(t,r){return b.default.query(r,b.default.Scope.BLOCK)&&!Array.isArray(e.format[r])&&(t[r]=e.format[r]),t}),{});this.quill.insertText(t.index,"\n",n,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==n[t]&&(Array.isArray(e.format[t])||"link"!==t&&r.quill.format(t,e.format[t],m.default.sources.USER))}))}function M(t){return{key:T.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var r=b.default.query("code-block"),n=e.index,i=e.length,a=this.quill.scroll.descendant(r,n),l=o(a,2),s=l[0],u=l[1];if(null!=s){var c=this.quill.getIndex(s),f=s.newlineIndex(u,!0)+1,d=s.newlineIndex(c+u+i),p=s.domNode.textContent.slice(f,d).split("\n");u=0,p.forEach((function(e,o){t?(s.insertAt(f+u,r.TAB),u+=r.TAB.length,0===o?n+=r.TAB.length:i+=r.TAB.length):e.startsWith(r.TAB)&&(s.deleteAt(f+u,r.TAB.length),u-=r.TAB.length,0===o?n-=r.TAB.length:i-=r.TAB.length),u+=e.length+1})),this.quill.update(m.default.sources.USER),this.quill.setSelection(n,i,m.default.sources.SILENT)}}}}function B(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,r){this.quill.format(t,!r.format[t],m.default.sources.USER)}}}function U(t){if("string"===typeof t||"number"===typeof t)return U({key:t});if("object"===("undefined"===typeof t?"undefined":n(t))&&(t=(0,l.default)(t,!1)),"string"===typeof t.key)if(null!=T.keys[t.key.toUpperCase()])t.key=T.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[N]=t.shortKey,delete t.shortKey),t}T.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},T.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:T.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",m.default.sources.USER)}},outdent:{key:T.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",m.default.sources.USER)}},"outdent backspace":{key:T.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",m.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,m.default.sources.USER)}},"indent code-block":M(!0),"outdent code-block":M(!1),"remove tab":{key:T.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,m.default.sources.USER)}},tab:{key:T.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new p.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,m.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,m.default.sources.SILENT)}},"list empty enter":{key:T.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,m.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,m.default.sources.USER)}},"checklist enter":{key:T.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),r=o(e,2),n=r[0],i=r[1],a=(0,f.default)({},n.formats(),{list:"checked"}),l=(new p.default).retain(t.index).insert("\n",a).retain(n.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:T.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var r=this.quill.getLine(t.index),n=o(r,2),i=n[0],a=n[1],l=(new p.default).retain(t.index).insert("\n",e.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(l,m.default.sources.USER),this.quill.setSelection(t.index+1,m.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var r=e.prefix.length,n=this.quill.getLine(t.index),i=o(n,2),a=i[0],l=i[1];if(l>r)return!0;var s=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",m.default.sources.USER),this.quill.history.cutoff();var u=(new p.default).retain(t.index-l).delete(r+1).retain(a.length()-2-l).retain(1,{list:s});this.quill.updateContents(u,m.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-r,m.default.sources.SILENT)}},"code exit":{key:T.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),r=o(e,2),n=r[0],i=r[1],a=(new p.default).retain(t.index+n.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,m.default.sources.USER)}},"embed left":C(T.keys.LEFT,!1),"embed left shift":C(T.keys.LEFT,!0),"embed right":C(T.keys.RIGHT,!1),"embed right shift":C(T.keys.RIGHT,!0)}},e.default=T,e.SHORTKEY=N},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(0),l=c(a),s=r(7),u=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)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 h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.selection=r,n.textNode=document.createTextNode(e.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n}return p(e,t),i(e,null,[{key:"value",value:function(){}}]),i(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,r){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r);var n=this,i=0;while(null!=n&&n.statics.scope!==l.default.Scope.BLOCK_BLOT)i+=n.offset(n.parent),n=n.parent;null!=n&&(this._length=e.CONTENTS.length,n.optimize(),n.formatAt(i,e.CONTENTS.length,t,r),this._length=0)}},{key:"index",value:function(t,r){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,r)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,r=this.selection.getNativeRange(),o=void 0,i=void 0,a=void 0;if(null!=r&&r.start.node===t&&r.end.node===t){var s=[t,r.start.offset,r.end.offset];o=s[0],i=s[1],a=s[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var c=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof u.default?(o=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=e.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(l.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var f=[i,a].map((function(t){return Math.max(0,Math.min(o.data.length,t-1))})),d=n(f,2);return i=d[0],a=d[1],{startNode:o,startOffset:i,endNode:o,endOffset:a}}}}},{key:"update",value:function(t,e){var r=this;if(t.some((function(t){return"characterData"===t.type&&t.target===r.textNode}))){var n=this.restore();n&&(e.range=n)}}},{key:"value",value:function(){return""}}]),e}(l.default.Embed);h.blotName="cursor",h.className="ql-cursor",h.tagName="span",h.CONTENTS="\ufeff",e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=l(n),i=r(4),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),e}(o.default.Container);f.allowedChildren=[a.default,i.BlockEmbed,f],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return r.startsWith("rgb(")?(r=r.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+r.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):r}}]),e}(a.default.Attributor.Style),d=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),p=new f("color","color",{scope:a.default.Scope.INLINE});e.ColorAttributor=f,e.ColorClass=d,e.ColorStyle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"format",value:function(t,r){if(t!==this.statics.blotName||!r)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r);r=this.constructor.sanitize(r),this.domNode.setAttribute("href",r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),r.setAttribute("href",t),r.setAttribute("rel","noopener noreferrer"),r.setAttribute("target","_blank"),r}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return d(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(a.default);function d(t,e){var r=document.createElement("a");r.href=t;var n=r.href.slice(0,r.href.indexOf(":"));return e.indexOf(n)>-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(23),a=u(i),l=r(107),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=0;function d(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var p=function(){function t(e){var r=this;c(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){r.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:r.togglePicker();break;case a.default.keys.ESCAPE:r.escape(),t.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),d(this.label,"aria-expanded"),d(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,r=document.createElement("span");return r.tabIndex="0",r.setAttribute("role","button"),r.classList.add("ql-picker-item"),t.hasAttribute("value")&&r.setAttribute("data-value",t.getAttribute("value")),t.textContent&&r.setAttribute("data-label",t.textContent),r.addEventListener("click",(function(){e.selectItem(r,!0)})),r.addEventListener("keydown",(function(t){switch(t.keyCode){case a.default.keys.ENTER:e.selectItem(r,!0),t.preventDefault();break;case a.default.keys.ESCAPE:e.escape(),t.preventDefault();break;default:}})),r}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=s.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+f,f+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(r){var n=t.buildItem(r);e.appendChild(n),!0===r.selected&&t.selectItem(n)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.container.querySelector(".ql-selected");if(t!==r&&(null!=r&&r.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":n(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var r=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",r)}}]),t}();e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=S(n),i=r(5),a=S(i),l=r(4),s=S(l),u=r(16),c=S(u),f=r(25),d=S(f),p=r(24),h=S(p),v=r(35),g=S(v),b=r(6),y=S(b),m=r(22),w=S(m),q=r(7),x=S(q),k=r(55),_=S(k),O=r(42),E=S(O),j=r(23),A=S(j);function S(t){return t&&t.__esModule?t:{default:t}}a.default.register({"blots/block":s.default,"blots/block/embed":l.BlockEmbed,"blots/break":c.default,"blots/container":d.default,"blots/cursor":h.default,"blots/embed":g.default,"blots/inline":y.default,"blots/scroll":w.default,"blots/text":x.default,"modules/clipboard":_.default,"modules/history":E.default,"modules/keyboard":A.default}),o.default.register(s.default,c.default,h.default,y.default,w.default,x.default),e.default=a.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=function(){function t(t){this.domNode=t,this.domNode[n.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new n.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return n.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[n.DATA_KEY]},t.prototype.deleteAt=function(t,e){var r=this.isolate(t,e);r.remove()},t.prototype.formatAt=function(t,e,r,o){var i=this.isolate(t,e);if(null!=n.query(r,n.Scope.BLOT)&&o)i.wrap(r,o);else if(null!=n.query(r,n.Scope.ATTRIBUTE)){var a=n.create(this.statics.scope);i.wrap(a),a.format(r,o)}},t.prototype.insertAt=function(t,e,r){var o=null==r?n.create("text",e):n.create(e,r),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var r=null;t.children.insertBefore(this,e),null!=e&&(r=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==r||t.domNode.insertBefore(this.domNode,r),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var r=this.split(t);return r.split(e),r},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[n.DATA_KEY]&&delete this.domNode[n.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var r="string"===typeof t?n.create(t,e):t;return r.replace(this),r},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var r="string"===typeof t?n.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(r,this.next),r.appendChild(this),r},t.blotName="abstract",t}();e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(12),o=r(32),i=r(33),a=r(1),l=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=n.default.keys(this.domNode),r=o.default.keys(this.domNode),l=i.default.keys(this.domNode);e.concat(r).concat(l).forEach((function(e){var r=a.query(e,a.Scope.ATTRIBUTE);r instanceof n.default&&(t.attributes[r.attrName]=r)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(r){var n=e.attributes[r].value(e.domNode);t.format(r,n)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,r){return e[r]=t.attributes[r].value(t.domNode),e}),{})},t}();e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12);function i(t,e){var r=t.getAttribute("class")||"";return r.split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){var e=i(t,this.keyName);e.forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=i(t,this.keyName)[0]||"",r=e.slice(this.keyName.length+1);return this.canAdd(t,r)?r:""},e}(o.default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(12);function i(t){var e=t.split("-"),r=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+r}var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){var e=t.split(":");return e[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[i(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[i(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[i(this.keyName)];return this.canAdd(t,e)?e:""},e}(o.default);e.default=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){o(this,t),this.quill=e,this.options=r,this.modules={}}return n(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=u(i),l=r(7),s=u(l);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)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 p="\ufeff",h=function(t){function e(t){c(this,e);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.contentNode=document.createElement("span"),r.contentNode.setAttribute("contenteditable",!1),[].slice.call(r.domNode.childNodes).forEach((function(t){r.contentNode.appendChild(t)})),r.leftGuard=document.createTextNode(p),r.rightGuard=document.createTextNode(p),r.domNode.appendChild(r.leftGuard),r.domNode.appendChild(r.contentNode),r.domNode.appendChild(r.rightGuard),r}return d(e,t),n(e,[{key:"index",value:function(t,r){return t===this.leftGuard?0:t===this.rightGuard?1:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,r)}},{key:"restore",value:function(t){var e=void 0,r=void 0,n=t.data.split(p).join("");if(t===this.leftGuard)if(this.prev instanceof s.default){var o=this.prev.length();this.prev.insertAt(o,n),e={startNode:this.prev.domNode,startOffset:o+n.length}}else r=document.createTextNode(n),this.parent.insertBefore(a.default.create(r),this),e={startNode:r,startOffset:n.length};else t===this.rightGuard&&(this.next instanceof s.default?(this.next.insertAt(0,n),e={startNode:this.next.domNode,startOffset:n.length}):(r=document.createTextNode(n),this.parent.insertBefore(a.default.create(r),this.next),e={startNode:r,startOffset:n.length}));return t.data=p,e}},{key:"update",value:function(t,e){var r=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===r.leftGuard||t.target===r.rightGuard)){var n=r.restore(t.target);n&&(e.range=n)}}))}}]),e}(a.default.Embed);e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new o.default.Attributor.Attribute("align","align",a),s=new o.default.Attributor.Class("align","ql-align",a),u=new o.default.Attributor.Style("align","text-align",a);e.AlignAttribute=l,e.AlignClass=s,e.AlignStyle=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var n=r(0),o=a(n),i=r(26);function a(t){return t&&t.__esModule?t:{default:t}}var l=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),s=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},l=new o.default.Attributor.Attribute("direction","dir",a),s=new o.default.Attributor.Class("direction","ql-direction",a),u=new o.default.Attributor.Style("direction","direction",a);e.DirectionAttribute=l,e.DirectionClass=s,e.DirectionStyle=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new a.default.Attributor.Class("font","ql-font",f),p=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"value",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(a.default.Attributor.Style),h=new p("font","font-family",f);e.FontStyle=h,e.FontClass=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var n=r(0),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}var a=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=a,e.SizeStyle=l},function(t,e,r){"use strict";t.exports={align:{"":r(76),center:r(77),right:r(78),justify:r(79)},background:r(80),blockquote:r(81),bold:r(82),clean:r(83),code:r(58),"code-block":r(58),color:r(84),direction:{"":r(85),rtl:r(86)},float:{center:r(87),full:r(88),left:r(89),right:r(90)},formula:r(91),header:{1:r(92),2:r(93)},italic:r(94),image:r(95),indent:{"+1":r(96),"-1":r(97)},link:r(98),list:{ordered:r(99),bullet:r(100),check:r(101)},script:{sub:r(102),super:r(103)},strike:r(104),underline:r(105),video:r(106)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),i=c(o),a=r(5),l=c(a),s=r(9),u=c(s);function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)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 h=function(t){function e(t,r){f(this,e);var n=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.lastRecorded=0,n.ignoreChange=!1,n.clear(),n.quill.on(l.default.events.EDITOR_CHANGE,(function(t,e,r,o){t!==l.default.events.TEXT_CHANGE||n.ignoreChange||(n.options.userOnly&&o!==l.default.sources.USER?n.transform(e):n.record(e,r))})),n.quill.keyboard.addBinding({key:"Z",shortKey:!0},n.undo.bind(n)),n.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},n.redo.bind(n)),/Win/i.test(navigator.platform)&&n.quill.keyboard.addBinding({key:"Y",shortKey:!0},n.redo.bind(n)),n}return p(e,t),n(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var r=this.stack[t].pop();this.stack[e].push(r),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(r[t],l.default.sources.USER),this.ignoreChange=!1;var n=g(r[t]);this.quill.setSelection(n)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var r=this.quill.getContents().diff(e),n=Date.now();if(this.lastRecorded+this.options.delay>n&&this.stack.undo.length>0){var o=this.stack.undo.pop();r=r.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=n;this.stack.undo.push({redo:t,undo:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(u.default);function v(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)})))}function g(t){var e=t.reduce((function(t,e){return t+=e.delete||0,t}),0),r=t.length()-e;return v(t)&&(r-=1),r}h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=h,e.getLastChangeIndex=g},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(3),a=k(i),l=r(2),s=k(l),u=r(8),c=k(u),f=r(23),d=k(f),p=r(34),h=k(p),v=r(59),g=k(v),b=r(60),y=k(b),m=r(28),w=k(m),q=r(61),x=k(q);function k(t){return t&&t.__esModule?t:{default:t}}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function E(t,e){if("function"!==typeof e&&null!==e)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 j=[!1,"center","right","justify"],A=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],S=[!1,"serif","monospace"],N=["1","2","3",!1],T=["small",!1,"large","huge"],C=function(t){function e(t,r){_(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r)),o=function e(r){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(r.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach((function(t){t.container.contains(r.target)||t.close()}))};return t.emitter.listenDOM("click",document.body,o),n}return E(e,t),n(e,[{key:"addModule",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(r),r}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){var r=t.getAttribute("class")||"";r.split(/\s+/).forEach((function(r){if(r.startsWith("ql-")&&(r=r.slice("ql-".length),null!=e[r]))if("direction"===r)t.innerHTML=e[r][""]+e[r]["rtl"];else if("string"===typeof e[r])t.innerHTML=e[r];else{var n=t.value||"";null!=n&&e[r][n]&&(t.innerHTML=e[r][n])}}))}))}},{key:"buildPickers",value:function(t,e){var r=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&L(t,j),new y.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var r=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&L(t,A,"background"===r?"#ffffff":"#000000"),new g.default(t,e[r])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?L(t,S):t.classList.contains("ql-header")?L(t,N):t.classList.contains("ql-size")&&L(t,T)),new w.default(t)}));var n=function(){r.pickers.forEach((function(t){t.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,n)}}]),e}(h.default);C.DEFAULTS=(0,a.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var r=new FileReader;r.onload=function(r){var n=t.quill.getSelection(!0);t.quill.updateContents((new s.default).retain(n.index).delete(n.length).insert({image:r.target.result}),c.default.sources.USER),t.quill.setSelection(n.index+1,c.default.sources.SILENT),e.value=""},r.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var P=function(t){function e(t,r){_(this,e);var n=O(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.textbox=n.root.querySelector('input[type="text"]'),n.listen(),n}return E(e,t),n(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){d.default.match(e,"enter")?(t.save(),e.preventDefault()):d.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,c.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=R(t);case"formula":if(!t)break;var r=this.quill.getSelection(!0);if(null!=r){var n=r.index+r.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),t,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",c.default.sources.USER),this.quill.setSelection(n+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),e}(x.default);function R(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function L(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var n=document.createElement("option");e===r?n.setAttribute("selected","selected"):n.setAttribute("value",e),t.appendChild(n)}))}e.BaseTooltip=P,e.default=C},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){var e,r=this.iterator();while(e=r())if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){var e=0,r=this.head;while(null!=r){if(r===t)return e;e+=r.length(),r=r.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);var r,n=this.iterator();while(r=n()){var o=r.length();if(t<o||e&&t===o&&(null==r.next||0!==r.next.length()))return[r,t];t-=o}return[null,0]},t.prototype.forEach=function(t){var e,r=this.iterator();while(e=r())t(e)},t.prototype.forEachAt=function(t,e,r){if(!(e<=0)){var n,o=this.find(t),i=o[0],a=o[1],l=t-a,s=this.iterator(i);while((n=s())&&l<t+e){var u=n.length();t>l?r(n,t-l,Math.min(e,l+u-t)):r(n,0,Math.min(u,t+e-l)),l+=u}}},t.prototype.map=function(t){return this.reduce((function(e,r){return e.push(t(r)),e}),[])},t.prototype.reduce=function(t,e){var r,n=this.iterator();while(r=n())e=t(e,r);return e},t}();e.default=n},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(17),i=r(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=100,s=function(t){function e(e){var r=t.call(this,e)||this;return r.scroll=r,r.observer=new MutationObserver((function(t){r.update(t)})),r.observer.observe(r.domNode,a),r.attach(),r}return n(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,r){this.update(),0===e&&r===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,r)},e.prototype.formatAt=function(e,r,n,o){this.update(),t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){this.update(),t.prototype.insertAt.call(this,e,r,n)},e.prototype.optimize=function(e,r){var n=this;void 0===e&&(e=[]),void 0===r&&(r={}),t.prototype.optimize.call(this,r);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)e.push(a.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==n&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},u=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(u),t.optimize(r))},c=e,f=0;c.length>0;f+=1){if(f>=l)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),a=c.slice();while(a.length>0)e.push(a.pop())}},e.prototype.update=function(e,r){var n=this;void 0===r&&(r={}),e=e||this.observer.takeRecords(),e.map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==n&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],r)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,r),this.optimize(e,r)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=s},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=r(1);function a(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(t[r]!==e[r])return!1;return!0}var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){if(r.tagName!==e.tagName)return t.formats.call(this,r)},e.prototype.format=function(r,n){var i=this;r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,r,n,o){if(null!=this.formats()[n]||i.query(n,i.Scope.ATTRIBUTE)){var a=this.isolate(e,r);a.format(n,o)}else t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r);var n=this.formats();if(0===Object.keys(n).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&a(n,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=l},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=r(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(r){var n=i.query(e.blotName).tagName;if(r.tagName!==n)return t.formats.call(this,r)},e.prototype.format=function(r,n){null!=i.query(r,i.Scope.BLOCK)&&(r!==this.statics.blotName||n?t.prototype.format.call(this,r,n):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,r,n,o){null!=i.query(n,i.Scope.BLOCK)?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.insertAt=function(e,r,n){if(null==n||null!=i.query(r,i.Scope.INLINE))t.prototype.insertAt.call(this,e,r,n);else{var o=this.split(e),a=i.create(r,n);o.parent.insertBefore(a,o)}},e.prototype.update=function(e,r){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,r)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(t){},e.prototype.format=function(e,r){t.prototype.formatAt.call(this,0,this.length(),e,r)},e.prototype.formatAt=function(e,r,n,o){0===e&&r===this.length()?this.format(n,o):t.prototype.formatAt.call(this,e,r,n,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=r(1),a=function(t){function e(e){var r=t.call(this,e)||this;return r.text=r.statics.value(r.domNode),r}return n(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e["normalize"]&&(e=e["normalize"]()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,r,n){null==n?(this.text=this.text.slice(0,e)+r+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,r,n)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(r){t.prototype.optimize.call(this,r),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var r=i.create(this.domNode.splitText(t));return this.parent.insertBefore(r,this.next),this.text=this.statics.value(this.domNode),r},e.prototype.update=function(t,e){var r=this;t.some((function(t){return"characterData"===t.type&&t.target===r.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,r){"use strict";var n=document.createElement("div");if(n.classList.toggle("test-class",!1),n.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var r=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>r.length)&&(e=r.length),e-=t.length;var n=r.indexOf(t,e);return-1!==n&&n===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,r=Object(this),n=r.length>>>0,o=arguments[1],i=0;i<n;i++)if(e=r[i],t.call(o,e,i,r))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var r=-1,n=1,o=0;function i(t,e,r){if(t==e)return t?[[o,t]]:[];(r<0||t.length<r)&&(r=null);var n=u(t,e),i=t.substring(0,n);t=t.substring(n),e=e.substring(n),n=c(t,e);var l=t.substring(t.length-n);t=t.substring(0,t.length-n),e=e.substring(0,e.length-n);var s=a(t,e);return i&&s.unshift([o,i]),l&&s.push([o,l]),d(s),null!=r&&(s=v(s,r)),s=g(s),s}function a(t,e){var a;if(!t)return[[n,e]];if(!e)return[[r,t]];var s=t.length>e.length?t:e,u=t.length>e.length?e:t,c=s.indexOf(u);if(-1!=c)return a=[[n,s.substring(0,c)],[o,u],[n,s.substring(c+u.length)]],t.length>e.length&&(a[0][0]=a[2][0]=r),a;if(1==u.length)return[[r,t],[n,e]];var d=f(t,e);if(d){var p=d[0],h=d[1],v=d[2],g=d[3],b=d[4],y=i(p,v),m=i(h,g);return y.concat([[o,b]],m)}return l(t,e)}function l(t,e){for(var o=t.length,i=e.length,a=Math.ceil((o+i)/2),l=a,u=2*a,c=new Array(u),f=new Array(u),d=0;d<u;d++)c[d]=-1,f[d]=-1;c[l+1]=0,f[l+1]=0;for(var p=o-i,h=p%2!=0,v=0,g=0,b=0,y=0,m=0;m<a;m++){for(var w=-m+v;w<=m-g;w+=2){var q=l+w;j=w==-m||w!=m&&c[q-1]<c[q+1]?c[q+1]:c[q-1]+1;var x=j-w;while(j<o&&x<i&&t.charAt(j)==e.charAt(x))j++,x++;if(c[q]=j,j>o)g+=2;else if(x>i)v+=2;else if(h){var k=l+p-w;if(k>=0&&k<u&&-1!=f[k]){var _=o-f[k];if(j>=_)return s(t,e,j,x)}}}for(var O=-m+b;O<=m-y;O+=2){k=l+O;_=O==-m||O!=m&&f[k-1]<f[k+1]?f[k+1]:f[k-1]+1;var E=_-O;while(_<o&&E<i&&t.charAt(o-_-1)==e.charAt(i-E-1))_++,E++;if(f[k]=_,_>o)y+=2;else if(E>i)b+=2;else if(!h){q=l+p-O;if(q>=0&&q<u&&-1!=c[q]){var j=c[q];x=l+j-q;if(_=o-_,j>=_)return s(t,e,j,x)}}}}return[[r,t],[n,e]]}function s(t,e,r,n){var o=t.substring(0,r),a=e.substring(0,n),l=t.substring(r),s=e.substring(n),u=i(o,a),c=i(l,s);return u.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;var r=0,n=Math.min(t.length,e.length),o=n,i=0;while(r<o)t.substring(i,o)==e.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;var r=0,n=Math.min(t.length,e.length),o=n,i=0;while(r<o)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function f(t,e){var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;function o(t,e,r){var n,o,i,a,l=t.substring(r,r+Math.floor(t.length/4)),s=-1,f="";while(-1!=(s=e.indexOf(l,s+1))){var d=u(t.substring(r),e.substring(s)),p=c(t.substring(0,r),e.substring(0,s));f.length<p+d&&(f=e.substring(s-p,s)+e.substring(s,s+d),n=t.substring(0,r-p),o=t.substring(r+d),i=e.substring(0,s-p),a=e.substring(s+d))}return 2*f.length>=t.length?[n,o,i,a,f]:null}var i,a,l,s,f,d=o(r,n,Math.ceil(r.length/4)),p=o(r,n,Math.ceil(r.length/2));if(!d&&!p)return null;i=p?d&&d[4].length>p[4].length?d:p:d,t.length>e.length?(a=i[0],l=i[1],s=i[2],f=i[3]):(s=i[0],f=i[1],a=i[2],l=i[3]);var h=i[4];return[a,l,s,f,h]}function d(t){t.push([o,""]);var e,i=0,a=0,l=0,s="",f="";while(i<t.length)switch(t[i][0]){case n:l++,f+=t[i][1],i++;break;case r:a++,s+=t[i][1],i++;break;case o:a+l>1?(0!==a&&0!==l&&(e=u(f,s),0!==e&&(i-a-l>0&&t[i-a-l-1][0]==o?t[i-a-l-1][1]+=f.substring(0,e):(t.splice(0,0,[o,f.substring(0,e)]),i++),f=f.substring(e),s=s.substring(e)),e=c(f,s),0!==e&&(t[i][1]=f.substring(f.length-e)+t[i][1],f=f.substring(0,f.length-e),s=s.substring(0,s.length-e))),0===a?t.splice(i-l,a+l,[n,f]):0===l?t.splice(i-a,a+l,[r,s]):t.splice(i-a-l,a+l,[r,s],[n,f]),i=i-a-l+(a?1:0)+(l?1:0)+1):0!==i&&t[i-1][0]==o?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,l=0,a=0,s="",f="";break}""===t[t.length-1][1]&&t.pop();var p=!1;i=1;while(i<t.length-1)t[i-1][0]==o&&t[i+1][0]==o&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),p=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),p=!0)),i++;p&&d(t)}var p=i;function h(t,e){if(0===e)return[o,t];for(var n=0,i=0;i<t.length;i++){var a=t[i];if(a[0]===r||a[0]===o){var l=n+a[1].length;if(e===l)return[i+1,t];if(e<l){t=t.slice();var s=e-n,u=[a[0],a[1].slice(0,s)],c=[a[0],a[1].slice(s)];return t.splice(i,1,u,c),[i+1,t]}n=l}}throw new Error("cursor_pos is out of bounds!")}function v(t,e){var r=h(t,e),n=r[1],i=r[0],a=n[i],l=n[i+1];if(null==a)return t;if(a[0]!==o)return t;if(null!=l&&a[1]+l[1]===l[1]+a[1])return n.splice(i,2,l,a),b(n,i,2);if(null!=l&&0===l[1].indexOf(a[1])){n.splice(i,2,[l[0],a[1]],[0,a[1]]);var s=l[1].slice(a[1].length);return s.length>0&&n.splice(i+2,0,[l[0],s]),b(n,i,3)}return t}function g(t){for(var e=!1,i=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},a=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},l=2;l<t.length;l+=1)t[l-2][0]===o&&a(t[l-2][1])&&t[l-1][0]===r&&i(t[l-1][1])&&t[l][0]===n&&i(t[l][1])&&(e=!0,t[l-1][1]=t[l-2][1].slice(-1)+t[l-1][1],t[l][1]=t[l-2][1].slice(-1)+t[l][1],t[l-2][1]=t[l-2][1].slice(0,-1));if(!e)return t;var s=[];for(l=0;l<t.length;l+=1)t[l][1].length>0&&s.push(t[l]);return s}function b(t,e,r){for(var n=e+r-1;n>=0&&n>=e-1;n--)if(n+1<t.length){var o=t[n],i=t[n+1];o[0]===i[1]&&t.splice(n,2,[o[0],o[1]+i[1]])}return t}p.INSERT=n,p.DELETE=r,p.EQUAL=o,t.exports=p},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}e=t.exports="function"===typeof Object.keys?Object.keys:r,e.shim=r},function(t,e){var r="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}e=t.exports=r?n:o,e.supported=n,e.unsupported=o},function(t,e){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function o(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),a.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)r.call(t,e)&&o.push(n?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},a.prototype.listeners=function(t,e){var r=n?n+t:t,o=this._events[r];if(e)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,l=new Array(a);i<a;i++)l[i]=o[i].fn;return l},a.prototype.emit=function(t,e,r,o,i,a){var l=n?n+t:t;if(!this._events[l])return!1;var s,u,c=this._events[l],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,r),!0;case 4:return c.fn.call(c.context,e,r,o),!0;case 5:return c.fn.call(c.context,e,r,o,i),!0;case 6:return c.fn.call(c.context,e,r,o,i,a),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var d,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,r);break;case 4:c[u].fn.call(c[u].context,e,r,o);break;default:if(!s)for(d=1,s=new Array(f-1);d<f;d++)s[d-1]=arguments[d];c[u].fn.apply(c[u].context,s)}}return!0},a.prototype.on=function(t,e,r){var o=new i(e,r||this),a=n?n+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(t,e,r){var o=new i(e,r||this,!0),a=n?n+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(t,e,r,i){var a=n?n+t:t;if(!this._events[a])return this;if(!e)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var l=this._events[a];if(l.fn)l.fn!==e||i&&!l.once||r&&l.context!==r||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==e||i&&!l[s].once||r&&l[s].context!==r)&&u.push(l[s]);u.length?this._events[a]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=n,a.EventEmitter=a,"undefined"!==typeof t&&(t.exports=a)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(3),l=E(a),s=r(2),u=E(s),c=r(0),f=E(c),d=r(5),p=E(d),h=r(10),v=E(h),g=r(9),b=E(g),y=r(36),m=r(37),w=r(13),q=E(w),x=r(26),k=r(38),_=r(39),O=r(40);function E(t){return t&&t.__esModule?t:{default:t}}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function N(t,e){if("function"!==typeof e&&null!==e)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 T=(0,v.default)("quill:clipboard"),C="__ql-matcher",P=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,Z],["br",V],[Node.ELEMENT_NODE,Z],[Node.ELEMENT_NODE,Y],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,J],["li",W],["b",F.bind(F,"bold")],["i",F.bind(F,"italic")],["style",K]],R=[y.AlignAttribute,k.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),L=[y.AlignStyle,m.BackgroundStyle,x.ColorStyle,k.DirectionStyle,_.FontStyle,O.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),I=function(t){function e(t,r){A(this,e);var n=S(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],P.concat(n.options.matchers).forEach((function(t){var e=o(t,2),i=e[0],a=e[1];(r.matchVisual||a!==G)&&n.addMatcher(i,a)})),n}return N(e,t),i(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[q.default.blotName]){var r=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(r,j({},q.default.blotName,e[q.default.blotName]))}var n=this.prepareMatching(),i=o(n,2),a=i[0],l=i[1],s=z(this.container,a,l);return U(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new u.default).retain(s.length()-1).delete(1))),T.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,p.default.sources.SILENT);else{var n=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(n),r),this.quill.setSelection(t+n.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var r=this.quill.getSelection(),n=(new u.default).retain(r.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(p.default.sources.SILENT),setTimeout((function(){n=n.concat(e.convert()).delete(r.length),e.quill.updateContents(n,p.default.sources.USER),e.quill.setSelection(n.length()-r.length,p.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],r=[];return this.matchers.forEach((function(n){var i=o(n,2),a=i[0],l=i[1];switch(a){case Node.TEXT_NODE:r.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[C]=t[C]||[],t[C].push(l)}));break}})),[e,r]}}]),e}(b.default);function M(t,e,r){return"object"===("undefined"===typeof e?"undefined":n(e))?Object.keys(e).reduce((function(t,r){return M(t,r,e[r])}),t):t.reduce((function(t,n){return n.attributes&&n.attributes[e]?t.push(n):t.insert(n.insert,(0,l.default)({},j({},e,r),n.attributes))}),new u.default)}function B(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function U(t,e){for(var r="",n=t.ops.length-1;n>=0&&r.length<e.length;--n){var o=t.ops[n];if("string"!==typeof o.insert)break;r=o.insert+r}return r.slice(-1*e.length)===e}function D(t){if(0===t.childNodes.length)return!1;var e=B(t);return["block","list-item"].indexOf(e.display)>-1}function z(t,e,r){return t.nodeType===t.TEXT_NODE?r.reduce((function(e,r){return r(t,e)}),new u.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(n,o){var i=z(o,e,r);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce((function(t,e){return e(o,t)}),i),i=(o[C]||[]).reduce((function(t,e){return e(o,t)}),i)),n.concat(i)}),new u.default):new u.default}function F(t,e,r){return M(r,t,!0)}function H(t,e){var r=f.default.Attributor.Attribute.keys(t),n=f.default.Attributor.Class.keys(t),o=f.default.Attributor.Style.keys(t),i={};return r.concat(n).concat(o).forEach((function(e){var r=f.default.query(e,f.default.Scope.ATTRIBUTE);null!=r&&(i[r.attrName]=r.value(t),i[r.attrName])||(r=R[e],null==r||r.attrName!==e&&r.keyName!==e||(i[r.attrName]=r.value(t)||void 0),r=L[e],null==r||r.attrName!==e&&r.keyName!==e||(r=L[e],i[r.attrName]=r.value(t)||void 0))})),Object.keys(i).length>0&&(e=M(e,i)),e}function Y(t,e){var r=f.default.query(t);if(null==r)return e;if(r.prototype instanceof f.default.Embed){var n={},o=r.value(t);null!=o&&(n[r.blotName]=o,e=(new u.default).insert(n,r.formats(t)))}else"function"===typeof r.formats&&(e=M(e,r.blotName,r.formats(t)));return e}function V(t,e){return U(e,"\n")||e.insert("\n"),e}function K(){return new u.default}function W(t,e){var r=f.default.query(t);if(null==r||"list-item"!==r.blotName||!U(e,"\n"))return e;var n=-1,o=t.parentNode;while(!o.classList.contains("ql-clipboard"))"list"===(f.default.query(o)||{}).blotName&&(n+=1),o=o.parentNode;return n<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:n}))}function Z(t,e){return U(e,"\n")||(D(t)||e.length()>0&&t.nextSibling&&D(t.nextSibling))&&e.insert("\n"),e}function G(t,e){if(D(t)&&null!=t.nextElementSibling&&!U(e,"\n\n")){var r=t.offsetHeight+parseFloat(B(t).marginTop)+parseFloat(B(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*r&&e.insert("\n")}return e}function J(t,e){var r={},n=t.style||{};return n.fontStyle&&"italic"===B(t).fontStyle&&(r.italic=!0),n.fontWeight&&(B(t).fontWeight.startsWith("bold")||parseInt(B(t).fontWeight)>=700)&&(r.bold=!0),Object.keys(r).length>0&&(e=M(e,r)),parseFloat(n.textIndent||0)>0&&(e=(new u.default).insert("\t").concat(e)),e}function X(t,e){var r=t.data;if("O:P"===t.parentNode.tagName)return e.insert(r.trim());if(0===r.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!B(t.parentNode).whiteSpace.startsWith("pre")){var n=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};r=r.replace(/\r\n/g," ").replace(/\n/g," "),r=r.replace(/\s\s+/g,n.bind(n,!0)),(null==t.previousSibling&&D(t.parentNode)||null!=t.previousSibling&&D(t.previousSibling))&&(r=r.replace(/^\s+/,n.bind(n,!1))),(null==t.nextSibling&&D(t.parentNode)||null!=t.nextSibling&&D(t.nextSibling))&&(r=r.replace(/\s+$/,n.bind(n,!1)))}return e.insert(r)}I.DEFAULTS={matchers:[],matchVisual:!0},e.default=I,e.matchAttributor=H,e.matchBlot=Y,e.matchNewline=Z,e.matchSpacing=G,e.matchText=X},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(a.default);f.blotName="bold",f.tagName=["STRONG","B"],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(2),a=v(i),l=r(0),s=v(l),u=r(5),c=v(u),f=r(10),d=v(f),p=r(9),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)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 w=(0,d.default)("quill:toolbar"),q=function(t){function e(t,r){b(this,e);var o,i=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if(Array.isArray(i.options.container)){var a=document.createElement("div");k(a,i.options.container),t.container.parentNode.insertBefore(a,t.container),i.container=a}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(t){i.addHandler(t,i.options.handlers[t])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(t){i.attach(t)})),i.quill.on(c.default.events.EDITOR_CHANGE,(function(t,e){t===c.default.events.SELECTION_CHANGE&&i.update(e)})),i.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var t=i.quill.selection.getRange(),e=n(t,1),r=e[0];i.update(r)})),i):(o=w.error("Container required for toolbar",i.options),y(i,o))}return m(e,t),o(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,r=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(r){if(r=r.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[r]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[r])return void w.warn("ignoring attaching to disabled format",r,t);if(null==s.default.query(r))return void w.warn("ignoring attaching to nonexistent format",r,t)}var o="SELECT"===t.tagName?"change":"click";t.addEventListener(o,(function(o){var i=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];i=!l.hasAttribute("selected")&&(l.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),o.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),f=n(u,1),d=f[0];if(null!=e.handlers[r])e.handlers[r].call(e,i);else if(s.default.query(r).prototype instanceof s.default.Embed){if(i=prompt("Enter "+r),!i)return;e.quill.updateContents((new a.default).retain(d.index).delete(d.length).insert(g({},r,i)),c.default.sources.USER)}else e.quill.format(r,i,c.default.sources.USER);e.update(d)})),this.controls.push([r,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(r){var o=n(r,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var l=void 0;if(null==t)l=null;else if(null==e[i])l=a.querySelector("option[selected]");else if(!Array.isArray(e[i])){var s=e[i];"string"===typeof s&&(s=s.replace(/\"/g,'\\"')),l=a.querySelector('option[value="'+s+'"]')}null==l?(a.value="",a.selectedIndex=-1):l.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=e[i]===a.getAttribute("value")||null!=e[i]&&e[i].toString()===a.getAttribute("value")||null==e[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=e[i])}))}}]),e}(h.default);function x(t,e,r){var n=document.createElement("button");n.setAttribute("type","button"),n.classList.add("ql-"+e),null!=r&&(n.value=r),t.appendChild(n)}function k(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var r=document.createElement("span");r.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)x(r,t);else{var e=Object.keys(t)[0],n=t[e];Array.isArray(n)?_(r,e,n):x(r,e,n)}})),t.appendChild(r)}))}function _(t,e,r){var n=document.createElement("select");n.classList.add("ql-"+e),r.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),n.appendChild(e)})),t.appendChild(n)}q.DEFAULTS={},q.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var r=this.quill.getFormat();Object.keys(r).forEach((function(e){null!=s.default.query(e,s.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,c.default.sources.USER)},direction:function(t){var e=this.quill.getFormat()["align"];"rtl"===t&&null==e?this.quill.format("align","right",c.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",t,c.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),r=this.quill.getFormat(e),n=parseInt(r.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===r.direction&&(o*=-1),this.quill.format("indent",n+o,c.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,c.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),r=this.quill.getFormat(e);"check"===t?"checked"===r["list"]||"unchecked"===r["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",t,c.default.sources.USER)}}},e.default=q,e.addControls=k},function(t,e){t.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(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(28),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(t,r){s(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.label.innerHTML=r,n.container.classList.add("ql-color-picker"),[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),n}return c(e,t),n(e,[{key:"buildItem",value:function(t){var r=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return r.style.backgroundColor=t.getAttribute("value")||"",r}},{key:"selectItem",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,r);var n=this.label.querySelector(".ql-color-label"),i=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=i:n.style.fill=i)}}]),e}(a.default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(28),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(t,r){s(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=r[t.getAttribute("data-value")||""]})),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}return c(e,t),n(e,[{key:"selectItem",value:function(t,r){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,r),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(a.default);e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,r){var n=this;o(this,t),this.quill=e,this.boundsContainer=r||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"})),this.hide()}return n(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,r=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=r+"px",this.root.classList.remove("ql-flip");var n=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>n.right&&(i=n.right-o.right,this.root.style.left=e+i+"px"),o.left<n.left&&(i=n.left-o.left,this.root.style.left=e+i+"px"),o.bottom>n.bottom){var a=o.bottom-o.top,l=t.bottom-t.top+a;this.root.style.top=r-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(n=(a=l.next()).done);n=!0)if(r.push(a.value),e&&r.length===e)break}catch(s){o=!0,i=s}finally{try{!n&&l["return"]&&l["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(3),l=b(a),s=r(8),u=b(s),c=r(43),f=b(c),d=r(27),p=b(d),h=r(15),v=r(41),g=b(v);function b(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function w(t,e){if("function"!==typeof e&&null!==e)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 q=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],x=function(t){function e(t,r){y(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=q);var n=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-snow"),n}return w(e,t),i(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),g.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),g.default),this.tooltip=new k(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,r){t.handlers["link"].call(t,!r.format.link)}))}}]),e}(f.default);x.DEFAULTS=(0,l.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var r=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(r)&&0!==r.indexOf("mailto:")&&(r="mailto:"+r);var n=this.quill.theme.tooltip;n.edit("link",r)}else this.quill.format("link",!1)}}}}});var k=function(t){function e(t,r){y(this,e);var n=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.preview=n.root.querySelector("a.ql-preview"),n}return w(e,t),i(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var r=t.linkRange;t.restoreFocus(),t.quill.formatText(r,"link",!1,u.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(u.default.events.SELECTION_CHANGE,(function(e,r,o){if(null!=e){if(0===e.length&&o===u.default.sources.USER){var i=t.quill.scroll.descendant(p.default,e.index),a=n(i,2),l=a[0],s=a[1];if(null!=l){t.linkRange=new h.Range(e.index-s,l.length());var c=p.default.formats(l.domNode);return t.preview.textContent=c,t.preview.setAttribute("href",c),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(c.BaseTooltip);k.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(""),e.default=x},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(29),o=rt(n),i=r(36),a=r(38),l=r(64),s=r(65),u=rt(s),c=r(66),f=rt(c),d=r(67),p=rt(d),h=r(37),v=r(26),g=r(39),b=r(40),y=r(56),m=rt(y),w=r(68),q=rt(w),x=r(27),k=rt(x),_=r(69),O=rt(_),E=r(70),j=rt(E),A=r(71),S=rt(A),N=r(72),T=rt(N),C=r(73),P=rt(C),R=r(13),L=rt(R),I=r(74),M=rt(I),B=r(75),U=rt(B),D=r(57),z=rt(D),F=r(41),H=rt(F),Y=r(28),V=rt(Y),K=r(59),W=rt(K),Z=r(60),G=rt(Z),J=r(61),X=rt(J),$=r(108),Q=rt($),tt=r(62),et=rt(tt);function rt(t){return t&&t.__esModule?t:{default:t}}o.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":i.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":i.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":b.SizeStyle},!0),o.default.register({"formats/align":i.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":l.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":g.FontClass,"formats/size":b.SizeClass,"formats/blockquote":u.default,"formats/code-block":L.default,"formats/header":f.default,"formats/list":p.default,"formats/bold":m.default,"formats/code":R.Code,"formats/italic":q.default,"formats/link":k.default,"formats/script":O.default,"formats/strike":j.default,"formats/underline":S.default,"formats/image":T.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":M.default,"modules/syntax":U.default,"modules/toolbar":z.default,"themes/bubble":Q.default,"themes/snow":et.default,"ui/icons":H.default,"ui/picker":V.default,"ui/icon-picker":G.default,"ui/color-picker":W.default,"ui/tooltip":X.default},!0),e.default=o.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,[{key:"add",value:function(t,r){if("+1"===r||"-1"===r){var n=this.value(t)||0;r="+1"===r?n+1:n-1}return 0===r?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,r)}},{key:"canAdd",value:function(t,r){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,r)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(r))}},{key:"value",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(a.default.Attributor.Class),d=new f("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="blockquote",u.tagName="blockquote",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(4),i=a(o);function a(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)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 c=function(t){function e(){return l(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u(e,t),n(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(i.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=f(i),l=r(4),s=f(l),u=r(25),c=f(u);function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)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 g=function(t){function e(){return p(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return v(e,t),n(e,[{key:"format",value:function(t,r){t!==b.blotName||r?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,r){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,r),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,r))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(s.default);g.blotName="list-item",g.tagName="LI";var b=function(t){function e(t){p(this,e);var r=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),n=function(e){if(e.target.parentNode===t){var n=r.statics.formats(t),o=a.default.find(e.target);"checked"===n?o.format("list","unchecked"):"unchecked"===n&&o.format("list","checked")}};return t.addEventListener("touchstart",n),t.addEventListener("mousedown",n),r}return v(e,t),n(e,null,[{key:"create",value:function(t){var r="ordered"===t?"OL":"UL",n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,r);return"checked"!==t&&"unchecked"!==t||n.setAttribute("data-checked","checked"===t),n}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),n(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,r){if(t instanceof g)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,r);else{var n=null==r?this.length():r.offset(this),i=this.split(n);i.parent.insertBefore(t,i)}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&r.domNode.tagName===this.domNode.tagName&&r.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(r.moveChildren(this),r.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var r=a.default.create(this.statics.defaultChild);t.moveChildren(r),this.appendChild(r)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(c.default);b.blotName="list",b.scope=a.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[g],e.ListItem=g,e.default=b},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(56),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="italic",u.tagName=["EM","I"],e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(6),a=l(i);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)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 f=function(t){function e(){return s(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,t),n(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(a.default);f.blotName="script",f.tagName=["SUB","SUP"],e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="strike",u.tagName="S",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6),o=i(n);function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function s(t,e){if("function"!==typeof e&&null!==e)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 u=function(t){function e(){return a(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),e}(o.default);u.blotName="underline",u.tagName="U",e.default=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=s(i),l=r(27);function s(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)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 d=["alt","height","width"],p=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function(t,r){d.indexOf(t)>-1?r?this.domNode.setAttribute(t,r):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&r.setAttribute("src",this.sanitize(t)),r}},{key:"formats",value:function(t){return d.reduce((function(e,r){return t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.default.Embed);p.blotName="image",p.tagName="IMG",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(4),a=r(27),l=s(a);function s(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function f(t,e){if("function"!==typeof e&&null!==e)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 d=["height","width"],p=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,t),n(e,[{key:"format",value:function(t,r){d.indexOf(t)>-1?r?this.domNode.setAttribute(t,r):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,r)}}],[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen",!0),r.setAttribute("src",this.sanitize(t)),r}},{key:"formats",value:function(t){return d.reduce((function(e,r){return t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(i.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(35),a=f(i),l=r(5),s=f(l),u=r(9),c=f(u);function f(t){return t&&t.__esModule?t:{default:t}}function d(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||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)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 v=function(t){function e(){return d(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),n(e,null,[{key:"create",value:function(t){var r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,r,{throwOnError:!1,errorColor:"#f00"}),r.setAttribute("data-value",t)),r}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(a.default);v.blotName="formula",v.className="ql-formula",v.tagName="SPAN";var g=function(t){function e(){d(this,e);var t=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return h(e,t),n(e,null,[{key:"register",value:function(){s.default.register(v,!0)}}]),e}(c.default);e.FormulaBlot=v,e.default=g},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},i=r(0),a=p(i),l=r(5),s=p(l),u=r(9),c=p(u),f=r(13),d=p(f);function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function g(t,e){if("function"!==typeof e&&null!==e)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 b=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return g(e,t),n(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(d.default);b.className="ql-syntax";var y=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),m=function(t){function e(t,r){h(this,e);var n=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if("function"!==typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return n.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){n.highlight(),o=null}),n.options.interval)})),n.highlight(),n}return g(e,t),n(e,null,[{key:"register",value:function(){s.default.register(y,!0),s.default.register(b,!0)}}]),n(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(s.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(s.default.sources.SILENT),null!=e&&this.quill.setSelection(e,s.default.sources.SILENT)}}}]),e}(c.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){var e=window.hljs.highlightAuto(t);return e.value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=y,e.default=m},function(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e){t.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(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var n=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(3),a=h(i),l=r(8),s=h(l),u=r(43),c=h(u),f=r(15),d=r(41),p=h(d);function h(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 g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function b(t,e){if("function"!==typeof e&&null!==e)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 y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,r){v(this,e),null!=r.modules.toolbar&&null==r.modules.toolbar.container&&(r.modules.toolbar.container=y);var n=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.container.classList.add("ql-bubble"),n}return b(e,t),o(e,[{key:"extendToolbar",value:function(t){this.tooltip=new w(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]),e}(c.default);m.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var w=function(t){function e(t,r){v(this,e);var n=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,r,o){if(t===s.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===s.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var i=n.quill.getLines(e.index,e.length);if(1===i.length)n.position(n.quill.getBounds(e));else{var a=i[i.length-1],l=n.quill.getIndex(a),u=Math.min(a.length()-1,e.index+e.length-l),c=n.quill.getBounds(new f.Range(l,u));n.position(c)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()})),n}return b(e,t),o(e,[{key:"listen",value:function(){var t=this;n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var r=n(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===r)return r;o.style.marginLeft=-1*r-o.offsetWidth/2+"px"}}]),e}(u.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(""),e.BubbleTooltip=w,e.default=m},function(t,e,r){t.exports=r(63)}])["default"]}))}).call(this,r("257d").Buffer)},8077:function(t,e,r){var n=r("f5dc"),o=r("2e4e"),i=r("cb56"),a=r("59be"),l=r("d87e"),s=r("a342"),u=l("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t]}})},"823a":function(t,e,r){"use strict";var n=r("82ac");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"827e":function(t,e,r){"use strict";r("7273")},"82ac":function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},"84c7":function(t,e,r){"use strict";var n=r("d67b");t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},8596:function(t,e,r){"use strict";r.d(e,"x",(function(){return i})),r.d(e,"s",(function(){return a})),r.d(e,"t",(function(){return l})),r.d(e,"d",(function(){return s})),r.d(e,"w",(function(){return u})),r.d(e,"y",(function(){return c})),r.d(e,"q",(function(){return f})),r.d(e,"r",(function(){return d})),r.d(e,"e",(function(){return p})),r.d(e,"u",(function(){return h})),r.d(e,"g",(function(){return v})),r.d(e,"i",(function(){return g})),r.d(e,"p",(function(){return b})),r.d(e,"n",(function(){return y})),r.d(e,"o",(function(){return m})),r.d(e,"l",(function(){return w})),r.d(e,"j",(function(){return q})),r.d(e,"k",(function(){return x})),r.d(e,"z",(function(){return k})),r.d(e,"B",(function(){return _})),r.d(e,"v",(function(){return O})),r.d(e,"m",(function(){return E})),r.d(e,"h",(function(){return j})),r.d(e,"f",(function(){return A})),r.d(e,"a",(function(){return S})),r.d(e,"A",(function(){return N})),r.d(e,"b",(function(){return T})),r.d(e,"c",(function(){return C}));var n=r("c452"),o=(r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),v=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),g=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),b=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),m=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),w=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),q=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),j=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data.userObj,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/role",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),N=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/removeRole",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get("role");case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),C=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post("/user/saveLSS",e);case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},"88a7":function(t,e,r){"use strict";var n=r("301e");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},"8a5d":function(t,e,r){"use strict";var n=r("1464"),o=Object.prototype.toString;function i(t){return Array.isArray(t)}function a(t){return"undefined"===typeof t}function l(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function s(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"[object FormData]"===o.call(t)}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&s(t.buffer),e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===o.call(t)}function g(t){return"[object File]"===o.call(t)}function b(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function m(t){return p(t)&&y(t.pipe)}function w(t){return"[object URLSearchParams]"===o.call(t)}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function _(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=_(t[r],e):h(e)?t[r]=_({},e):i(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)k(arguments[r],e);return t}function O(t,e,r){return k(e,(function(e,o){t[o]=r&&"function"===typeof e?n(e,r):e})),t}function E(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:i,isArrayBuffer:s,isBuffer:l,isFormData:u,isArrayBufferView:c,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:a,isDate:v,isFile:g,isBlob:b,isFunction:y,isStream:m,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:k,merge:_,extend:O,trim:q,stripBOM:E}},"8cb1":function(t,e,r){var n=r("a42c");e.f=n},"8de0":function(t,e,r){var n=r("b88a"),o=r("2e4e"),i=r("8cb1"),a=r("1ad6").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"93f9":function(t,e,r){"use strict";var n=r("8a5d"),o=r("5cd4"),i=r("0323"),a=r("cc3a"),l=r("82ac");function s(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new l("canceled")}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return c}));var n=r("11ce"),o=r.n(n),i={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},a={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},l={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},s={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},c={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9cc1":function(t,e,r){var n=r("44b8"),o=r("924c"),i=r("9407"),a=r("5e63"),l=r("7c7b"),s=r("0d3a"),u=o([].push),c=function(t){var e=1==t,r=2==t,o=3==t,c=4==t,f=6==t,d=7==t,p=5==t||f;return function(h,v,g,b){for(var y,m,w=a(h),q=i(w),x=n(v,g),k=l(q),_=0,O=b||s,E=e?O(h,k):r||d?O(h,0):void 0;k>_;_++)if((p||_ in q)&&(y=q[_],m=x(y,_,w),t))if(e)E[_]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:u(E,y)}else switch(t){case 4:return!1;case 7:u(E,y)}return f?-1:o||c?c:E}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9e1e":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-11b8a85c]{position:fixed;top:30%;left:42%}.tableScroll[data-v-11b8a85c]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},a342:function(t,e,r){var n=r("3a37");t.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},a3aa:function(t,e,r){var n=r("b93d"),o=n.match(/AppleWebKit\/(\d+)\./);t.exports=!!o&&+o[1]},a3f6:function(t,e,r){"use strict";var n=r("f5dc"),o=r("1c80");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},a417:function(t,e,r){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},a884:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWUaG2SmZs9oG77PnWLV3Hy8r9iNdSJkY2jPAmojdYMe+1Arq5ZnuzAhi6h5SV3OXjBuV1A8MM8IAXfpqcm9oqeoZpKuhirybhaiL71J8p5LCggLU1a1i3SBt9+9w62YRN0orKSmvIP92Edm1Y/j76WzWkV+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGUVUDxWFebDvlhXOOngePOkUdME8WAsyRuf/cRGZ2Nqnp6Xyg2MlLu06K9j1j/NL4DLA2su0Pstw5ieTGAYbkWcN8ZYIrC98+RuDDHoGhG312AOt+voXjui7qsy+zddEnzDkRhm9oNF6ujiw/5M05fQv3Es+yZuFqFjhFERgSgdLRgRWOQUS0i9rWWIrqjBu7PEI4GxTAvx288Ukro+JWJJ9t2Mzb60+y59QlvEPiCFIeZtnmE+wOSCJNW0vziPzVvqUsJsP+IIDdysnlfs09Tjk58eZHK5EOuIt2P+dpWAaPt4fVqVGccMPeX4W/KodMkQ39hpvTf52t81wJfdgt8sugcs7P3oNTjdjfRppJ2G6DTdFoAAZ60Xoo+OG5Eoa7qgnZqWBbpRxrrSXGaTe/9M+iKM6Dvx5ORT8aGKQ+4wpf2rlxproKXz83/uhT8LgU10b5YO8ZTGS7PGGmLAPYXiW/MZREHx+USiVrbW15a9H7SEs/RnIOEU2I4XxmkmnjNh1CQw8oSQhGYefAv74KILSyGzrS2CIDM76YKObs7N0yMD1Xt9rwecFoQHQI/bRcd+WVHTHoeu4StE3BljtyrK+ZHJU7b9r64uu7nzlqk8+vy0Ppc5pVV9IJDPBkSUARvaOBIXRR3uxxCSGidXTCbFkGMHsnfrLkLyxavoI3Zs3mlXdm8dKfBax/rEc66iMA5T5dGicC9lgtZB5W8DOvfBobU1DMdyXs/wWW4car+1No6q7gkimw/mZuJXjy0y8u4ue9jzkZXXJASK/BxVfJqshUAcyDJf5F8l71XQRm6BLtXfje7xbx8p+WIS1YivTOb5G2HzV2i36i+YjIF+u/CVgLRVnVPGrtk8dCVw/yhkcG+oZ4FL93JrhprCRq8Z1th7v+CTCb0tGAKIl96ALt+UV4LXSWjwLbPvaGqa2etAtHWRxWQH7wceY55zL2aY80aRw+7oFDqZbzfu586F8sxwapivDCzi2YqO9MSYwUwI6fR1qtEAdnN6Tdp5HmLERab2fsElUlT9aP+Rlg9wk/6M4Rv3iScjVkZlzjjJMzh3If0jNQzoU1+1gZkk5qjgZ1TghfzNzAmtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="},aa01:function(t,e,r){"use strict";var n=r("fccd");t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},afda:function(t,e,r){r("241c"),r("7698"),r("8077"),r("5a0e"),r("256f")},b03f:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t._m(0),t.renderReady?n("div",{staticClass:"w-full mt-4"},[t.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.taskDetails?n("div",{staticClass:"max-w-4xl m-auto shadow p-5 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Name ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.task_name,expression:"taskDetails.task_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.task_name},on:{input:function(e){e.target.composing||t.$set(t.taskDetails,"task_name",e.target.value)}}})]),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Description ")]),n("vue-editor",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",model:{value:t.taskDetails.description,callback:function(e){t.$set(t.taskDetails,"description",e)},expression:"taskDetails.description"}})],1),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Use Weighted Values? ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_weighted,expression:"taskDetails.is_weighted"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.taskDetails,"is_weighted",e.target.multiple?r:r[0])}}},[n("option"),n("option",{attrs:{value:"false"}},[t._v("No")]),n("option",{attrs:{value:"true"}},[t._v("Yes")])])]),n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Type ")]),n("input",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",disabled:""},domProps:{value:t.taskDetails.task_type}})]),t._l(t.taskDetails.task_questions,(function(e,r){return n("div",{key:r,staticClass:"w-full p-2 bg-gray-100"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Checklist "+t._s(r+1)+" ")]),n("textarea",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},domProps:{value:e.text}})]),n("div",{staticClass:"flex"},[n("div",{staticClass:"w-full px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Question Type ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.type,expression:"question.type"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(r){var n=Array.prototype.filter.call(r.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(e,"type",r.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Yes/No"}},[t._v("Yes/No")]),n("option",{attrs:{value:"Scale"}},[t._v("Scale")])])])])])})),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{path:"taskManagement"}}},[t._v(" Back ")]),t.showUpdate?n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.updateRecord()}}},[t._v("Update")]):t._e()],1)],2)]):t._e()]):t._e(),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl -text-blue-900"},[t._v("Task Details")])])}],i=r("c452"),a=(r("5a0e"),r("205b"),r("ef5f"),r("833b"),r("4687")),l=r("3c08"),s=r("1dba"),u=r.n(s),c=r("3212"),f=r("8596"),d=Object(a["b"])({name:"TaskDetails",components:{VueEditor:l["a"]},props:{query:{type:Object,default:function(){return{}}}},setup:function(t){var e=Object(a["f"])(!0),r=Object(a["f"])(!0),n=Object(a["f"])(),o=Object(a["f"])(),l=Object(a["f"])(t.query.task_id),s=Object(a["f"])(!0),d=Object(a["f"])(),p=Object(a["f"])(!1),h=Object(a["f"])(),v=Object(a["f"])(!1),g=Object(a["f"])({}),b=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s.value=!1,t.next=3,Object(c["a"])(l.value);case 3:d.value=t.sent,console.log("Task Response",d.value),s.value=!0;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e,r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,s.value=!1,console.log("inside updateRecord task details ".concat(JSON.stringify(d.value))),t.next=5,Object(c["g"])(d.value);case 5:r=t.sent,h.value=null===(e=r.data)||void 0===e?void 0:e.message,s.value=!0,p.value=!0,window.scroll(0,0),s.value=!0,t.next=17;break;case 13:t.prev=13,t.t0=t["catch"](0),s.value=!0,u.a.isAxiosError(t.t0)&&(o=t.t0,s.value=!0,h.value=null===(n=o.response)||void 0===n?void 0:n.data.message,v.value=!0,setTimeout((function(){v.value=!1}),2e3));case 17:case"end":return t.stop()}}),t,null,[[0,13]])})));return function(){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(f["f"])("/getUserRole");case 2:return i=t.sent,n.value=i.user_roles,o.value=i.user_key,n.value.length>0&&(n.value.includes("System Admin")||n.value.includes("System Admin View Access")||n.value.includes("Community Manager")||n.value.includes("Program Admin")?(r.value=!0,e.value=!0):(r.value=!1,e.value=!1),n.value.includes("System Admin View Access")&&(e.value=!0,r.value=!1)),t.next=8,b();case 8:case"end":return t.stop()}}),t)})))),{taskId:l,renderReady:s,taskDetails:d,updateRecord:y,showSuccessMessage:p,resMessage:h,showErrorMessage:v,showUpdate:r,editorConfig:g,showScreen:e}}}),p=d,h=(r("69b2"),r("b709")),v=Object(h["a"])(p,n,o,!1,null,"2139e5c2",null);e["default"]=v.exports},b30e:function(t,e,r){var n=r("572d"),o=r("ffa6"),i=r("701b"),a=r("102b"),l=r("141c"),s=function(t){if(t&&t.forEach!==a)try{l(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&s(n[u]&&n[u].prototype);s(i)},b7d8:function(t,e,r){var n=r("f073"),o=Math.floor,i=function(t,e){var r=t.length,s=o(r/2);return r<8?a(t,e):l(t,i(n(t,0,s),e),i(n(t,s),e),e)},a=function(t,e){var r,n,o=t.length,i=1;while(i<o){n=i,r=t[i];while(n&&e(t[n-1],r)>0)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},l=function(t,e,r,n){var o=e.length,i=r.length,a=0,l=0;while(a<o||l<i)t[a+l]=a<o&&l<i?n(e[a],r[l])<=0?e[a++]:r[l++]:a<o?e[a++]:r[l++];return t};t.exports=i},b833:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[t.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(e){return t.getSelectedSkill(e)}}},[n("option",[t._v("Select Skill")]),t._l(t.skills,(function(e){return n("option",{key:e.skill_id,domProps:{value:e.skill_id}},[t._v(t._s(e.skill_alias))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(e){return t.getSelectedProficiency(e)}}},[n("option",[t._v("Select Proficiency")]),t._l(t.proficiency,(function(e){return n("option",{key:e.prof_id,domProps:{value:e.prof_id}},[t._v(t._s(e.prof_name))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Threshold Value ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.threshold,expression:"threshold"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",pattern:"^[0-9]*$"},domProps:{value:t.threshold},on:{input:function(e){e.target.composing||(t.threshold=e.target.value)}}}),t.numErrMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.numErrMessage))]):t._e()]),n("div",{staticClass:"w-full mb-4"},[n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReport()}}},[t._v("Submit")])])]),t.successMessage?n("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),t.errorMessage?n("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e()])]),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Harvest Report")])])}],i=r("c452"),a=(r("833b"),r("a3f6"),r("ef3a"),r("205b"),r("ef5f"),r("4687")),l=r("8596"),s=r("d292"),u=Object(a["b"])({name:"AssignProxy",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(),r=Object(a["f"])(),n=Object(a["f"])(),o=Object(a["f"])(),u=Object(a["f"])(),c=Object(a["f"])(),f=Object(a["f"])(),d=Object(a["f"])(),p=Object(a["f"])(),h=Object(a["f"])(!0),v=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(void 0!==n.value){t.next=5;break}c.value="Select Skill",setTimeout((function(){c.value=null}),6e3),t.next=15;break;case 5:if(/^[0-9]+$/.test(d.value)){t.next=10;break}p.value="Enter only Number",setTimeout((function(){p.value=null}),6e3),t.next=15;break;case 10:return e={skill_id:n.value,proficiency_id:o.value,threshold:d.value},t.next=13,Object(s["a"])("/admin/report/harvestLJ",e);case 13:f.value="The harvesting report is being processed. You should get that over email in next 15 minutes",setTimeout((function(){f.value=null}),6e3);case 15:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(){var n=Object(i["a"])(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r.value=!1,n.next=3,Object(s["c"])("/getAllSkillProf ");case 3:o=n.sent,t.value=o.skill,e.value=o.proficiency,r.value=!0;case 7:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),b=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n.value=e.target.value;case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:o.value=e.target.value,"Select Proficiency"===o.value&&(o.value="");case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(l["f"])("/getUserRole");case 2:e=t.sent,u.value=e.user_roles,u.value.length>0&&(console.log("inside length"),u.value.includes("System Admin")||u.value.includes("Proxy Admin")||u.value.includes("Community Manager")?(h.value=!0,g()):h.value=!1);case 5:case"end":return t.stop()}}),t)})))),{skills:t,proficiency:e,renderReady:r,getSelectedSkill:b,getSelectedProficiency:y,getSkillandProf:g,showScreen:h,triggerReport:v,errorMessage:c,successMessage:f,threshold:d,numErrMessage:p}}}),c=u,f=(r("4a3b"),r("b709")),d=Object(f["a"])(c,n,o,!1,null,"4d493caa",null);e["default"]=d.exports},b88a:function(t,e,r){var n=r("572d");t.exports=n},bdc4:function(t,e,r){var n=r("82ff"),o=r("103b"),i=r("d822").f,a=r("f073"),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a(l)}};t.exports.f=function(t){return l&&"Window"==n(t)?s(t):i(o(t))}},be34:function(t,e,r){var n=r("301e"),o=r("572d"),i=o.RegExp,a=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),l=a||n((function(){return!i("a","y").sticky})),s=a||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:l,UNSUPPORTED_Y:a}},c279:function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},c3fd:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"admin"},[t.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[r("div",{staticClass:"flex w-full mt-6"},[r("div",{staticClass:"w-full mb-4"},[r("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReviewerReport()}}},[t._v("Trigger Need Reviewer Report")])])]),t.successMessage?r("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e()])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Need Reviewer Report")])])}],i=r("c452"),a=(r("205b"),r("ef5f"),r("833b"),r("4687")),l=r("8596"),s=r("d292"),u=Object(a["b"])({name:"ReviewerReport",setup:function(){var t=Object(a["f"])(),e=Object(a["f"])(),r=Object(a["f"])(),n=Object(a["f"])(!0),o=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(s["b"])("/admin/report/NR");case 2:r.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout((function(){r.value=null}),6e3);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return Object(a["c"])(Object(i["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["f"])("/getUserRole");case 2:r=e.sent,t.value=r.user_roles,t.value.length>0&&(console.log("inside length"),t.value.includes("System Admin")||t.value.includes("Proxy Admin")||t.value.includes("Community Manager")?n.value=!0:n.value=!1);case 5:case"end":return e.stop()}}),e)})))),{showScreen:n,triggerReviewerReport:o,errorMessage:e,successMessage:r}}}),c=u,f=(r("3348"),r("b709")),d=Object(f["a"])(c,n,o,!1,null,"11b8a85c",null);e["default"]=d.exports},c9c2:function(t,e,r){"use strict";var n=r("f5dc"),o=r("9cc1").find,i=r("3eb2"),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),n({target:"Array",proto:!0,forced:l},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},ca4a:function(t,e,r){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=v;for(var n=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,s=a.length;l<s;++l)n[l]=a[l],o[a.charCodeAt(l)]=l;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function c(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function f(t,e,r){return 3*(e+r)/4-r}function d(t){var e,r,n=u(t),a=n[0],l=n[1],s=new i(f(t,a,l)),c=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===l&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,s[c++]=255&e),1===l&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function h(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(p(n));return o.join("")}function v(t){for(var e,r=t.length,o=r%3,i=[],a=16383,l=0,s=r-o;l<s;l+=a)i.push(h(t,l,l+a>s?s:l+a));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},cad9:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){r=e+1;break}}else-1===n&&(o=!1,n=e+1);return-1===n?"":t.slice(r,n)}function o(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return e=r(o(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),a="/"===i(t,-1);return t=r(o(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&a&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var o=n(t.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),l=a,s=0;s<a;s++)if(o[s]!==i[s]){l=s;break}var u=[];for(s=l;s<o.length;s++)u.push("..");return u=u.concat(i.slice(l)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47!==l)-1===n&&(o=!1,n=a+1),46===l?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){r=a+1;break}}return-1===e||-1===n||0===i||1===i&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("0418"))},cc3a:function(t,e,r){"use strict";(function(e){var n=r("8a5d"),o=r("386e"),i=r("a417"),a={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=r("e50c")),t}function u(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:s(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(l(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(a){if("SyntaxError"===l.name)throw i(l,this,"E_JSON_PARSE");throw l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,r("0418"))},cc70:function(t,e,r){"use strict";var n=r("f5dc"),o=r("9cc1").filter,i=r("3259"),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},cf26:function(t,e,r){var n=r("301e"),o=r("572d"),i=o.RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},d292:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return l}));var n=r("c452"),o=(r("833b"),r("26fa")),i=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].post(e,r).then((function(t){return n=t.data,n}));case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),l=function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].get(e).then((function(t){return r=t.data,r}));case 2:return t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},ddf3:function(t,e,r){var n=r("f5dc"),o=r("5025"),i=r("8090"),a=r("103b"),l=r("c9c8"),s=r("4633");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=a(t),o=l.f,u=i(n),c={},f=0;while(u.length>f)r=o(n,e=u[f++]),void 0!==r&&s(c,e,r);return c}})},e50c:function(t,e,r){"use strict";var n=r("8a5d"),o=r("aa01"),i=r("2998"),a=r("3884"),l=r("639e"),s=r("4af6"),u=r("7f31"),c=r("fccd"),f=r("cc3a"),d=r("82ac");t.exports=function(t){return new Promise((function(e,r){var p,h=t.data,v=t.headers,g=t.responseType;function b(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}n.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(m+":"+w)}var q=l(t.baseURL,t.url);function x(){if(y){var n="getAllResponseHeaders"in y?s(y.getAllResponseHeaders()):null,i=g&&"text"!==g&&"json"!==g?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};o((function(t){e(t),b()}),(function(t){r(t),b()}),a),y=null}}if(y.open(t.method.toUpperCase(),a(q,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(x)},y.onabort=function(){y&&(r(c("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(c("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(c(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var k=(t.withCredentials||u(q))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;k&&(v[t.xsrfHeaderName]=k)}"setRequestHeader"in y&&n.forEach(v,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),g&&"json"!==g&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(r(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},e646:function(t,e,r){var n=r("b93d"),o=n.match(/firefox\/(\d+)/i);t.exports=!!o&&+o[1]},ef3a:function(t,e,r){"use strict";r("a3f6");var n=r("f5dc"),o=r("572d"),i=r("248a"),a=r("924c"),l=r("e3d6"),s=r("01a1"),u=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),c=o.Error,f=a(/./.test);n({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=this.exec;if(!l(e))return f(this,t);var r=i(e,this,t);if(null!==r&&!s(r))throw new c("RegExp exec method returned something other than an Object or null");return!!r}})},f073:function(t,e,r){var n=r("572d"),o=r("bae9"),i=r("7c7b"),a=r("4633"),l=n.Array,s=Math.max;t.exports=function(t,e,r){for(var n=i(t),u=o(e,n),c=o(void 0===r?n:r,n),f=l(s(c-u,0)),d=0;u<c;u++,d++)a(f,d,t[u]);return f.length=d,f}},f249:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},f568:function(t,e,r){"use strict";r.r(e);var n,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"admin"},[n("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[t.renderReady?[t.showErrorMessage?t._e():[n("div",{staticClass:"flex"},[n("div",{staticClass:"w-full pt-12"},[t.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t._m(0),n("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[n("div",{staticClass:"block mt-4"},[n("div",{staticClass:"text-gray-600"},[n("div",["infinity"===t.programId?n("p",[t._v(" Proficiency: "),n("strong",[t._v(t._s(t.profName))])]):t._e(),"infinity"===t.programId?n("p",{staticClass:"pt-2"},[t._v(" Skill: "),n("strong",[t._v(t._s(t.skill))])]):t._e(),"infinity"!==t.programId?n("p",{staticClass:"pt-2"},[t._v(" Program: "),n("strong",[t._v(t._s(t.programName))])]):t._e(),n("p",{staticClass:"pt-2"},[n("strong",[t._v("Task Name: ")]),t._v(t._s(t.taskName))])]),"Desktop"===t.taskType?n("div",{staticClass:"mt-4"},[t._m(1),n("p",{staticClass:"pt-1"},[t._v("Maximum file size: 200 MB")]),n("div",{staticClass:"flex"},[n("input",{key:t.fileInputKey,attrs:{type:"file"},on:{change:t.selectedFile}}),t._v(" "),t.learnerSubmission?n("x-icon",{attrs:{size:"1.5x"},on:{click:function(e){return t.clearFile()}}}):t._e()],1)]):t._e(),"Mobile"===t.taskType?n("div",{staticClass:"pt-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:t.learnerSubmission},on:{input:function(e){e.target.composing||(t.learnerSubmission=e.target.value)}}})]):t._e(),t.fileValidationMsg?n("span",{staticClass:"text-red-700"},[t._v(t._s(t.fileValidationMsg))]):t._e()])]),n("div",{staticClass:"block text-center pt-12"},[t._m(2),n("div",{staticClass:"mb-4 text-center"},[n("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationTaskManagement"}}},[t._v("Back")]),n("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:t.submitSubmiision}},[t._v("Submit Task")])],1)])])])])],t.showErrorMessage?n("ErrorMessage",{attrs:{"error-message":t.errorResponse}}):t._e()]:t._e(),t.renderReady?t._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2)])},i=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[r("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[t._v("Create Off-Cycle Task")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("p",{staticClass:"pt-2"},[r("strong",[t._v("Upload the file to create off-cycle task")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pt-4"},[r("p",{staticClass:"text-xl"},[r("em",[t._v("Please don't click the browser back button")])])])}],a=r("c452"),l=(r("ff2c"),r("833b"),r("4687")),s=r("949b"),u=r("1dba"),c=r.n(u),f=new Uint8Array(16);function d(){if(!n&&(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(f)}var p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function h(t){return"string"===typeof t&&p.test(t)}for(var v=h,g=[],b=0;b<256;++b)g.push((b+256).toString(16).substr(1));function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(g[t[e+0]]+g[t[e+1]]+g[t[e+2]]+g[t[e+3]]+"-"+g[t[e+4]]+g[t[e+5]]+"-"+g[t[e+6]]+g[t[e+7]]+"-"+g[t[e+8]]+g[t[e+9]]+"-"+g[t[e+10]]+g[t[e+11]]+g[t[e+12]]+g[t[e+13]]+g[t[e+14]]+g[t[e+15]]).toLowerCase();if(!v(r))throw TypeError("Stringified UUID is invalid");return r}var m,w,q=y,x=0,k=0;function _(t,e,r){var n=e&&r||0,o=e||new Array(16);t=t||{};var i=t.node||m,a=void 0!==t.clockseq?t.clockseq:w;if(null==i||null==a){var l=t.random||(t.rng||d)();null==i&&(i=m=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==a&&(a=w=16383&(l[6]<<8|l[7]))}var s=void 0!==t.msecs?t.msecs:Date.now(),u=void 0!==t.nsecs?t.nsecs:k+1,c=s-x+(u-k)/1e4;if(c<0&&void 0===t.clockseq&&(a=a+1&16383),(c<0||s>x)&&void 0===t.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");x=s,k=u,w=a,s+=122192928e5;var f=(1e4*(268435455&s)+u)%4294967296;o[n++]=f>>>24&255,o[n++]=f>>>16&255,o[n++]=f>>>8&255,o[n++]=255&f;var p=s/4294967296*1e4&268435455;o[n++]=p>>>8&255,o[n++]=255&p,o[n++]=p>>>24&15|16,o[n++]=p>>>16&255,o[n++]=a>>>8|128,o[n++]=255&a;for(var h=0;h<6;++h)o[n+h]=i[h];return e||q(o)}var O=_;function E(t){if(!v(t))throw TypeError("Invalid UUID");var e,r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r}var j=E;function A(t){t=unescape(encodeURIComponent(t));for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}var S="6ba7b810-9dad-11d1-80b4-00c04fd430c8",N="6ba7b811-9dad-11d1-80b4-00c04fd430c8",T=function(t,e,r){function n(t,n,o,i){if("string"===typeof t&&(t=A(t)),"string"===typeof n&&(n=j(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+t.length);if(a.set(n),a.set(t,n.length),a=r(a),a[6]=15&a[6]|e,a[8]=63&a[8]|128,o){i=i||0;for(var l=0;l<16;++l)o[i+l]=a[l];return o}return q(a)}try{n.name=t}catch(o){}return n.DNS=S,n.URL=N,n};function C(t){if("string"===typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)}return P(L(I(t),8*t.length))}function P(t){for(var e=[],r=32*t.length,n="0123456789abcdef",o=0;o<r;o+=8){var i=t[o>>5]>>>o%32&255,a=parseInt(n.charAt(i>>>4&15)+n.charAt(15&i),16);e.push(a)}return e}function R(t){return 14+(t+64>>>9<<4)+1}function L(t,e){t[e>>5]|=128<<e%32,t[R(e)-1]=e;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,a=0;a<t.length;a+=16){var l=r,s=n,u=o,c=i;r=D(r,n,o,i,t[a],7,-680876936),i=D(i,r,n,o,t[a+1],12,-389564586),o=D(o,i,r,n,t[a+2],17,606105819),n=D(n,o,i,r,t[a+3],22,-1044525330),r=D(r,n,o,i,t[a+4],7,-176418897),i=D(i,r,n,o,t[a+5],12,1200080426),o=D(o,i,r,n,t[a+6],17,-1473231341),n=D(n,o,i,r,t[a+7],22,-45705983),r=D(r,n,o,i,t[a+8],7,1770035416),i=D(i,r,n,o,t[a+9],12,-1958414417),o=D(o,i,r,n,t[a+10],17,-42063),n=D(n,o,i,r,t[a+11],22,-1990404162),r=D(r,n,o,i,t[a+12],7,1804603682),i=D(i,r,n,o,t[a+13],12,-40341101),o=D(o,i,r,n,t[a+14],17,-1502002290),n=D(n,o,i,r,t[a+15],22,1236535329),r=z(r,n,o,i,t[a+1],5,-165796510),i=z(i,r,n,o,t[a+6],9,-1069501632),o=z(o,i,r,n,t[a+11],14,643717713),n=z(n,o,i,r,t[a],20,-373897302),r=z(r,n,o,i,t[a+5],5,-701558691),i=z(i,r,n,o,t[a+10],9,38016083),o=z(o,i,r,n,t[a+15],14,-660478335),n=z(n,o,i,r,t[a+4],20,-405537848),r=z(r,n,o,i,t[a+9],5,568446438),i=z(i,r,n,o,t[a+14],9,-1019803690),o=z(o,i,r,n,t[a+3],14,-187363961),n=z(n,o,i,r,t[a+8],20,1163531501),r=z(r,n,o,i,t[a+13],5,-1444681467),i=z(i,r,n,o,t[a+2],9,-51403784),o=z(o,i,r,n,t[a+7],14,1735328473),n=z(n,o,i,r,t[a+12],20,-1926607734),r=F(r,n,o,i,t[a+5],4,-378558),i=F(i,r,n,o,t[a+8],11,-2022574463),o=F(o,i,r,n,t[a+11],16,1839030562),n=F(n,o,i,r,t[a+14],23,-35309556),r=F(r,n,o,i,t[a+1],4,-1530992060),i=F(i,r,n,o,t[a+4],11,1272893353),o=F(o,i,r,n,t[a+7],16,-155497632),n=F(n,o,i,r,t[a+10],23,-1094730640),r=F(r,n,o,i,t[a+13],4,681279174),i=F(i,r,n,o,t[a],11,-358537222),o=F(o,i,r,n,t[a+3],16,-722521979),n=F(n,o,i,r,t[a+6],23,76029189),r=F(r,n,o,i,t[a+9],4,-640364487),i=F(i,r,n,o,t[a+12],11,-421815835),o=F(o,i,r,n,t[a+15],16,530742520),n=F(n,o,i,r,t[a+2],23,-995338651),r=H(r,n,o,i,t[a],6,-198630844),i=H(i,r,n,o,t[a+7],10,1126891415),o=H(o,i,r,n,t[a+14],15,-1416354905),n=H(n,o,i,r,t[a+5],21,-57434055),r=H(r,n,o,i,t[a+12],6,1700485571),i=H(i,r,n,o,t[a+3],10,-1894986606),o=H(o,i,r,n,t[a+10],15,-1051523),n=H(n,o,i,r,t[a+1],21,-2054922799),r=H(r,n,o,i,t[a+8],6,1873313359),i=H(i,r,n,o,t[a+15],10,-30611744),o=H(o,i,r,n,t[a+6],15,-1560198380),n=H(n,o,i,r,t[a+13],21,1309151649),r=H(r,n,o,i,t[a+4],6,-145523070),i=H(i,r,n,o,t[a+11],10,-1120210379),o=H(o,i,r,n,t[a+2],15,718787259),n=H(n,o,i,r,t[a+9],21,-343485551),r=M(r,l),n=M(n,s),o=M(o,u),i=M(i,c)}return[r,n,o,i]}function I(t){if(0===t.length)return[];for(var e=8*t.length,r=new Uint32Array(R(e)),n=0;n<e;n+=8)r[n>>5]|=(255&t[n/8])<<n%32;return r}function M(t,e){var r=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(r>>16);return n<<16|65535&r}function B(t,e){return t<<e|t>>>32-e}function U(t,e,r,n,o,i){return M(B(M(M(e,t),M(n,i)),o),r)}function D(t,e,r,n,o,i,a){return U(e&r|~e&n,t,e,o,i,a)}function z(t,e,r,n,o,i,a){return U(e&n|r&~n,t,e,o,i,a)}function F(t,e,r,n,o,i,a){return U(e^r^n,t,e,o,i,a)}function H(t,e,r,n,o,i,a){return U(r^(e|~n),t,e,o,i,a)}var Y=C,V=T("v3",48,Y),K=V;function W(t,e,r){t=t||{};var n=t.random||(t.rng||d)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(var o=0;o<16;++o)e[r+o]=n[o];return e}return q(n)}var Z=W;function G(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function J(t,e){return t<<e|t>>>32-e}function X(t){var e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof t){var n=unescape(encodeURIComponent(t));t=[];for(var o=0;o<n.length;++o)t.push(n.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var i=t.length/4+2,a=Math.ceil(i/16),l=new Array(a),s=0;s<a;++s){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=t[64*s+4*c]<<24|t[64*s+4*c+1]<<16|t[64*s+4*c+2]<<8|t[64*s+4*c+3];l[s]=u}l[a-1][14]=8*(t.length-1)/Math.pow(2,32),l[a-1][14]=Math.floor(l[a-1][14]),l[a-1][15]=8*(t.length-1)&4294967295;for(var f=0;f<a;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=l[f][p];for(var h=16;h<80;++h)d[h]=J(d[h-3]^d[h-8]^d[h-14]^d[h-16],1);for(var v=r[0],g=r[1],b=r[2],y=r[3],m=r[4],w=0;w<80;++w){var q=Math.floor(w/20),x=J(v,5)+G(q,g,b,y)+m+e[q]+d[w]>>>0;m=y,y=b,b=J(g,30)>>>0,g=v,v=x}r[0]=r[0]+v>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+m>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var $=X,Q=T("v5",80,$),tt=Q,et={v1:O,v3:K,v4:Z,v5:tt};var rt=r("afbc"),nt=r("675e"),ot=r("26fa"),it=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e,r){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ot["a"].post(e,r);case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),at=r("2390"),lt=Object(l["b"])({name:"LearnerSubmitTask",components:{XIcon:s["f"],ErrorMessage:at["a"]},setup:function(){var t=Object(l["f"])(localStorage.getItem("linkedTaskId")),e=Object(l["f"])(et.v1()),r=Object(l["f"])(localStorage.getItem("programId")),n=Object(l["f"])(localStorage.getItem("programName")),o=Object(l["f"])(localStorage.getItem("skillId")),i=Object(l["f"])(localStorage.getItem("proficiencyId")),s=Object(l["f"])(localStorage.getItem("skillName")),u=Object(l["f"])(localStorage.getItem("proficiencyName")),f=Object(l["f"])(localStorage.getItem("taskName")),d=Object(l["f"])(localStorage.getItem("taskType")),p=Object(l["f"])(null),h=Object(l["f"])(),v=Object(l["f"])(),g=Object(l["f"])(),b=Object(l["f"])(!0),y=Object(l["f"])(),m=Object(l["f"])(0),w=Object(l["f"])(!1),q=Object(l["f"])(),x=Object(l["f"])(!1),k=Object(l["f"])(),_=Object(l["f"])(!1),O=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:m.value+=1,console.log("before ".concat(v.value)),v.value=null,console.log("after ".concat(v.value));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),E=function(t){var e=t.target.checked;!0===e?(b.value=!1,console.log(b.value)):(b.value=!0,console.log(b.value))},j=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){var r,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{p.value=e.target.files[0],v.value=e.target.files[0].name,r=e.target.files[0].size/1024/1024,r>200&&(h.value="fileSize greater than 200 MB")}catch(i){console.log(i),w.value=!0,c.a.isAxiosError(i)?(o=i,q.value=null===(n=o.response)||void 0===n?void 0:n.data.message):q.value="Something went wrong, please contact helpmate.",_.value=!0}case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(){var n=Object(a["a"])(regeneratorRuntime.mark((function n(){var a,l,s,u,f,b,y,m;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(n.prev=0,w.value=!1,v.value){n.next=6;break}"Mobile"===d.value?(w.value=!0,v.value||(h.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((function(){h.value=null}),6e3))):"Desktop"===d.value&&(w.value=!0,console.log("learnerSubmission.value ".concat(v.value)),v.value||(h.value="please select File",setTimeout((function(){h.value=null}),6e3))),n.next=32;break;case 6:if("Desktop"!==d.value){n.next=27;break}return l={linked_program_name:r.value,learner_task_id:e.value,skill:o.value,proficiency:i.value,linked_task_id:t.value,learner_submission:v.value},n.next=10,Object(nt["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:e.value});case 10:return s=n.sent,u=s.data,g.value=u.preSignedUrl,n.next=15,Object(nt["e"])(g.value,p.value);case 15:if(f=n.sent,200!==f.status){n.next=22;break}return n.next=19,it("/offcycle/create",l);case 19:a=n.sent,n.next=25;break;case 22:w.value=!0,q.value="There is issue in the file upload, please contact with helpmate.",_.value=!0;case 25:n.next=31;break;case 27:return b={linked_program_name:r.value,learner_task_id:e.value,skill:o.value,proficiency:i.value,linked_task_id:t.value,learner_submission_text:v.value},n.next=30,it("/offcycle/create",b);case 30:a=n.sent;case 31:200===a.status?(w.value=!0,k.value=a.data.message,x.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),rt["a"].push("taskManagement")):(w.value=!0,q.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0);case 32:n.next=40;break;case 34:n.prev=34,n.t0=n["catch"](0),w.value=!0,console.log("error ".concat(n.t0)),c.a.isAxiosError(n.t0)?(m=n.t0,q.value=null===(y=m.response)||void 0===y?void 0:y.data.message):q.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0;case 40:case"end":return n.stop()}}),n,null,[[0,34]])})));return function(){return n.apply(this,arguments)}}();return Object(l["c"])(Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:w.value=!0;case 1:case"end":return t.stop()}}),t)})))),{learnerSubmissionFile:p,skillId:o,proficiencyId:i,programId:r,taskType:d,taskName:f,submitSubmiision:A,learnerSubmission:v,selectedFile:j,fileValidationMsg:h,learnerTaskId:e,preSignedUrl:g,buttonDisable:b,setButtonEnable:E,validationError:y,clearFile:O,fileInputKey:m,renderReady:w,errorResponse:q,showErrorMessage:_,programName:n,skill:s,profName:u,showSuccessMessage:x,resMessage:k}}}),st=lt,ut=(r("4a2f"),r("b709")),ct=Object(ut["a"])(st,o,i,!1,null,"164b4999",null);e["default"]=ct.exports},fc83:function(t,e){
|
|
16
16
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
17
17
|
e.read=function(t,e,r,n,o){var i,a,l=8*o-n-1,s=(1<<l)-1,u=s>>1,c=-7,f=r?o-1:0,d=r?-1:1,p=t[e+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=l;c>0;i=256*i+t[e+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+t[e+f],f+=d,c-=8);if(0===i)i=1-u;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=u}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,l,s,u=8*i-o-1,c=(1<<u)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),e+=a+f>=1?d/s:d*Math.pow(2,1-f),e*s>=2&&(a++,s/=2),a+f>=c?(l=0,a=c):a+f>=1?(l=(e*s-1)*Math.pow(2,o),a+=f):(l=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&l,p+=h,l/=256,o-=8);for(a=a<<o|l,u+=o;u>0;t[r+p]=255&a,p+=h,a/=256,u-=8);t[r+p-h]|=128*v}},fccd:function(t,e,r){"use strict";var n=r("a417");t.exports=function(t,e,r,o,i){var a=new Error(t);return n(a,e,r,o,i)}}}]);
|
|
18
18
|
//# sourceMappingURL=SolidifyAdministrationTaskManagement.js.map
|