@notmrabhi/flowforge 0.1.50 → 0.1.51
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/{SchemaBuilderDrawer-BZ7-GVP_.js → SchemaBuilderDrawer-BP7aZgFe.js} +2 -2
- package/dist/{SchemaBuilderDrawer-BZ7-GVP_.js.map → SchemaBuilderDrawer-BP7aZgFe.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-CLZy4ZoT.js → SchemaBuilderDrawer-CIxQGffa.js} +2 -2
- package/dist/{SchemaBuilderDrawer-CLZy4ZoT.js.map → SchemaBuilderDrawer-CIxQGffa.js.map} +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +7 -0
- package/dist/form.js +2 -2
- package/dist/{index-tyzgIY9U.js → index-B-D9UuLO.js} +152 -144
- package/dist/{index-tyzgIY9U.js.map → index-B-D9UuLO.js.map} +1 -1
- package/dist/{index-h1mUpS7l.js → index-B-vpguq_.js} +2 -2
- package/dist/{index-h1mUpS7l.js.map → index-B-vpguq_.js.map} +1 -1
- package/dist/{index-Cjql1zwT.js → index-BbYsmgpo.js} +2 -2
- package/dist/{index-Cjql1zwT.js.map → index-BbYsmgpo.js.map} +1 -1
- package/dist/{index-idr4zHMF.js → index-BsgdZXaY.js} +2 -2
- package/dist/{index-idr4zHMF.js.map → index-BsgdZXaY.js.map} +1 -1
- package/dist/{index-cwtx0Uej.js → index-DUbQPmIx.js} +6 -6
- package/dist/{index-cwtx0Uej.js.map → index-DUbQPmIx.js.map} +1 -1
- package/dist/{index-B-K6-s8t.js → index-hv7IJZ9j.js} +2 -2
- package/dist/{index-B-K6-s8t.js.map → index-hv7IJZ9j.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +3 -3
- package/dist/{templateSkeletons-Dj88q55j.js → templateSkeletons-f-XQQvyE.js} +2 -2
- package/dist/{templateSkeletons-Dj88q55j.js.map → templateSkeletons-f-XQQvyE.js.map} +1 -1
- package/dist/{templateSkeletons-DfkoJMrg.js → templateSkeletons-gOva2Xus.js} +2 -2
- package/dist/{templateSkeletons-DfkoJMrg.js.map → templateSkeletons-gOva2Xus.js.map} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const ct=require("./index-cwtx0Uej.js"),Fe=require("react"),Ue=require("react-dom");function He(S,R){for(var b=0;b<R.length;b++){const s=R[b];if(typeof s!="string"&&!Array.isArray(s)){for(const d in s)if(d!=="default"&&!(d in S)){const w=Object.getOwnPropertyDescriptor(s,d);w&&Object.defineProperty(S,d,w.get?w:{enumerable:!0,get:()=>s[d]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}function $e(){this.__data__=[],this.size=0}var Ke=$e;function ze(S,R){return S===R||S!==S&&R!==R}var Ae=ze,Ge=Ae;function Ve(S,R){for(var b=S.length;b--;)if(Ge(S[b][0],R))return b;return-1}var Lt=Ve,We=Lt,Ze=Array.prototype,Ye=Ze.splice;function Xe(S){var R=this.__data__,b=We(R,S);if(b<0)return!1;var s=R.length-1;return b==s?R.pop():Ye.call(R,b,1),--this.size,!0}var Qe=Xe,Je=Lt;function tn(S){var R=this.__data__,b=Je(R,S);return b<0?void 0:R[b][1]}var en=tn,nn=Lt;function rn(S){return nn(this.__data__,S)>-1}var on=rn,an=Lt;function ln(S,R){var b=this.__data__,s=an(b,S);return s<0?(++this.size,b.push([S,R])):b[s][1]=R,this}var un=ln,sn=Ke,fn=Qe,cn=en,hn=on,dn=un;function mt(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}mt.prototype.clear=sn;mt.prototype.delete=fn;mt.prototype.get=cn;mt.prototype.has=hn;mt.prototype.set=dn;var qt=mt,vn=qt;function pn(){this.__data__=new vn,this.size=0}var yn=pn;function gn(S){var R=this.__data__,b=R.delete(S);return this.size=R.size,b}var mn=gn;function bn(S){return this.__data__.get(S)}var _n=bn;function On(S){return this.__data__.has(S)}var En=On,An=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,we=An,wn=we,Tn=typeof self=="object"&&self&&self.Object===Object&&self,kn=wn||Tn||Function("return this")(),pt=kn,Nn=pt,Sn=Nn.Symbol,Gt=Sn,Zt=Gt,Te=Object.prototype,xn=Te.hasOwnProperty,Pn=Te.toString,wt=Zt?Zt.toStringTag:void 0;function Ln(S){var R=xn.call(S,wt),b=S[wt];try{S[wt]=void 0;var s=!0}catch{}var d=Pn.call(S);return s&&(R?S[wt]=b:delete S[wt]),d}var qn=Ln,Rn=Object.prototype,jn=Rn.toString;function In(S){return jn.call(S)}var Mn=In,Yt=Gt,Dn=qn,Bn=Mn,Cn="[object Null]",Fn="[object Undefined]",Xt=Yt?Yt.toStringTag:void 0;function Un(S){return S==null?S===void 0?Fn:Cn:Xt&&Xt in Object(S)?Dn(S):Bn(S)}var Rt=Un;function Hn(S){var R=typeof S;return S!=null&&(R=="object"||R=="function")}var ke=Hn,$n=Rt,Kn=ke,zn="[object AsyncFunction]",Gn="[object Function]",Vn="[object GeneratorFunction]",Wn="[object Proxy]";function Zn(S){if(!Kn(S))return!1;var R=$n(S);return R==Gn||R==Vn||R==zn||R==Wn}var Ne=Zn,Yn=pt,Xn=Yn["__core-js_shared__"],Qn=Xn,Bt=Qn,Qt=function(){var S=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}();function Jn(S){return!!Qt&&Qt in S}var tr=Jn,er=Function.prototype,nr=er.toString;function rr(S){if(S!=null){try{return nr.call(S)}catch{}try{return S+""}catch{}}return""}var Se=rr,ir=Ne,or=tr,ar=ke,lr=Se,ur=/[\\^$.*+?()[\]{}|]/g,sr=/^\[object .+?Constructor\]$/,fr=Function.prototype,cr=Object.prototype,hr=fr.toString,dr=cr.hasOwnProperty,vr=RegExp("^"+hr.call(dr).replace(ur,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pr(S){if(!ar(S)||or(S))return!1;var R=ir(S)?vr:sr;return R.test(lr(S))}var yr=pr;function gr(S,R){return S==null?void 0:S[R]}var mr=gr,br=yr,_r=mr;function Or(S,R){var b=_r(S,R);return br(b)?b:void 0}var bt=Or,Er=bt,Ar=pt,wr=Er(Ar,"Map"),Vt=wr,Tr=bt,kr=Tr(Object,"create"),jt=kr,Jt=jt;function Nr(){this.__data__=Jt?Jt(null):{},this.size=0}var Sr=Nr;function xr(S){var R=this.has(S)&&delete this.__data__[S];return this.size-=R?1:0,R}var Pr=xr,Lr=jt,qr="__lodash_hash_undefined__",Rr=Object.prototype,jr=Rr.hasOwnProperty;function Ir(S){var R=this.__data__;if(Lr){var b=R[S];return b===qr?void 0:b}return jr.call(R,S)?R[S]:void 0}var Mr=Ir,Dr=jt,Br=Object.prototype,Cr=Br.hasOwnProperty;function Fr(S){var R=this.__data__;return Dr?R[S]!==void 0:Cr.call(R,S)}var Ur=Fr,Hr=jt,$r="__lodash_hash_undefined__";function Kr(S,R){var b=this.__data__;return this.size+=this.has(S)?0:1,b[S]=Hr&&R===void 0?$r:R,this}var zr=Kr,Gr=Sr,Vr=Pr,Wr=Mr,Zr=Ur,Yr=zr;function _t(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}_t.prototype.clear=Gr;_t.prototype.delete=Vr;_t.prototype.get=Wr;_t.prototype.has=Zr;_t.prototype.set=Yr;var Xr=_t,te=Xr,Qr=qt,Jr=Vt;function ti(){this.size=0,this.__data__={hash:new te,map:new(Jr||Qr),string:new te}}var ei=ti;function ni(S){var R=typeof S;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?S!=="__proto__":S===null}var ri=ni,ii=ri;function oi(S,R){var b=S.__data__;return ii(R)?b[typeof R=="string"?"string":"hash"]:b.map}var It=oi,ai=It;function li(S){var R=ai(this,S).delete(S);return this.size-=R?1:0,R}var ui=li,si=It;function fi(S){return si(this,S).get(S)}var ci=fi,hi=It;function di(S){return hi(this,S).has(S)}var vi=di,pi=It;function yi(S,R){var b=pi(this,S),s=b.size;return b.set(S,R),this.size+=b.size==s?0:1,this}var gi=yi,mi=ei,bi=ui,_i=ci,Oi=vi,Ei=gi;function Ot(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}Ot.prototype.clear=mi;Ot.prototype.delete=bi;Ot.prototype.get=_i;Ot.prototype.has=Oi;Ot.prototype.set=Ei;var xe=Ot,Ai=qt,wi=Vt,Ti=xe,ki=200;function Ni(S,R){var b=this.__data__;if(b instanceof Ai){var s=b.__data__;if(!wi||s.length<ki-1)return s.push([S,R]),this.size=++b.size,this;b=this.__data__=new Ti(s)}return b.set(S,R),this.size=b.size,this}var Si=Ni,xi=qt,Pi=yn,Li=mn,qi=_n,Ri=En,ji=Si;function Et(S){var R=this.__data__=new xi(S);this.size=R.size}Et.prototype.clear=Pi;Et.prototype.delete=Li;Et.prototype.get=qi;Et.prototype.has=Ri;Et.prototype.set=ji;var Ii=Et,Mi="__lodash_hash_undefined__";function Di(S){return this.__data__.set(S,Mi),this}var Bi=Di;function Ci(S){return this.__data__.has(S)}var Fi=Ci,Ui=xe,Hi=Bi,$i=Fi;function Nt(S){var R=-1,b=S==null?0:S.length;for(this.__data__=new Ui;++R<b;)this.add(S[R])}Nt.prototype.add=Nt.prototype.push=Hi;Nt.prototype.has=$i;var Ki=Nt;function zi(S,R){for(var b=-1,s=S==null?0:S.length;++b<s;)if(R(S[b],b,S))return!0;return!1}var Gi=zi;function Vi(S,R){return S.has(R)}var Wi=Vi,Zi=Ki,Yi=Gi,Xi=Wi,Qi=1,Ji=2;function to(S,R,b,s,d,w){var A=b&Qi,_=S.length,v=R.length;if(_!=v&&!(A&&v>_))return!1;var y=w.get(S),h=w.get(R);if(y&&h)return y==R&&h==S;var o=-1,t=!0,e=b&Ji?new Zi:void 0;for(w.set(S,R),w.set(R,S);++o<_;){var u=S[o],a=R[o];if(s)var l=A?s(a,u,o,R,S,w):s(u,a,o,S,R,w);if(l!==void 0){if(l)continue;t=!1;break}if(e){if(!Yi(R,function(r,i){if(!Xi(e,i)&&(u===r||d(u,r,b,s,w)))return e.push(i)})){t=!1;break}}else if(!(u===a||d(u,a,b,s,w))){t=!1;break}}return w.delete(S),w.delete(R),t}var Pe=to,eo=pt,no=eo.Uint8Array,ro=no;function io(S){var R=-1,b=Array(S.size);return S.forEach(function(s,d){b[++R]=[d,s]}),b}var oo=io;function ao(S){var R=-1,b=Array(S.size);return S.forEach(function(s){b[++R]=s}),b}var lo=ao,ee=Gt,ne=ro,uo=Ae,so=Pe,fo=oo,co=lo,ho=1,vo=2,po="[object Boolean]",yo="[object Date]",go="[object Error]",mo="[object Map]",bo="[object Number]",_o="[object RegExp]",Oo="[object Set]",Eo="[object String]",Ao="[object Symbol]",wo="[object ArrayBuffer]",To="[object DataView]",re=ee?ee.prototype:void 0,Ct=re?re.valueOf:void 0;function ko(S,R,b,s,d,w,A){switch(b){case To:if(S.byteLength!=R.byteLength||S.byteOffset!=R.byteOffset)return!1;S=S.buffer,R=R.buffer;case wo:return!(S.byteLength!=R.byteLength||!w(new ne(S),new ne(R)));case po:case yo:case bo:return uo(+S,+R);case go:return S.name==R.name&&S.message==R.message;case _o:case Eo:return S==R+"";case mo:var _=fo;case Oo:var v=s&ho;if(_||(_=co),S.size!=R.size&&!v)return!1;var y=A.get(S);if(y)return y==R;s|=vo,A.set(S,R);var h=so(_(S),_(R),s,d,w,A);return A.delete(S),h;case Ao:if(Ct)return Ct.call(S)==Ct.call(R)}return!1}var No=ko;function So(S,R){for(var b=-1,s=R.length,d=S.length;++b<s;)S[d+b]=R[b];return S}var xo=So,Po=Array.isArray,Wt=Po,Lo=xo,qo=Wt;function Ro(S,R,b){var s=R(S);return qo(S)?s:Lo(s,b(S))}var jo=Ro;function Io(S,R){for(var b=-1,s=S==null?0:S.length,d=0,w=[];++b<s;){var A=S[b];R(A,b,S)&&(w[d++]=A)}return w}var Mo=Io;function Do(){return[]}var Bo=Do,Co=Mo,Fo=Bo,Uo=Object.prototype,Ho=Uo.propertyIsEnumerable,ie=Object.getOwnPropertySymbols,$o=ie?function(S){return S==null?[]:(S=Object(S),Co(ie(S),function(R){return Ho.call(S,R)}))}:Fo,Ko=$o;function zo(S,R){for(var b=-1,s=Array(S);++b<S;)s[b]=R(b);return s}var Go=zo;function Vo(S){return S!=null&&typeof S=="object"}var Mt=Vo,Wo=Rt,Zo=Mt,Yo="[object Arguments]";function Xo(S){return Zo(S)&&Wo(S)==Yo}var Qo=Xo,oe=Qo,Jo=Mt,Le=Object.prototype,ta=Le.hasOwnProperty,ea=Le.propertyIsEnumerable,na=oe(function(){return arguments}())?oe:function(S){return Jo(S)&&ta.call(S,"callee")&&!ea.call(S,"callee")},ra=na,St={exports:{}};function ia(){return!1}var oa=ia;St.exports;(function(S,R){var b=pt,s=oa,d=R&&!R.nodeType&&R,w=d&&!0&&S&&!S.nodeType&&S,A=w&&w.exports===d,_=A?b.Buffer:void 0,v=_?_.isBuffer:void 0,y=v||s;S.exports=y})(St,St.exports);var qe=St.exports,aa=9007199254740991,la=/^(?:0|[1-9]\d*)$/;function ua(S,R){var b=typeof S;return R=R??aa,!!R&&(b=="number"||b!="symbol"&&la.test(S))&&S>-1&&S%1==0&&S<R}var sa=ua,fa=9007199254740991;function ca(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=fa}var Re=ca,ha=Rt,da=Re,va=Mt,pa="[object Arguments]",ya="[object Array]",ga="[object Boolean]",ma="[object Date]",ba="[object Error]",_a="[object Function]",Oa="[object Map]",Ea="[object Number]",Aa="[object Object]",wa="[object RegExp]",Ta="[object Set]",ka="[object String]",Na="[object WeakMap]",Sa="[object ArrayBuffer]",xa="[object DataView]",Pa="[object Float32Array]",La="[object Float64Array]",qa="[object Int8Array]",Ra="[object Int16Array]",ja="[object Int32Array]",Ia="[object Uint8Array]",Ma="[object Uint8ClampedArray]",Da="[object Uint16Array]",Ba="[object Uint32Array]",at={};at[Pa]=at[La]=at[qa]=at[Ra]=at[ja]=at[Ia]=at[Ma]=at[Da]=at[Ba]=!0;at[pa]=at[ya]=at[Sa]=at[ga]=at[xa]=at[ma]=at[ba]=at[_a]=at[Oa]=at[Ea]=at[Aa]=at[wa]=at[Ta]=at[ka]=at[Na]=!1;function Ca(S){return va(S)&&da(S.length)&&!!at[ha(S)]}var Fa=Ca;function Ua(S){return function(R){return S(R)}}var Ha=Ua,xt={exports:{}};xt.exports;(function(S,R){var b=we,s=R&&!R.nodeType&&R,d=s&&!0&&S&&!S.nodeType&&S,w=d&&d.exports===s,A=w&&b.process,_=function(){try{var v=d&&d.require&&d.require("util").types;return v||A&&A.binding&&A.binding("util")}catch{}}();S.exports=_})(xt,xt.exports);var $a=xt.exports,Ka=Fa,za=Ha,ae=$a,le=ae&&ae.isTypedArray,Ga=le?za(le):Ka,je=Ga,Va=Go,Wa=ra,Za=Wt,Ya=qe,Xa=sa,Qa=je,Ja=Object.prototype,tl=Ja.hasOwnProperty;function el(S,R){var b=Za(S),s=!b&&Wa(S),d=!b&&!s&&Ya(S),w=!b&&!s&&!d&&Qa(S),A=b||s||d||w,_=A?Va(S.length,String):[],v=_.length;for(var y in S)(R||tl.call(S,y))&&!(A&&(y=="length"||d&&(y=="offset"||y=="parent")||w&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||Xa(y,v)))&&_.push(y);return _}var nl=el,rl=Object.prototype;function il(S){var R=S&&S.constructor,b=typeof R=="function"&&R.prototype||rl;return S===b}var ol=il;function al(S,R){return function(b){return S(R(b))}}var ll=al,ul=ll,sl=ul(Object.keys,Object),fl=sl,cl=ol,hl=fl,dl=Object.prototype,vl=dl.hasOwnProperty;function pl(S){if(!cl(S))return hl(S);var R=[];for(var b in Object(S))vl.call(S,b)&&b!="constructor"&&R.push(b);return R}var yl=pl,gl=Ne,ml=Re;function bl(S){return S!=null&&ml(S.length)&&!gl(S)}var _l=bl,Ol=nl,El=yl,Al=_l;function wl(S){return Al(S)?Ol(S):El(S)}var Tl=wl,kl=jo,Nl=Ko,Sl=Tl;function xl(S){return kl(S,Sl,Nl)}var Pl=xl,ue=Pl,Ll=1,ql=Object.prototype,Rl=ql.hasOwnProperty;function jl(S,R,b,s,d,w){var A=b&Ll,_=ue(S),v=_.length,y=ue(R),h=y.length;if(v!=h&&!A)return!1;for(var o=v;o--;){var t=_[o];if(!(A?t in R:Rl.call(R,t)))return!1}var e=w.get(S),u=w.get(R);if(e&&u)return e==R&&u==S;var a=!0;w.set(S,R),w.set(R,S);for(var l=A;++o<v;){t=_[o];var r=S[t],i=R[t];if(s)var f=A?s(i,r,t,R,S,w):s(r,i,t,S,R,w);if(!(f===void 0?r===i||d(r,i,b,s,w):f)){a=!1;break}l||(l=t=="constructor")}if(a&&!l){var n=S.constructor,c=R.constructor;n!=c&&"constructor"in S&&"constructor"in R&&!(typeof n=="function"&&n instanceof n&&typeof c=="function"&&c instanceof c)&&(a=!1)}return w.delete(S),w.delete(R),a}var Il=jl,Ml=bt,Dl=pt,Bl=Ml(Dl,"DataView"),Cl=Bl,Fl=bt,Ul=pt,Hl=Fl(Ul,"Promise"),$l=Hl,Kl=bt,zl=pt,Gl=Kl(zl,"Set"),Vl=Gl,Wl=bt,Zl=pt,Yl=Wl(Zl,"WeakMap"),Xl=Yl,Ut=Cl,Ht=Vt,$t=$l,Kt=Vl,zt=Xl,Ie=Rt,At=Se,se="[object Map]",Ql="[object Object]",fe="[object Promise]",ce="[object Set]",he="[object WeakMap]",de="[object DataView]",Jl=At(Ut),tu=At(Ht),eu=At($t),nu=At(Kt),ru=At(zt),gt=Ie;(Ut&>(new Ut(new ArrayBuffer(1)))!=de||Ht&>(new Ht)!=se||$t&>($t.resolve())!=fe||Kt&>(new Kt)!=ce||zt&>(new zt)!=he)&&(gt=function(S){var R=Ie(S),b=R==Ql?S.constructor:void 0,s=b?At(b):"";if(s)switch(s){case Jl:return de;case tu:return se;case eu:return fe;case nu:return ce;case ru:return he}return R});var iu=gt,Ft=Ii,ou=Pe,au=No,lu=Il,ve=iu,pe=Wt,ye=qe,uu=je,su=1,ge="[object Arguments]",me="[object Array]",kt="[object Object]",fu=Object.prototype,be=fu.hasOwnProperty;function cu(S,R,b,s,d,w){var A=pe(S),_=pe(R),v=A?me:ve(S),y=_?me:ve(R);v=v==ge?kt:v,y=y==ge?kt:y;var h=v==kt,o=y==kt,t=v==y;if(t&&ye(S)){if(!ye(R))return!1;A=!0,h=!1}if(t&&!h)return w||(w=new Ft),A||uu(S)?ou(S,R,b,s,d,w):au(S,R,v,b,s,d,w);if(!(b&su)){var e=h&&be.call(S,"__wrapped__"),u=o&&be.call(R,"__wrapped__");if(e||u){var a=e?S.value():S,l=u?R.value():R;return w||(w=new Ft),d(a,l,b,s,w)}}return t?(w||(w=new Ft),lu(S,R,b,s,d,w)):!1}var hu=cu,du=hu,_e=Mt;function Me(S,R,b,s,d){return S===R?!0:S==null||R==null||!_e(S)&&!_e(R)?S!==S&&R!==R:du(S,R,b,s,Me,d)}var vu=Me,pu=vu;function yu(S,R){return pu(S,R)}var gu=yu,De={exports:{}};/*!
|
|
1
|
+
"use strict";const ct=require("./index-DUbQPmIx.js"),Fe=require("react"),Ue=require("react-dom");function He(S,R){for(var b=0;b<R.length;b++){const s=R[b];if(typeof s!="string"&&!Array.isArray(s)){for(const d in s)if(d!=="default"&&!(d in S)){const w=Object.getOwnPropertyDescriptor(s,d);w&&Object.defineProperty(S,d,w.get?w:{enumerable:!0,get:()=>s[d]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}function $e(){this.__data__=[],this.size=0}var Ke=$e;function ze(S,R){return S===R||S!==S&&R!==R}var Ae=ze,Ge=Ae;function Ve(S,R){for(var b=S.length;b--;)if(Ge(S[b][0],R))return b;return-1}var Lt=Ve,We=Lt,Ze=Array.prototype,Ye=Ze.splice;function Xe(S){var R=this.__data__,b=We(R,S);if(b<0)return!1;var s=R.length-1;return b==s?R.pop():Ye.call(R,b,1),--this.size,!0}var Qe=Xe,Je=Lt;function tn(S){var R=this.__data__,b=Je(R,S);return b<0?void 0:R[b][1]}var en=tn,nn=Lt;function rn(S){return nn(this.__data__,S)>-1}var on=rn,an=Lt;function ln(S,R){var b=this.__data__,s=an(b,S);return s<0?(++this.size,b.push([S,R])):b[s][1]=R,this}var un=ln,sn=Ke,fn=Qe,cn=en,hn=on,dn=un;function mt(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}mt.prototype.clear=sn;mt.prototype.delete=fn;mt.prototype.get=cn;mt.prototype.has=hn;mt.prototype.set=dn;var qt=mt,vn=qt;function pn(){this.__data__=new vn,this.size=0}var yn=pn;function gn(S){var R=this.__data__,b=R.delete(S);return this.size=R.size,b}var mn=gn;function bn(S){return this.__data__.get(S)}var _n=bn;function On(S){return this.__data__.has(S)}var En=On,An=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,we=An,wn=we,Tn=typeof self=="object"&&self&&self.Object===Object&&self,kn=wn||Tn||Function("return this")(),pt=kn,Nn=pt,Sn=Nn.Symbol,Gt=Sn,Zt=Gt,Te=Object.prototype,xn=Te.hasOwnProperty,Pn=Te.toString,wt=Zt?Zt.toStringTag:void 0;function Ln(S){var R=xn.call(S,wt),b=S[wt];try{S[wt]=void 0;var s=!0}catch{}var d=Pn.call(S);return s&&(R?S[wt]=b:delete S[wt]),d}var qn=Ln,Rn=Object.prototype,jn=Rn.toString;function In(S){return jn.call(S)}var Mn=In,Yt=Gt,Dn=qn,Bn=Mn,Cn="[object Null]",Fn="[object Undefined]",Xt=Yt?Yt.toStringTag:void 0;function Un(S){return S==null?S===void 0?Fn:Cn:Xt&&Xt in Object(S)?Dn(S):Bn(S)}var Rt=Un;function Hn(S){var R=typeof S;return S!=null&&(R=="object"||R=="function")}var ke=Hn,$n=Rt,Kn=ke,zn="[object AsyncFunction]",Gn="[object Function]",Vn="[object GeneratorFunction]",Wn="[object Proxy]";function Zn(S){if(!Kn(S))return!1;var R=$n(S);return R==Gn||R==Vn||R==zn||R==Wn}var Ne=Zn,Yn=pt,Xn=Yn["__core-js_shared__"],Qn=Xn,Bt=Qn,Qt=function(){var S=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}();function Jn(S){return!!Qt&&Qt in S}var tr=Jn,er=Function.prototype,nr=er.toString;function rr(S){if(S!=null){try{return nr.call(S)}catch{}try{return S+""}catch{}}return""}var Se=rr,ir=Ne,or=tr,ar=ke,lr=Se,ur=/[\\^$.*+?()[\]{}|]/g,sr=/^\[object .+?Constructor\]$/,fr=Function.prototype,cr=Object.prototype,hr=fr.toString,dr=cr.hasOwnProperty,vr=RegExp("^"+hr.call(dr).replace(ur,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pr(S){if(!ar(S)||or(S))return!1;var R=ir(S)?vr:sr;return R.test(lr(S))}var yr=pr;function gr(S,R){return S==null?void 0:S[R]}var mr=gr,br=yr,_r=mr;function Or(S,R){var b=_r(S,R);return br(b)?b:void 0}var bt=Or,Er=bt,Ar=pt,wr=Er(Ar,"Map"),Vt=wr,Tr=bt,kr=Tr(Object,"create"),jt=kr,Jt=jt;function Nr(){this.__data__=Jt?Jt(null):{},this.size=0}var Sr=Nr;function xr(S){var R=this.has(S)&&delete this.__data__[S];return this.size-=R?1:0,R}var Pr=xr,Lr=jt,qr="__lodash_hash_undefined__",Rr=Object.prototype,jr=Rr.hasOwnProperty;function Ir(S){var R=this.__data__;if(Lr){var b=R[S];return b===qr?void 0:b}return jr.call(R,S)?R[S]:void 0}var Mr=Ir,Dr=jt,Br=Object.prototype,Cr=Br.hasOwnProperty;function Fr(S){var R=this.__data__;return Dr?R[S]!==void 0:Cr.call(R,S)}var Ur=Fr,Hr=jt,$r="__lodash_hash_undefined__";function Kr(S,R){var b=this.__data__;return this.size+=this.has(S)?0:1,b[S]=Hr&&R===void 0?$r:R,this}var zr=Kr,Gr=Sr,Vr=Pr,Wr=Mr,Zr=Ur,Yr=zr;function _t(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}_t.prototype.clear=Gr;_t.prototype.delete=Vr;_t.prototype.get=Wr;_t.prototype.has=Zr;_t.prototype.set=Yr;var Xr=_t,te=Xr,Qr=qt,Jr=Vt;function ti(){this.size=0,this.__data__={hash:new te,map:new(Jr||Qr),string:new te}}var ei=ti;function ni(S){var R=typeof S;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?S!=="__proto__":S===null}var ri=ni,ii=ri;function oi(S,R){var b=S.__data__;return ii(R)?b[typeof R=="string"?"string":"hash"]:b.map}var It=oi,ai=It;function li(S){var R=ai(this,S).delete(S);return this.size-=R?1:0,R}var ui=li,si=It;function fi(S){return si(this,S).get(S)}var ci=fi,hi=It;function di(S){return hi(this,S).has(S)}var vi=di,pi=It;function yi(S,R){var b=pi(this,S),s=b.size;return b.set(S,R),this.size+=b.size==s?0:1,this}var gi=yi,mi=ei,bi=ui,_i=ci,Oi=vi,Ei=gi;function Ot(S){var R=-1,b=S==null?0:S.length;for(this.clear();++R<b;){var s=S[R];this.set(s[0],s[1])}}Ot.prototype.clear=mi;Ot.prototype.delete=bi;Ot.prototype.get=_i;Ot.prototype.has=Oi;Ot.prototype.set=Ei;var xe=Ot,Ai=qt,wi=Vt,Ti=xe,ki=200;function Ni(S,R){var b=this.__data__;if(b instanceof Ai){var s=b.__data__;if(!wi||s.length<ki-1)return s.push([S,R]),this.size=++b.size,this;b=this.__data__=new Ti(s)}return b.set(S,R),this.size=b.size,this}var Si=Ni,xi=qt,Pi=yn,Li=mn,qi=_n,Ri=En,ji=Si;function Et(S){var R=this.__data__=new xi(S);this.size=R.size}Et.prototype.clear=Pi;Et.prototype.delete=Li;Et.prototype.get=qi;Et.prototype.has=Ri;Et.prototype.set=ji;var Ii=Et,Mi="__lodash_hash_undefined__";function Di(S){return this.__data__.set(S,Mi),this}var Bi=Di;function Ci(S){return this.__data__.has(S)}var Fi=Ci,Ui=xe,Hi=Bi,$i=Fi;function Nt(S){var R=-1,b=S==null?0:S.length;for(this.__data__=new Ui;++R<b;)this.add(S[R])}Nt.prototype.add=Nt.prototype.push=Hi;Nt.prototype.has=$i;var Ki=Nt;function zi(S,R){for(var b=-1,s=S==null?0:S.length;++b<s;)if(R(S[b],b,S))return!0;return!1}var Gi=zi;function Vi(S,R){return S.has(R)}var Wi=Vi,Zi=Ki,Yi=Gi,Xi=Wi,Qi=1,Ji=2;function to(S,R,b,s,d,w){var A=b&Qi,_=S.length,v=R.length;if(_!=v&&!(A&&v>_))return!1;var y=w.get(S),h=w.get(R);if(y&&h)return y==R&&h==S;var o=-1,t=!0,e=b&Ji?new Zi:void 0;for(w.set(S,R),w.set(R,S);++o<_;){var u=S[o],a=R[o];if(s)var l=A?s(a,u,o,R,S,w):s(u,a,o,S,R,w);if(l!==void 0){if(l)continue;t=!1;break}if(e){if(!Yi(R,function(r,i){if(!Xi(e,i)&&(u===r||d(u,r,b,s,w)))return e.push(i)})){t=!1;break}}else if(!(u===a||d(u,a,b,s,w))){t=!1;break}}return w.delete(S),w.delete(R),t}var Pe=to,eo=pt,no=eo.Uint8Array,ro=no;function io(S){var R=-1,b=Array(S.size);return S.forEach(function(s,d){b[++R]=[d,s]}),b}var oo=io;function ao(S){var R=-1,b=Array(S.size);return S.forEach(function(s){b[++R]=s}),b}var lo=ao,ee=Gt,ne=ro,uo=Ae,so=Pe,fo=oo,co=lo,ho=1,vo=2,po="[object Boolean]",yo="[object Date]",go="[object Error]",mo="[object Map]",bo="[object Number]",_o="[object RegExp]",Oo="[object Set]",Eo="[object String]",Ao="[object Symbol]",wo="[object ArrayBuffer]",To="[object DataView]",re=ee?ee.prototype:void 0,Ct=re?re.valueOf:void 0;function ko(S,R,b,s,d,w,A){switch(b){case To:if(S.byteLength!=R.byteLength||S.byteOffset!=R.byteOffset)return!1;S=S.buffer,R=R.buffer;case wo:return!(S.byteLength!=R.byteLength||!w(new ne(S),new ne(R)));case po:case yo:case bo:return uo(+S,+R);case go:return S.name==R.name&&S.message==R.message;case _o:case Eo:return S==R+"";case mo:var _=fo;case Oo:var v=s&ho;if(_||(_=co),S.size!=R.size&&!v)return!1;var y=A.get(S);if(y)return y==R;s|=vo,A.set(S,R);var h=so(_(S),_(R),s,d,w,A);return A.delete(S),h;case Ao:if(Ct)return Ct.call(S)==Ct.call(R)}return!1}var No=ko;function So(S,R){for(var b=-1,s=R.length,d=S.length;++b<s;)S[d+b]=R[b];return S}var xo=So,Po=Array.isArray,Wt=Po,Lo=xo,qo=Wt;function Ro(S,R,b){var s=R(S);return qo(S)?s:Lo(s,b(S))}var jo=Ro;function Io(S,R){for(var b=-1,s=S==null?0:S.length,d=0,w=[];++b<s;){var A=S[b];R(A,b,S)&&(w[d++]=A)}return w}var Mo=Io;function Do(){return[]}var Bo=Do,Co=Mo,Fo=Bo,Uo=Object.prototype,Ho=Uo.propertyIsEnumerable,ie=Object.getOwnPropertySymbols,$o=ie?function(S){return S==null?[]:(S=Object(S),Co(ie(S),function(R){return Ho.call(S,R)}))}:Fo,Ko=$o;function zo(S,R){for(var b=-1,s=Array(S);++b<S;)s[b]=R(b);return s}var Go=zo;function Vo(S){return S!=null&&typeof S=="object"}var Mt=Vo,Wo=Rt,Zo=Mt,Yo="[object Arguments]";function Xo(S){return Zo(S)&&Wo(S)==Yo}var Qo=Xo,oe=Qo,Jo=Mt,Le=Object.prototype,ta=Le.hasOwnProperty,ea=Le.propertyIsEnumerable,na=oe(function(){return arguments}())?oe:function(S){return Jo(S)&&ta.call(S,"callee")&&!ea.call(S,"callee")},ra=na,St={exports:{}};function ia(){return!1}var oa=ia;St.exports;(function(S,R){var b=pt,s=oa,d=R&&!R.nodeType&&R,w=d&&!0&&S&&!S.nodeType&&S,A=w&&w.exports===d,_=A?b.Buffer:void 0,v=_?_.isBuffer:void 0,y=v||s;S.exports=y})(St,St.exports);var qe=St.exports,aa=9007199254740991,la=/^(?:0|[1-9]\d*)$/;function ua(S,R){var b=typeof S;return R=R??aa,!!R&&(b=="number"||b!="symbol"&&la.test(S))&&S>-1&&S%1==0&&S<R}var sa=ua,fa=9007199254740991;function ca(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=fa}var Re=ca,ha=Rt,da=Re,va=Mt,pa="[object Arguments]",ya="[object Array]",ga="[object Boolean]",ma="[object Date]",ba="[object Error]",_a="[object Function]",Oa="[object Map]",Ea="[object Number]",Aa="[object Object]",wa="[object RegExp]",Ta="[object Set]",ka="[object String]",Na="[object WeakMap]",Sa="[object ArrayBuffer]",xa="[object DataView]",Pa="[object Float32Array]",La="[object Float64Array]",qa="[object Int8Array]",Ra="[object Int16Array]",ja="[object Int32Array]",Ia="[object Uint8Array]",Ma="[object Uint8ClampedArray]",Da="[object Uint16Array]",Ba="[object Uint32Array]",at={};at[Pa]=at[La]=at[qa]=at[Ra]=at[ja]=at[Ia]=at[Ma]=at[Da]=at[Ba]=!0;at[pa]=at[ya]=at[Sa]=at[ga]=at[xa]=at[ma]=at[ba]=at[_a]=at[Oa]=at[Ea]=at[Aa]=at[wa]=at[Ta]=at[ka]=at[Na]=!1;function Ca(S){return va(S)&&da(S.length)&&!!at[ha(S)]}var Fa=Ca;function Ua(S){return function(R){return S(R)}}var Ha=Ua,xt={exports:{}};xt.exports;(function(S,R){var b=we,s=R&&!R.nodeType&&R,d=s&&!0&&S&&!S.nodeType&&S,w=d&&d.exports===s,A=w&&b.process,_=function(){try{var v=d&&d.require&&d.require("util").types;return v||A&&A.binding&&A.binding("util")}catch{}}();S.exports=_})(xt,xt.exports);var $a=xt.exports,Ka=Fa,za=Ha,ae=$a,le=ae&&ae.isTypedArray,Ga=le?za(le):Ka,je=Ga,Va=Go,Wa=ra,Za=Wt,Ya=qe,Xa=sa,Qa=je,Ja=Object.prototype,tl=Ja.hasOwnProperty;function el(S,R){var b=Za(S),s=!b&&Wa(S),d=!b&&!s&&Ya(S),w=!b&&!s&&!d&&Qa(S),A=b||s||d||w,_=A?Va(S.length,String):[],v=_.length;for(var y in S)(R||tl.call(S,y))&&!(A&&(y=="length"||d&&(y=="offset"||y=="parent")||w&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||Xa(y,v)))&&_.push(y);return _}var nl=el,rl=Object.prototype;function il(S){var R=S&&S.constructor,b=typeof R=="function"&&R.prototype||rl;return S===b}var ol=il;function al(S,R){return function(b){return S(R(b))}}var ll=al,ul=ll,sl=ul(Object.keys,Object),fl=sl,cl=ol,hl=fl,dl=Object.prototype,vl=dl.hasOwnProperty;function pl(S){if(!cl(S))return hl(S);var R=[];for(var b in Object(S))vl.call(S,b)&&b!="constructor"&&R.push(b);return R}var yl=pl,gl=Ne,ml=Re;function bl(S){return S!=null&&ml(S.length)&&!gl(S)}var _l=bl,Ol=nl,El=yl,Al=_l;function wl(S){return Al(S)?Ol(S):El(S)}var Tl=wl,kl=jo,Nl=Ko,Sl=Tl;function xl(S){return kl(S,Sl,Nl)}var Pl=xl,ue=Pl,Ll=1,ql=Object.prototype,Rl=ql.hasOwnProperty;function jl(S,R,b,s,d,w){var A=b&Ll,_=ue(S),v=_.length,y=ue(R),h=y.length;if(v!=h&&!A)return!1;for(var o=v;o--;){var t=_[o];if(!(A?t in R:Rl.call(R,t)))return!1}var e=w.get(S),u=w.get(R);if(e&&u)return e==R&&u==S;var a=!0;w.set(S,R),w.set(R,S);for(var l=A;++o<v;){t=_[o];var r=S[t],i=R[t];if(s)var f=A?s(i,r,t,R,S,w):s(r,i,t,S,R,w);if(!(f===void 0?r===i||d(r,i,b,s,w):f)){a=!1;break}l||(l=t=="constructor")}if(a&&!l){var n=S.constructor,c=R.constructor;n!=c&&"constructor"in S&&"constructor"in R&&!(typeof n=="function"&&n instanceof n&&typeof c=="function"&&c instanceof c)&&(a=!1)}return w.delete(S),w.delete(R),a}var Il=jl,Ml=bt,Dl=pt,Bl=Ml(Dl,"DataView"),Cl=Bl,Fl=bt,Ul=pt,Hl=Fl(Ul,"Promise"),$l=Hl,Kl=bt,zl=pt,Gl=Kl(zl,"Set"),Vl=Gl,Wl=bt,Zl=pt,Yl=Wl(Zl,"WeakMap"),Xl=Yl,Ut=Cl,Ht=Vt,$t=$l,Kt=Vl,zt=Xl,Ie=Rt,At=Se,se="[object Map]",Ql="[object Object]",fe="[object Promise]",ce="[object Set]",he="[object WeakMap]",de="[object DataView]",Jl=At(Ut),tu=At(Ht),eu=At($t),nu=At(Kt),ru=At(zt),gt=Ie;(Ut&>(new Ut(new ArrayBuffer(1)))!=de||Ht&>(new Ht)!=se||$t&>($t.resolve())!=fe||Kt&>(new Kt)!=ce||zt&>(new zt)!=he)&&(gt=function(S){var R=Ie(S),b=R==Ql?S.constructor:void 0,s=b?At(b):"";if(s)switch(s){case Jl:return de;case tu:return se;case eu:return fe;case nu:return ce;case ru:return he}return R});var iu=gt,Ft=Ii,ou=Pe,au=No,lu=Il,ve=iu,pe=Wt,ye=qe,uu=je,su=1,ge="[object Arguments]",me="[object Array]",kt="[object Object]",fu=Object.prototype,be=fu.hasOwnProperty;function cu(S,R,b,s,d,w){var A=pe(S),_=pe(R),v=A?me:ve(S),y=_?me:ve(R);v=v==ge?kt:v,y=y==ge?kt:y;var h=v==kt,o=y==kt,t=v==y;if(t&&ye(S)){if(!ye(R))return!1;A=!0,h=!1}if(t&&!h)return w||(w=new Ft),A||uu(S)?ou(S,R,b,s,d,w):au(S,R,v,b,s,d,w);if(!(b&su)){var e=h&&be.call(S,"__wrapped__"),u=o&&be.call(R,"__wrapped__");if(e||u){var a=e?S.value():S,l=u?R.value():R;return w||(w=new Ft),d(a,l,b,s,w)}}return t?(w||(w=new Ft),lu(S,R,b,s,d,w)):!1}var hu=cu,du=hu,_e=Mt;function Me(S,R,b,s,d){return S===R?!0:S==null||R==null||!_e(S)&&!_e(R)?S!==S&&R!==R:du(S,R,b,s,Me,d)}var vu=Me,pu=vu;function yu(S,R){return pu(S,R)}var gu=yu,De={exports:{}};/*!
|
|
2
2
|
* Quill Editor v1.3.7
|
|
3
3
|
* https://quilljs.com/
|
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
|
@@ -39,4 +39,4 @@
|
|
|
39
39
|
|
|
40
40
|
`)){var Y=z.offsetHeight+parseFloat(H(z).marginTop)+parseFloat(H(z).marginBottom);z.nextElementSibling.offsetTop>z.offsetTop+Y*1.5&&G.insert(`
|
|
41
41
|
`)}return G}function ft(z,G){var Y={},X=z.style||{};return X.fontStyle&&H(z).fontStyle==="italic"&&(Y.italic=!0),X.fontWeight&&(H(z).fontWeight.startsWith("bold")||parseInt(H(z).fontWeight)>=700)&&(Y.bold=!0),Object.keys(Y).length>0&&(G=j(G,Y)),parseFloat(X.textIndent||0)>0&&(G=new o.default().insert(" ").concat(G)),G}function st(z,G){var Y=z.data;if(z.parentNode.tagName==="O:P")return G.insert(Y.trim());if(Y.trim().length===0&&z.parentNode.classList.contains("ql-clipboard"))return G;if(!H(z.parentNode).whiteSpace.startsWith("pre")){var X=function(et,nt){return nt=nt.replace(/[^\u00a0]/g,""),nt.length<1&&et?" ":nt};Y=Y.replace(/\r\n/g," ").replace(/\n/g," "),Y=Y.replace(/\s\s+/g,X.bind(X,!0)),(z.previousSibling==null&&L(z.parentNode)||z.previousSibling!=null&&L(z.previousSibling))&&(Y=Y.replace(/^\s+/,X.bind(X,!1))),(z.nextSibling==null&&L(z.parentNode)||z.nextSibling!=null&&L(z.nextSibling))&&(Y=Y.replace(/\s+$/,X.bind(X,!1)))}return G.insert(Y)}s.default=q,s.matchAttributor=K,s.matchBlot=V,s.matchNewline=it,s.matchSpacing=ot,s.matchText=st},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function u(a,l){for(var r=0;r<l.length;r++){var i=l[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(a,l,r){return l&&u(a.prototype,l),r&&u(a,r),a}}(),A=function u(a,l,r){a===null&&(a=Function.prototype);var i=Object.getOwnPropertyDescriptor(a,l);if(i===void 0){var f=Object.getPrototypeOf(a);return f===null?void 0:u(f,l,r)}else{if("value"in i)return i.value;var n=i.get;return n===void 0?void 0:n.call(r)}},_=d(6),v=y(_);function y(u){return u&&u.__esModule?u:{default:u}}function h(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function o(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:u}function t(u,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var e=function(u){t(a,u);function a(){return h(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return w(a,[{key:"optimize",value:function(r){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"optimize",this).call(this,r),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return A(a.__proto__||Object.getPrototypeOf(a),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),a}(v.default);e.blotName="bold",e.tagName=["STRONG","B"],s.default=e},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.addControls=s.default=void 0;var w=function(){function p(g,k){var P=[],I=!0,F=!1,U=void 0;try{for(var W=g[Symbol.iterator](),B;!(I=(B=W.next()).done)&&(P.push(B.value),!(k&&P.length===k));I=!0);}catch(M){F=!0,U=M}finally{try{!I&&W.return&&W.return()}finally{if(F)throw U}}return P}return function(g,k){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return p(g,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function p(g,k){for(var P=0;P<k.length;P++){var I=k[P];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(g,I.key,I)}}return function(g,k,P){return k&&p(g.prototype,k),P&&p(g,P),g}}(),_=d(2),v=r(_),y=d(0),h=r(y),o=d(5),t=r(o),e=d(10),u=r(e),a=d(9),l=r(a);function r(p){return p&&p.__esModule?p:{default:p}}function i(p,g,k){return g in p?Object.defineProperty(p,g,{value:k,enumerable:!0,configurable:!0,writable:!0}):p[g]=k,p}function f(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function n(p,g){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:p}function c(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}var N=(0,u.default)("quill:toolbar"),O=function(p){c(g,p);function g(k,P){f(this,g);var I=n(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,k,P));if(Array.isArray(I.options.container)){var F=document.createElement("div");x(F,I.options.container),k.container.parentNode.insertBefore(F,k.container),I.container=F}else typeof I.options.container=="string"?I.container=document.querySelector(I.options.container):I.container=I.options.container;if(!(I.container instanceof HTMLElement)){var U;return U=N.error("Container required for toolbar",I.options),n(I,U)}return I.container.classList.add("ql-toolbar"),I.controls=[],I.handlers={},Object.keys(I.options.handlers).forEach(function(W){I.addHandler(W,I.options.handlers[W])}),[].forEach.call(I.container.querySelectorAll("button, select"),function(W){I.attach(W)}),I.quill.on(t.default.events.EDITOR_CHANGE,function(W,B){W===t.default.events.SELECTION_CHANGE&&I.update(B)}),I.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var W=I.quill.selection.getRange(),B=w(W,1),M=B[0];I.update(M)}),I}return A(g,[{key:"addHandler",value:function(P,I){this.handlers[P]=I}},{key:"attach",value:function(P){var I=this,F=[].find.call(P.classList,function(W){return W.indexOf("ql-")===0});if(F){if(F=F.slice(3),P.tagName==="BUTTON"&&P.setAttribute("type","button"),this.handlers[F]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[F]==null){N.warn("ignoring attaching to disabled format",F,P);return}if(h.default.query(F)==null){N.warn("ignoring attaching to nonexistent format",F,P);return}}var U=P.tagName==="SELECT"?"change":"click";P.addEventListener(U,function(W){var B=void 0;if(P.tagName==="SELECT"){if(P.selectedIndex<0)return;var M=P.options[P.selectedIndex];M.hasAttribute("selected")?B=!1:B=M.value||!1}else P.classList.contains("ql-active")?B=!1:B=P.value||!P.hasAttribute("value"),W.preventDefault();I.quill.focus();var T=I.quill.selection.getRange(),q=w(T,1),j=q[0];if(I.handlers[F]!=null)I.handlers[F].call(I,B);else if(h.default.query(F).prototype instanceof h.default.Embed){if(B=prompt("Enter "+F),!B)return;I.quill.updateContents(new v.default().retain(j.index).delete(j.length).insert(i({},F,B)),t.default.sources.USER)}else I.quill.format(F,B,t.default.sources.USER);I.update(j)}),this.controls.push([F,P])}}},{key:"update",value:function(P){var I=P==null?{}:this.quill.getFormat(P);this.controls.forEach(function(F){var U=w(F,2),W=U[0],B=U[1];if(B.tagName==="SELECT"){var M=void 0;if(P==null)M=null;else if(I[W]==null)M=B.querySelector("option[selected]");else if(!Array.isArray(I[W])){var T=I[W];typeof T=="string"&&(T=T.replace(/\"/g,'\\"')),M=B.querySelector('option[value="'+T+'"]')}M==null?(B.value="",B.selectedIndex=-1):M.selected=!0}else if(P==null)B.classList.remove("ql-active");else if(B.hasAttribute("value")){var q=I[W]===B.getAttribute("value")||I[W]!=null&&I[W].toString()===B.getAttribute("value")||I[W]==null&&!B.getAttribute("value");B.classList.toggle("ql-active",q)}else B.classList.toggle("ql-active",I[W]!=null)})}}]),g}(l.default);O.DEFAULTS={};function E(p,g,k){var P=document.createElement("button");P.setAttribute("type","button"),P.classList.add("ql-"+g),k!=null&&(P.value=k),p.appendChild(P)}function x(p,g){Array.isArray(g[0])||(g=[g]),g.forEach(function(k){var P=document.createElement("span");P.classList.add("ql-formats"),k.forEach(function(I){if(typeof I=="string")E(P,I);else{var F=Object.keys(I)[0],U=I[F];Array.isArray(U)?m(P,F,U):E(P,F,U)}}),p.appendChild(P)})}function m(p,g,k){var P=document.createElement("select");P.classList.add("ql-"+g),k.forEach(function(I){var F=document.createElement("option");I!==!1?F.setAttribute("value",I):F.setAttribute("selected","selected"),P.appendChild(F)}),p.appendChild(P)}O.DEFAULTS={container:null,handlers:{clean:function(){var g=this,k=this.quill.getSelection();if(k!=null)if(k.length==0){var P=this.quill.getFormat();Object.keys(P).forEach(function(I){h.default.query(I,h.default.Scope.INLINE)!=null&&g.quill.format(I,!1)})}else this.quill.removeFormat(k,t.default.sources.USER)},direction:function(g){var k=this.quill.getFormat().align;g==="rtl"&&k==null?this.quill.format("align","right",t.default.sources.USER):!g&&k==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",g,t.default.sources.USER)},indent:function(g){var k=this.quill.getSelection(),P=this.quill.getFormat(k),I=parseInt(P.indent||0);if(g==="+1"||g==="-1"){var F=g==="+1"?1:-1;P.direction==="rtl"&&(F*=-1),this.quill.format("indent",I+F,t.default.sources.USER)}},link:function(g){g===!0&&(g=prompt("Enter link URL:")),this.quill.format("link",g,t.default.sources.USER)},list:function(g){var k=this.quill.getSelection(),P=this.quill.getFormat(k);g==="check"?P.list==="checked"||P.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",g,t.default.sources.USER)}}},s.default=O,s.addControls=x},function(b,s){b.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(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function u(a,l){for(var r=0;r<l.length;r++){var i=l[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(a,l,r){return l&&u(a.prototype,l),r&&u(a,r),a}}(),A=function u(a,l,r){a===null&&(a=Function.prototype);var i=Object.getOwnPropertyDescriptor(a,l);if(i===void 0){var f=Object.getPrototypeOf(a);return f===null?void 0:u(f,l,r)}else{if("value"in i)return i.value;var n=i.get;return n===void 0?void 0:n.call(r)}},_=d(28),v=y(_);function y(u){return u&&u.__esModule?u:{default:u}}function h(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function o(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:u}function t(u,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var e=function(u){t(a,u);function a(l,r){h(this,a);var i=o(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,l));return i.label.innerHTML=r,i.container.classList.add("ql-color-picker"),[].slice.call(i.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(f){f.classList.add("ql-primary")}),i}return w(a,[{key:"buildItem",value:function(r){var i=A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"buildItem",this).call(this,r);return i.style.backgroundColor=r.getAttribute("value")||"",i}},{key:"selectItem",value:function(r,i){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"selectItem",this).call(this,r,i);var f=this.label.querySelector(".ql-color-label"),n=r&&r.getAttribute("data-value")||"";f&&(f.tagName==="line"?f.style.stroke=n:f.style.fill=n)}}]),a}(v.default);s.default=e},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function u(a,l){for(var r=0;r<l.length;r++){var i=l[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(a,l,r){return l&&u(a.prototype,l),r&&u(a,r),a}}(),A=function u(a,l,r){a===null&&(a=Function.prototype);var i=Object.getOwnPropertyDescriptor(a,l);if(i===void 0){var f=Object.getPrototypeOf(a);return f===null?void 0:u(f,l,r)}else{if("value"in i)return i.value;var n=i.get;return n===void 0?void 0:n.call(r)}},_=d(28),v=y(_);function y(u){return u&&u.__esModule?u:{default:u}}function h(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function o(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:u}function t(u,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var e=function(u){t(a,u);function a(l,r){h(this,a);var i=o(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,l));return i.container.classList.add("ql-icon-picker"),[].forEach.call(i.container.querySelectorAll(".ql-picker-item"),function(f){f.innerHTML=r[f.getAttribute("data-value")||""]}),i.defaultItem=i.container.querySelector(".ql-selected"),i.selectItem(i.defaultItem),i}return w(a,[{key:"selectItem",value:function(r,i){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"selectItem",this).call(this,r,i),r=r||this.defaultItem,this.label.innerHTML=r.innerHTML}}]),a}(v.default);s.default=e},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function v(y,h){for(var o=0;o<h.length;o++){var t=h[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(y,t.key,t)}}return function(y,h,o){return h&&v(y.prototype,h),o&&v(y,o),y}}();function A(v,y){if(!(v instanceof y))throw new TypeError("Cannot call a class as a function")}var _=function(){function v(y,h){var o=this;A(this,v),this.quill=y,this.boundsContainer=h||document.body,this.root=y.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return w(v,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(h){var o=h.left+h.width/2-this.root.offsetWidth/2,t=h.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var e=this.boundsContainer.getBoundingClientRect(),u=this.root.getBoundingClientRect(),a=0;if(u.right>e.right&&(a=e.right-u.right,this.root.style.left=o+a+"px"),u.left<e.left&&(a=e.left-u.left,this.root.style.left=o+a+"px"),u.bottom>e.bottom){var l=u.bottom-u.top,r=h.bottom-h.top+l;this.root.style.top=t-r+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),v}();s.default=_},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function m(p,g){var k=[],P=!0,I=!1,F=void 0;try{for(var U=p[Symbol.iterator](),W;!(P=(W=U.next()).done)&&(k.push(W.value),!(g&&k.length===g));P=!0);}catch(B){I=!0,F=B}finally{try{!P&&U.return&&U.return()}finally{if(I)throw F}}return k}return function(p,g){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return m(p,g);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function m(p,g,k){p===null&&(p=Function.prototype);var P=Object.getOwnPropertyDescriptor(p,g);if(P===void 0){var I=Object.getPrototypeOf(p);return I===null?void 0:m(I,g,k)}else{if("value"in P)return P.value;var F=P.get;return F===void 0?void 0:F.call(k)}},_=function(){function m(p,g){for(var k=0;k<g.length;k++){var P=g[k];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(p,P.key,P)}}return function(p,g,k){return g&&m(p.prototype,g),k&&m(p,k),p}}(),v=d(3),y=f(v),h=d(8),o=f(h),t=d(43),e=f(t),u=d(27),a=f(u),l=d(15),r=d(41),i=f(r);function f(m){return m&&m.__esModule?m:{default:m}}function n(m,p){if(!(m instanceof p))throw new TypeError("Cannot call a class as a function")}function c(m,p){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:m}function N(m,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);m.prototype=Object.create(p&&p.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(m,p):m.__proto__=p)}var O=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],E=function(m){N(p,m);function p(g,k){n(this,p),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=O);var P=c(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g,k));return P.quill.container.classList.add("ql-snow"),P}return _(p,[{key:"extendToolbar",value:function(k){k.container.classList.add("ql-snow"),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),i.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),i.default),this.tooltip=new x(this.quill,this.options.bounds),k.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(P,I){k.handlers.link.call(k,!I.format.link)})}}]),p}(e.default);E.DEFAULTS=(0,y.default)(!0,{},e.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(p){if(p){var g=this.quill.getSelection();if(g==null||g.length==0)return;var k=this.quill.getText(g);/^\S+@\S+\.\S+$/.test(k)&&k.indexOf("mailto:")!==0&&(k="mailto:"+k);var P=this.quill.theme.tooltip;P.edit("link",k)}else this.quill.format("link",!1)}}}}});var x=function(m){N(p,m);function p(g,k){n(this,p);var P=c(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g,k));return P.preview=P.root.querySelector("a.ql-preview"),P}return _(p,[{key:"listen",value:function(){var k=this;A(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(P){k.root.classList.contains("ql-editing")?k.save():k.edit("link",k.preview.textContent),P.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(P){if(k.linkRange!=null){var I=k.linkRange;k.restoreFocus(),k.quill.formatText(I,"link",!1,o.default.sources.USER),delete k.linkRange}P.preventDefault(),k.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(P,I,F){if(P!=null){if(P.length===0&&F===o.default.sources.USER){var U=k.quill.scroll.descendant(a.default,P.index),W=w(U,2),B=W[0],M=W[1];if(B!=null){k.linkRange=new l.Range(P.index-M,B.length());var T=a.default.formats(B.domNode);k.preview.textContent=T,k.preview.setAttribute("href",T),k.show(),k.position(k.quill.getBounds(k.linkRange));return}}else delete k.linkRange;k.hide()}})}},{key:"show",value:function(){A(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),p}(t.BaseTooltip);x.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(""),s.default=E},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=d(29),A=Z(w),_=d(36),v=d(38),y=d(64),h=d(65),o=Z(h),t=d(66),e=Z(t),u=d(67),a=Z(u),l=d(37),r=d(26),i=d(39),f=d(40),n=d(56),c=Z(n),N=d(68),O=Z(N),E=d(27),x=Z(E),m=d(69),p=Z(m),g=d(70),k=Z(g),P=d(71),I=Z(P),F=d(72),U=Z(F),W=d(73),B=Z(W),M=d(13),T=Z(M),q=d(74),j=Z(q),H=d(75),C=Z(H),L=d(57),D=Z(L),$=d(41),K=Z($),V=d(28),Q=Z(V),J=d(59),tt=Z(J),it=d(60),ot=Z(it),ft=d(61),st=Z(ft),z=d(108),G=Z(z),Y=d(62),X=Z(Y);function Z(et){return et&&et.__esModule?et:{default:et}}A.default.register({"attributors/attribute/direction":v.DirectionAttribute,"attributors/class/align":_.AlignClass,"attributors/class/background":l.BackgroundClass,"attributors/class/color":r.ColorClass,"attributors/class/direction":v.DirectionClass,"attributors/class/font":i.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":_.AlignStyle,"attributors/style/background":l.BackgroundStyle,"attributors/style/color":r.ColorStyle,"attributors/style/direction":v.DirectionStyle,"attributors/style/font":i.FontStyle,"attributors/style/size":f.SizeStyle},!0),A.default.register({"formats/align":_.AlignClass,"formats/direction":v.DirectionClass,"formats/indent":y.IndentClass,"formats/background":l.BackgroundStyle,"formats/color":r.ColorStyle,"formats/font":i.FontClass,"formats/size":f.SizeClass,"formats/blockquote":o.default,"formats/code-block":T.default,"formats/header":e.default,"formats/list":a.default,"formats/bold":c.default,"formats/code":M.Code,"formats/italic":O.default,"formats/link":x.default,"formats/script":p.default,"formats/strike":k.default,"formats/underline":I.default,"formats/image":U.default,"formats/video":B.default,"formats/list/item":u.ListItem,"modules/formula":j.default,"modules/syntax":C.default,"modules/toolbar":D.default,"themes/bubble":G.default,"themes/snow":X.default,"ui/icons":K.default,"ui/picker":Q.default,"ui/icon-picker":ot.default,"ui/color-picker":tt.default,"ui/tooltip":st.default},!0),s.default=A.default},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.IndentClass=void 0;var w=function(){function a(l,r){for(var i=0;i<r.length;i++){var f=r[i];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(l,f.key,f)}}return function(l,r,i){return r&&a(l.prototype,r),i&&a(l,i),l}}(),A=function a(l,r,i){l===null&&(l=Function.prototype);var f=Object.getOwnPropertyDescriptor(l,r);if(f===void 0){var n=Object.getPrototypeOf(l);return n===null?void 0:a(n,r,i)}else{if("value"in f)return f.value;var c=f.get;return c===void 0?void 0:c.call(i)}},_=d(0),v=y(_);function y(a){return a&&a.__esModule?a:{default:a}}function h(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}function o(a,l){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:a}function t(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);a.prototype=Object.create(l&&l.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(a,l):a.__proto__=l)}var e=function(a){t(l,a);function l(){return h(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return w(l,[{key:"add",value:function(i,f){if(f==="+1"||f==="-1"){var n=this.value(i)||0;f=f==="+1"?n+1:n-1}return f===0?(this.remove(i),!0):A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"add",this).call(this,i,f)}},{key:"canAdd",value:function(i,f){return A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,i,f)||A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,i,parseInt(f))}},{key:"value",value:function(i){return parseInt(A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"value",this).call(this,i))||void 0}}]),l}(v.default.Attributor.Class),u=new e("indent","ql-indent",{scope:v.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});s.IndentClass=u},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=d(4),A=_(w);function _(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 y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function h(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){h(e,t);function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="blockquote",o.tagName="blockquote",s.default=o},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function e(u,a){for(var l=0;l<a.length;l++){var r=a[l];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}return function(u,a,l){return a&&e(u.prototype,a),l&&e(u,l),u}}(),A=d(4),_=v(A);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function h(e,u){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:e}function o(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(e,u):e.__proto__=u)}var t=function(e){o(u,e);function u(){return y(this,u),h(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return w(u,null,[{key:"formats",value:function(l){return this.tagName.indexOf(l.tagName)+1}}]),u}(_.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],s.default=t},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.default=s.ListItem=void 0;var w=function(){function n(c,N){for(var O=0;O<N.length;O++){var E=N[O];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(c,E.key,E)}}return function(c,N,O){return N&&n(c.prototype,N),O&&n(c,O),c}}(),A=function n(c,N,O){c===null&&(c=Function.prototype);var E=Object.getOwnPropertyDescriptor(c,N);if(E===void 0){var x=Object.getPrototypeOf(c);return x===null?void 0:n(x,N,O)}else{if("value"in E)return E.value;var m=E.get;return m===void 0?void 0:m.call(O)}},_=d(0),v=e(_),y=d(4),h=e(y),o=d(25),t=e(o);function e(n){return n&&n.__esModule?n:{default:n}}function u(n,c,N){return c in n?Object.defineProperty(n,c,{value:N,enumerable:!0,configurable:!0,writable:!0}):n[c]=N,n}function a(n,c){if(!(n instanceof c))throw new TypeError("Cannot call a class as a function")}function l(n,c){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:n}function r(n,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);n.prototype=Object.create(c&&c.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(n,c):n.__proto__=c)}var i=function(n){r(c,n);function c(){return a(this,c),l(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}return w(c,[{key:"format",value:function(O,E){O===f.blotName&&!E?this.replaceWith(v.default.create(this.statics.scope)):A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"format",this).call(this,O,E)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(O,E){return this.parent.isolate(this.offset(this.parent),this.length()),O===this.parent.statics.blotName?(this.parent.replaceWith(O,E),this):(this.parent.unwrap(),A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"replaceWith",this).call(this,O,E))}}],[{key:"formats",value:function(O){return O.tagName===this.tagName?void 0:A(c.__proto__||Object.getPrototypeOf(c),"formats",this).call(this,O)}}]),c}(h.default);i.blotName="list-item",i.tagName="LI";var f=function(n){r(c,n),w(c,null,[{key:"create",value:function(O){var E=O==="ordered"?"OL":"UL",x=A(c.__proto__||Object.getPrototypeOf(c),"create",this).call(this,E);return(O==="checked"||O==="unchecked")&&x.setAttribute("data-checked",O==="checked"),x}},{key:"formats",value:function(O){if(O.tagName==="OL")return"ordered";if(O.tagName==="UL")return O.hasAttribute("data-checked")?O.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function c(N){a(this,c);var O=l(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,N)),E=function(m){if(m.target.parentNode===N){var p=O.statics.formats(N),g=v.default.find(m.target);p==="checked"?g.format("list","unchecked"):p==="unchecked"&&g.format("list","checked")}};return N.addEventListener("touchstart",E),N.addEventListener("mousedown",E),O}return w(c,[{key:"format",value:function(O,E){this.children.length>0&&this.children.tail.format(O,E)}},{key:"formats",value:function(){return u({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(O,E){if(O instanceof i)A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"insertBefore",this).call(this,O,E);else{var x=E==null?this.length():E.offset(this),m=this.split(x);m.parent.insertBefore(O,m)}}},{key:"optimize",value:function(O){A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"optimize",this).call(this,O);var E=this.next;E!=null&&E.prev===this&&E.statics.blotName===this.statics.blotName&&E.domNode.tagName===this.domNode.tagName&&E.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(E.moveChildren(this),E.remove())}},{key:"replace",value:function(O){if(O.statics.blotName!==this.statics.blotName){var E=v.default.create(this.statics.defaultChild);O.moveChildren(E),this.appendChild(E)}A(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"replace",this).call(this,O)}}]),c}(t.default);f.blotName="list",f.scope=v.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[i],s.ListItem=i,s.default=f},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=d(56),A=_(w);function _(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 y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function h(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){h(e,t);function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="italic",o.tagName=["EM","I"],s.default=o},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function u(a,l){for(var r=0;r<l.length;r++){var i=l[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(a,l,r){return l&&u(a.prototype,l),r&&u(a,r),a}}(),A=function u(a,l,r){a===null&&(a=Function.prototype);var i=Object.getOwnPropertyDescriptor(a,l);if(i===void 0){var f=Object.getPrototypeOf(a);return f===null?void 0:u(f,l,r)}else{if("value"in i)return i.value;var n=i.get;return n===void 0?void 0:n.call(r)}},_=d(6),v=y(_);function y(u){return u&&u.__esModule?u:{default:u}}function h(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function o(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:u}function t(u,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var e=function(u){t(a,u);function a(){return h(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return w(a,null,[{key:"create",value:function(r){return r==="super"?document.createElement("sup"):r==="sub"?document.createElement("sub"):A(a.__proto__||Object.getPrototypeOf(a),"create",this).call(this,r)}},{key:"formats",value:function(r){if(r.tagName==="SUB")return"sub";if(r.tagName==="SUP")return"super"}}]),a}(v.default);e.blotName="script",e.tagName=["SUB","SUP"],s.default=e},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=d(6),A=_(w);function _(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 y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function h(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){h(e,t);function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="strike",o.tagName="S",s.default=o},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=d(6),A=_(w);function _(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 y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function h(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){h(e,t);function e(){return v(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(A.default);o.blotName="underline",o.tagName="U",s.default=o},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function l(r,i){for(var f=0;f<i.length;f++){var n=i[f];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}return function(r,i,f){return i&&l(r.prototype,i),f&&l(r,f),r}}(),A=function l(r,i,f){r===null&&(r=Function.prototype);var n=Object.getOwnPropertyDescriptor(r,i);if(n===void 0){var c=Object.getPrototypeOf(r);return c===null?void 0:l(c,i,f)}else{if("value"in n)return n.value;var N=n.get;return N===void 0?void 0:N.call(f)}},_=d(0),v=h(_),y=d(27);function h(l){return l&&l.__esModule?l:{default:l}}function o(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function t(l,r){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:l}function e(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(l,r):l.__proto__=r)}var u=["alt","height","width"],a=function(l){e(r,l);function r(){return o(this,r),t(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return w(r,[{key:"format",value:function(f,n){u.indexOf(f)>-1?n?this.domNode.setAttribute(f,n):this.domNode.removeAttribute(f):A(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"format",this).call(this,f,n)}}],[{key:"create",value:function(f){var n=A(r.__proto__||Object.getPrototypeOf(r),"create",this).call(this,f);return typeof f=="string"&&n.setAttribute("src",this.sanitize(f)),n}},{key:"formats",value:function(f){return u.reduce(function(n,c){return f.hasAttribute(c)&&(n[c]=f.getAttribute(c)),n},{})}},{key:"match",value:function(f){return/\.(jpe?g|gif|png)$/.test(f)||/^data:image\/.+;base64/.test(f)}},{key:"sanitize",value:function(f){return(0,y.sanitize)(f,["http","https","data"])?f:"//:0"}},{key:"value",value:function(f){return f.getAttribute("src")}}]),r}(v.default.Embed);a.blotName="image",a.tagName="IMG",s.default=a},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0});var w=function(){function l(r,i){for(var f=0;f<i.length;f++){var n=i[f];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}return function(r,i,f){return i&&l(r.prototype,i),f&&l(r,f),r}}(),A=function l(r,i,f){r===null&&(r=Function.prototype);var n=Object.getOwnPropertyDescriptor(r,i);if(n===void 0){var c=Object.getPrototypeOf(r);return c===null?void 0:l(c,i,f)}else{if("value"in n)return n.value;var N=n.get;return N===void 0?void 0:N.call(f)}},_=d(4),v=d(27),y=h(v);function h(l){return l&&l.__esModule?l:{default:l}}function o(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function t(l,r){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:l}function e(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(l,r):l.__proto__=r)}var u=["height","width"],a=function(l){e(r,l);function r(){return o(this,r),t(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return w(r,[{key:"format",value:function(f,n){u.indexOf(f)>-1?n?this.domNode.setAttribute(f,n):this.domNode.removeAttribute(f):A(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"format",this).call(this,f,n)}}],[{key:"create",value:function(f){var n=A(r.__proto__||Object.getPrototypeOf(r),"create",this).call(this,f);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(f)),n}},{key:"formats",value:function(f){return u.reduce(function(n,c){return f.hasAttribute(c)&&(n[c]=f.getAttribute(c)),n},{})}},{key:"sanitize",value:function(f){return y.default.sanitize(f)}},{key:"value",value:function(f){return f.getAttribute("src")}}]),r}(_.BlockEmbed);a.blotName="video",a.className="ql-video",a.tagName="IFRAME",s.default=a},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.default=s.FormulaBlot=void 0;var w=function(){function f(n,c){for(var N=0;N<c.length;N++){var O=c[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(n,O.key,O)}}return function(n,c,N){return c&&f(n.prototype,c),N&&f(n,N),n}}(),A=function f(n,c,N){n===null&&(n=Function.prototype);var O=Object.getOwnPropertyDescriptor(n,c);if(O===void 0){var E=Object.getPrototypeOf(n);return E===null?void 0:f(E,c,N)}else{if("value"in O)return O.value;var x=O.get;return x===void 0?void 0:x.call(N)}},_=d(35),v=e(_),y=d(5),h=e(y),o=d(9),t=e(o);function e(f){return f&&f.__esModule?f:{default:f}}function u(f,n){if(!(f instanceof n))throw new TypeError("Cannot call a class as a function")}function a(f,n){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:f}function l(f,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);f.prototype=Object.create(n&&n.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(f,n):f.__proto__=n)}var r=function(f){l(n,f);function n(){return u(this,n),a(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return w(n,null,[{key:"create",value:function(N){var O=A(n.__proto__||Object.getPrototypeOf(n),"create",this).call(this,N);return typeof N=="string"&&(window.katex.render(N,O,{throwOnError:!1,errorColor:"#f00"}),O.setAttribute("data-value",N)),O}},{key:"value",value:function(N){return N.getAttribute("data-value")}}]),n}(v.default);r.blotName="formula",r.className="ql-formula",r.tagName="SPAN";var i=function(f){l(n,f),w(n,null,[{key:"register",value:function(){h.default.register(r,!0)}}]);function n(){u(this,n);var c=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return c}return n}(t.default);s.FormulaBlot=r,s.default=i},function(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.default=s.CodeToken=s.CodeBlock=void 0;var w=function(){function N(O,E){for(var x=0;x<E.length;x++){var m=E[x];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(O,m.key,m)}}return function(O,E,x){return E&&N(O.prototype,E),x&&N(O,x),O}}(),A=function N(O,E,x){O===null&&(O=Function.prototype);var m=Object.getOwnPropertyDescriptor(O,E);if(m===void 0){var p=Object.getPrototypeOf(O);return p===null?void 0:N(p,E,x)}else{if("value"in m)return m.value;var g=m.get;return g===void 0?void 0:g.call(x)}},_=d(0),v=a(_),y=d(5),h=a(y),o=d(9),t=a(o),e=d(13),u=a(e);function a(N){return N&&N.__esModule?N:{default:N}}function l(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function r(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function i(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}var f=function(N){i(O,N);function O(){return l(this,O),r(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return w(O,[{key:"replaceWith",value:function(x){this.domNode.textContent=this.domNode.textContent,this.attach(),A(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"replaceWith",this).call(this,x)}},{key:"highlight",value:function(x){var m=this.domNode.textContent;this.cachedText!==m&&((m.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=x(m),this.domNode.normalize(),this.attach()),this.cachedText=m)}}]),O}(u.default);f.className="ql-syntax";var n=new v.default.Attributor.Class("token","hljs",{scope:v.default.Scope.INLINE}),c=function(N){i(O,N),w(O,null,[{key:"register",value:function(){h.default.register(n,!0),h.default.register(f,!0)}}]);function O(E,x){l(this,O);var m=r(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,E,x));if(typeof m.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var p=null;return m.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(p),p=setTimeout(function(){m.highlight(),p=null},m.options.interval)}),m.highlight(),m}return w(O,[{key:"highlight",value:function(){var x=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var m=this.quill.getSelection();this.quill.scroll.descendants(f).forEach(function(p){p.highlight(x.options.highlight)}),this.quill.update(h.default.sources.SILENT),m!=null&&this.quill.setSelection(m,h.default.sources.SILENT)}}}]),O}(t.default);c.DEFAULTS={highlight:function(){return window.hljs==null?null:function(N){var O=window.hljs.highlightAuto(N);return O.value}}(),interval:1e3},s.CodeBlock=f,s.CodeToken=n,s.default=c},function(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s){b.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(b,s,d){Object.defineProperty(s,"__esModule",{value:!0}),s.default=s.BubbleTooltip=void 0;var w=function O(E,x,m){E===null&&(E=Function.prototype);var p=Object.getOwnPropertyDescriptor(E,x);if(p===void 0){var g=Object.getPrototypeOf(E);return g===null?void 0:O(g,x,m)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(m)}},A=function(){function O(E,x){for(var m=0;m<x.length;m++){var p=x[m];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(E,p.key,p)}}return function(E,x,m){return x&&O(E.prototype,x),m&&O(E,m),E}}(),_=d(3),v=l(_),y=d(8),h=l(y),o=d(43),t=l(o),e=d(15),u=d(41),a=l(u);function l(O){return O&&O.__esModule?O:{default:O}}function r(O,E){if(!(O instanceof E))throw new TypeError("Cannot call a class as a function")}function i(O,E){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:O}function f(O,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);O.prototype=Object.create(E&&E.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(O,E):O.__proto__=E)}var n=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],c=function(O){f(E,O);function E(x,m){r(this,E),m.modules.toolbar!=null&&m.modules.toolbar.container==null&&(m.modules.toolbar.container=n);var p=i(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,x,m));return p.quill.container.classList.add("ql-bubble"),p}return A(E,[{key:"extendToolbar",value:function(m){this.tooltip=new N(this.quill,this.options.bounds),this.tooltip.root.appendChild(m.container),this.buildButtons([].slice.call(m.container.querySelectorAll("button")),a.default),this.buildPickers([].slice.call(m.container.querySelectorAll("select")),a.default)}}]),E}(t.default);c.DEFAULTS=(0,v.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(E){E?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var N=function(O){f(E,O);function E(x,m){r(this,E);var p=i(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,x,m));return p.quill.on(h.default.events.EDITOR_CHANGE,function(g,k,P,I){if(g===h.default.events.SELECTION_CHANGE)if(k!=null&&k.length>0&&I===h.default.sources.USER){p.show(),p.root.style.left="0px",p.root.style.width="",p.root.style.width=p.root.offsetWidth+"px";var F=p.quill.getLines(k.index,k.length);if(F.length===1)p.position(p.quill.getBounds(k));else{var U=F[F.length-1],W=p.quill.getIndex(U),B=Math.min(U.length()-1,k.index+k.length-W),M=p.quill.getBounds(new e.Range(W,B));p.position(M)}}else document.activeElement!==p.textbox&&p.quill.hasFocus()&&p.hide()}),p}return A(E,[{key:"listen",value:function(){var m=this;w(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){m.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!m.root.classList.contains("ql-hidden")){var p=m.quill.getSelection();p!=null&&m.position(m.quill.getBounds(p))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(m){var p=w(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"position",this).call(this,m),g=this.root.querySelector(".ql-tooltip-arrow");if(g.style.marginLeft="",p===0)return p;g.style.marginLeft=-1*p-g.offsetWidth/2+"px"}}]),E}(o.BaseTooltip);N.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(""),s.BubbleTooltip=N,s.default=c},function(b,s,d){b.exports=d(63)}]).default})})(De);var mu=De.exports,bu=ct.commonjsGlobal&&ct.commonjsGlobal.__extends||function(){var S=function(R,b){return S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var w in d)d.hasOwnProperty(w)&&(s[w]=d[w])},S(R,b)};return function(R,b){S(R,b);function s(){this.constructor=R}R.prototype=b===null?Object.create(b):(s.prototype=b.prototype,new s)}}(),Pt=ct.commonjsGlobal&&ct.commonjsGlobal.__assign||function(){return Pt=Object.assign||function(S){for(var R,b=1,s=arguments.length;b<s;b++){R=arguments[b];for(var d in R)Object.prototype.hasOwnProperty.call(R,d)&&(S[d]=R[d])}return S},Pt.apply(this,arguments)},_u=ct.commonjsGlobal&&ct.commonjsGlobal.__spreadArrays||function(){for(var S=0,R=0,b=arguments.length;R<b;R++)S+=arguments[R].length;for(var s=Array(S),d=0,R=0;R<b;R++)for(var w=arguments[R],A=0,_=w.length;A<_;A++,d++)s[d]=w[A];return s},Dt=ct.commonjsGlobal&&ct.commonjsGlobal.__importDefault||function(S){return S&&S.__esModule?S:{default:S}},dt=Dt(Fe),Ou=Dt(Ue),Tt=Dt(gu),Oe=Dt(mu),Eu=function(S){bu(R,S);function R(b){var s=S.call(this,b)||this;s.dirtyProps=["modules","formats","bounds","theme","children"],s.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],s.state={generation:0},s.selection=null,s.onEditorChange=function(w,A,_,v){var y,h,o,t;w==="text-change"?(h=(y=s).onEditorChangeText)===null||h===void 0||h.call(y,s.editor.root.innerHTML,A,v,s.unprivilegedEditor):w==="selection-change"&&((t=(o=s).onEditorChangeSelection)===null||t===void 0||t.call(o,A,v,s.unprivilegedEditor))};var d=s.isControlled()?b.value:b.defaultValue;return s.value=d??"",s}return R.prototype.validateProps=function(b){var s;if(dt.default.Children.count(b.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(dt.default.Children.count(b.children)){var d=dt.default.Children.only(b.children);if(((s=d)===null||s===void 0?void 0:s.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&b.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")},R.prototype.shouldComponentUpdate=function(b,s){var d=this,w;if(this.validateProps(b),!this.editor||this.state.generation!==s.generation)return!0;if("value"in b){var A=this.getEditorContents(),_=(w=b.value,w??"");this.isEqualValue(_,A)||this.setEditorContents(this.editor,_)}return b.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,b.readOnly),_u(this.cleanProps,this.dirtyProps).some(function(v){return!Tt.default(b[v],d.props[v])})},R.prototype.shouldComponentRegenerate=function(b){var s=this;return this.dirtyProps.some(function(d){return!Tt.default(b[d],s.props[d])})},R.prototype.componentDidMount=function(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())},R.prototype.componentWillUnmount=function(){this.destroyEditor()},R.prototype.componentDidUpdate=function(b,s){var d=this;if(this.editor&&this.shouldComponentRegenerate(b)){var w=this.editor.getContents(),A=this.editor.getSelection();this.regenerationSnapshot={delta:w,selection:A},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==s.generation){var _=this.regenerationSnapshot,w=_.delta,v=_.selection;delete this.regenerationSnapshot,this.instantiateEditor();var y=this.editor;y.setContents(w),Ee(function(){return d.setEditorSelection(y,v)})}},R.prototype.instantiateEditor=function(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())},R.prototype.destroyEditor=function(){this.editor&&this.unhookEditor(this.editor)},R.prototype.isControlled=function(){return"value"in this.props},R.prototype.getEditorConfig=function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},R.prototype.getEditor=function(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor},R.prototype.createEditor=function(b,s){var d=new Oe.default(b,s);return s.tabIndex!=null&&this.setEditorTabIndex(d,s.tabIndex),this.hookEditor(d),d},R.prototype.hookEditor=function(b){this.unprivilegedEditor=this.makeUnprivilegedEditor(b),b.on("editor-change",this.onEditorChange)},R.prototype.unhookEditor=function(b){b.off("editor-change",this.onEditorChange)},R.prototype.getEditorContents=function(){return this.value},R.prototype.getEditorSelection=function(){return this.selection},R.prototype.isDelta=function(b){return b&&b.ops},R.prototype.isEqualValue=function(b,s){return this.isDelta(b)&&this.isDelta(s)?Tt.default(b.ops,s.ops):Tt.default(b,s)},R.prototype.setEditorContents=function(b,s){var d=this;this.value=s;var w=this.getEditorSelection();typeof s=="string"?b.setContents(b.clipboard.convert(s)):b.setContents(s),Ee(function(){return d.setEditorSelection(b,w)})},R.prototype.setEditorSelection=function(b,s){if(this.selection=s,s){var d=b.getLength();s.index=Math.max(0,Math.min(s.index,d-1)),s.length=Math.max(0,Math.min(s.length,d-1-s.index)),b.setSelection(s)}},R.prototype.setEditorTabIndex=function(b,s){var d,w;!((w=(d=b)===null||d===void 0?void 0:d.scroll)===null||w===void 0)&&w.domNode&&(b.scroll.domNode.tabIndex=s)},R.prototype.setEditorReadOnly=function(b,s){s?b.disable():b.enable()},R.prototype.makeUnprivilegedEditor=function(b){var s=b;return{getHTML:function(){return s.root.innerHTML},getLength:s.getLength.bind(s),getText:s.getText.bind(s),getContents:s.getContents.bind(s),getSelection:s.getSelection.bind(s),getBounds:s.getBounds.bind(s)}},R.prototype.getEditingArea=function(){if(!this.editingArea)throw new Error("Instantiating on missing editing area");var b=Ou.default.findDOMNode(this.editingArea);if(!b)throw new Error("Cannot find element for editing area");if(b.nodeType===3)throw new Error("Editing area cannot be a text node");return b},R.prototype.renderEditingArea=function(){var b=this,s=this.props,d=s.children,w=s.preserveWhitespace,A=this.state.generation,_={key:A,ref:function(v){b.editingArea=v}};return dt.default.Children.count(d)?dt.default.cloneElement(dt.default.Children.only(d),_):w?dt.default.createElement("pre",Pt({},_)):dt.default.createElement("div",Pt({},_))},R.prototype.render=function(){var b;return dt.default.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:"quill "+(b=this.props.className,b??""),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},R.prototype.onEditorChangeText=function(b,s,d,w){var A,_;if(this.editor){var v=this.isDelta(this.value)?w.getContents():w.getHTML();v!==this.getEditorContents()&&(this.lastDeltaChangeSet=s,this.value=v,(_=(A=this.props).onChange)===null||_===void 0||_.call(A,b,s,d,w))}},R.prototype.onEditorChangeSelection=function(b,s,d){var w,A,_,v,y,h;if(this.editor){var o=this.getEditorSelection(),t=!o&&b,e=o&&!b;Tt.default(b,o)||(this.selection=b,(A=(w=this.props).onChangeSelection)===null||A===void 0||A.call(w,b,s,d),t?(v=(_=this.props).onFocus)===null||v===void 0||v.call(_,b,s,d):e&&((h=(y=this.props).onBlur)===null||h===void 0||h.call(y,o,s,d)))}},R.prototype.focus=function(){this.editor&&this.editor.focus()},R.prototype.blur=function(){this.editor&&(this.selection=null,this.editor.blur())},R.displayName="React Quill",R.Quill=Oe.default,R.defaultProps={theme:"snow",modules:{},readOnly:!1},R}(dt.default.Component);function Ee(S){Promise.resolve().then(S)}var Be=Eu;const Au=ct.getDefaultExportFromCjs(Be),wu=He({__proto__:null,default:Au},[Be]);exports.index=wu;
|
|
42
|
-
//# sourceMappingURL=index-
|
|
42
|
+
//# sourceMappingURL=index-hv7IJZ9j.js.map
|