JFIF     "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777"H !1AQ"2aqB#R3b$Cr4Ss%Tt&c$!1AQ"a#2B ? }XuAo)8^ IƟ`vUp9jY0Ǧ w)E허2jU`SEKw5]kSno!]:?jc\غV7/9N+{t#8zd/޲3F/=ź3GNquV"/4:{z%ۣI'D@ %88^f}VV)S_2ed^Mx"͟?UC62Q%чmO͓ cq0rŖJ\Õ_Sݶ'|G.q޾D U]nP%EF>˲E"d&'f2s6H]4w IS˶4VbaQ+9]XtNx:M0JNxϙ⟟"{nr;|{%vo\z-wc,*|k}-m55o4W9ؓw߱Yzk .=/oϡȴ^9ҧʹamtQԬZ]4?egjrQ}+)MleE]MPEn!`IK2RUEwVIoͷcp;lśe7΄uN ;rПV8|e\׹9Y-V_G.)XԢOv<;_"ڜ]ߙEr݊'K{KuBJ}KI}24|"v)/ʻo5)6-Tjd7.C]Q&lU,Yk1P4~UKZs|$kX6+屷CUq+N(jlGrpG&UB3#k3\9qfg7O8Kim(AJOO~C#e`i0wĦij$cWh<dtQߺ"NOtG+ZǪ]b5%]v5$)u|qZ柡s-rۖu$MKڎCmN_V'/1u,21pvlc>қeNnֺ|bkl=lǷNOʣlz*]»vȎ[)j[fs[]:s#m6Qt6*Q+`};ßj[F_jcv`r#w}|k<ڞ/r53N8>Kh q_-_??@enſEܥ\D\YAEo+ ޟd}IcY7+t{=ɩ>}i\\JfxzVdSzᔢ]Q^CJի\iceitMM5hڦg')^ et#ۯ"ÿfF->4iؤ2ݷ6#p6^-R̫gETj^I.kӽUp~D9[:/>h> \gJ|ۿؘ>ml9jMK =+*2i=0RiͶۗV{"u]IH`9J_˹KƼK$X-|=ve/ bjxw.9i%NqVJcFYKcTtO,F;%67vYb8֝qq0tUt=DvawsS~~Edzr^F-v{c++ݔ\|9Iy #nOavOY=3690Tcrilwa\˓m$?箵S6U c(.~R7suMhqcMOnKoc*ȣȩEd'J ܜk*_q}%M/7c.|;trddbsdcJev85̤iW Ę 8C# .딖e$sk80^\J众2)Nm~|Idj_ O+6ǻ#(MIz4Qo:օY,:q]̌"lK}{F]ζ)h>ʶ ^ue78_G#rqv$wkk[Q c+վ+ĸZΝFB]VzoiJRke&Kgom_7Wef_7,osJɽE%lzBt>mRs)v8'P0ֲtrOg4p_2`GlhYڦDF/ӚKmtm'P2kqU765fJY:y؊.ox%8V_ִ̌ܞjpqwЮQ;iUcNoOoٸcY w*4soӵkqf$?-jy~0{>?DaL8XL/ɞo+'8 {ʸxգj#Dy)wk̘e۩+%}~;ڼ5xek|y-%ڱ-ʜe:EEScÚ5z|r'&I&яF*F7|[nRF =(4ۖ@. n7@xx:N^8Bg%u/ny6&dR{?8U_Q6Z߯-oh.NR]} qi6~H(j7*uF&l&o8ts]/P89:jW*$w׹Ӌ FxpsCJi.7N q4WU_}7*M#qWiصnk'4ݍl*t^ c<'d:~͗enFQRz9v~ddoTZ̚k7X(wUswO̙fոҁՕ[$IAI>WW~ĪEѢNoeutYߑ-Eixιpxq{FnyfRrjqU᫤]>wPU8)Y-7Wbq㛋w:7ܣ].j%K:y4] %9$I%pT(󨪙VqiYٓ4y~5S/XTDZM2lȪ; S~Kx:(Mn0';-{*qV&|W3S+\֔a{R{s=lYmN9Fn&o'}Vi( ?*qV5ѼCNsM饏zߴ$^O69@ ,$y|jE;gW/u|M?3+ZՕN86յw%|QO㏏S\E#ddsgl+Scl3~~CԕQľ?5_ z߿t11OĶ0>oB9E/SOSk+b&Yn>$툧eg) "!܉(1 uBoJ)/t/,:=7M+1ܺ#CmS^Nz 6[u&]+|Dfj:uZ5-Z^TjMtm>cȳ NdT_,M#Ex;pt۴ͮ#!N iKl!zPծ~$1SiO} HI&g Bf)b%Ko̧kumEnص;V?j>nltOMVۆl>.WueYaw2+qK,?uHiqqSM}~gu3xbcWSy/Xc{%sZ]uaUM;7:cb5G97'7þյW,;$ܛyVjl޻y7S;o6gf.Tг[7/i1Z^rE cUF'P1-?%u&q{fw~27ޡ ^w$?SwP[=R3Y73 4x(Kk&rLȫMKn:RjcI?3Al`vض[POĖSYujj6v+-[xҵ=~zNN>\ɲQ/uufo*e6l;31붏.>w6=7#7dFDc%ƶTbd;2/=?Asr! ~ZSS~I"9y]Hn,ĊJ7S}cK"amCg3yP=RQɤW}t;-{F+v+RɔڎB?º{SV묖kۏmK~%.Q;OfEf_Y/F-V-MdD)m.ZՍ8Y*h[g/6ydmCc[rdfʾ䖗gd$^֍^ʅѻL|<[݉\߯RiJUo';œN?B smS ܹkس,mRE^ѣlJ&.ċ԰YO:޼f\Z'HCѯU[ʩ1ff4S-٥YxTIGLiыr }L)edׂ*l|ٚuoxӿnWkTbbVm zT_'"x5Vިxo1ج^Fq6Sd3ws'/ڞ6m?}1OsRGݝ+,~ڬ%^p1ef5c25vq~﹉ă[r-eq] 8+/ESj}?mUE.xYK3"oƔ^Y9I]I ޑ" &*4.Jâ}ټQbXKJ񽼀ncg`+riܭ_'Bֽp%bX'7cB}WPm|zHָLJhj~E>i~Z$297|_hyΕ&s}ZϷ *j]:v.HK<SP8`Pƣ)r ,}8Wk[ArHgn=о7:J]TTP>OOj J_KyB\Ԥrm嬷ȫr{ݙ5R(FRЪ6q}KLmR'eޖz6[YތesYYL5Tr7s\^rؙV͸컬j5d?yk'b S }kra^ߚRH)[sg.fLM\u= vJQ]rVkZuoN}#G?yjO%|i2fKoӰღC P_Ϳ6Zr{e/m$i}9 G2')YG9KY>|1ӫ +v+i;h\Q@˿Lӭn˖ 7ck>Vr.D0)hC<˄4"0[eԬݭe+l2s3ss oX]1r]+VK vI;mZ')R6e5=/i@]H^Z۬՝EW.jƆf{8mXMV~_̝z^VR}T63}}k3+k3:j1Phlpi{欍BȽ}6w73GtUZv>4eUj$ xz$$D/߇ߟI"uk̜aƪ*ke/F:dһ_PE1ݡkp(5ʏ-ɮ{Yllԧg!ܝ g]i-umεŸxOê^=PR ##XeMy%2L~󜺶Hm ݙ2t_ƶz7'\Z4T<"AM-&xaC]a5.huQ۫$cMμ|h;.J.o߸sE-zU{d];|YLSMvSEneNKr1B[]NeonNߪ$4̘FPrkxޱ=0lr7Q%=$KQ;0r*XKdGۃ*]w-npᬶ\tt4>Dc[Ouo3/)-WҴ xs71eԤm*ٖ웗H''.Cnmy]݊Kra[9)Y#2U6d7tf.[R.GdE>#O_.+-K`{KonR_ÕM/)?:F,Xo1ƽRmz8C]lD %(x+d2Ah+\CCLJ!D65x\ȼv)\Nrp*[YُfL*PyVΚuWA K4hyYdwihNIy#ub?4NDϐ'4 :nFe(o%ve@@xl-k%QƭRP&kεMŪ-Ys2u ]T!}8*TQnZ}v =~mԧyDM&8K>2|Bnugܷ.wvCs̼5F^ubES7ݢM&4Ź-~mKx1((sr!M5uy\q)oy|a)ˣ,A?w"T휳2\F}PR-<2%`~4Z5\W"(USkGpT(~Qj>ɰ쏳ǓSKKx's]nEf'.iݙL>Moƹk7ݭ[.г6lk<;?)#E]xFU7'>vF%R;t:Җs}NSBWX=Y8ث}~G)S^^ƽwR[)/Fm-ڞTK~˓Z]U;RQ=M/"NԝP[-Y9t_8V+}P?Ue{M/O&WWKvc#r'KM'p[±vtpRC/W|7K2Rfm;ljm%Z]^T[6}6iTC }L[uxg7(Z}. SRI)jҞzȶ쳢oYRw$ŷ"J\ǭw{u'R taF{;3hHB\RP(*ZQ]y;;k٥nWbGKv-V?NDҞkd9@z LJ}Kc9C*?V-*[*۸-0.|󲝳ߗZK#%_OFGF$kC$[NNJ7Yn[k~Xzc+Sʲuhsw^^4+nElbƮKD,}YLV=i=|p|_=b5mȵ(~,em#Xƥ.sVoEaWXc.lY uG\m';'*\ӆ}|˯UfQBvo}/"zw + qvMrQ[[AdU2ٽCGgjؖS~Ev%9">$_2Sߚ%ѽ7jX(t#21r{̬F]b()?r[Rı)W[O/6]XL9 vuLh-Ȃ9"'7f!Փ䮿Bf}[lag֧]?Pc#D9EmfK7o*})+n!]qIo^FrNVNo!Eƃd#OP?%ۋ(mPu93ۣ{}2&$%cZ߯LҚY);U afԶd,*'6_?B:R~}^̬~mJ+vC}Ѩe"MY+mi :s쥸;iJeYvBddeK|#5/mzR]F2 JHUU )/S{Ic$=: W)>} @0#URsR=w"L{+ɞ)d|*qq2>[nƨDۋ-G[6½J|{Ѿ4MwyG-Σ Ze{ug>2|'zΤ2%xՑ*<Q̥T')uLkjn(zF-JOR}wn~FV5zq2m'^VS=7Y^RdfeO)>EpX붚w*r*w˿^kڴ{J;K۔sRŶU]p\zn@dx6[+yeH[_m_/I&mv|M5&&-G"v۴^{vg8Y(K_~h0e AxfrzڬkhS/Vy1ϯdW3'͹}{'V-:MW(V/ͷ*E7s\EmEW}bUr'k,P{9?B֫ #[uNrB,wo^{fdF(5tRf.2J-/:~ t0M"d_/c^32*q]yLl^2[ݥZc*vtm213r'tSuM-Խ#o/HF+2VEpmǦޟS?Rs+t:u G8n,Ԛf,hY8SX*rKf>+cpruɬ=DMrXgϸ:~ɲ ~]'5'kElw\=ڞAG&')G9R\_̝1K;nPg&T(ի[^Jҟ"qoӸ.W}3mF>'$<\U6-~?x?B~{^xkpv-vlߣe빹j\(ښsuu6lH(qoaYt?x8}Ie '@b%TݲygV.+O9/W4MsCMuFjYzG.{ds.k(>G~K?ni-=R r}r ?s̥%l5Ϛ9IN6~۩RĢWNʾE[|nb.HY—קWkr1ҺշMNDp)^¸R:w;u1 12]T/Uiʹd%2OC2K*r5S]g凫5 UQ.ȫ– /i91njFkQxuJ1rn%XDžy?s˗վuMGƋ/m^J*RsF))uF,'l{=|nFm9:N\%u#tnXE->e2Y0PũjUȨEŭ|'eʹ[o{Ցms%CGg/}t|snzrvm\g}cÊ94Pvg'L}ّg궮ԱߢO^f.W-sT]M˔ېе<^Н'KuNn_Vl8*Kж^ xsuW51-ᅱFzƉT-kY/9wzDޯ/XlW)gypǚjDɨ~{ݤHCim.[>rqE_Uرx/>|L64%aj;fxӱF(K֓J9՞ -K> I_5Enn´&=Oc%o̟IJZF$۲5I9Wݚ n.WTuѲӏ[4U/9.2zX5\j3ĎEsMq4%9.d[7јc9eNa+sjE';%s#ɤ`ףS=WI쫢.Mv:j/[3:rTF_zt:.z%udW%]xܮVz$Vŗ49[^y.խN~M&mx+wGR~_4KC[ʻ:v>03߶v9x-Mȧ$c:lrCWjeg%ֹ_Nh՝Qɏj^ϛr^.>WhlE5yֵ6\W^确]*гc&^NI[oCDn.ߑ!,m&M_/'Mn$s\r^8|uSZZ1|LV<(zq׮xmٚZƏ%.Ԁs^2𱸒O#&,s[mײ9kޖCoSq&俙qxP.N] 2UǎsM2iN.f r[mcQZmFُE{#[TbҔ*sfaSrn^8N<\_'MarJ6 EQғ|F[S'[~q~kmn[_x?B f5Q١X=g(~[Cx}GO ĺo'e)~dq(Ot`sN=~heu ::m'Cjj>~5V柙cyQD%uqEc{[l^U O]b~eŦۑ'W3&' 2V.^D%G S6\wYNO$. O+^ŵG~haEs^=1*bICzFF4O#,Wu3허ekB\I'tWMߩOG3iFz{rgeM9g r] i3gk&u1r/1kVgR-ɿuF .^;3;?3큦bN̂r4ovMkڞ}[:,IVG<};*-2",>K%bK2Ƨ[w!)ˤ;d?4%Ul2ږec4#ōIw^R_/TFX+*FM[F|a'ߚ2SIMeVGn ~&Y Ym(?ԛ],=|сG4yjk"Q^~ԗ^c,qqrg^-:Uc[E8>>k|nS..LBIc>3i|ZEZXAqm nuOm<; X~mrK=~ ƱrSN<U!F΋WS/|t?K)zd} ,C"ovx?bբs3mX3桭X֖˦kFddhg}$ggSo5jL*NdJis$ EQ\v=0HxzyW~FT_Ƶccg,&=_V(%kq+_÷O'[_[Uڽv F $Ξ9n5EN/4Yy/%*} .jΔ`V_6\VͲohzfOgޯzpj}y}v:34WH;+x7ӻu<ݦ"mJ/=>eoD֣c4kXW-[}٬6;t[Na_• _5i5˗sٴ]+e;Joj㼶ۙyLumo5&F)F\ {(sm_M>gzcr)KU̠Ħ=VDd'h;-aŤ9KٰqQܫަazMp4bk9 UX.ͮ]KeS5Uq[¹X0ɦ6]roFjʧ2׏6/C6eQE5KӰmsFnIz&`z팡-ٯ.ixyك?c2//z6M4W[]_"?Õ[? Vfvӳq]I5(d|MʝzcC*mN>B2gD+><e:Gh %UkW%zJ8k_ˠ=KFRfw{sŖ^q\/{v[Ω}gLjT[t_ޕg6G~rkkMcSRKբ54?SAûO1o%[>5/R~CioNdNʛćh>f6H8c/<1xd[ŦCEk.9"ej?w&O6^ژR[vrQ.z㎩f6:V8}hi2z~ s-w]+|I9s_C~>-S&9ZFVLf7-d'pՠplJ#mm؎s(?Ʋ?/A%_sXuGNnR}_dq>1ʍ|У3]NXYZʷ/&ܛ彖LS? 6]"_t5qP5Kq]^m91jW暹U6-5WU澦M0˵f2ӪǮ.P~? _nEJTcTei)ٳrۣ%x %gs}7l9'tb~dXst# r?}Weaq>=+to)7،E*vn\e_,\NFxcivz]tM˼?Oԝ2Zrλs-ĺEtonIIfm/9^[^EBUjOnr6vI& l]%0")2䒶-+R*zyX<> -X9GUo^xYQ8ιvixٔa\t)hv}ьոVU~tK,=_wLLa?TYIo]$`N6cbi?#7;MRt<.~Q-mob\\g5췍 ڌ_?8nfJN/Y͢n3?_sϩ{HiְPo'yS??_jߡWi5q? MWȲ)8a]lLˏ--b[TXlΫRy;o5뜾$HW.mm?շG[Ƀ seo5Q}Le%*،«~uU{R$t\^%!weX:G('6WupTS&~8=jo?2_PϖE[nf6Tٯ;GLW)NM[o*\j%.gb|䭹noOX:1R)UTj74˓]D_bʝkzNI.9|^G`KeQ{mOjX/sR7evdgi7qm}ތW&4=~|YY)?7Oj}xXkF×4c.l?i|b[5Ή5j-[Y\z<茲Z$Ff&o;gErǩݦ̪/q[&[/9uuzi;PS^_/?]=ΕqK~ӛ5'NM[m_Ϲc'[oӯE#g߂vvGNRo϶o5Ǩ[ɉtov2~i<7iSȜN(G5+/ٛMTܣukj鷣/$1˒!Mxr\ߤs1ZuMQȌ^]c$CXrj#N/˦Ķ9]Nzê5zi;W,v!ŧD6zğ7uR5^MW}>igl2U2nXo{}_w]&vte\Z3 MEEe/ 2s㗼S_bIղTI}|[Ye/c]*̪9u/DmyNxSDgi `Z?.RFj۪'~.[KVb޺o濡to?E#[.^y=q4F8ڎ/GX\.YW!Z.ѕtt:?gYYyU%Uw~ri>ȦKhg,5/=>V?TrN4aWO,oӕ7-SRi*"dܽpuaVQÞd-#J2Nr:#``ѧWR-F?I-T -cOT2pr?þזgE\Ij~L9%EMoџUؙt8_eYΧWjU}e9y9z/#TT-2dLt3H=ڼcKb'"uIٓ'[[߱F~\2]r%C]^VCLjm[cJNryf}ջ.[DEoRՒb'>fVy_c6[K4Na5>{ɳaw/Uj.Զ_K~?IeJ7OQx3IgFc*جɊǽ-o3Ӭp / ]7V*ENܜ[r/tOJΉw*ʨ*JFN^.WZeLgUwKi/M9y8dkOᛊHxGĶM*&#h/U|6D(uFyE5hYxiSEVm^D|,ۿCj;<*ouOkYpΔ2{x-L] !k2ا#IM'a7:M}M1Y儭Mnk[/;4Uwkkɫ%aɔoXVV$m;2Z4i9:>\Yů= ?[{t6,~!c`Un+dW.gKyIB]l+3kض(\MZ\}>k\C~閹l[ů]VNtƸr몮X+U>v'nv{y7s[г̭9Ctvt% GqT8=wa(6\Rd柮YWv^Fd^\+緉,+=-^S"k:NVu o[_TIѝ椯bF/G㿏dΙ?T}K-T)W>s?3M)V*,;P\,}B u{rDexڥVFfw}47׋w}]Դ 1dmk1V%/'T:Fǒ_TEe[l/l/ٯc{Ƀ[~`zj⾥r}Vܪ{M8Qv]$mU]8J2MngcxY?鑞.9HjxSy.fS(|]MgcK2$(jRQ3XO|<f:Jq4& fw|$N )A8ת99 mFNM*Dϒ NoIa9i9y?:D⻧߇\7ɧ]mu"-˥5/w̨_ 7DK['[2"(%xzT\*GT"+<,yX.lEJrfo?.4N;l>jmZߣ5FdB3\r,t,./S]Q{tm5lӕT~A [fv7Iہc: ΪN7I]2(|o$NLW"#~Dͭ=v-Mv{-lqn{I3xn'6.=DƟܖަ~deQV;k2Ei\[bӴ1_]OhZl朠&t3xkei+c\'ZԪ'hK梿X@cTԫ#emIz6e^i?8 NBc̆f+MׇdC]YSd%lώ8-c7eι/}_con/no\핍~[WNReXMo+اn ?#Ͷ-AUFN1V4!y,{1a$S﹑;Ǚr"__[o) xk}7EI/riwؙ7mR}`|yrEVdo/B# uٳiNQKQkᑑ^d@/=ˑɒ768fsuor9=7ףܹճpMr-$1uySOZN?đrqզ9F q=.!T?ػ bf{¯q=$^:!ES߿ Fu\OS,8e^UוS^hF4BQƺȪw-kF39@X06 Fv=Q^|ƞ5}2tnmG_|Λ(|%](-5>KȁN$=6lq).12 V6m$ׇlOcҫܸ K{;ľ>+Q?Rx-Keu uMy$i B}G*h$Q -W[-&a"[i\}~Ek$<~c{MffS eS.#\^lMiytު]9S{u4 {DFޅSź}R ]R$y;r/P̙3niXMt;&!rxw\ZFmQ"w\L{^۔K&/gr:m=2%5bwE"^e[\$ɟPi!U_rdS2d?=[!(I.rC QZEim%}|YmzZ_ά<ۡLQM|` ybPȏ}?]Eu[`kҫgFb~F}Q8NP>5lӳ^-K%Q}$sx7SvnfTƸ|Kzd'_ⰽח$4L Y?qy32t j2e ȜrJ{mبhۍUU'p#8y'ѝ=i+Tĩo7WYyČkL5؝M=%"Nt}eXW)N.~sv5pɮ sSQ[+-/}kVk'FEɩ9SE&T=&\緵 --tf.9Ѳ4_##_ɱTFV؞~YTddS&s=䟚Fb1._5}~gM'p#,U hs--XG wtԹTi7M:GYK5'^W?C>_Gq/S&d| k_gO ӊiJeHU G_ Êg#),}-:5>V1emq}t}q?meKU:BqJeiPɗ#\$sI} Z生ƫoo=V=pVcUg"%wEm叡vIdhrȔ~F]p58_.,O|'Ɇ^L!c6OWӷ{x9?Fp?ceOuT+Uɵݹ&gx9i퓃sxGIm}_3Īr#:ԣ?4בc[jö#B7KʌWNo)=+c }YvP{lv^r+5Vxx_:~=̌Q}CTy+Wh鸚f$101뢊F[#--Y\i@l)W8/E>8nlj/ktOľ,q*[sE[]:?ZeQvŔɺ|j(Wx,LW=:S?κq%81c)jJvODLiW,{96vr-2}-EH,}%3k#l5gl~x__W Sڎ 8YJQvA=QIWju6-X9$kWЩCI4UWd'&O/Cf=Pi/#+>n$KYst܅y4ʷD^~%~myj,s_4Q}΍Cή;SW:h=Ff{.B/inȇo=-T͸OY2}hlK}.m7-z?,f-/^b\QWs/_͔/3In[6M;l ygؼ!WUË_)D9YL4_>f}ϵ3hV5Oѣ(l8?L4蹥[-Э=7V{&ʢPʼ*3cMz>u4@[oM gKS[jy"Lھzɵfx)GE`ֿ.=kJ>/iˢ[j-qץQC B@o V(ʯG?Bܻ\I>=K-].(vOE.5׮=/Pf^&$caY9{3މ%YOxZ~6Z;;ԗ.NJzş/YϖĜ%ѿO^tY$ν4|e}2ɶU9A؜h˺LrIm%J.|I]kG|DzU k4'(T\9߱^!z -:mW^ <= <^2*;Seq(6ªsHf5ʸO{Ilr~G uJY^k5X_y;5'59O@ƣ̶>pnCOvNwX4oUUf]Џe%MV9Xm9]x'Q=82z)c/~1\~LSow>ﺍƻUql~Sqo羘sk}VjG71kYؽ]b4qnMӡ; w@̇IL㿗[43)]=v*)EH'a񖳋ҎTkxuXGK& ZIR(M8?:ixJp-dmckpu*%N^-7E3='ceE&';_J'Mw𶥏Y9+d9+>!e_Sn|VX -TZu]Ģ/6\ckr /ޗ/z[y.N:*k$ }Yǭ}GUm^-%dm;K_#ctBsg2:8rz-VE|T w.}w9NEPGnoCe8/&3qT}MJ̙Mۗ~哳,-WI_Bsh+~͛vN{ZdYKݲkr%+lo*re-ه?:vYqFfCsqMXRķ{yqgrx.oǓ\xdڗ_ZC9WomX|KmV_%UJܷr$drȳL~MoKyYLic Jq<1$UuٯTד374s<ĕ96춉r9 pGc9=p^:)ZJb&VӝXٽ 0/X& ۳*_ԙƏ.5J 6<$$6B0d_d?hqd>XCe- wO@pg:.>$.Ϣ~L޲|,{-ɪ2.u/Ds-[ُiVIWK5M#Fܭ3?x.)ۣ,wJ)Ȳڣ-#fbdq&Tͧ8Q,YqQ)/R­?\k˔[p_+ogzP[6r^o}_kT}JiJ;<ivEH8wI@MOPʊ\#+$%PDF-1.7 GIF89;
ANDA PELER
Server IP : 182.253.108.180  /  Your IP : 3.143.239.135
Web Server : Apache
System : Linux sma1wiradesa.sch.id 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : wijaya ( 1017)
PHP Version : 7.3.33-10+ubuntu18.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/usermin/unauthenticated/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /usr/share/usermin/unauthenticated/js/quill.min.js
/*!
 * Quill Editor v1.3.7 (https://quilljs.com)
 * Copyright 2017 Slab
 * Copyright 2014 Jason Chen
 * Copyright 2013 salesforce.com
 * Licensed under BSD 3-Clause (https://github.com/quilljs/quill/blob/develop/LICENSE)
 */
(function e(t,r){if(typeof exports==="object"&&typeof module==="object")module.exports=r();else if(typeof define==="function"&&define.amd)define([],r);else if(typeof exports==="object")exports["Quill"]=r();else t["Quill"]=r()})(typeof self!=="undefined"?self:this,function(){return function(e){var t={};function r(n){if(t[n]){return t[n].exports}var i=t[n]={i:n,l:false,exports:{}};e[n].call(i.exports,i,i.exports,r);i.l=true;return i.exports}r.m=e;r.c=t;r.d=function(e,t,n){if(!r.o(e,t)){Object.defineProperty(e,t,{configurable:false,enumerable:true,get:n})}};r.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="";return r(r.s=109)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(17);var i=r(18);var o=r(19);var a=r(45);var l=r(46);var u=r(47);var s=r(48);var f=r(49);var c=r(12);var d=r(32);var p=r(33);var h=r(31);var v=r(1);var y={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:n.default,Format:i.default,Leaf:o.default,Embed:s.default,Scroll:a.default,Block:u.default,Inline:l.default,Text:f.default,Attributor:{Attribute:c.default,Class:d.default,Style:p.default,Store:h.default}};t.default=y},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=function(e){n(t,e);function t(t){var r=this;t="[Parchment] "+t;r=e.call(this,t)||this;r.message=t;r.name=r.constructor.name;return r}return t}(Error);t.ParchmentError=i;var o={};var a={};var l={};var u={};t.DATA_KEY="__blot";var s;(function(e){e[e["TYPE"]=3]="TYPE";e[e["LEVEL"]=12]="LEVEL";e[e["ATTRIBUTE"]=13]="ATTRIBUTE";e[e["BLOT"]=14]="BLOT";e[e["INLINE"]=7]="INLINE";e[e["BLOCK"]=11]="BLOCK";e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT";e[e["INLINE_BLOT"]=6]="INLINE_BLOT";e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE";e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE";e[e["ANY"]=15]="ANY"})(s=t.Scope||(t.Scope={}));function f(e,t){var r=d(e);if(r==null){throw new i("Unable to create "+e+" blot")}var n=r;var o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:n.create(t);return new n(o,t)}t.create=f;function c(e,r){if(r===void 0){r=false}if(e==null)return null;if(e[t.DATA_KEY]!=null)return e[t.DATA_KEY].blot;if(r)return c(e.parentNode,r);return null}t.find=c;function d(e,t){if(t===void 0){t=s.ANY}var r;if(typeof e==="string"){r=u[e]||o[e]}else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE){r=u["text"]}else if(typeof e==="number"){if(e&s.LEVEL&s.BLOCK){r=u["block"]}else if(e&s.LEVEL&s.INLINE){r=u["inline"]}}else if(e instanceof HTMLElement){var n=(e.getAttribute("class")||"").split(/\s+/);for(var i in n){r=a[n[i]];if(r)break}r=r||l[e.tagName]}if(r==null)return null;if(t&s.LEVEL&r.scope&&t&s.TYPE&r.scope)return r;return null}t.query=d;function p(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e.length>1){return e.map(function(e){return p(e)})}var r=e[0];if(typeof r.blotName!=="string"&&typeof r.attrName!=="string"){throw new i("Invalid definition")}else if(r.blotName==="abstract"){throw new i("Cannot register abstract class")}u[r.blotName||r.attrName]=r;if(typeof r.keyName==="string"){o[r.keyName]=r}else{if(r.className!=null){a[r.className]=r}if(r.tagName!=null){if(Array.isArray(r.tagName)){r.tagName=r.tagName.map(function(e){return e.toUpperCase()})}else{r.tagName=r.tagName.toUpperCase()}var n=Array.isArray(r.tagName)?r.tagName:[r.tagName];n.forEach(function(e){if(l[e]==null||r.className==null){l[e]=r}})}}return r}t.register=p},function(e,t,r){var n=r(51);var i=r(11);var o=r(3);var a=r(20);var l=String.fromCharCode(0);var u=function(e){if(Array.isArray(e)){this.ops=e}else if(e!=null&&Array.isArray(e.ops)){this.ops=e.ops}else{this.ops=[]}};u.prototype.insert=function(e,t){var r={};if(e.length===0)return this;r.insert=e;if(t!=null&&typeof t==="object"&&Object.keys(t).length>0){r.attributes=t}return this.push(r)};u.prototype["delete"]=function(e){if(e<=0)return this;return this.push({delete:e})};u.prototype.retain=function(e,t){if(e<=0)return this;var r={retain:e};if(t!=null&&typeof t==="object"&&Object.keys(t).length>0){r.attributes=t}return this.push(r)};u.prototype.push=function(e){var t=this.ops.length;var r=this.ops[t-1];e=o(true,{},e);if(typeof r==="object"){if(typeof e["delete"]==="number"&&typeof r["delete"]==="number"){this.ops[t-1]={delete:r["delete"]+e["delete"]};return this}if(typeof r["delete"]==="number"&&e.insert!=null){t-=1;r=this.ops[t-1];if(typeof r!=="object"){this.ops.unshift(e);return this}}if(i(e.attributes,r.attributes)){if(typeof e.insert==="string"&&typeof r.insert==="string"){this.ops[t-1]={insert:r.insert+e.insert};if(typeof e.attributes==="object")this.ops[t-1].attributes=e.attributes;return this}else if(typeof e.retain==="number"&&typeof r.retain==="number"){this.ops[t-1]={retain:r.retain+e.retain};if(typeof e.attributes==="object")this.ops[t-1].attributes=e.attributes;return this}}}if(t===this.ops.length){this.ops.push(e)}else{this.ops.splice(t,0,e)}return this};u.prototype.chop=function(){var e=this.ops[this.ops.length-1];if(e&&e.retain&&!e.attributes){this.ops.pop()}return this};u.prototype.filter=function(e){return this.ops.filter(e)};u.prototype.forEach=function(e){this.ops.forEach(e)};u.prototype.map=function(e){return this.ops.map(e)};u.prototype.partition=function(e){var t=[],r=[];this.forEach(function(n){var i=e(n)?t:r;i.push(n)});return[t,r]};u.prototype.reduce=function(e,t){return this.ops.reduce(e,t)};u.prototype.changeLength=function(){return this.reduce(function(e,t){if(t.insert){return e+a.length(t)}else if(t.delete){return e-t.delete}return e},0)};u.prototype.length=function(){return this.reduce(function(e,t){return e+a.length(t)},0)};u.prototype.slice=function(e,t){e=e||0;if(typeof t!=="number")t=Infinity;var r=[];var n=a.iterator(this.ops);var i=0;while(i<t&&n.hasNext()){var o;if(i<e){o=n.next(e-i)}else{o=n.next(t-i);r.push(o)}i+=a.length(o)}return new u(r)};u.prototype.compose=function(e){var t=a.iterator(this.ops);var r=a.iterator(e.ops);var n=[];var o=r.peek();if(o!=null&&typeof o.retain==="number"&&o.attributes==null){var l=o.retain;while(t.peekType()==="insert"&&t.peekLength()<=l){l-=t.peekLength();n.push(t.next())}if(o.retain-l>0){r.next(o.retain-l)}}var s=new u(n);while(t.hasNext()||r.hasNext()){if(r.peekType()==="insert"){s.push(r.next())}else if(t.peekType()==="delete"){s.push(t.next())}else{var f=Math.min(t.peekLength(),r.peekLength());var c=t.next(f);var d=r.next(f);if(typeof d.retain==="number"){var p={};if(typeof c.retain==="number"){p.retain=f}else{p.insert=c.insert}var h=a.attributes.compose(c.attributes,d.attributes,typeof c.retain==="number");if(h)p.attributes=h;s.push(p);if(!r.hasNext()&&i(s.ops[s.ops.length-1],p)){var v=new u(t.rest());return s.concat(v).chop()}}else if(typeof d["delete"]==="number"&&typeof c.retain==="number"){s.push(d)}}}return s.chop()};u.prototype.concat=function(e){var t=new u(this.ops.slice());if(e.ops.length>0){t.push(e.ops[0]);t.ops=t.ops.concat(e.ops.slice(1))}return t};u.prototype.diff=function(e,t){if(this.ops===e.ops){return new u}var r=[this,e].map(function(t){return t.map(function(r){if(r.insert!=null){return typeof r.insert==="string"?r.insert:l}var n=t===e?"on":"with";throw new Error("diff() called "+n+" non-document")}).join("")});var o=new u;var s=n(r[0],r[1],t);var f=a.iterator(this.ops);var c=a.iterator(e.ops);s.forEach(function(e){var t=e[1].length;while(t>0){var r=0;switch(e[0]){case n.INSERT:r=Math.min(c.peekLength(),t);o.push(c.next(r));break;case n.DELETE:r=Math.min(t,f.peekLength());f.next(r);o["delete"](r);break;case n.EQUAL:r=Math.min(f.peekLength(),c.peekLength(),t);var l=f.next(r);var u=c.next(r);if(i(l.insert,u.insert)){o.retain(r,a.attributes.diff(l.attributes,u.attributes))}else{o.push(u)["delete"](r)}break}t-=r}});return o.chop()};u.prototype.eachLine=function(e,t){t=t||"\n";var r=a.iterator(this.ops);var n=new u;var i=0;while(r.hasNext()){if(r.peekType()!=="insert")return;var o=r.peek();var l=a.length(o)-r.peekLength();var s=typeof o.insert==="string"?o.insert.indexOf(t,l)-l:-1;if(s<0){n.push(r.next())}else if(s>0){n.push(r.next(s))}else{if(e(n,r.next(1).attributes||{},i)===false){return}i+=1;n=new u}}if(n.length()>0){e(n,{},i)}};u.prototype.transform=function(e,t){t=!!t;if(typeof e==="number"){return this.transformPosition(e,t)}var r=a.iterator(this.ops);var n=a.iterator(e.ops);var i=new u;while(r.hasNext()||n.hasNext()){if(r.peekType()==="insert"&&(t||n.peekType()!=="insert")){i.retain(a.length(r.next()))}else if(n.peekType()==="insert"){i.push(n.next())}else{var o=Math.min(r.peekLength(),n.peekLength());var l=r.next(o);var s=n.next(o);if(l["delete"]){continue}else if(s["delete"]){i.push(s)}else{i.retain(o,a.attributes.transform(l.attributes,s.attributes,t))}}}return i.chop()};u.prototype.transformPosition=function(e,t){t=!!t;var r=a.iterator(this.ops);var n=0;while(r.hasNext()&&n<=e){var i=r.peekLength();var o=r.peekType();r.next();if(o==="delete"){e-=Math.min(i,e-n);continue}else if(o==="insert"&&(n<e||!t)){e+=i}n+=i}return e};e.exports=u},function(e,t){"use strict";var r=Object.prototype.hasOwnProperty;var n=Object.prototype.toString;var i=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=function e(t){if(typeof Array.isArray==="function"){return Array.isArray(t)}return n.call(t)==="[object Array]"};var l=function e(t){if(!t||n.call(t)!=="[object Object]"){return false}var i=r.call(t,"constructor");var o=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o){return false}var a;for(a in t){}return typeof a==="undefined"||r.call(t,a)};var u=function e(t,r){if(i&&r.name==="__proto__"){i(t,r.name,{enumerable:true,configurable:true,value:r.newValue,writable:true})}else{t[r.name]=r.newValue}};var s=function e(t,n){if(n==="__proto__"){if(!r.call(t,n)){return void 0}else if(o){return o(t,n).value}}return t[n]};e.exports=function e(){var t,r,n,i,o,f;var c=arguments[0];var d=1;var p=arguments.length;var h=false;if(typeof c==="boolean"){h=c;c=arguments[1]||{};d=2}if(c==null||typeof c!=="object"&&typeof c!=="function"){c={}}for(;d<p;++d){t=arguments[d];if(t!=null){for(r in t){n=s(c,r);i=s(t,r);if(c!==i){if(h&&i&&(l(i)||(o=a(i)))){if(o){o=false;f=n&&a(n)?n:[]}else{f=n&&l(n)?n:{}}u(c,{name:r,newValue:e(h,f,i)})}else if(typeof i!=="undefined"){u(c,{name:r,newValue:i})}}}}}return c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.BlockEmbed=t.bubbleFormats=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(3);var a=b(o);var l=r(2);var u=b(l);var s=r(0);var f=b(s);var c=r(16);var d=b(c);var p=r(6);var h=b(p);var v=r(7);var y=b(v);function b(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function m(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function _(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var O=1;var x=function(e){_(t,e);function t(){g(this,t);return m(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"attach",value:function e(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this);this.attributes=new f.default.Attributor.Store(this.domNode)}},{key:"delta",value:function e(){return(new u.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function e(t,r){var n=f.default.query(t,f.default.Scope.BLOCK_ATTRIBUTE);if(n!=null){this.attributes.attribute(n,r)}}},{key:"formatAt",value:function e(t,r,n,i){this.format(n,i)}},{key:"insertAt",value:function e(r,n,o){if(typeof n==="string"&&n.endsWith("\n")){var a=f.default.create(w.blotName);this.parent.insertBefore(a,r===0?this:this.next);a.insertAt(0,n.slice(0,-1))}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,r,n,o)}}}]);return t}(f.default.Embed);x.scope=f.default.Scope.BLOCK_BLOT;var w=function(e){_(t,e);function t(e){g(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.cache={};return r}n(t,[{key:"delta",value:function e(){if(this.cache.delta==null){this.cache.delta=this.descendants(f.default.Leaf).reduce(function(e,t){if(t.length()===0){return e}else{return e.insert(t.value(),k(t))}},new u.default).insert("\n",k(this))}return this.cache.delta}},{key:"deleteAt",value:function e(r,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,r,n);this.cache={}}},{key:"formatAt",value:function e(r,n,o,a){if(n<=0)return;if(f.default.query(o,f.default.Scope.BLOCK)){if(r+n===this.length()){this.format(o,a)}}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,r,Math.min(n,this.length()-r-1),o,a)}this.cache={}}},{key:"insertAt",value:function e(r,n,o){if(o!=null)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,r,n,o);if(n.length===0)return;var a=n.split("\n");var l=a.shift();if(l.length>0){if(r<this.length()-1||this.children.tail==null){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(r,this.length()-1),l)}else{this.children.tail.insertAt(this.children.tail.length(),l)}this.cache={}}var u=this;a.reduce(function(e,t){u=u.split(e,true);u.insertAt(0,t);return t.length},r+l.length)}},{key:"insertBefore",value:function e(r,n){var o=this.children.head;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,r,n);if(o instanceof d.default){o.remove()}this.cache={}}},{key:"length",value:function e(){if(this.cache.length==null){this.cache.length=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+O}return this.cache.length}},{key:"moveChildren",value:function e(r,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,r,n);this.cache={}}},{key:"optimize",value:function e(r){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r);this.cache={}}},{key:"path",value:function e(r){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,r,true)}},{key:"removeChild",value:function e(r){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,r);this.cache={}}},{key:"split",value:function e(r){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(n&&(r===0||r>=this.length()-O)){var o=this.clone();if(r===0){this.parent.insertBefore(o,this);return this}else{this.parent.insertBefore(o,this.next);return o}}else{var a=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,r,n);this.cache={};return a}}}]);return t}(f.default.Block);w.blotName="block";w.tagName="P";w.defaultChild="break";w.allowedChildren=[h.default,f.default.Embed,y.default];function k(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(e==null)return t;if(typeof e.formats==="function"){t=(0,a.default)(t,e.formats())}if(e.parent==null||e.parent.blotName=="scroll"||e.parent.statics.scope!==e.statics.scope){return t}return k(e.parent,t)}t.bubbleFormats=k;t.BlockEmbed=x;t.default=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.overload=t.expandConfig=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();r(50);var a=r(2);var l=k(a);var u=r(14);var s=k(u);var f=r(8);var c=k(f);var d=r(9);var p=k(d);var h=r(0);var v=k(h);var y=r(15);var b=k(y);var g=r(3);var m=k(g);var _=r(10);var O=k(_);var x=r(34);var w=k(x);function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function j(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var A=(0,O.default)("quill");var N=function(){o(e,null,[{key:"debug",value:function e(t){if(t===true){t="log"}O.default.level(t)}},{key:"find",value:function e(t){return t.__quill||v.default.find(t)}},{key:"import",value:function e(t){if(this.imports[t]==null){A.error("Cannot import "+t+". Are you sure it was registered?")}return this.imports[t]}},{key:"register",value:function e(t,r){var n=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(typeof t!=="string"){var o=t.attrName||t.blotName;if(typeof o==="string"){this.register("formats/"+o,t,r)}else{Object.keys(t).forEach(function(e){n.register(e,t[e],r)})}}else{if(this.imports[t]!=null&&!i){A.warn("Overwriting "+t+" with",r)}this.imports[t]=r;if((t.startsWith("blots/")||t.startsWith("formats/"))&&r.blotName!=="abstract"){v.default.register(r)}else if(t.startsWith("modules")&&typeof r.register==="function"){r.register()}}}}]);function e(t){var r=this;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};j(this,e);this.options=q(t,n);this.container=this.options.container;if(this.container==null){return A.error("Invalid Quill container",t)}if(this.options.debug){e.debug(this.options.debug)}var i=this.container.innerHTML.trim();this.container.classList.add("ql-container");this.container.innerHTML="";this.container.__quill=this;this.root=this.addContainer("ql-editor");this.root.classList.add("ql-blank");this.root.setAttribute("data-gramm",false);this.scrollingContainer=this.options.scrollingContainer||this.root;this.emitter=new c.default;this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats});this.editor=new s.default(this.scroll);this.selection=new b.default(this.scroll,this.emitter);this.theme=new this.options.theme(this,this.options);this.keyboard=this.theme.addModule("keyboard");this.clipboard=this.theme.addModule("clipboard");this.history=this.theme.addModule("history");this.theme.init();this.emitter.on(c.default.events.EDITOR_CHANGE,function(e){if(e===c.default.events.TEXT_CHANGE){r.root.classList.toggle("ql-blank",r.editor.isBlank())}});this.emitter.on(c.default.events.SCROLL_UPDATE,function(e,t){var n=r.selection.lastRange;var i=n&&n.length===0?n.index:undefined;T.call(r,function(){return r.editor.update(null,t,i)},e)});var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+i+"<p><br></p></div>");this.setContents(o);this.history.clear();if(this.options.placeholder){this.root.setAttribute("data-placeholder",this.options.placeholder)}if(this.options.readOnly){this.disable()}}o(e,[{key:"addContainer",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;if(typeof t==="string"){var n=t;t=document.createElement("div");t.classList.add(n)}this.container.insertBefore(t,r);return t}},{key:"blur",value:function e(){this.selection.setRange(null)}},{key:"deleteText",value:function e(t,r,n){var o=this;var a=S(t,r,n);var l=i(a,4);t=l[0];r=l[1];n=l[3];return T.call(this,function(){return o.editor.deleteText(t,r)},n,t,-1*r)}},{key:"disable",value:function e(){this.enable(false)}},{key:"enable",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this.scroll.enable(t);this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function e(){var t=this.scrollingContainer.scrollTop;this.selection.focus();this.scrollingContainer.scrollTop=t;this.scrollIntoView()}},{key:"format",value:function e(t,r){var n=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:c.default.sources.API;return T.call(this,function(){var e=n.getSelection(true);var i=new l.default;if(e==null){return i}else if(v.default.query(t,v.default.Scope.BLOCK)){i=n.editor.formatLine(e.index,e.length,E({},t,r))}else if(e.length===0){n.selection.format(t,r);return i}else{i=n.editor.formatText(e.index,e.length,E({},t,r))}n.setSelection(e,c.default.sources.SILENT);return i},i)}},{key:"formatLine",value:function e(t,r,n,o,a){var l=this;var u=void 0;var s=S(t,r,n,o,a);var f=i(s,4);t=f[0];r=f[1];u=f[2];a=f[3];return T.call(this,function(){return l.editor.formatLine(t,r,u)},a,t,0)}},{key:"formatText",value:function e(t,r,n,o,a){var l=this;var u=void 0;var s=S(t,r,n,o,a);var f=i(s,4);t=f[0];r=f[1];u=f[2];a=f[3];return T.call(this,function(){return l.editor.formatText(t,r,u)},a,t,0)}},{key:"getBounds",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var n=void 0;if(typeof t==="number"){n=this.selection.getBounds(t,r)}else{n=this.selection.getBounds(t.index,t.length)}var i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}},{key:"getContents",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.getLength()-t;var n=S(t,r);var o=i(n,2);t=o[0];r=o[1];return this.editor.getContents(t,r)}},{key:"getFormat",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.getSelection(true);var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(typeof t==="number"){return this.editor.getFormat(t,r)}else{return this.editor.getFormat(t.index,t.length)}}},{key:"getIndex",value:function e(t){return t.offset(this.scroll)}},{key:"getLength",value:function e(){return this.scroll.length()}},{key:"getLeaf",value:function e(t){return this.scroll.leaf(t)}},{key:"getLine",value:function e(t){return this.scroll.line(t)}},{key:"getLines",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Number.MAX_VALUE;if(typeof t!=="number"){return this.scroll.lines(t.index,t.length)}else{return this.scroll.lines(t,r)}}},{key:"getModule",value:function e(t){return this.theme.modules[t]}},{key:"getSelection",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;if(t)this.focus();this.update();return this.selection.getRange()[0]}},{key:"getText",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.getLength()-t;var n=S(t,r);var o=i(n,2);t=o[0];r=o[1];return this.editor.getText(t,r)}},{key:"hasFocus",value:function e(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function t(r,n,i){var o=this;var a=arguments.length>3&&arguments[3]!==undefined?arguments[3]:e.sources.API;return T.call(this,function(){return o.editor.insertEmbed(r,n,i)},a,r)}},{key:"insertText",value:function e(t,r,n,o,a){var l=this;var u=void 0;var s=S(t,0,n,o,a);var f=i(s,4);t=f[0];u=f[2];a=f[3];return T.call(this,function(){return l.editor.insertText(t,r,u)},a,t,r.length)}},{key:"isEnabled",value:function e(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function e(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function e(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function e(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function e(t,r,n){this.clipboard.dangerouslyPasteHTML(t,r,n)}},{key:"removeFormat",value:function e(t,r,n){var o=this;var a=S(t,r,n);var l=i(a,4);t=l[0];r=l[1];n=l[3];return T.call(this,function(){return o.editor.removeFormat(t,r)},n,t)}},{key:"scrollIntoView",value:function e(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function e(t){var r=this;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:c.default.sources.API;return T.call(this,function(){t=new l.default(t);var e=r.getLength();var n=r.editor.deleteText(0,e);var i=r.editor.applyDelta(t);var o=i.ops[i.ops.length-1];if(o!=null&&typeof o.insert==="string"&&o.insert[o.insert.length-1]==="\n"){r.editor.deleteText(r.getLength()-1,1);i.delete(1)}var a=n.compose(i);return a},n)}},{key:"setSelection",value:function t(r,n,o){if(r==null){this.selection.setRange(null,n||e.sources.API)}else{var a=S(r,n,o);var l=i(a,4);r=l[0];n=l[1];o=l[3];this.selection.setRange(new y.Range(r,n),o);if(o!==c.default.sources.SILENT){this.selection.scrollIntoView(this.scrollingContainer)}}}},{key:"setText",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:c.default.sources.API;var n=(new l.default).insert(t);return this.setContents(n,r)}},{key:"update",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:c.default.sources.USER;var r=this.scroll.update(t);this.selection.update(t);return r}},{key:"updateContents",value:function e(t){var r=this;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:c.default.sources.API;return T.call(this,function(){t=new l.default(t);return r.editor.applyDelta(t,n)},n,true)}}]);return e}();N.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:false,scrollingContainer:null,strict:true,theme:"default"};N.events=c.default.events;N.sources=c.default.sources;N.version=false?"dev":"1.3.7";N.imports={delta:l.default,parchment:v.default,"core/module":p.default,"core/theme":w.default};function q(e,t){t=(0,m.default)(true,{container:e,modules:{clipboard:true,keyboard:true,history:true}},t);if(!t.theme||t.theme===N.DEFAULTS.theme){t.theme=w.default}else{t.theme=N.import("themes/"+t.theme);if(t.theme==null){throw new Error("Invalid theme "+t.theme+". Did you register it?")}}var r=(0,m.default)(true,{},t.theme.DEFAULTS);[r,t].forEach(function(e){e.modules=e.modules||{};Object.keys(e.modules).forEach(function(t){if(e.modules[t]===true){e.modules[t]={}}})});var n=Object.keys(r.modules).concat(Object.keys(t.modules));var i=n.reduce(function(e,t){var r=N.import("modules/"+t);if(r==null){A.error("Cannot load "+t+" module. Are you sure you registered it?")}else{e[t]=r.DEFAULTS||{}}return e},{});if(t.modules!=null&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object){t.modules.toolbar={container:t.modules.toolbar}}t=(0,m.default)(true,{},N.DEFAULTS,{modules:i},r,t);["bounds","container","scrollingContainer"].forEach(function(e){if(typeof t[e]==="string"){t[e]=document.querySelector(t[e])}});t.modules=Object.keys(t.modules).reduce(function(e,r){if(t.modules[r]){e[r]=t.modules[r]}return e},{});return t}function T(e,t,r,n){if(this.options.strict&&!this.isEnabled()&&t===c.default.sources.USER){return new l.default}var i=r==null?null:this.getSelection();var o=this.editor.delta;var a=e();if(i!=null){if(r===true)r=i.index;if(n==null){i=P(i,a,t)}else if(n!==0){i=P(i,r,n,t)}this.setSelection(i,c.default.sources.SILENT)}if(a.length()>0){var u;var s=[c.default.events.TEXT_CHANGE,a,o,t];(u=this.emitter).emit.apply(u,[c.default.events.EDITOR_CHANGE].concat(s));if(t!==c.default.sources.SILENT){var f;(f=this.emitter).emit.apply(f,s)}}return a}function S(e,t,r,i,o){var a={};if(typeof e.index==="number"&&typeof e.length==="number"){if(typeof t!=="number"){o=i,i=r,r=t,t=e.length,e=e.index}else{t=e.length,e=e.index}}else if(typeof t!=="number"){o=i,i=r,r=t,t=0}if((typeof r==="undefined"?"undefined":n(r))==="object"){a=r;o=i}else if(typeof r==="string"){if(i!=null){a[r]=i}else{o=r}}o=o||c.default.sources.API;return[e,t,a,o]}function P(e,t,r,n){if(e==null)return null;var o=void 0,a=void 0;if(t instanceof l.default){var u=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,n!==c.default.sources.USER)});var s=i(u,2);o=s[0];a=s[1]}else{var f=[e.index,e.index+e.length].map(function(e){if(e<t||e===t&&n===c.default.sources.USER)return e;if(r>=0){return e+r}else{return Math.max(t,e+r)}});var d=i(f,2);o=d[0];a=d[1]}return new y.Range(o,a-o)}t.expandConfig=q;t.overload=S;t.default=N},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(7);var a=s(o);var l=r(0);var u=s(l);function s(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function c(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function d(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var p=function(e){d(t,e);function t(){f(this,t);return c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"formatAt",value:function e(r,n,o,a){if(t.compare(this.statics.blotName,o)<0&&u.default.query(o,u.default.Scope.BLOT)){var l=this.isolate(r,n);if(a){l.wrap(o,a)}}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,r,n,o,a)}}},{key:"optimize",value:function e(r){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r);if(this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n);n.wrap(this)}}}],[{key:"compare",value:function e(r,n){var i=t.order.indexOf(r);var o=t.order.indexOf(n);if(i>=0||o>=0){return i-o}else if(r===n){return 0}else if(r<n){return-1}else{return 1}}}]);return t}(u.default.Inline);p.allowedChildren=[p,u.default.Embed,a.default];p.order=["cursor","inline","underline","strike","italic","bold","script","link","code"];t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(0);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function l(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){u(t,e);function t(){a(this,t);return l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default.Text);t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(54);var a=s(o);var l=r(10);var u=s(l);function s(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function c(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function d(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var p=(0,u.default)("quill:events");var h=["selectionchange","mousedown","mouseup","click"];h.forEach(function(e){document.addEventListener(e,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++){t[r]=arguments[r]}[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(e){if(e.__quill&&e.__quill.emitter){var r;(r=e.__quill.emitter).handleDOM.apply(r,t)}})})});var v=function(e){d(t,e);function t(){f(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));e.listeners={};e.on("error",p.error);return e}n(t,[{key:"emit",value:function e(){p.log.apply(p,arguments);i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++){n[i-1]=arguments[i]}(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,i=e.handler;if(t.target===r||r.contains(t.target)){i.apply(undefined,[t].concat(n))}})}},{key:"listenDOM",value:function e(t,r,n){if(!this.listeners[t]){this.listeners[t]=[]}this.listeners[t].push({node:r,handler:n})}}]);return t}(a.default);v.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"};v.sources={API:"api",SILENT:"silent",USER:"user"};t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});function n(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var i=function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};n(this,e);this.quill=t;this.options=r};i.DEFAULTS={};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=["error","warn","log","info"];var i="warn";function o(e){if(n.indexOf(e)<=n.indexOf(i)){var t;for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++){o[a-1]=arguments[a]}(t=console)[e].apply(t,o)}}function a(e){return n.reduce(function(t,r){t[r]=o.bind(console,r,e);return t},{})}o.level=a.level=function(e){i=e};t.default=a},function(e,t,r){var n=Array.prototype.slice;var i=r(52);var o=r(53);var a=e.exports=function(e,t,r){if(!r)r={};if(e===t){return true}else if(e instanceof Date&&t instanceof Date){return e.getTime()===t.getTime()}else if(!e||!t||typeof e!="object"&&typeof t!="object"){return r.strict?e===t:e==t}else{return s(e,t,r)}};function l(e){return e===null||e===undefined}function u(e){if(!e||typeof e!=="object"||typeof e.length!=="number")return false;if(typeof e.copy!=="function"||typeof e.slice!=="function"){return false}if(e.length>0&&typeof e[0]!=="number")return false;return true}function s(e,t,r){var s,f;if(l(e)||l(t))return false;if(e.prototype!==t.prototype)return false;if(o(e)){if(!o(t)){return false}e=n.call(e);t=n.call(t);return a(e,t,r)}if(u(e)){if(!u(t)){return false}if(e.length!==t.length)return false;for(s=0;s<e.length;s++){if(e[s]!==t[s])return false}return true}try{var c=i(e),d=i(t)}catch(e){return false}if(c.length!=d.length)return false;c.sort();d.sort();for(s=c.length-1;s>=0;s--){if(c[s]!=d[s])return false}for(s=c.length-1;s>=0;s--){f=c[s];if(!a(e[f],t[f],r))return false}return typeof e===typeof t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(1);var i=function(){function e(e,t,r){if(r===void 0){r={}}this.attrName=e;this.keyName=t;var i=n.Scope.TYPE&n.Scope.ATTRIBUTE;if(r.scope!=null){this.scope=r.scope&n.Scope.LEVEL|i}else{this.scope=n.Scope.ATTRIBUTE}if(r.whitelist!=null)this.whitelist=r.whitelist}e.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})};e.prototype.add=function(e,t){if(!this.canAdd(e,t))return false;e.setAttribute(this.keyName,t);return true};e.prototype.canAdd=function(e,t){var r=n.query(e,n.Scope.BLOT&(this.scope|n.Scope.TYPE));if(r==null)return false;if(this.whitelist==null)return true;if(typeof t==="string"){return this.whitelist.indexOf(t.replace(/["']/g,""))>-1}else{return this.whitelist.indexOf(t)>-1}};e.prototype.remove=function(e){e.removeAttribute(this.keyName)};e.prototype.value=function(e){var t=e.getAttribute(this.keyName);if(this.canAdd(e,t)&&t){return t}return""};return e}();t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.Code=undefined;var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var a=r(2);var l=y(a);var u=r(0);var s=y(u);var f=r(4);var c=y(f);var d=r(6);var p=y(d);var h=r(7);var v=y(h);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function g(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function m(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var _=function(e){m(t,e);function t(){b(this,t);return g(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(p.default);_.blotName="code";_.tagName="CODE";var O=function(e){m(t,e);function t(){b(this,t);return g(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}i(t,[{key:"delta",value:function e(){var t=this;var r=this.domNode.textContent;if(r.endsWith("\n")){r=r.slice(0,-1)}return r.split("\n").reduce(function(e,r){return e.insert(r).insert("\n",t.formats())},new l.default)}},{key:"format",value:function e(r,i){if(r===this.statics.blotName&&i)return;var a=this.descendant(v.default,this.length()-1),l=n(a,1),u=l[0];if(u!=null){u.deleteAt(u.length()-1,1)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,i)}},{key:"formatAt",value:function e(r,n,i,o){if(n===0)return;if(s.default.query(i,s.default.Scope.BLOCK)==null||i===this.statics.blotName&&o===this.statics.formats(this.domNode)){return}var a=this.newlineIndex(r);if(a<0||a>=r+n)return;var l=this.newlineIndex(r,true)+1;var u=a-l+1;var f=this.isolate(l,u);var c=f.next;f.format(i,o);if(c instanceof t){c.formatAt(0,r-l+n-u,i,o)}}},{key:"insertAt",value:function e(t,r,i){if(i!=null)return;var o=this.descendant(v.default,t),a=n(o,2),l=a[0],u=a[1];l.insertAt(u,r)}},{key:"length",value:function e(){var e=this.domNode.textContent.length;if(!this.domNode.textContent.endsWith("\n")){return e+1}return e}},{key:"newlineIndex",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!r){var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}else{return this.domNode.textContent.slice(0,t).lastIndexOf("\n")}}},{key:"optimize",value:function e(r){if(!this.domNode.textContent.endsWith("\n")){this.appendChild(s.default.create("text","\n"))}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r);var n=this.next;if(n!=null&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)){n.optimize(r);n.moveChildren(this);n.remove()}}},{key:"replace",value:function e(r){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,r);[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=s.default.find(e);if(t==null){e.parentNode.removeChild(e)}else if(t instanceof s.default.Embed){t.remove()}else{t.unwrap()}})}}],[{key:"create",value:function e(r){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r);n.setAttribute("spellcheck",false);return n}},{key:"formats",value:function e(){return true}}]);return t}(c.default);O.blotName="code-block";O.tagName="PRE";O.TAB="  ";t.Code=_;t.default=O},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var a=r(2);var l=j(a);var u=r(20);var s=j(u);var f=r(0);var c=j(f);var d=r(13);var p=j(d);var h=r(24);var v=j(h);var y=r(4);var b=j(y);var g=r(16);var m=j(g);var _=r(21);var O=j(_);var x=r(11);var w=j(x);var k=r(3);var E=j(k);function j(e){return e&&e.__esModule?e:{default:e}}function A(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function N(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var q=/^[ -~]*$/;var T=function(){function e(t){N(this,e);this.scroll=t;this.delta=this.getDelta()}o(e,[{key:"applyDelta",value:function e(t){var r=this;var o=false;this.scroll.update();var a=this.scroll.length();this.scroll.batchStart();t=P(t);t.reduce(function(e,t){var l=t.retain||t.delete||t.insert.length||1;var u=t.attributes||{};if(t.insert!=null){if(typeof t.insert==="string"){var f=t.insert;if(f.endsWith("\n")&&o){o=false;f=f.slice(0,-1)}if(e>=a&&!f.endsWith("\n")){o=true}r.scroll.insertAt(e,f);var d=r.scroll.line(e),p=i(d,2),h=p[0],v=p[1];var g=(0,E.default)({},(0,y.bubbleFormats)(h));if(h instanceof b.default){var m=h.descendant(c.default.Leaf,v),_=i(m,1),O=_[0];g=(0,E.default)(g,(0,y.bubbleFormats)(O))}u=s.default.attributes.diff(g,u)||{}}else if(n(t.insert)==="object"){var x=Object.keys(t.insert)[0];if(x==null)return e;r.scroll.insertAt(e,x,t.insert[x])}a+=l}Object.keys(u).forEach(function(t){r.scroll.formatAt(e,l,t,u[t])});return e+l},0);t.reduce(function(e,t){if(typeof t.delete==="number"){r.scroll.deleteAt(e,t.delete);return e}return e+(t.retain||t.insert.length||1)},0);this.scroll.batchEnd();return this.update(t)}},{key:"deleteText",value:function e(t,r){this.scroll.deleteAt(t,r);return this.update((new l.default).retain(t).delete(r))}},{key:"formatLine",value:function e(t,r){var n=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};this.scroll.update();Object.keys(i).forEach(function(e){if(n.scroll.whitelist!=null&&!n.scroll.whitelist[e])return;var o=n.scroll.lines(t,Math.max(r,1));var a=r;o.forEach(function(r){var o=r.length();if(!(r instanceof p.default)){r.format(e,i[e])}else{var l=t-r.offset(n.scroll);var u=r.newlineIndex(l+a)-l+1;r.formatAt(l,u,e,i[e])}a-=o})});this.scroll.optimize();return this.update((new l.default).retain(t).retain(r,(0,O.default)(i)))}},{key:"formatText",value:function e(t,r){var n=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};Object.keys(i).forEach(function(e){n.scroll.formatAt(t,r,e,i[e])});return this.update((new l.default).retain(t).retain(r,(0,O.default)(i)))}},{key:"getContents",value:function e(t,r){return this.delta.slice(t,t+r)}},{key:"getDelta",value:function e(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new l.default)}},{key:"getFormat",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var n=[],o=[];if(r===0){this.scroll.path(t).forEach(function(e){var t=i(e,1),r=t[0];if(r instanceof b.default){n.push(r)}else if(r instanceof c.default.Leaf){o.push(r)}})}else{n=this.scroll.lines(t,r);o=this.scroll.descendants(c.default.Leaf,t,r)}var a=[n,o].map(function(e){if(e.length===0)return{};var t=(0,y.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var r=e.shift();if(r==null)return t;t=S((0,y.bubbleFormats)(r),t)}return t});return E.default.apply(E.default,a)}},{key:"getText",value:function e(t,r){return this.getContents(t,r).filter(function(e){return typeof e.insert==="string"}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function e(t,r,n){this.scroll.insertAt(t,r,n);return this.update((new l.default).retain(t).insert(A({},r,n)))}},{key:"insertText",value:function e(t,r){var n=this;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};r=r.replace(/\r\n/g,"\n").replace(/\r/g,"\n");this.scroll.insertAt(t,r);Object.keys(i).forEach(function(e){n.scroll.formatAt(t,r.length,e,i[e])});return this.update((new l.default).retain(t).insert(r,(0,O.default)(i)))}},{key:"isBlank",value:function e(){if(this.scroll.children.length==0)return true;if(this.scroll.children.length>1)return false;var t=this.scroll.children.head;if(t.statics.blotName!==b.default.blotName)return false;if(t.children.length>1)return false;return t.children.head instanceof m.default}},{key:"removeFormat",value:function e(t,r){var n=this.getText(t,r);var o=this.scroll.line(t+r),a=i(o,2),u=a[0],s=a[1];var f=0,c=new l.default;if(u!=null){if(!(u instanceof p.default)){f=u.length()-s}else{f=u.newlineIndex(s)-s+1}c=u.delta().slice(s,s+f-1).insert("\n")}var d=this.getContents(t,r+f);var h=d.diff((new l.default).insert(n).concat(c));var v=(new l.default).retain(t).concat(h);return this.applyDelta(v)}},{key:"update",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:undefined;var i=this.delta;if(r.length===1&&r[0].type==="characterData"&&r[0].target.data.match(q)&&c.default.find(r[0].target)){var o=c.default.find(r[0].target);var a=(0,y.bubbleFormats)(o);var u=o.offset(this.scroll);var s=r[0].oldValue.replace(v.default.CONTENTS,"");var f=(new l.default).insert(s);var d=(new l.default).insert(o.value());var p=(new l.default).retain(u).concat(f.diff(d,n));t=p.reduce(function(e,t){if(t.insert){return e.insert(t.insert,a)}else{return e.push(t)}},new l.default);this.delta=i.compose(t)}else{this.delta=this.getDelta();if(!t||!(0,w.default)(i.compose(t),this.delta)){t=i.diff(this.delta,n)}}return t}}]);return e}();function S(e,t){return Object.keys(t).reduce(function(r,n){if(e[n]==null)return r;if(t[n]===e[n]){r[n]=t[n]}else if(Array.isArray(t[n])){if(t[n].indexOf(e[n])<0){r[n]=t[n].concat([e[n]])}}else{r[n]=[t[n],e[n]]}return r},{})}function P(e){return e.reduce(function(e,t){if(t.insert===1){var r=(0,O.default)(t.attributes);delete r["image"];return e.insert({image:t.attributes.image},r)}if(t.attributes!=null&&(t.attributes.list===true||t.attributes.bullet===true)){t=(0,O.default)(t);if(t.attributes.list){t.attributes.list="ordered"}else{t.attributes.list="bullet";delete t.attributes.bullet}}if(typeof t.insert==="string"){var n=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(n,t.attributes)}return e.push(t)},new l.default)}t.default=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.Range=undefined;var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=r(0);var a=v(o);var l=r(21);var u=v(l);var s=r(11);var f=v(s);var c=r(8);var d=v(c);var p=r(10);var h=v(p);function v(e){return e&&e.__esModule?e:{default:e}}function y(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++){r[t]=e[t]}return r}else{return Array.from(e)}}function b(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var g=(0,h.default)("quill:selection");var m=function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;b(this,e);this.index=t;this.length=r};var _=function(){function e(t,r){var n=this;b(this,e);this.emitter=r;this.scroll=t;this.composing=false;this.mouseDown=false;this.root=this.scroll.domNode;this.cursor=a.default.create("cursor",this);this.lastRange=this.savedRange=new m(0,0);this.handleComposition();this.handleDragging();this.emitter.listenDOM("selectionchange",document,function(){if(!n.mouseDown){setTimeout(n.update.bind(n,d.default.sources.USER),1)}});this.emitter.on(d.default.events.EDITOR_CHANGE,function(e,t){if(e===d.default.events.TEXT_CHANGE&&t.length()>0){n.update(d.default.sources.SILENT)}});this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,function(){if(!n.hasFocus())return;var e=n.getNativeRange();if(e==null)return;if(e.start.node===n.cursor.textNode)return;n.emitter.once(d.default.events.SCROLL_UPDATE,function(){try{n.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})});this.emitter.on(d.default.events.SCROLL_OPTIMIZE,function(e,t){if(t.range){var r=t.range,i=r.startNode,o=r.startOffset,a=r.endNode,l=r.endOffset;n.setNativeRange(i,o,a,l)}});this.update(d.default.sources.SILENT)}i(e,[{key:"handleComposition",value:function e(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=true});this.root.addEventListener("compositionend",function(){t.composing=false;if(t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function e(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=true});this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=false;t.update(d.default.sources.USER)})}},{key:"focus",value:function e(){if(this.hasFocus())return;this.root.focus();this.setRange(this.savedRange)}},{key:"format",value:function e(t,r){if(this.scroll.whitelist!=null&&!this.scroll.whitelist[t])return;this.scroll.update();var n=this.getNativeRange();if(n==null||!n.native.collapsed||a.default.query(t,a.default.Scope.BLOCK))return;if(n.start.node!==this.cursor.textNode){var i=a.default.find(n.start.node,false);if(i==null)return;if(i instanceof a.default.Leaf){var o=i.split(n.start.offset);i.parent.insertBefore(this.cursor,o)}else{i.insertBefore(this.cursor,n.start.node)}this.cursor.attach()}this.cursor.format(t,r);this.scroll.optimize();this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length);this.update()}},{key:"getBounds",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var i=this.scroll.length();t=Math.min(t,i-1);r=Math.min(t+r,i-1)-t;var o=void 0,a=this.scroll.leaf(t),l=n(a,2),u=l[0],s=l[1];if(u==null)return null;var f=u.position(s,true);var c=n(f,2);o=c[0];s=c[1];var d=document.createRange();if(r>0){d.setStart(o,s);var p=this.scroll.leaf(t+r);var h=n(p,2);u=h[0];s=h[1];if(u==null)return null;var v=u.position(s,true);var y=n(v,2);o=y[0];s=y[1];d.setEnd(o,s);return d.getBoundingClientRect()}else{var b="left";var g=void 0;if(o instanceof Text){if(s<o.data.length){d.setStart(o,s);d.setEnd(o,s+1)}else{d.setStart(o,s-1);d.setEnd(o,s);b="right"}g=d.getBoundingClientRect()}else{g=u.domNode.getBoundingClientRect();if(s>0)b="right"}return{bottom:g.top+g.height,height:g.height,left:g[b],right:g[b],top:g.top,width:0}}}},{key:"getNativeRange",value:function e(){var t=document.getSelection();if(t==null||t.rangeCount<=0)return null;var r=t.getRangeAt(0);if(r==null)return null;var n=this.normalizeNative(r);g.info("getNativeRange",n);return n}},{key:"getRange",value:function e(){var t=this.getNativeRange();if(t==null)return[null,null];var r=this.normalizedToRange(t);return[r,t]}},{key:"hasFocus",value:function e(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function e(t){var r=this;var i=[[t.start.node,t.start.offset]];if(!t.native.collapsed){i.push([t.end.node,t.end.offset])}var o=i.map(function(e){var t=n(e,2),i=t[0],o=t[1];var l=a.default.find(i,true);var u=l.offset(r.scroll);if(o===0){return u}else if(l instanceof a.default.Container){return u+l.length()}else{return u+l.index(i,o)}});var l=Math.min(Math.max.apply(Math,y(o)),this.scroll.length()-1);var u=Math.min.apply(Math,[l].concat(y(o)));return new m(u,l-u)}},{key:"normalizeNative",value:function e(t){if(!O(this.root,t.startContainer)||!t.collapsed&&!O(this.root,t.endContainer)){return null}var r={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};[r.start,r.end].forEach(function(e){var t=e.node,r=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0){if(t.childNodes.length>r){t=t.childNodes[r];r=0}else if(t.childNodes.length===r){t=t.lastChild;r=t instanceof Text?t.data.length:t.childNodes.length+1}else{break}}e.node=t,e.offset=r});return r}},{key:"rangeToNative",value:function e(t){var r=this;var i=t.collapsed?[t.index]:[t.index,t.index+t.length];var o=[];var a=this.scroll.length();i.forEach(function(e,t){e=Math.min(a-1,e);var i=void 0,l=r.scroll.leaf(e),u=n(l,2),s=u[0],f=u[1];var c=s.position(f,t!==0);var d=n(c,2);i=d[0];f=d[1];o.push(i,f)});if(o.length<2){o=o.concat(o)}return o}},{key:"scrollIntoView",value:function e(t){var r=this.lastRange;if(r==null)return;var i=this.getBounds(r.index,r.length);if(i==null)return;var o=this.scroll.length()-1;var a=this.scroll.line(Math.min(r.index,o)),l=n(a,1),u=l[0];var s=u;if(r.length>0){var f=this.scroll.line(Math.min(r.index+r.length,o));var c=n(f,1);s=c[0]}if(u==null||s==null)return;var d=t.getBoundingClientRect();if(i.top<d.top){t.scrollTop-=d.top-i.top}else if(i.bottom>d.bottom){t.scrollTop+=i.bottom-d.bottom}}},{key:"setNativeRange",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:t;var i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:r;var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:false;g.info("setNativeRange",t,r,n,i);if(t!=null&&(this.root.parentNode==null||t.parentNode==null||n.parentNode==null)){return}var a=document.getSelection();if(a==null)return;if(t!=null){if(!this.hasFocus())this.root.focus();var l=(this.getNativeRange()||{}).native;if(l==null||o||t!==l.startContainer||r!==l.startOffset||n!==l.endContainer||i!==l.endOffset){if(t.tagName=="BR"){r=[].indexOf.call(t.parentNode.childNodes,t);t=t.parentNode}if(n.tagName=="BR"){i=[].indexOf.call(n.parentNode.childNodes,n);n=n.parentNode}var u=document.createRange();u.setStart(t,r);u.setEnd(n,i);a.removeAllRanges();a.addRange(u)}}else{a.removeAllRanges();this.root.blur();document.body.focus()}}},{key:"setRange",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:d.default.sources.API;if(typeof r==="string"){n=r;r=false}g.info("setRange",t);if(t!=null){var i=this.rangeToNative(t);this.setNativeRange.apply(this,y(i).concat([r]))}else{this.setNativeRange(null)}this.update(n)}},{key:"update",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d.default.sources.USER;var r=this.lastRange;var i=this.getRange(),o=n(i,2),a=o[0],l=o[1];this.lastRange=a;if(this.lastRange!=null){this.savedRange=this.lastRange}if(!(0,f.default)(r,this.lastRange)){var s;if(!this.composing&&l!=null&&l.native.collapsed&&l.start.node!==this.cursor.textNode){this.cursor.restore()}var c=[d.default.events.SELECTION_CHANGE,(0,u.default)(this.lastRange),(0,u.default)(r),t];(s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(c));if(t!==d.default.sources.SILENT){var p;(p=this.emitter).emit.apply(p,c)}}}}]);return e}();function O(e,t){try{t.parentNode}catch(e){return false}if(t instanceof Text){t=t.parentNode}return e.contains(t)}t.Range=m;t.default=_},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"insertInto",value:function e(r,n){if(r.children.length===0){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,r,n)}else{this.remove()}}},{key:"length",value:function e(){return 0}},{key:"value",value:function e(){return""}}],[{key:"value",value:function e(){return undefined}}]);return t}(a.default.Embed);c.blotName="break";c.tagName="BR";t.default=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(44);var o=r(30);var a=r(1);var l=function(e){n(t,e);function t(t){var r=e.call(this,t)||this;r.build();return r}t.prototype.appendChild=function(e){this.insertBefore(e)};t.prototype.attach=function(){e.prototype.attach.call(this);this.children.forEach(function(e){e.attach()})};t.prototype.build=function(){var e=this;this.children=new i.default;[].slice.call(this.domNode.childNodes).reverse().forEach(function(t){try{var r=u(t);e.insertBefore(r,e.children.head||undefined)}catch(e){if(e instanceof a.ParchmentError)return;else throw e}})};t.prototype.deleteAt=function(e,t){if(e===0&&t===this.length()){return this.remove()}this.children.forEachAt(e,t,function(e,t,r){e.deleteAt(t,r)})};t.prototype.descendant=function(e,r){var n=this.children.find(r),i=n[0],o=n[1];if(e.blotName==null&&e(i)||e.blotName!=null&&i instanceof e){return[i,o]}else if(i instanceof t){return i.descendant(e,o)}else{return[null,-1]}};t.prototype.descendants=function(e,r,n){if(r===void 0){r=0}if(n===void 0){n=Number.MAX_VALUE}var i=[];var o=n;this.children.forEachAt(r,n,function(r,n,a){if(e.blotName==null&&e(r)||e.blotName!=null&&r instanceof e){i.push(r)}if(r instanceof t){i=i.concat(r.descendants(e,n,o))}o-=a});return i};t.prototype.detach=function(){this.children.forEach(function(e){e.detach()});e.prototype.detach.call(this)};t.prototype.formatAt=function(e,t,r,n){this.children.forEachAt(e,t,function(e,t,i){e.formatAt(t,i,r,n)})};t.prototype.insertAt=function(e,t,r){var n=this.children.find(e),i=n[0],o=n[1];if(i){i.insertAt(o,t,r)}else{var l=r==null?a.create("text",t):a.create(t,r);this.appendChild(l)}};t.prototype.insertBefore=function(e,t){if(this.statics.allowedChildren!=null&&!this.statics.allowedChildren.some(function(t){return e instanceof t})){throw new a.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName)}e.insertInto(this,t)};t.prototype.length=function(){return this.children.reduce(function(e,t){return e+t.length()},0)};t.prototype.moveChildren=function(e,t){this.children.forEach(function(r){e.insertBefore(r,t)})};t.prototype.optimize=function(t){e.prototype.optimize.call(this,t);if(this.children.length===0){if(this.statics.defaultChild!=null){var r=a.create(this.statics.defaultChild);this.appendChild(r);r.optimize(t)}else{this.remove()}}};t.prototype.path=function(e,r){if(r===void 0){r=false}var n=this.children.find(e,r),i=n[0],o=n[1];var a=[[this,e]];if(i instanceof t){return a.concat(i.path(o,r))}else if(i!=null){a.push([i,o])}return a};t.prototype.removeChild=function(e){this.children.remove(e)};t.prototype.replace=function(r){if(r instanceof t){r.moveChildren(this)}e.prototype.replace.call(this,r)};t.prototype.split=function(e,t){if(t===void 0){t=false}if(!t){if(e===0)return this;if(e===this.length())return this.next}var r=this.clone();this.parent.insertBefore(r,this.next);this.children.forEachAt(e,this.length(),function(e,n,i){e=e.split(n,t);r.appendChild(e)});return r};t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next);this.remove()};t.prototype.update=function(e,t){var r=this;var n=[];var i=[];e.forEach(function(e){if(e.target===r.domNode&&e.type==="childList"){n.push.apply(n,e.addedNodes);i.push.apply(i,e.removedNodes)}});i.forEach(function(e){if(e.parentNode!=null&&e.tagName!=="IFRAME"&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY){return}var t=a.find(e);if(t==null)return;if(t.domNode.parentNode==null||t.domNode.parentNode===r.domNode){t.detach()}});n.filter(function(e){return e.parentNode==r.domNode}).sort(function(e,t){if(e===t)return 0;if(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING){return 1}return-1}).forEach(function(e){var t=null;if(e.nextSibling!=null){t=a.find(e.nextSibling)}var n=u(e);if(n.next!=t||n.next==null){if(n.parent!=null){n.parent.removeChild(r)}r.insertBefore(n,t||undefined)}})};return t}(o.default);function u(e){var t=a.find(e);if(t==null){try{t=a.create(e)}catch(r){t=a.create(a.Scope.INLINE);[].slice.call(e.childNodes).forEach(function(e){t.domNode.appendChild(e)});if(e.parentNode){e.parentNode.replaceChild(t.domNode,e)}t.attach()}}return t}t.default=l},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(12);var o=r(31);var a=r(17);var l=r(1);var u=function(e){n(t,e);function t(t){var r=e.call(this,t)||this;r.attributes=new o.default(r.domNode);return r}t.formats=function(e){if(typeof this.tagName==="string"){return true}else if(Array.isArray(this.tagName)){return e.tagName.toLowerCase()}return undefined};t.prototype.format=function(e,t){var r=l.query(e);if(r instanceof i.default){this.attributes.attribute(r,t)}else if(t){if(r!=null&&(e!==this.statics.blotName||this.formats()[e]!==t)){this.replaceWith(e,t)}}};t.prototype.formats=function(){var e=this.attributes.values();var t=this.statics.formats(this.domNode);if(t!=null){e[this.statics.blotName]=t}return e};t.prototype.replaceWith=function(t,r){var n=e.prototype.replaceWith.call(this,t,r);this.attributes.copy(n);return n};t.prototype.update=function(t,r){var n=this;e.prototype.update.call(this,t,r);if(t.some(function(e){return e.target===n.domNode&&e.type==="attributes"})){this.attributes.build()}};t.prototype.wrap=function(r,n){var i=e.prototype.wrap.call(this,r,n);if(i instanceof t&&i.statics.scope===this.statics.scope){this.attributes.move(i)}return i};return t}(a.default);t.default=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(30);var o=r(1);var a=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.value=function(e){return true};t.prototype.index=function(e,t){if(this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY){return Math.min(t,1)}return-1};t.prototype.position=function(e,t){var r=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);if(e>0)r+=1;return[this.parent.domNode,r]};t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||true,e};t.scope=o.Scope.INLINE_BLOT;return t}(i.default);t.default=a},function(e,t,r){var n=r(11);var i=r(3);var o={attributes:{compose:function(e,t,r){if(typeof e!=="object")e={};if(typeof t!=="object")t={};var n=i(true,{},t);if(!r){n=Object.keys(n).reduce(function(e,t){if(n[t]!=null){e[t]=n[t]}return e},{})}for(var o in e){if(e[o]!==undefined&&t[o]===undefined){n[o]=e[o]}}return Object.keys(n).length>0?n:undefined},diff:function(e,t){if(typeof e!=="object")e={};if(typeof t!=="object")t={};var r=Object.keys(e).concat(Object.keys(t)).reduce(function(r,i){if(!n(e[i],t[i])){r[i]=t[i]===undefined?null:t[i]}return r},{});return Object.keys(r).length>0?r:undefined},transform:function(e,t,r){if(typeof e!=="object")return t;if(typeof t!=="object")return undefined;if(!r)return t;var n=Object.keys(t).reduce(function(r,n){if(e[n]===undefined)r[n]=t[n];return r},{});return Object.keys(n).length>0?n:undefined}},iterator:function(e){return new a(e)},length:function(e){if(typeof e["delete"]==="number"){return e["delete"]}else if(typeof e.retain==="number"){return e.retain}else{return typeof e.insert==="string"?e.insert.length:1}}};function a(e){this.ops=e;this.index=0;this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<Infinity};a.prototype.next=function(e){if(!e)e=Infinity;var t=this.ops[this.index];if(t){var r=this.offset;var n=o.length(t);if(e>=n-r){e=n-r;this.index+=1;this.offset=0}else{this.offset+=e}if(typeof t["delete"]==="number"){return{delete:e}}else{var i={};if(t.attributes){i.attributes=t.attributes}if(typeof t.retain==="number"){i.retain=e}else if(typeof t.insert==="string"){i.insert=t.insert.substr(r,e)}else{i.insert=t.insert}return i}}else{return{retain:Infinity}}};a.prototype.peek=function(){return this.ops[this.index]};a.prototype.peekLength=function(){if(this.ops[this.index]){return o.length(this.ops[this.index])-this.offset}else{return Infinity}};a.prototype.peekType=function(){if(this.ops[this.index]){if(typeof this.ops[this.index]["delete"]==="number"){return"delete"}else if(typeof this.ops[this.index].retain==="number"){return"retain"}else{return"insert"}}return"retain"};a.prototype.rest=function(){if(!this.hasNext()){return[]}else if(this.offset===0){return this.ops.slice(this.index)}else{var e=this.offset;var t=this.index;var r=this.next();var n=this.ops.slice(this.index);this.offset=e;this.index=t;return[r].concat(n)}};e.exports=o},function(e,t){var r=function(){"use strict";function e(e,t){return t!=null&&e instanceof t}var t;try{t=Map}catch(e){t=function(){}}var r;try{r=Set}catch(e){r=function(){}}var n;try{n=Promise}catch(e){n=function(){}}function i(o,a,l,u,f){if(typeof a==="object"){l=a.depth;u=a.prototype;f=a.includeNonEnumerable;a=a.circular}var c=[];var d=[];var p=typeof Buffer!="undefined";if(typeof a=="undefined")a=true;if(typeof l=="undefined")l=Infinity;function h(o,l){if(o===null)return null;if(l===0)return o;var v;var y;if(typeof o!="object"){return o}if(e(o,t)){v=new t}else if(e(o,r)){v=new r}else if(e(o,n)){v=new n(function(e,t){o.then(function(t){e(h(t,l-1))},function(e){t(h(e,l-1))})})}else if(i.__isArray(o)){v=[]}else if(i.__isRegExp(o)){v=new RegExp(o.source,s(o));if(o.lastIndex)v.lastIndex=o.lastIndex}else if(i.__isDate(o)){v=new Date(o.getTime())}else if(p&&Buffer.isBuffer(o)){if(Buffer.allocUnsafe){v=Buffer.allocUnsafe(o.length)}else{v=new Buffer(o.length)}o.copy(v);return v}else if(e(o,Error)){v=Object.create(o)}else{if(typeof u=="undefined"){y=Object.getPrototypeOf(o);v=Object.create(y)}else{v=Object.create(u);y=u}}if(a){var b=c.indexOf(o);if(b!=-1){return d[b]}c.push(o);d.push(v)}if(e(o,t)){o.forEach(function(e,t){var r=h(t,l-1);var n=h(e,l-1);v.set(r,n)})}if(e(o,r)){o.forEach(function(e){var t=h(e,l-1);v.add(t)})}for(var g in o){var m;if(y){m=Object.getOwnPropertyDescriptor(y,g)}if(m&&m.set==null){continue}v[g]=h(o[g],l-1)}if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);for(var g=0;g<_.length;g++){var O=_[g];var x=Object.getOwnPropertyDescriptor(o,O);if(x&&!x.enumerable&&!f){continue}v[O]=h(o[O],l-1);if(!x.enumerable){Object.defineProperty(v,O,{enumerable:false})}}}if(f){var w=Object.getOwnPropertyNames(o);for(var g=0;g<w.length;g++){var k=w[g];var x=Object.getOwnPropertyDescriptor(o,k);if(x&&x.enumerable){continue}v[k]=h(o[k],l-1);Object.defineProperty(v,k,{enumerable:false})}}return v}return h(o,l)}i.clonePrototype=function e(t){if(t===null)return null;var r=function(){};r.prototype=t;return new r};function o(e){return Object.prototype.toString.call(e)}i.__objToStr=o;function a(e){return typeof e==="object"&&o(e)==="[object Date]"}i.__isDate=a;function l(e){return typeof e==="object"&&o(e)==="[object Array]"}i.__isArray=l;function u(e){return typeof e==="object"&&o(e)==="[object RegExp]"}i.__isRegExp=u;function s(e){var t="";if(e.global)t+="g";if(e.ignoreCase)t+="i";if(e.multiline)t+="m";return t}i.__getRegExpFlags=s;return i}();if(typeof e==="object"&&e.exports){e.exports=r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var a=r(0);var l=g(a);var u=r(8);var s=g(u);var f=r(4);var c=g(f);var d=r(16);var p=g(d);var h=r(13);var v=g(h);var y=r(25);var b=g(y);function g(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function O(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}function x(e){return e instanceof c.default||e instanceof f.BlockEmbed}var w=function(e){O(t,e);function t(e,r){m(this,t);var n=_(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.emitter=r.emitter;if(Array.isArray(r.whitelist)){n.whitelist=r.whitelist.reduce(function(e,t){e[t]=true;return e},{})}n.batch=false;n.optimize();n.enable();return n}i(t,[{key:"batchStart",value:function e(){if(!Array.isArray(this.batch)){this.batch=[]}}},{key:"batchEnd",value:function e(){const t=this.batch;this.batch=false;this.update(t)}},{key:"deleteAt",value:function e(r,i){var a=this.line(r),l=n(a,2),u=l[0],s=l[1];var c=this.line(r+i),d=n(c,1),h=d[0];o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,r,i);if(h!=null&&u!==h&&s>0){if(u instanceof f.BlockEmbed||h instanceof f.BlockEmbed){this.optimize();return}if(u instanceof v.default){var y=u.newlineIndex(u.length(),true);if(y>-1){u=u.split(y+1);if(u===h){this.optimize();return}}}else if(h instanceof v.default){var b=h.newlineIndex(0);if(b>-1){h.split(b+1)}}var g=h.children.head instanceof p.default?null:h.children.head;u.moveChildren(h,g);u.remove()}this.optimize()}},{key:"enable",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function e(r,n,i,a){if(this.whitelist!=null&&!this.whitelist[i])return;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,r,n,i,a);this.optimize()}},{key:"insertAt",value:function e(r,n,i){if(i!=null&&this.whitelist!=null&&!this.whitelist[n])return;if(r>=this.length()){if(i==null||l.default.query(n,l.default.Scope.BLOCK)==null){var a=l.default.create(this.statics.defaultChild);this.appendChild(a);if(i==null&&n.endsWith("\n")){n=n.slice(0,-1)}a.insertAt(0,n,i)}else{var u=l.default.create(n,i);this.appendChild(u)}}else{o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,r,n,i)}this.optimize()}},{key:"insertBefore",value:function e(r,n){if(r.statics.scope===l.default.Scope.INLINE_BLOT){var i=l.default.create(this.statics.defaultChild);i.appendChild(r);r=i}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,r,n)}},{key:"leaf",value:function e(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function e(t){if(t===this.length()){return this.line(t-1)}return this.descendant(x,t)}},{key:"lines",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Number.MAX_VALUE;var n=function e(t,r,n){var i=[],o=n;t.children.forEachAt(r,n,function(t,r,n){if(x(t)){i.push(t)}else if(t instanceof l.default.Container){i=i.concat(e(t,r,o))}o-=n});return i};return n(this,t,r)}},{key:"optimize",value:function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(this.batch)return;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r,n);if(r.length>0){this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,r,n)}}},{key:"path",value:function e(r){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,r).slice(1)}},{key:"update",value:function e(r){if(this.batch){if(Array.isArray(r)){this.batch=this.batch.concat(r)}return}var n=s.default.sources.USER;if(typeof r==="string"){n=r}if(!Array.isArray(r)){r=this.observer.takeRecords()}if(r.length>0){this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,r)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,r.concat([]));if(r.length>0){this.emitter.emit(s.default.events.SCROLL_UPDATE,n,r)}}}]);return t}(l.default.Scroll);w.blotName="scroll";w.className="ql-editor";w.tagName="DIV";w.defaultChild="block";w.allowedChildren=[c.default,f.BlockEmbed,b.default];t.default=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SHORTKEY=t.default=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var a=r(21);var l=k(a);var u=r(11);var s=k(u);var f=r(3);var c=k(f);var d=r(2);var p=k(d);var h=r(20);var v=k(h);var y=r(0);var b=k(y);var g=r(5);var m=k(g);var _=r(10);var O=k(_);var x=r(9);var w=k(x);function k(e){return e&&e.__esModule?e:{default:e}}function E(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function j(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function A(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function N(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var q=(0,O.default)("quill:keyboard");var T=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";var S=function(e){N(t,e);o(t,null,[{key:"match",value:function e(t,r){r=D(r);if(["altKey","ctrlKey","metaKey","shiftKey"].some(function(e){return!!r[e]!==t[e]&&r[e]!==null})){return false}return r.key===(t.which||t.keyCode)}}]);function t(e,r){j(this,t);var n=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.bindings={};Object.keys(n.options.bindings).forEach(function(t){if(t==="list autofill"&&e.scroll.whitelist!=null&&!e.scroll.whitelist["list"]){return}if(n.options.bindings[t]){n.addBinding(n.options.bindings[t])}});n.addBinding({key:t.keys.ENTER,shiftKey:null},R);n.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){});if(/Firefox/i.test(navigator.userAgent)){n.addBinding({key:t.keys.BACKSPACE},{collapsed:true},C);n.addBinding({key:t.keys.DELETE},{collapsed:true},L)}else{n.addBinding({key:t.keys.BACKSPACE},{collapsed:true,prefix:/^.?$/},C);n.addBinding({key:t.keys.DELETE},{collapsed:true,suffix:/^.?$/},L)}n.addBinding({key:t.keys.BACKSPACE},{collapsed:false},M);n.addBinding({key:t.keys.DELETE},{collapsed:false},M);n.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:true,offset:0},C);n.listen();return n}o(t,[{key:"addBinding",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var i=D(t);if(i==null||i.key==null){return q.warn("Attempted to add invalid keyboard binding",i)}if(typeof r==="function"){r={handler:r}}if(typeof n==="function"){n={handler:n}}i=(0,c.default)(i,r,n);this.bindings[i.key]=this.bindings[i.key]||[];this.bindings[i.key].push(i)}},{key:"listen",value:function e(){var r=this;this.quill.root.addEventListener("keydown",function(e){if(e.defaultPrevented)return;var o=e.which||e.keyCode;var a=(r.bindings[o]||[]).filter(function(r){return t.match(e,r)});if(a.length===0)return;var l=r.quill.getSelection();if(l==null||!r.quill.hasFocus())return;var u=r.quill.getLine(l.index),f=i(u,2),c=f[0],d=f[1];var p=r.quill.getLeaf(l.index),h=i(p,2),v=h[0],y=h[1];var g=l.length===0?[v,y]:r.quill.getLeaf(l.index+l.length),m=i(g,2),_=m[0],O=m[1];var x=v instanceof b.default.Text?v.value().slice(0,y):"";var w=_ instanceof b.default.Text?_.value().slice(O):"";var k={collapsed:l.length===0,empty:l.length===0&&c.length()<=1,format:r.quill.getFormat(l),offset:d,prefix:x,suffix:w};var E=a.some(function(e){if(e.collapsed!=null&&e.collapsed!==k.collapsed)return false;if(e.empty!=null&&e.empty!==k.empty)return false;if(e.offset!=null&&e.offset!==k.offset)return false;if(Array.isArray(e.format)){if(e.format.every(function(e){return k.format[e]==null})){return false}}else if(n(e.format)==="object"){if(!Object.keys(e.format).every(function(t){if(e.format[t]===true)return k.format[t]!=null;if(e.format[t]===false)return k.format[t]==null;return(0,s.default)(e.format[t],k.format[t])})){return false}}if(e.prefix!=null&&!e.prefix.test(k.prefix))return false;if(e.suffix!=null&&!e.suffix.test(k.suffix))return false;return e.handler.call(r,l,k)!==true});if(E){e.preventDefault()}})}}]);return t}(w.default);S.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};S.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:S.keys.TAB,format:["blockquote","indent","list"],handler:function e(t,r){if(r.collapsed&&r.offset!==0)return true;this.quill.format("indent","+1",m.default.sources.USER)}},outdent:{key:S.keys.TAB,shiftKey:true,format:["blockquote","indent","list"],handler:function e(t,r){if(r.collapsed&&r.offset!==0)return true;this.quill.format("indent","-1",m.default.sources.USER)}},"outdent backspace":{key:S.keys.BACKSPACE,collapsed:true,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function e(t,r){if(r.format.indent!=null){this.quill.format("indent","-1",m.default.sources.USER)}else if(r.format.list!=null){this.quill.format("list",false,m.default.sources.USER)}}},"indent code-block":I(true),"outdent code-block":I(false),"remove tab":{key:S.keys.TAB,shiftKey:true,collapsed:true,prefix:/\t$/,handler:function e(t){this.quill.deleteText(t.index-1,1,m.default.sources.USER)}},tab:{key:S.keys.TAB,handler:function e(t){this.quill.history.cutoff();var r=(new p.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(r,m.default.sources.USER);this.quill.history.cutoff();this.quill.setSelection(t.index+1,m.default.sources.SILENT)}},"list empty enter":{key:S.keys.ENTER,collapsed:true,format:["list"],empty:true,handler:function e(t,r){this.quill.format("list",false,m.default.sources.USER);if(r.format.indent){this.quill.format("indent",false,m.default.sources.USER)}}},"checklist enter":{key:S.keys.ENTER,collapsed:true,format:{list:"checked"},handler:function e(t){var r=this.quill.getLine(t.index),n=i(r,2),o=n[0],a=n[1];var l=(0,c.default)({},o.formats(),{list:"checked"});var u=(new p.default).retain(t.index).insert("\n",l).retain(o.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(u,m.default.sources.USER);this.quill.setSelection(t.index+1,m.default.sources.SILENT);this.quill.scrollIntoView()}},"header enter":{key:S.keys.ENTER,collapsed:true,format:["header"],suffix:/^$/,handler:function e(t,r){var n=this.quill.getLine(t.index),o=i(n,2),a=o[0],l=o[1];var u=(new p.default).retain(t.index).insert("\n",r.format).retain(a.length()-l-1).retain(1,{header:null});this.quill.updateContents(u,m.default.sources.USER);this.quill.setSelection(t.index+1,m.default.sources.SILENT);this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:true,format:{list:false},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function e(t,r){var n=r.prefix.length;var o=this.quill.getLine(t.index),a=i(o,2),l=a[0],u=a[1];if(u>n)return true;var s=void 0;switch(r.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",m.default.sources.USER);this.quill.history.cutoff();var f=(new p.default).retain(t.index-u).delete(n+1).retain(l.length()-2-u).retain(1,{list:s});this.quill.updateContents(f,m.default.sources.USER);this.quill.history.cutoff();this.quill.setSelection(t.index-n,m.default.sources.SILENT)}},"code exit":{key:S.keys.ENTER,collapsed:true,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function e(t){var r=this.quill.getLine(t.index),n=i(r,2),o=n[0],a=n[1];var l=(new p.default).retain(t.index+o.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(l,m.default.sources.USER)}},"embed left":P(S.keys.LEFT,false),"embed left shift":P(S.keys.LEFT,true),"embed right":P(S.keys.RIGHT,false),"embed right shift":P(S.keys.RIGHT,true)}};function P(e,t){var r;var n=e===S.keys.LEFT?"prefix":"suffix";return r={key:e,shiftKey:t,altKey:null},E(r,n,/^$/),E(r,"handler",function r(n){var o=n.index;if(e===S.keys.RIGHT){o+=n.length+1}var a=this.quill.getLeaf(o),l=i(a,1),u=l[0];if(!(u instanceof b.default.Embed))return true;if(e===S.keys.LEFT){if(t){this.quill.setSelection(n.index-1,n.length+1,m.default.sources.USER)}else{this.quill.setSelection(n.index-1,m.default.sources.USER)}}else{if(t){this.quill.setSelection(n.index,n.length+1,m.default.sources.USER)}else{this.quill.setSelection(n.index+n.length+1,m.default.sources.USER)}}return false}),r}function C(e,t){if(e.index===0||this.quill.getLength()<=1)return;var r=this.quill.getLine(e.index),n=i(r,1),o=n[0];var a={};if(t.offset===0){var l=this.quill.getLine(e.index-1),u=i(l,1),s=u[0];if(s!=null&&s.length()>1){var f=o.formats();var c=this.quill.getFormat(e.index-1,1);a=v.default.attributes.diff(f,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,m.default.sources.USER);if(Object.keys(a).length>0){this.quill.formatLine(e.index-d,d,a,m.default.sources.USER)}this.quill.focus()}function L(e,t){var r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(e.index>=this.quill.getLength()-r)return;var n={},o=0;var a=this.quill.getLine(e.index),l=i(a,1),u=l[0];if(t.offset>=u.length()-1){var s=this.quill.getLine(e.index+1),f=i(s,1),c=f[0];if(c){var d=u.formats();var p=this.quill.getFormat(e.index,1);n=v.default.attributes.diff(d,p)||{};o=c.length()}}this.quill.deleteText(e.index,r,m.default.sources.USER);if(Object.keys(n).length>0){this.quill.formatLine(e.index+o-1,r,n,m.default.sources.USER)}}function M(e){var t=this.quill.getLines(e);var r={};if(t.length>1){var n=t[0].formats();var i=t[t.length-1].formats();r=v.default.attributes.diff(i,n)||{}}this.quill.deleteText(e,m.default.sources.USER);if(Object.keys(r).length>0){this.quill.formatLine(e.index,1,r,m.default.sources.USER)}this.quill.setSelection(e.index,m.default.sources.SILENT);this.quill.focus()}function R(e,t){var r=this;if(e.length>0){this.quill.scroll.deleteAt(e.index,e.length)}var n=Object.keys(t.format).reduce(function(e,r){if(b.default.query(r,b.default.Scope.BLOCK)&&!Array.isArray(t.format[r])){e[r]=t.format[r]}return e},{});this.quill.insertText(e.index,"\n",n,m.default.sources.USER);this.quill.setSelection(e.index+1,m.default.sources.SILENT);this.quill.focus();Object.keys(t.format).forEach(function(e){if(n[e]!=null)return;if(Array.isArray(t.format[e]))return;if(e==="link")return;r.quill.format(e,t.format[e],m.default.sources.USER)})}function I(e){return{key:S.keys.TAB,shiftKey:!e,format:{"code-block":true},handler:function t(r){var n=b.default.query("code-block");var o=r.index,a=r.length;var l=this.quill.scroll.descendant(n,o),u=i(l,2),s=u[0],f=u[1];if(s==null)return;var c=this.quill.getIndex(s);var d=s.newlineIndex(f,true)+1;var p=s.newlineIndex(c+f+a);var h=s.domNode.textContent.slice(d,p).split("\n");f=0;h.forEach(function(t,r){if(e){s.insertAt(d+f,n.TAB);f+=n.TAB.length;if(r===0){o+=n.TAB.length}else{a+=n.TAB.length}}else if(t.startsWith(n.TAB)){s.deleteAt(d+f,n.TAB.length);f-=n.TAB.length;if(r===0){o-=n.TAB.length}else{a-=n.TAB.length}}f+=t.length+1});this.quill.update(m.default.sources.USER);this.quill.setSelection(o,a,m.default.sources.SILENT)}}}function B(e){return{key:e[0].toUpperCase(),shortKey:true,handler:function t(r,n){this.quill.format(e,!n.format[e],m.default.sources.USER)}}}function D(e){if(typeof e==="string"||typeof e==="number"){return D({key:e})}if((typeof e==="undefined"?"undefined":n(e))==="object"){e=(0,l.default)(e,false)}if(typeof e.key==="string"){if(S.keys[e.key.toUpperCase()]!=null){e.key=S.keys[e.key.toUpperCase()]}else if(e.key.length===1){e.key=e.key.toUpperCase().charCodeAt(0)}else{return null}}if(e.shortKey){e[T]=e.shortKey;delete e.shortKey}return e}t.default=S;t.SHORTKEY=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var a=r(0);var l=f(a);var u=r(7);var s=f(u);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function d(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function p(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var h=function(e){p(t,e);o(t,null,[{key:"value",value:function e(){return undefined}}]);function t(e,r){c(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.selection=r;n.textNode=document.createTextNode(t.CONTENTS);n.domNode.appendChild(n.textNode);n._length=0;return n}o(t,[{key:"detach",value:function e(){if(this.parent!=null)this.parent.removeChild(this)}},{key:"format",value:function e(r,n){if(this._length!==0){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,n)}var o=this,a=0;while(o!=null&&o.statics.scope!==l.default.Scope.BLOCK_BLOT){a+=o.offset(o.parent);o=o.parent}if(o!=null){this._length=t.CONTENTS.length;o.optimize();o.formatAt(a,t.CONTENTS.length,r,n);this._length=0}}},{key:"index",value:function e(r,n){if(r===this.textNode)return 0;return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,r,n)}},{key:"length",value:function e(){return this._length}},{key:"position",value:function e(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function e(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this);this.parent=null}},{key:"restore",value:function e(){if(this.selection.composing||this.parent==null)return;var r=this.textNode;var i=this.selection.getNativeRange();var o=void 0,a=void 0,u=void 0;if(i!=null&&i.start.node===r&&i.end.node===r){var f=[r,i.start.offset,i.end.offset];o=f[0];a=f[1];u=f[2]}while(this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode){this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode)}if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");if(this.next instanceof s.default){o=this.next.domNode;this.next.insertAt(0,c);this.textNode.data=t.CONTENTS}else{this.textNode.data=c;this.parent.insertBefore(l.default.create(this.textNode),this);this.textNode=document.createTextNode(t.CONTENTS);this.domNode.appendChild(this.textNode)}}this.remove();if(a!=null){var d=[a,u].map(function(e){return Math.max(0,Math.min(o.data.length,e-1))});var p=n(d,2);a=p[0];u=p[1];return{startNode:o,startOffset:a,endNode:o,endOffset:u}}}},{key:"update",value:function e(t,r){var n=this;if(t.some(function(e){return e.type==="characterData"&&e.target===n.textNode})){var i=this.restore();if(i)r.range=i}}},{key:"value",value:function e(){return""}}]);return t}(l.default.Embed);h.blotName="cursor";h.className="ql-cursor";h.tagName="span";h.CONTENTS="\ufeff";t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(0);var i=l(n);var o=r(4);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default.Container);c.allowedChildren=[a.default,o.BlockEmbed,c];t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ColorStyle=t.ColorClass=t.ColorAttributor=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"value",value:function e(r){var e=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,r);if(!e.startsWith("rgb("))return e;e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"");return"#"+e.split(",").map(function(e){return("00"+parseInt(e).toString(16)).slice(-2)}).join("")}}]);return t}(a.default.Attributor.Style);var d=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE});var p=new c("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=c;t.ColorClass=d;t.ColorStyle=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.sanitize=t.default=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(6);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"format",value:function e(r,n){if(r!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,n);n=this.constructor.sanitize(n);this.domNode.setAttribute("href",n)}}],[{key:"create",value:function e(r){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r);r=this.sanitize(r);n.setAttribute("href",r);n.setAttribute("rel","noopener noreferrer");n.setAttribute("target","_blank");return n}},{key:"formats",value:function e(t){return t.getAttribute("href")}},{key:"sanitize",value:function e(t){return d(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]);return t}(a.default);c.blotName="link";c.tagName="A";c.SANITIZED_URL="about:blank";c.PROTOCOL_WHITELIST=["http","https","mailto","tel"];function d(e,t){var r=document.createElement("a");r.href=e;var n=r.href.slice(0,r.href.indexOf(":"));return t.indexOf(n)>-1}t.default=c;t.sanitize=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=r(23);var a=s(o);var l=r(107);var u=s(l);function s(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var c=0;function d(e,t){e.setAttribute(t,!(e.getAttribute(t)==="true"))}var p=function(){function e(t){var r=this;f(this,e);this.select=t;this.container=document.createElement("span");this.buildPicker();this.select.style.display="none";this.select.parentNode.insertBefore(this.container,this.select);this.label.addEventListener("mousedown",function(){r.togglePicker()});this.label.addEventListener("keydown",function(e){switch(e.keyCode){case a.default.keys.ENTER:r.togglePicker();break;case a.default.keys.ESCAPE:r.escape();e.preventDefault();break;default:}});this.select.addEventListener("change",this.update.bind(this))}i(e,[{key:"togglePicker",value:function e(){this.container.classList.toggle("ql-expanded");d(this.label,"aria-expanded");d(this.options,"aria-hidden")}},{key:"buildItem",value:function e(t){var r=this;var n=document.createElement("span");n.tabIndex="0";n.setAttribute("role","button");n.classList.add("ql-picker-item");if(t.hasAttribute("value")){n.setAttribute("data-value",t.getAttribute("value"))}if(t.textContent){n.setAttribute("data-label",t.textContent)}n.addEventListener("click",function(){r.selectItem(n,true)});n.addEventListener("keydown",function(e){switch(e.keyCode){case a.default.keys.ENTER:r.selectItem(n,true);e.preventDefault();break;case a.default.keys.ESCAPE:r.escape();e.preventDefault();break;default:}});return n}},{key:"buildLabel",value:function e(){var t=document.createElement("span");t.classList.add("ql-picker-label");t.innerHTML=u.default;t.tabIndex="0";t.setAttribute("role","button");t.setAttribute("aria-expanded","false");this.container.appendChild(t);return t}},{key:"buildOptions",value:function e(){var t=this;var r=document.createElement("span");r.classList.add("ql-picker-options");r.setAttribute("aria-hidden","true");r.tabIndex="-1";r.id="ql-picker-options-"+c;c+=1;this.label.setAttribute("aria-controls",r.id);this.options=r;[].slice.call(this.select.options).forEach(function(e){var n=t.buildItem(e);r.appendChild(n);if(e.selected===true){t.selectItem(n)}});this.container.appendChild(r)}},{key:"buildPicker",value:function e(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)});this.container.classList.add("ql-picker");this.label=this.buildLabel();this.buildOptions()}},{key:"escape",value:function e(){var t=this;this.close();setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function e(){this.container.classList.remove("ql-expanded");this.label.setAttribute("aria-expanded","false");this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var i=this.container.querySelector(".ql-selected");if(t===i)return;if(i!=null){i.classList.remove("ql-selected")}if(t==null)return;t.classList.add("ql-selected");this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t);if(t.hasAttribute("data-value")){this.label.setAttribute("data-value",t.getAttribute("data-value"))}else{this.label.removeAttribute("data-value")}if(t.hasAttribute("data-label")){this.label.setAttribute("data-label",t.getAttribute("data-label"))}else{this.label.removeAttribute("data-label")}if(r){if(typeof Event==="function"){this.select.dispatchEvent(new Event("change"))}else if((typeof Event==="undefined"?"undefined":n(Event))==="object"){var o=document.createEvent("Event");o.initEvent("change",true,true);this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function e(){var t=void 0;if(this.select.selectedIndex>-1){var r=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex];this.selectItem(r)}else{this.selectItem(null)}var n=t!=null&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]);return e}();t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(0);var i=q(n);var o=r(5);var a=q(o);var l=r(4);var u=q(l);var s=r(16);var f=q(s);var c=r(25);var d=q(c);var p=r(24);var h=q(p);var v=r(35);var y=q(v);var b=r(6);var g=q(b);var m=r(22);var _=q(m);var O=r(7);var x=q(O);var w=r(55);var k=q(w);var E=r(42);var j=q(E);var A=r(23);var N=q(A);function q(e){return e&&e.__esModule?e:{default:e}}a.default.register({"blots/block":u.default,"blots/block/embed":l.BlockEmbed,"blots/break":f.default,"blots/container":d.default,"blots/cursor":h.default,"blots/embed":y.default,"blots/inline":g.default,"blots/scroll":_.default,"blots/text":x.default,"modules/clipboard":k.default,"modules/history":j.default,"modules/keyboard":N.default});i.default.register(u.default,f.default,h.default,g.default,_.default,x.default);t.default=a.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(1);var i=function(){function e(e){this.domNode=e;this.domNode[n.DATA_KEY]={blot:this}}Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:true,configurable:true});e.create=function(e){if(this.tagName==null){throw new n.ParchmentError("Blot definition missing tagName")}var t;if(Array.isArray(this.tagName)){if(typeof e==="string"){e=e.toUpperCase();if(parseInt(e).toString()===e){e=parseInt(e)}}if(typeof e==="number"){t=document.createElement(this.tagName[e-1])}else if(this.tagName.indexOf(e)>-1){t=document.createElement(e)}else{t=document.createElement(this.tagName[0])}}else{t=document.createElement(this.tagName)}if(this.className){t.classList.add(this.className)}return t};e.prototype.attach=function(){if(this.parent!=null){this.scroll=this.parent.scroll}};e.prototype.clone=function(){var e=this.domNode.cloneNode(false);return n.create(e)};e.prototype.detach=function(){if(this.parent!=null)this.parent.removeChild(this);delete this.domNode[n.DATA_KEY]};e.prototype.deleteAt=function(e,t){var r=this.isolate(e,t);r.remove()};e.prototype.formatAt=function(e,t,r,i){var o=this.isolate(e,t);if(n.query(r,n.Scope.BLOT)!=null&&i){o.wrap(r,i)}else if(n.query(r,n.Scope.ATTRIBUTE)!=null){var a=n.create(this.statics.scope);o.wrap(a);a.format(r,i)}};e.prototype.insertAt=function(e,t,r){var i=r==null?n.create("text",t):n.create(t,r);var o=this.split(e);this.parent.insertBefore(i,o)};e.prototype.insertInto=function(e,t){if(t===void 0){t=null}if(this.parent!=null){this.parent.children.remove(this)}var r=null;e.children.insertBefore(this,t);if(t!=null){r=t.domNode}if(this.domNode.parentNode!=e.domNode||this.domNode.nextSibling!=r){e.domNode.insertBefore(this.domNode,r)}this.parent=e;this.attach()};e.prototype.isolate=function(e,t){var r=this.split(e);r.split(t);return r};e.prototype.length=function(){return 1};e.prototype.offset=function(e){if(e===void 0){e=this.parent}if(this.parent==null||this==e)return 0;return this.parent.children.offset(this)+this.parent.offset(e)};e.prototype.optimize=function(e){if(this.domNode[n.DATA_KEY]!=null){delete this.domNode[n.DATA_KEY].mutations}};e.prototype.remove=function(){if(this.domNode.parentNode!=null){this.domNode.parentNode.removeChild(this.domNode)}this.detach()};e.prototype.replace=function(e){if(e.parent==null)return;e.parent.insertBefore(this,e.next);e.remove()};e.prototype.replaceWith=function(e,t){var r=typeof e==="string"?n.create(e,t):e;r.replace(this);return r};e.prototype.split=function(e,t){return e===0?this:this.next};e.prototype.update=function(e,t){};e.prototype.wrap=function(e,t){var r=typeof e==="string"?n.create(e,t):e;if(this.parent!=null){this.parent.insertBefore(r,this.next)}r.appendChild(this);return r};e.blotName="abstract";return e}();t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(12);var i=r(32);var o=r(33);var a=r(1);var l=function(){function e(e){this.attributes={};this.domNode=e;this.build()}e.prototype.attribute=function(e,t){if(t){if(e.add(this.domNode,t)){if(e.value(this.domNode)!=null){this.attributes[e.attrName]=e}else{delete this.attributes[e.attrName]}}}else{e.remove(this.domNode);delete this.attributes[e.attrName]}};e.prototype.build=function(){var e=this;this.attributes={};var t=n.default.keys(this.domNode);var r=i.default.keys(this.domNode);var l=o.default.keys(this.domNode);t.concat(r).concat(l).forEach(function(t){var r=a.query(t,a.Scope.ATTRIBUTE);if(r instanceof n.default){e.attributes[r.attrName]=r}})};e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach(function(r){var n=t.attributes[r].value(t.domNode);e.format(r,n)})};e.prototype.move=function(e){var t=this;this.copy(e);Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)});this.attributes={}};e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce(function(t,r){t[r]=e.attributes[r].value(e.domNode);return t},{})};return e}();t.default=l},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(12);function o(e,t){var r=e.getAttribute("class")||"";return r.split(/\s+/).filter(function(e){return e.indexOf(t+"-")===0})}var a=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})};t.prototype.add=function(e,t){if(!this.canAdd(e,t))return false;this.remove(e);e.classList.add(this.keyName+"-"+t);return true};t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach(function(t){e.classList.remove(t)});if(e.classList.length===0){e.removeAttribute("class")}};t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"";var r=t.slice(this.keyName.length+1);return this.canAdd(e,r)?r:""};return t}(i.default);t.default=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(12);function o(e){var t=e.split("-");var r=t.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return t[0]+r}var a=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){var t=e.split(":");return t[0].trim()})};t.prototype.add=function(e,t){if(!this.canAdd(e,t))return false;e.style[o(this.keyName)]=t;return true};t.prototype.remove=function(e){e.style[o(this.keyName)]="";if(!e.getAttribute("style")){e.removeAttribute("style")}};t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""};return t}(i.default);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();function i(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function e(t,r){i(this,e);this.quill=t;this.options=r;this.modules={}}n(e,[{key:"init",value:function e(){var t=this;Object.keys(this.options.modules).forEach(function(e){if(t.modules[e]==null){t.addModule(e)}})}},{key:"addModule",value:function e(t){var r=this.quill.constructor.import("modules/"+t);this.modules[t]=new r(this.quill,this.options.modules[t]||{});return this.modules[t]}}]);return e}();o.DEFAULTS={modules:{}};o.themes={default:o};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=s(o);var l=r(7);var u=s(l);function s(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function c(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function d(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var p="\ufeff";var h=function(e){d(t,e);function t(e){f(this,t);var r=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));r.contentNode=document.createElement("span");r.contentNode.setAttribute("contenteditable",false);[].slice.call(r.domNode.childNodes).forEach(function(e){r.contentNode.appendChild(e)});r.leftGuard=document.createTextNode(p);r.rightGuard=document.createTextNode(p);r.domNode.appendChild(r.leftGuard);r.domNode.appendChild(r.contentNode);r.domNode.appendChild(r.rightGuard);return r}n(t,[{key:"index",value:function e(r,n){if(r===this.leftGuard)return 0;if(r===this.rightGuard)return 1;return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,r,n)}},{key:"restore",value:function e(t){var r=void 0,n=void 0;var i=t.data.split(p).join("");if(t===this.leftGuard){if(this.prev instanceof u.default){var o=this.prev.length();this.prev.insertAt(o,i);r={startNode:this.prev.domNode,startOffset:o+i.length}}else{n=document.createTextNode(i);this.parent.insertBefore(a.default.create(n),this);r={startNode:n,startOffset:i.length}}}else if(t===this.rightGuard){if(this.next instanceof u.default){this.next.insertAt(0,i);r={startNode:this.next.domNode,startOffset:i.length}}else{n=document.createTextNode(i);this.parent.insertBefore(a.default.create(n),this.next);r={startNode:n,startOffset:i.length}}}t.data=p;return r}},{key:"update",value:function e(t,r){var n=this;t.forEach(function(e){if(e.type==="characterData"&&(e.target===n.leftGuard||e.target===n.rightGuard)){var t=n.restore(e.target);if(t)r.range=t}})}}]);return t}(a.default.Embed);t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AlignStyle=t.AlignClass=t.AlignAttribute=undefined;var n=r(0);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}var a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]};var l=new i.default.Attributor.Attribute("align","align",a);var u=new i.default.Attributor.Class("align","ql-align",a);var s=new i.default.Attributor.Style("align","text-align",a);t.AlignAttribute=l;t.AlignClass=u;t.AlignStyle=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BackgroundStyle=t.BackgroundClass=undefined;var n=r(0);var i=a(n);var o=r(26);function a(e){return e&&e.__esModule?e:{default:e}}var l=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE});var u=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=l;t.BackgroundStyle=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=undefined;var n=r(0);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}var a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]};var l=new i.default.Attributor.Attribute("direction","dir",a);var u=new i.default.Attributor.Class("direction","ql-direction",a);var s=new i.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=l;t.DirectionClass=u;t.DirectionStyle=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FontClass=t.FontStyle=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]};var d=new a.default.Attributor.Class("font","ql-font",c);var p=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"value",value:function e(r){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,r).replace(/["']/g,"")}}]);return t}(a.default.Attributor.Style);var h=new p("font","font-family",c);t.FontStyle=h;t.FontClass=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SizeStyle=t.SizeClass=undefined;var n=r(0);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}var a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]});var l=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a;t.SizeStyle=l},function(e,t,r){"use strict";e.exports={align:{"":r(76),center:r(77),right:r(78),justify:r(79)},background:r(80),blockquote:r(81),bold:r(82),clean:r(83),code:r(58),"code-block":r(58),color:r(84),direction:{"":r(85),rtl:r(86)},float:{center:r(87),full:r(88),left:r(89),right:r(90)},formula:r(91),header:{1:r(92),2:r(93)},italic:r(94),image:r(95),indent:{"+1":r(96),"-1":r(97)},link:r(98),list:{ordered:r(99),bullet:r(100),check:r(101)},script:{sub:r(102),super:r(103)},strike:r(104),underline:r(105),video:r(106)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getLastChangeIndex=t.default=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=r(0);var o=f(i);var a=r(5);var l=f(a);var u=r(9);var s=f(u);function f(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function d(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function p(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var h=function(e){p(t,e);function t(e,r){c(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.lastRecorded=0;n.ignoreChange=false;n.clear();n.quill.on(l.default.events.EDITOR_CHANGE,function(e,t,r,i){if(e!==l.default.events.TEXT_CHANGE||n.ignoreChange)return;if(!n.options.userOnly||i===l.default.sources.USER){n.record(t,r)}else{n.transform(t)}});n.quill.keyboard.addBinding({key:"Z",shortKey:true},n.undo.bind(n));n.quill.keyboard.addBinding({key:"Z",shortKey:true,shiftKey:true},n.redo.bind(n));if(/Win/i.test(navigator.platform)){n.quill.keyboard.addBinding({key:"Y",shortKey:true},n.redo.bind(n))}return n}n(t,[{key:"change",value:function e(t,r){if(this.stack[t].length===0)return;var n=this.stack[t].pop();this.stack[r].push(n);this.lastRecorded=0;this.ignoreChange=true;this.quill.updateContents(n[t],l.default.sources.USER);this.ignoreChange=false;var i=y(n[t]);this.quill.setSelection(i)}},{key:"clear",value:function e(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function e(){this.lastRecorded=0}},{key:"record",value:function e(t,r){if(t.ops.length===0)return;this.stack.redo=[];var n=this.quill.getContents().diff(r);var i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo);t=o.redo.compose(t)}else{this.lastRecorded=i}this.stack.undo.push({redo:t,undo:n});if(this.stack.undo.length>this.options.maxStack){this.stack.undo.shift()}}},{key:"redo",value:function e(){this.change("redo","undo")}},{key:"transform",value:function e(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,true);e.redo=t.transform(e.redo,true)});this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,true);e.redo=t.transform(e.redo,true)})}},{key:"undo",value:function e(){this.change("undo","redo")}}]);return t}(s.default);h.DEFAULTS={delay:1e3,maxStack:100,userOnly:false};function v(e){var t=e.ops[e.ops.length-1];if(t==null)return false;if(t.insert!=null){return typeof t.insert==="string"&&t.insert.endsWith("\n")}if(t.attributes!=null){return Object.keys(t.attributes).some(function(e){return o.default.query(e,o.default.Scope.BLOCK)!=null})}return false}function y(e){var t=e.reduce(function(e,t){e+=t.delete||0;return e},0);var r=e.length()-t;if(v(e)){r-=1}return r}t.default=h;t.getLastChangeIndex=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.BaseTooltip=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(3);var a=w(o);var l=r(2);var u=w(l);var s=r(8);var f=w(s);var c=r(23);var d=w(c);var p=r(34);var h=w(p);var v=r(59);var y=w(v);var b=r(60);var g=w(b);var m=r(28);var _=w(m);var O=r(61);var x=w(O);function w(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function E(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function j(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var A=[false,"center","right","justify"];var N=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"];var q=[false,"serif","monospace"];var T=["1","2","3",false];var S=["small",false,"large","huge"];var P=function(e){j(t,e);function t(e,r){k(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));var i=function t(r){if(!document.body.contains(e.root)){return document.body.removeEventListener("click",t)}if(n.tooltip!=null&&!n.tooltip.root.contains(r.target)&&document.activeElement!==n.tooltip.textbox&&!n.quill.hasFocus()){n.tooltip.hide()}if(n.pickers!=null){n.pickers.forEach(function(e){if(!e.container.contains(r.target)){e.close()}})}};e.emitter.listenDOM("click",document.body,i);return n}n(t,[{key:"addModule",value:function e(r){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,r);if(r==="toolbar"){this.extendToolbar(n)}return n}},{key:"buildButtons",value:function e(t,r){t.forEach(function(e){var t=e.getAttribute("class")||"";t.split(/\s+/).forEach(function(t){if(!t.startsWith("ql-"))return;t=t.slice("ql-".length);if(r[t]==null)return;if(t==="direction"){e.innerHTML=r[t][""]+r[t]["rtl"]}else if(typeof r[t]==="string"){e.innerHTML=r[t]}else{var n=e.value||"";if(n!=null&&r[t][n]){e.innerHTML=r[t][n]}}})})}},{key:"buildPickers",value:function e(t,r){var n=this;this.pickers=t.map(function(e){if(e.classList.contains("ql-align")){if(e.querySelector("option")==null){M(e,A)}return new g.default(e,r.align)}else if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var t=e.classList.contains("ql-background")?"background":"color";if(e.querySelector("option")==null){M(e,N,t==="background"?"#ffffff":"#000000")}return new y.default(e,r[t])}else{if(e.querySelector("option")==null){if(e.classList.contains("ql-font")){M(e,q)}else if(e.classList.contains("ql-header")){M(e,T)}else if(e.classList.contains("ql-size")){M(e,S)}}return new _.default(e)}});var i=function e(){n.pickers.forEach(function(e){e.update()})};this.quill.on(f.default.events.EDITOR_CHANGE,i)}}]);return t}(h.default);P.DEFAULTS=(0,a.default)(true,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function e(){this.quill.theme.tooltip.edit("formula")},image:function e(){var t=this;var r=this.container.querySelector("input.ql-image[type=file]");if(r==null){r=document.createElement("input");r.setAttribute("type","file");r.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon");r.classList.add("ql-image");r.addEventListener("change",function(){if(r.files!=null&&r.files[0]!=null){var e=new FileReader;e.onload=function(e){var n=t.quill.getSelection(true);t.quill.updateContents((new u.default).retain(n.index).delete(n.length).insert({image:e.target.result}),f.default.sources.USER);t.quill.setSelection(n.index+1,f.default.sources.SILENT);r.value=""};e.readAsDataURL(r.files[0])}});this.container.appendChild(r)}r.click()},video:function e(){this.quill.theme.tooltip.edit("video")}}}}});var C=function(e){j(t,e);function t(e,r){k(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.textbox=n.root.querySelector('input[type="text"]');n.listen();return n}n(t,[{key:"listen",value:function e(){var t=this;this.textbox.addEventListener("keydown",function(e){if(d.default.match(e,"enter")){t.save();e.preventDefault()}else if(d.default.match(e,"escape")){t.cancel();e.preventDefault()}})}},{key:"cancel",value:function e(){this.hide()}},{key:"edit",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"link";var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;this.root.classList.remove("ql-hidden");this.root.classList.add("ql-editing");if(r!=null){this.textbox.value=r}else if(t!==this.root.getAttribute("data-mode")){this.textbox.value=""}this.position(this.quill.getBounds(this.quill.selection.savedRange));this.textbox.select();this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||"");this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function e(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus();this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function e(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var r=this.quill.root.scrollTop;if(this.linkRange){this.quill.formatText(this.linkRange,"link",t,f.default.sources.USER);delete this.linkRange}else{this.restoreFocus();this.quill.format("link",t,f.default.sources.USER)}this.quill.root.scrollTop=r;break}case"video":{t=L(t)}case"formula":{if(!t)break;var n=this.quill.getSelection(true);if(n!=null){var i=n.index+n.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),t,f.default.sources.USER);if(this.root.getAttribute("data-mode")==="formula"){this.quill.insertText(i+1," ",f.default.sources.USER)}this.quill.setSelection(i+2,f.default.sources.USER)}break}default:}this.textbox.value="";this.hide()}}]);return t}(x.default);function L(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);if(t){return(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0"}if(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)){return(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/"}return e}function M(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;t.forEach(function(t){var n=document.createElement("option");if(t===r){n.setAttribute("selected","selected")}else{n.setAttribute("value",t)}e.appendChild(n)})}t.BaseTooltip=C;t.default=P},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(){this.head=this.tail=null;this.length=0}e.prototype.append=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}this.insertBefore(e[0],null);if(e.length>1){this.append.apply(this,e.slice(1))}};e.prototype.contains=function(e){var t,r=this.iterator();while(t=r()){if(t===e)return true}return false};e.prototype.insertBefore=function(e,t){if(!e)return;e.next=t;if(t!=null){e.prev=t.prev;if(t.prev!=null){t.prev.next=e}t.prev=e;if(t===this.head){this.head=e}}else if(this.tail!=null){this.tail.next=e;e.prev=this.tail;this.tail=e}else{e.prev=null;this.head=this.tail=e}this.length+=1};e.prototype.offset=function(e){var t=0,r=this.head;while(r!=null){if(r===e)return t;t+=r.length();r=r.next}return-1};e.prototype.remove=function(e){if(!this.contains(e))return;if(e.prev!=null)e.prev.next=e.next;if(e.next!=null)e.next.prev=e.prev;if(e===this.head)this.head=e.next;if(e===this.tail)this.tail=e.prev;this.length-=1};e.prototype.iterator=function(e){if(e===void 0){e=this.head}return function(){var t=e;if(e!=null)e=e.next;return t}};e.prototype.find=function(e,t){if(t===void 0){t=false}var r,n=this.iterator();while(r=n()){var i=r.length();if(e<i||t&&e===i&&(r.next==null||r.next.length()!==0)){return[r,e]}e-=i}return[null,0]};e.prototype.forEach=function(e){var t,r=this.iterator();while(t=r()){e(t)}};e.prototype.forEachAt=function(e,t,r){if(t<=0)return;var n=this.find(e),i=n[0],o=n[1];var a,l=e-o,u=this.iterator(i);while((a=u())&&l<e+t){var s=a.length();if(e>l){r(a,e-l,Math.min(t,l+s-e))}else{r(a,0,Math.min(s,e+t-l))}l+=s}};e.prototype.map=function(e){return this.reduce(function(t,r){t.push(e(r));return t},[])};e.prototype.reduce=function(e,t){var r,n=this.iterator();while(r=n()){t=e(t,r)}return t};return e}();t.default=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(17);var o=r(1);var a={attributes:true,characterData:true,characterDataOldValue:true,childList:true,subtree:true};var l=100;var u=function(e){n(t,e);function t(t){var r=e.call(this,t)||this;r.scroll=r;r.observer=new MutationObserver(function(e){r.update(e)});r.observer.observe(r.domNode,a);r.attach();return r}t.prototype.detach=function(){e.prototype.detach.call(this);this.observer.disconnect()};t.prototype.deleteAt=function(t,r){this.update();if(t===0&&r===this.length()){this.children.forEach(function(e){e.remove()})}else{e.prototype.deleteAt.call(this,t,r)}};t.prototype.formatAt=function(t,r,n,i){this.update();e.prototype.formatAt.call(this,t,r,n,i)};t.prototype.insertAt=function(t,r,n){this.update();e.prototype.insertAt.call(this,t,r,n)};t.prototype.optimize=function(t,r){var n=this;if(t===void 0){t=[]}if(r===void 0){r={}}e.prototype.optimize.call(this,r);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)t.push(a.pop());var u=function(e,t){if(t===void 0){t=true}if(e==null||e===n)return;if(e.domNode.parentNode==null)return;if(e.domNode[o.DATA_KEY].mutations==null){e.domNode[o.DATA_KEY].mutations=[]}if(t)u(e.parent)};var s=function(e){if(e.domNode[o.DATA_KEY]==null||e.domNode[o.DATA_KEY].mutations==null){return}if(e instanceof i.default){e.children.forEach(s)}e.optimize(r)};var f=t;for(var c=0;f.length>0;c+=1){if(c>=l){throw new Error("[Parchment] Maximum optimize iterations reached")}f.forEach(function(e){var t=o.find(e.target,true);if(t==null)return;if(t.domNode===e.target){if(e.type==="childList"){u(o.find(e.previousSibling,false));[].forEach.call(e.addedNodes,function(e){var t=o.find(e,false);u(t,false);if(t instanceof i.default){t.children.forEach(function(e){u(e,false)})}})}else if(e.type==="attributes"){u(t.prev)}}u(t)});this.children.forEach(s);f=[].slice.call(this.observer.takeRecords());a=f.slice();while(a.length>0)t.push(a.pop())}};t.prototype.update=function(t,r){var n=this;if(r===void 0){r={}}t=t||this.observer.takeRecords();t.map(function(e){var t=o.find(e.target,true);if(t==null)return null;if(t.domNode[o.DATA_KEY].mutations==null){t.domNode[o.DATA_KEY].mutations=[e];return t}else{t.domNode[o.DATA_KEY].mutations.push(e);return null}}).forEach(function(e){if(e==null||e===n||e.domNode[o.DATA_KEY]==null)return;e.update(e.domNode[o.DATA_KEY].mutations||[],r)});if(this.domNode[o.DATA_KEY].mutations!=null){e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,r)}this.optimize(t,r)};t.blotName="scroll";t.defaultChild="block";t.scope=o.Scope.BLOCK_BLOT;t.tagName="DIV";return t}(i.default);t.default=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(18);var o=r(1);function a(e,t){if(Object.keys(e).length!==Object.keys(t).length)return false;for(var r in e){if(e[r]!==t[r])return false}return true}var l=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.formats=function(r){if(r.tagName===t.tagName)return undefined;return e.formats.call(this,r)};t.prototype.format=function(r,n){var o=this;if(r===this.statics.blotName&&!n){this.children.forEach(function(e){if(!(e instanceof i.default)){e=e.wrap(t.blotName,true)}o.attributes.copy(e)});this.unwrap()}else{e.prototype.format.call(this,r,n)}};t.prototype.formatAt=function(t,r,n,i){if(this.formats()[n]!=null||o.query(n,o.Scope.ATTRIBUTE)){var a=this.isolate(t,r);a.format(n,i)}else{e.prototype.formatAt.call(this,t,r,n,i)}};t.prototype.optimize=function(r){e.prototype.optimize.call(this,r);var n=this.formats();if(Object.keys(n).length===0){return this.unwrap()}var i=this.next;if(i instanceof t&&i.prev===this&&a(n,i.formats())){i.moveChildren(this);i.remove()}};t.blotName="inline";t.scope=o.Scope.INLINE_BLOT;t.tagName="SPAN";return t}(i.default);t.default=l},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(18);var o=r(1);var a=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.formats=function(r){var n=o.query(t.blotName).tagName;if(r.tagName===n)return undefined;return e.formats.call(this,r)};t.prototype.format=function(r,n){if(o.query(r,o.Scope.BLOCK)==null){return}else if(r===this.statics.blotName&&!n){this.replaceWith(t.blotName)}else{e.prototype.format.call(this,r,n)}};t.prototype.formatAt=function(t,r,n,i){if(o.query(n,o.Scope.BLOCK)!=null){this.format(n,i)}else{e.prototype.formatAt.call(this,t,r,n,i)}};t.prototype.insertAt=function(t,r,n){if(n==null||o.query(r,o.Scope.INLINE)!=null){e.prototype.insertAt.call(this,t,r,n)}else{var i=this.split(t);var a=o.create(r,n);i.parent.insertBefore(a,i)}};t.prototype.update=function(t,r){if(navigator.userAgent.match(/Trident/)){this.build()}else{e.prototype.update.call(this,t,r)}};t.blotName="block";t.scope=o.Scope.BLOCK_BLOT;t.tagName="P";return t}(i.default);t.default=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(19);var o=function(e){n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.formats=function(e){return undefined};t.prototype.format=function(t,r){e.prototype.formatAt.call(this,0,this.length(),t,r)};t.prototype.formatAt=function(t,r,n,i){if(t===0&&r===this.length()){this.format(n,i)}else{e.prototype.formatAt.call(this,t,r,n,i)}};t.prototype.formats=function(){return this.statics.formats(this.domNode)};return t}(i.default);t.default=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(19);var o=r(1);var a=function(e){n(t,e);function t(t){var r=e.call(this,t)||this;r.text=r.statics.value(r.domNode);return r}t.create=function(e){return document.createTextNode(e)};t.value=function(e){var t=e.data;if(t["normalize"])t=t["normalize"]();return t};t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)};t.prototype.index=function(e,t){if(this.domNode===e){return t}return-1};t.prototype.insertAt=function(t,r,n){if(n==null){this.text=this.text.slice(0,t)+r+this.text.slice(t);this.domNode.data=this.text}else{e.prototype.insertAt.call(this,t,r,n)}};t.prototype.length=function(){return this.text.length};t.prototype.optimize=function(r){e.prototype.optimize.call(this,r);this.text=this.statics.value(this.domNode);if(this.text.length===0){this.remove()}else if(this.next instanceof t&&this.next.prev===this){this.insertAt(this.length(),this.next.value());this.next.remove()}};t.prototype.position=function(e,t){if(t===void 0){t=false}return[this.domNode,e]};t.prototype.split=function(e,t){if(t===void 0){t=false}if(!t){if(e===0)return this;if(e===this.length())return this.next}var r=o.create(this.domNode.splitText(e));this.parent.insertBefore(r,this.next);this.text=this.statics.value(this.domNode);return r};t.prototype.update=function(e,t){var r=this;if(e.some(function(e){return e.type==="characterData"&&e.target===r.domNode})){this.text=this.statics.value(this.domNode)}};t.prototype.value=function(){return this.text};t.blotName="text";t.scope=o.Scope.INLINE_BLOT;return t}(i.default);t.default=a},function(e,t,r){"use strict";var n=document.createElement("div");n.classList.toggle("test-class",false);if(n.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){if(arguments.length>1&&!this.contains(e)===!t){return t}else{return i.call(this,e)}}}if(!String.prototype.startsWith){String.prototype.startsWith=function(e,t){t=t||0;return this.substr(t,e.length)===e}}if(!String.prototype.endsWith){String.prototype.endsWith=function(e,t){var r=this.toString();if(typeof t!=="number"||!isFinite(t)||Math.floor(t)!==t||t>r.length){t=r.length}t-=e.length;var n=r.indexOf(e,t);return n!==-1&&n===t}}if(!Array.prototype.find){Object.defineProperty(Array.prototype,"find",{value:function e(t){if(this===null){throw new TypeError("Array.prototype.find called on null or undefined")}if(typeof t!=="function"){throw new TypeError("predicate must be a function")}var r=Object(this);var n=r.length>>>0;var i=arguments[1];var e;for(var o=0;o<n;o++){e=r[o];if(t.call(i,e,o,r)){return e}}return undefined}})}document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",false,false);document.execCommand("autoUrlDetect",false,false)})},function(e,t){var r=-1;var n=1;var i=0;function o(e,t,r){if(e==t){if(e){return[[i,e]]}return[]}if(r<0||e.length<r){r=null}var n=s(e,t);var o=e.substring(0,n);e=e.substring(n);t=t.substring(n);n=f(e,t);var l=e.substring(e.length-n);e=e.substring(0,e.length-n);t=t.substring(0,t.length-n);var u=a(e,t);if(o){u.unshift([i,o])}if(l){u.push([i,l])}d(u);if(r!=null){u=v(u,r)}u=y(u);return u}function a(e,t){var a;if(!e){return[[n,t]]}if(!t){return[[r,e]]}var u=e.length>t.length?e:t;var s=e.length>t.length?t:e;var f=u.indexOf(s);if(f!=-1){a=[[n,u.substring(0,f)],[i,s],[n,u.substring(f+s.length)]];if(e.length>t.length){a[0][0]=a[2][0]=r}return a}if(s.length==1){return[[r,e],[n,t]]}var d=c(e,t);if(d){var p=d[0];var h=d[1];var v=d[2];var y=d[3];var b=d[4];var g=o(p,v);var m=o(h,y);return g.concat([[i,b]],m)}return l(e,t)}function l(e,t){var i=e.length;var o=t.length;var a=Math.ceil((i+o)/2);var l=a;var s=2*a;var f=new Array(s);var c=new Array(s);for(var d=0;d<s;d++){f[d]=-1;c[d]=-1}f[l+1]=0;c[l+1]=0;var p=i-o;var h=p%2!=0;var v=0;var y=0;var b=0;var g=0;for(var m=0;m<a;m++){for(var _=-m+v;_<=m-y;_+=2){var O=l+_;var x;if(_==-m||_!=m&&f[O-1]<f[O+1]){x=f[O+1]}else{x=f[O-1]+1}var w=x-_;while(x<i&&w<o&&e.charAt(x)==t.charAt(w)){x++;w++}f[O]=x;if(x>i){y+=2}else if(w>o){v+=2}else if(h){var k=l+p-_;if(k>=0&&k<s&&c[k]!=-1){var E=i-c[k];if(x>=E){return u(e,t,x,w)}}}}for(var j=-m+b;j<=m-g;j+=2){var k=l+j;var E;if(j==-m||j!=m&&c[k-1]<c[k+1]){E=c[k+1]}else{E=c[k-1]+1}var A=E-j;while(E<i&&A<o&&e.charAt(i-E-1)==t.charAt(o-A-1)){E++;A++}c[k]=E;if(E>i){g+=2}else if(A>o){b+=2}else if(!h){var O=l+p-j;if(O>=0&&O<s&&f[O]!=-1){var x=f[O];var w=l+x-O;E=i-E;if(x>=E){return u(e,t,x,w)}}}}}return[[r,e],[n,t]]}function u(e,t,r,n){var i=e.substring(0,r);var a=t.substring(0,n);var l=e.substring(r);var u=t.substring(n);var s=o(i,a);var f=o(l,u);return s.concat(f)}function s(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0)){return 0}var r=0;var n=Math.min(e.length,t.length);var i=n;var o=0;while(r<i){if(e.substring(o,i)==t.substring(o,i)){r=i;o=r}else{n=i}i=Math.floor((n-r)/2+r)}return i}function f(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1)){return 0}var r=0;var n=Math.min(e.length,t.length);var i=n;var o=0;while(r<i){if(e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)){r=i;o=r}else{n=i}i=Math.floor((n-r)/2+r)}return i}function c(e,t){var r=e.length>t.length?e:t;var n=e.length>t.length?t:e;if(r.length<4||n.length*2<r.length){return null}function i(e,t,r){var n=e.substring(r,r+Math.floor(e.length/4));var i=-1;var o="";var a,l,u,c;while((i=t.indexOf(n,i+1))!=-1){var d=s(e.substring(r),t.substring(i));var p=f(e.substring(0,r),t.substring(0,i));if(o.length<p+d){o=t.substring(i-p,i)+t.substring(i,i+d);a=e.substring(0,r-p);l=e.substring(r+d);u=t.substring(0,i-p);c=t.substring(i+d)}}if(o.length*2>=e.length){return[a,l,u,c,o]}else{return null}}var o=i(r,n,Math.ceil(r.length/4));var a=i(r,n,Math.ceil(r.length/2));var l;if(!o&&!a){return null}else if(!a){l=o}else if(!o){l=a}else{l=o[4].length>a[4].length?o:a}var u,c,d,p;if(e.length>t.length){u=l[0];c=l[1];d=l[2];p=l[3]}else{d=l[0];p=l[1];u=l[2];c=l[3]}var h=l[4];return[u,c,d,p,h]}function d(e){e.push([i,""]);var t=0;var o=0;var a=0;var l="";var u="";var c;while(t<e.length){switch(e[t][0]){case n:a++;u+=e[t][1];t++;break;case r:o++;l+=e[t][1];t++;break;case i:if(o+a>1){if(o!==0&&a!==0){c=s(u,l);if(c!==0){if(t-o-a>0&&e[t-o-a-1][0]==i){e[t-o-a-1][1]+=u.substring(0,c)}else{e.splice(0,0,[i,u.substring(0,c)]);t++}u=u.substring(c);l=l.substring(c)}c=f(u,l);if(c!==0){e[t][1]=u.substring(u.length-c)+e[t][1];u=u.substring(0,u.length-c);l=l.substring(0,l.length-c)}}if(o===0){e.splice(t-a,o+a,[n,u])}else if(a===0){e.splice(t-o,o+a,[r,l])}else{e.splice(t-o-a,o+a,[r,l],[n,u])}t=t-o-a+(o?1:0)+(a?1:0)+1}else if(t!==0&&e[t-1][0]==i){e[t-1][1]+=e[t][1];e.splice(t,1)}else{t++}a=0;o=0;l="";u="";break}}if(e[e.length-1][1]===""){e.pop()}var p=false;t=1;while(t<e.length-1){if(e[t-1][0]==i&&e[t+1][0]==i){if(e[t][1].substring(e[t][1].length-e[t-1][1].length)==e[t-1][1]){e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length);e[t+1][1]=e[t-1][1]+e[t+1][1];e.splice(t-1,1);p=true}else if(e[t][1].substring(0,e[t+1][1].length)==e[t+1][1]){e[t-1][1]+=e[t+1][1];e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1];e.splice(t+1,1);p=true}}t++}if(p){d(e)}}var p=o;p.INSERT=n;p.DELETE=r;p.EQUAL=i;e.exports=p;function h(e,t){if(t===0){return[i,e]}for(var n=0,o=0;o<e.length;o++){var a=e[o];if(a[0]===r||a[0]===i){var l=n+a[1].length;if(t===l){return[o+1,e]}else if(t<l){e=e.slice();var u=t-n;var s=[a[0],a[1].slice(0,u)];var f=[a[0],a[1].slice(u)];e.splice(o,1,s,f);return[o+1,e]}else{n=l}}}throw new Error("cursor_pos is out of bounds!")}function v(e,t){var r=h(e,t);var n=r[1];var o=r[0];var a=n[o];var l=n[o+1];if(a==null){return e}else if(a[0]!==i){return e}else{if(l!=null&&a[1]+l[1]===l[1]+a[1]){n.splice(o,2,l,a);return b(n,o,2)}else if(l!=null&&l[1].indexOf(a[1])===0){n.splice(o,2,[l[0],a[1]],[0,a[1]]);var u=l[1].slice(a[1].length);if(u.length>0){n.splice(o+2,0,[l[0],u])}return b(n,o,3)}else{return e}}}function y(e){var t=false;var o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343};var a=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319};for(var l=2;l<e.length;l+=1){if(e[l-2][0]===i&&a(e[l-2][1])&&e[l-1][0]===r&&o(e[l-1][1])&&e[l][0]===n&&o(e[l][1])){t=true;e[l-1][1]=e[l-2][1].slice(-1)+e[l-1][1];e[l][1]=e[l-2][1].slice(-1)+e[l][1];e[l-2][1]=e[l-2][1].slice(0,-1)}}if(!t){return e}var u=[];for(var l=0;l<e.length;l+=1){if(e[l][1].length>0){u.push(e[l])}}return u}function b(e,t,r){for(var n=t+r-1;n>=0&&n>=t-1;n--){if(n+1<e.length){var i=e[n];var o=e[n+1];if(i[0]===o[1]){e.splice(n,2,[i[0],i[1]+o[1]])}}}return e}},function(e,t){t=e.exports=typeof Object.keys==="function"?Object.keys:r;t.shim=r;function r(e){var t=[];for(var r in e)t.push(r);return t}},function(e,t){var r=function(){return Object.prototype.toString.call(arguments)}()=="[object Arguments]";t=e.exports=r?n:i;t.supported=n;function n(e){return Object.prototype.toString.call(e)=="[object Arguments]"}t.unsupported=i;function i(e){return e&&typeof e=="object"&&typeof e.length=="number"&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||false}},function(e,t){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function i(){}if(Object.create){i.prototype=Object.create(null);if(!(new i).__proto__)n=false}function o(e,t,r){this.fn=e;this.context=t;this.once=r||false}function a(){this._events=new i;this._eventsCount=0}a.prototype.eventNames=function e(){var t=[],i,o;if(this._eventsCount===0)return t;for(o in i=this._events){if(r.call(i,o))t.push(n?o.slice(1):o)}if(Object.getOwnPropertySymbols){return t.concat(Object.getOwnPropertySymbols(i))}return t};a.prototype.listeners=function e(t,r){var i=n?n+t:t,o=this._events[i];if(r)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var a=0,l=o.length,u=new Array(l);a<l;a++){u[a]=o[a].fn}return u};a.prototype.emit=function e(t,r,i,o,a,l){var u=n?n+t:t;if(!this._events[u])return false;var s=this._events[u],f=arguments.length,c,d;if(s.fn){if(s.once)this.removeListener(t,s.fn,undefined,true);switch(f){case 1:return s.fn.call(s.context),true;case 2:return s.fn.call(s.context,r),true;case 3:return s.fn.call(s.context,r,i),true;case 4:return s.fn.call(s.context,r,i,o),true;case 5:return s.fn.call(s.context,r,i,o,a),true;case 6:return s.fn.call(s.context,r,i,o,a,l),true}for(d=1,c=new Array(f-1);d<f;d++){c[d-1]=arguments[d]}s.fn.apply(s.context,c)}else{var p=s.length,h;for(d=0;d<p;d++){if(s[d].once)this.removeListener(t,s[d].fn,undefined,true);switch(f){case 1:s[d].fn.call(s[d].context);break;case 2:s[d].fn.call(s[d].context,r);break;case 3:s[d].fn.call(s[d].context,r,i);break;case 4:s[d].fn.call(s[d].context,r,i,o);break;default:if(!c)for(h=1,c=new Array(f-1);h<f;h++){c[h-1]=arguments[h]}s[d].fn.apply(s[d].context,c)}}}return true};a.prototype.on=function e(t,r,i){var a=new o(r,i||this),l=n?n+t:t;if(!this._events[l])this._events[l]=a,this._eventsCount++;else if(!this._events[l].fn)this._events[l].push(a);else this._events[l]=[this._events[l],a];return this};a.prototype.once=function e(t,r,i){var a=new o(r,i||this,true),l=n?n+t:t;if(!this._events[l])this._events[l]=a,this._eventsCount++;else if(!this._events[l].fn)this._events[l].push(a);else this._events[l]=[this._events[l],a];return this};a.prototype.removeListener=function e(t,r,o,a){var l=n?n+t:t;if(!this._events[l])return this;if(!r){if(--this._eventsCount===0)this._events=new i;else delete this._events[l];return this}var u=this._events[l];if(u.fn){if(u.fn===r&&(!a||u.once)&&(!o||u.context===o)){if(--this._eventsCount===0)this._events=new i;else delete this._events[l]}}else{for(var s=0,f=[],c=u.length;s<c;s++){if(u[s].fn!==r||a&&!u[s].once||o&&u[s].context!==o){f.push(u[s])}}if(f.length)this._events[l]=f.length===1?f[0]:f;else if(--this._eventsCount===0)this._events=new i;else delete this._events[l]}return this};a.prototype.removeAllListeners=function e(t){var r;if(t){r=n?n+t:t;if(this._events[r]){if(--this._eventsCount===0)this._events=new i;else delete this._events[r]}}else{this._events=new i;this._eventsCount=0}return this};a.prototype.off=a.prototype.removeListener;a.prototype.addListener=a.prototype.on;a.prototype.setMaxListeners=function e(){return this};a.prefixed=n;a.EventEmitter=a;if("undefined"!==typeof e){e.exports=a}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=undefined;var n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var a=r(3);var l=j(a);var u=r(2);var s=j(u);var f=r(0);var c=j(f);var d=r(5);var p=j(d);var h=r(10);var v=j(h);var y=r(9);var b=j(y);var g=r(36);var m=r(37);var _=r(13);var O=j(_);var x=r(26);var w=r(38);var k=r(39);var E=r(40);function j(e){return e&&e.__esModule?e:{default:e}}function A(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function N(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function q(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function T(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var S=(0,v.default)("quill:clipboard");var P="__ql-matcher";var C=[[Node.TEXT_NODE,X],[Node.TEXT_NODE,G],["br",V],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,K],[Node.ELEMENT_NODE,Y],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,$],["li",Z],["b",z.bind(z,"bold")],["i",z.bind(z,"italic")],["style",W]];var L=[g.AlignAttribute,w.DirectionAttribute].reduce(function(e,t){e[t.keyName]=t;return e},{});var M=[g.AlignStyle,m.BackgroundStyle,x.ColorStyle,w.DirectionStyle,k.FontStyle,E.SizeStyle].reduce(function(e,t){e[t.keyName]=t;return e},{});var R=function(e){T(t,e);function t(e,r){N(this,t);var n=q(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.quill.root.addEventListener("paste",n.onPaste.bind(n));n.container=n.quill.addContainer("ql-clipboard");n.container.setAttribute("contenteditable",true);n.container.setAttribute("tabindex",-1);n.matchers=[];C.concat(n.options.matchers).forEach(function(e){var t=i(e,2),o=t[0],a=t[1];if(!r.matchVisual&&a===Y)return;n.addMatcher(o,a)});return n}o(t,[{key:"addMatcher",value:function e(t,r){this.matchers.push([t,r])}},{key:"convert",value:function e(t){if(typeof t==="string"){this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><");return this.convert()}var r=this.quill.getFormat(this.quill.selection.savedRange.index);if(r[O.default.blotName]){var n=this.container.innerText;this.container.innerHTML="";return(new s.default).insert(n,A({},O.default.blotName,r[O.default.blotName]))}var o=this.prepareMatching(),a=i(o,2),l=a[0],u=a[1];var f=F(this.container,l,u);if(D(f,"\n")&&f.ops[f.ops.length-1].attributes==null){f=f.compose((new s.default).retain(f.length()-1).delete(1))}S.log("convert",this.container.innerHTML,f);this.container.innerHTML="";return f}},{key:"dangerouslyPasteHTML",value:function e(t,r){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:p.default.sources.API;if(typeof t==="string"){this.quill.setContents(this.convert(t),r);this.quill.setSelection(0,p.default.sources.SILENT)}else{var i=this.convert(r);this.quill.updateContents((new s.default).retain(t).concat(i),n);this.quill.setSelection(t+i.length(),p.default.sources.SILENT)}}},{key:"onPaste",value:function e(t){var r=this;if(t.defaultPrevented||!this.quill.isEnabled())return;var n=this.quill.getSelection();var i=(new s.default).retain(n.index);var o=this.quill.scrollingContainer.scrollTop;this.container.focus();this.quill.selection.update(p.default.sources.SILENT);setTimeout(function(){i=i.concat(r.convert()).delete(n.length);r.quill.updateContents(i,p.default.sources.USER);r.quill.setSelection(i.length()-n.length,p.default.sources.SILENT);r.quill.scrollingContainer.scrollTop=o;r.quill.focus()},1)}},{key:"prepareMatching",value:function e(){var t=this;var r=[],n=[];this.matchers.forEach(function(e){var o=i(e,2),a=o[0],l=o[1];switch(a){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:r.push(l);break;default:[].forEach.call(t.container.querySelectorAll(a),function(e){e[P]=e[P]||[];e[P].push(l)});break}});return[r,n]}}]);return t}(b.default);R.DEFAULTS={matchers:[],matchVisual:true};function I(e,t,r){if((typeof t==="undefined"?"undefined":n(t))==="object"){return Object.keys(t).reduce(function(e,r){return I(e,r,t[r])},e)}else{return e.reduce(function(e,n){if(n.attributes&&n.attributes[t]){return e.push(n)}else{return e.insert(n.insert,(0,l.default)({},A({},t,r),n.attributes))}},new s.default)}}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function D(e,t){var r="";for(var n=e.ops.length-1;n>=0&&r.length<t.length;--n){var i=e.ops[n];if(typeof i.insert!=="string")break;r=i.insert+r}return r.slice(-1*t.length)===t}function U(e){if(e.childNodes.length===0)return false;var t=B(e);return["block","list-item"].indexOf(t.display)>-1}function F(e,t,r){if(e.nodeType===e.TEXT_NODE){return r.reduce(function(t,r){return r(e,t)},new s.default)}else if(e.nodeType===e.ELEMENT_NODE){return[].reduce.call(e.childNodes||[],function(n,i){var o=F(i,t,r);if(i.nodeType===e.ELEMENT_NODE){o=t.reduce(function(e,t){return t(i,e)},o);o=(i[P]||[]).reduce(function(e,t){return t(i,e)},o)}return n.concat(o)},new s.default)}else{return new s.default}}function z(e,t,r){return I(r,e,true)}function H(e,t){var r=c.default.Attributor.Attribute.keys(e);var n=c.default.Attributor.Class.keys(e);var i=c.default.Attributor.Style.keys(e);var o={};r.concat(n).concat(i).forEach(function(t){var r=c.default.query(t,c.default.Scope.ATTRIBUTE);if(r!=null){o[r.attrName]=r.value(e);if(o[r.attrName])return}r=L[t];if(r!=null&&(r.attrName===t||r.keyName===t)){o[r.attrName]=r.value(e)||undefined}r=M[t];if(r!=null&&(r.attrName===t||r.keyName===t)){r=M[t];o[r.attrName]=r.value(e)||undefined}});if(Object.keys(o).length>0){t=I(t,o)}return t}function K(e,t){var r=c.default.query(e);if(r==null)return t;if(r.prototype instanceof c.default.Embed){var n={};var i=r.value(e);if(i!=null){n[r.blotName]=i;t=(new s.default).insert(n,r.formats(e))}}else if(typeof r.formats==="function"){t=I(t,r.blotName,r.formats(e))}return t}function V(e,t){if(!D(t,"\n")){t.insert("\n")}return t}function W(){return new s.default}function Z(e,t){var r=c.default.query(e);if(r==null||r.blotName!=="list-item"||!D(t,"\n")){return t}var n=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard")){if((c.default.query(i)||{}).blotName==="list"){n+=1}i=i.parentNode}if(n<=0)return t;return t.compose((new s.default).retain(t.length()-1).retain(1,{indent:n}))}function G(e,t){if(!D(t,"\n")){if(U(e)||t.length()>0&&e.nextSibling&&U(e.nextSibling)){t.insert("\n")}}return t}function Y(e,t){if(U(e)&&e.nextElementSibling!=null&&!D(t,"\n\n")){var r=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);if(e.nextElementSibling.offsetTop>e.offsetTop+r*1.5){t.insert("\n")}}return t}function $(e,t){var r={};var n=e.style||{};if(n.fontStyle&&B(e).fontStyle==="italic"){r.italic=true}if(n.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)){r.bold=true}if(Object.keys(r).length>0){t=I(t,r)}if(parseFloat(n.textIndent||0)>0){t=(new s.default).insert("\t").concat(t)}return t}function X(e,t){var r=e.data;if(e.parentNode.tagName==="O:P"){return t.insert(r.trim())}if(r.trim().length===0&&e.parentNode.classList.contains("ql-clipboard")){return t}if(!B(e.parentNode).whiteSpace.startsWith("pre")){var n=function e(t,r){r=r.replace(/[^\u00a0]/g,"");return r.length<1&&t?" ":r};r=r.replace(/\r\n/g," ").replace(/\n/g," ");r=r.replace(/\s\s+/g,n.bind(n,true));if(e.previousSibling==null&&U(e.parentNode)||e.previousSibling!=null&&U(e.previousSibling)){r=r.replace(/^\s+/,n.bind(n,false))}if(e.nextSibling==null&&U(e.parentNode)||e.nextSibling!=null&&U(e.nextSibling)){r=r.replace(/\s+$/,n.bind(n,false))}}return t.insert(r)}t.default=R;t.matchAttributor=H;t.matchBlot=K;t.matchNewline=G;t.matchSpacing=Y;t.matchText=X},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(6);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"optimize",value:function e(r){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r);if(this.domNode.tagName!==this.statics.tagName[0]){this.replaceWith(this.statics.blotName)}}}],[{key:"create",value:function e(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function e(){return true}}]);return t}(a.default);c.blotName="bold";c.tagName=["STRONG","B"];t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addControls=t.default=undefined;var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=r(2);var a=v(o);var l=r(0);var u=v(l);var s=r(5);var f=v(s);var c=r(10);var d=v(c);var p=r(9);var h=v(p);function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function b(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function g(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function m(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var _=(0,d.default)("quill:toolbar");var O=function(e){m(t,e);function t(e,r){b(this,t);var i=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));if(Array.isArray(i.options.container)){var o=document.createElement("div");w(o,i.options.container);e.container.parentNode.insertBefore(o,e.container);i.container=o}else if(typeof i.options.container==="string"){i.container=document.querySelector(i.options.container)}else{i.container=i.options.container}if(!(i.container instanceof HTMLElement)){var a;return a=_.error("Container required for toolbar",i.options),g(i,a)}i.container.classList.add("ql-toolbar");i.controls=[];i.handlers={};Object.keys(i.options.handlers).forEach(function(e){i.addHandler(e,i.options.handlers[e])});[].forEach.call(i.container.querySelectorAll("button, select"),function(e){i.attach(e)});i.quill.on(f.default.events.EDITOR_CHANGE,function(e,t){if(e===f.default.events.SELECTION_CHANGE){i.update(t)}});i.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){var e=i.quill.selection.getRange(),t=n(e,1),r=t[0];i.update(r)});return i}i(t,[{key:"addHandler",value:function e(t,r){this.handlers[t]=r}},{key:"attach",value:function e(t){var r=this;var i=[].find.call(t.classList,function(e){return e.indexOf("ql-")===0});if(!i)return;i=i.slice("ql-".length);if(t.tagName==="BUTTON"){t.setAttribute("type","button")}if(this.handlers[i]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[i]==null){_.warn("ignoring attaching to disabled format",i,t);return}if(u.default.query(i)==null){_.warn("ignoring attaching to nonexistent format",i,t);return}}var o=t.tagName==="SELECT"?"change":"click";t.addEventListener(o,function(e){var o=void 0;if(t.tagName==="SELECT"){if(t.selectedIndex<0)return;var l=t.options[t.selectedIndex];if(l.hasAttribute("selected")){o=false}else{o=l.value||false}}else{if(t.classList.contains("ql-active")){o=false}else{o=t.value||!t.hasAttribute("value")}e.preventDefault()}r.quill.focus();var s=r.quill.selection.getRange(),c=n(s,1),d=c[0];if(r.handlers[i]!=null){r.handlers[i].call(r,o)}else if(u.default.query(i).prototype instanceof u.default.Embed){o=prompt("Enter "+i);if(!o)return;r.quill.updateContents((new a.default).retain(d.index).delete(d.length).insert(y({},i,o)),f.default.sources.USER)}else{r.quill.format(i,o,f.default.sources.USER)}r.update(d)});this.controls.push([i,t])}},{key:"update",value:function e(t){var r=t==null?{}:this.quill.getFormat(t);this.controls.forEach(function(e){var i=n(e,2),o=i[0],a=i[1];if(a.tagName==="SELECT"){var l=void 0;if(t==null){l=null}else if(r[o]==null){l=a.querySelector("option[selected]")}else if(!Array.isArray(r[o])){var u=r[o];if(typeof u==="string"){u=u.replace(/\"/g,'\\"')}l=a.querySelector('option[value="'+u+'"]')}if(l==null){a.value="";a.selectedIndex=-1}else{l.selected=true}}else{if(t==null){a.classList.remove("ql-active")}else if(a.hasAttribute("value")){var s=r[o]===a.getAttribute("value")||r[o]!=null&&r[o].toString()===a.getAttribute("value")||r[o]==null&&!a.getAttribute("value");a.classList.toggle("ql-active",s)}else{a.classList.toggle("ql-active",r[o]!=null)}}})}}]);return t}(h.default);O.DEFAULTS={};function x(e,t,r){var n=document.createElement("button");n.setAttribute("type","button");n.classList.add("ql-"+t);if(r!=null){n.value=r}e.appendChild(n)}function w(e,t){if(!Array.isArray(t[0])){t=[t]}t.forEach(function(t){var r=document.createElement("span");r.classList.add("ql-formats");t.forEach(function(e){if(typeof e==="string"){x(r,e)}else{var t=Object.keys(e)[0];var n=e[t];if(Array.isArray(n)){k(r,t,n)}else{x(r,t,n)}}});e.appendChild(r)})}function k(e,t,r){var n=document.createElement("select");n.classList.add("ql-"+t);r.forEach(function(e){var t=document.createElement("option");if(e!==false){t.setAttribute("value",e)}else{t.setAttribute("selected","selected")}n.appendChild(t)});e.appendChild(n)}O.DEFAULTS={container:null,handlers:{clean:function e(){var t=this;var r=this.quill.getSelection();if(r==null)return;if(r.length==0){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){if(u.default.query(e,u.default.Scope.INLINE)!=null){t.quill.format(e,false)}})}else{this.quill.removeFormat(r,f.default.sources.USER)}},direction:function e(t){var r=this.quill.getFormat()["align"];if(t==="rtl"&&r==null){this.quill.format("align","right",f.default.sources.USER)}else if(!t&&r==="right"){this.quill.format("align",false,f.default.sources.USER)}this.quill.format("direction",t,f.default.sources.USER)},indent:function e(t){var r=this.quill.getSelection();var n=this.quill.getFormat(r);var e=parseInt(n.indent||0);if(t==="+1"||t==="-1"){var i=t==="+1"?1:-1;if(n.direction==="rtl")i*=-1;this.quill.format("indent",e+i,f.default.sources.USER)}},link:function e(t){if(t===true){t=prompt("Enter link URL:")}this.quill.format("link",t,f.default.sources.USER)},list:function e(t){var r=this.quill.getSelection();var n=this.quill.getFormat(r);if(t==="check"){if(n["list"]==="checked"||n["list"]==="unchecked"){this.quill.format("list",false,f.default.sources.USER)}else{this.quill.format("list","unchecked",f.default.sources.USER)}}else{this.quill.format("list",t,f.default.sources.USER)}}}};t.default=O;t.addControls=w},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(28);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(e,r){u(this,t);var n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.label.innerHTML=r;n.container.classList.add("ql-color-picker");[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(e){e.classList.add("ql-primary")});return n}n(t,[{key:"buildItem",value:function e(r){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,r);n.style.backgroundColor=r.getAttribute("value")||"";return n}},{key:"selectItem",value:function e(r,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,r,n);var o=this.label.querySelector(".ql-color-label");var a=r?r.getAttribute("data-value")||"":"";if(o){if(o.tagName==="line"){o.style.stroke=a}else{o.style.fill=a}}}}]);return t}(a.default);t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(28);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(e,r){u(this,t);var n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.container.classList.add("ql-icon-picker");[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=r[e.getAttribute("data-value")||""]});n.defaultItem=n.container.querySelector(".ql-selected");n.selectItem(n.defaultItem);return n}n(t,[{key:"selectItem",value:function e(r,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,r,n);r=r||this.defaultItem;this.label.innerHTML=r.innerHTML}}]);return t}(a.default);t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();function i(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var o=function(){function e(t,r){var n=this;i(this,e);this.quill=t;this.boundsContainer=r||document.body;this.root=t.addContainer("ql-tooltip");this.root.innerHTML=this.constructor.TEMPLATE;if(this.quill.root===this.quill.scrollingContainer){this.quill.root.addEventListener("scroll",function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"})}this.hide()}n(e,[{key:"hide",value:function e(){this.root.classList.add("ql-hidden")}},{key:"position",value:function e(t){var r=t.left+t.width/2-this.root.offsetWidth/2;var n=this.quill.root.offsetWidth-this.root.offsetWidth>t.left?-10:10;var i=t.bottom+this.quill.root.scrollTop;this.root.style.left=r+n+"px";this.root.style.top=i+"px";this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect();var a=this.root.getBoundingClientRect();var l=0;if(a.right>o.right){l=o.right-a.right;this.root.style.left=r+l+"px"}if(a.left<o.left){l=o.left-a.left;this.root.style.left=r+l+"px"}if(a.bottom>o.bottom){var u=a.bottom-a.top;var s=t.bottom-t.top+u;this.root.style.top=i-s+"px";this.root.classList.add("ql-flip")}return l}},{key:"show",value:function e(){this.root.classList.remove("ql-editing");this.root.classList.remove("ql-hidden")}}]);return e}();t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){var r=[];var n=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),l;!(n=(l=a.next()).done);n=true){r.push(l.value);if(t&&r.length===t)break}}catch(e){i=true;o=e}finally{try{if(!n&&a["return"])a["return"]()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t)){return t}else if(Symbol.iterator in Object(t)){return e(t,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var a=r(3);var l=b(a);var u=r(8);var s=b(u);var f=r(43);var c=b(f);var d=r(27);var p=b(d);var h=r(15);var v=r(41);var y=b(v);function b(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function m(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function _(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var O=[[{header:["1","2","3",false]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];var x=function(e){_(t,e);function t(e,r){g(this,t);if(r.modules.toolbar!=null&&r.modules.toolbar.container==null){r.modules.toolbar.container=O}var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.quill.container.classList.add("ql-snow");return n}o(t,[{key:"extendToolbar",value:function e(t){t.container.classList.add("ql-snow");this.buildButtons([].slice.call(t.container.querySelectorAll("button")),y.default);this.buildPickers([].slice.call(t.container.querySelectorAll("select")),y.default);this.tooltip=new w(this.quill,this.options.bounds);if(t.container.querySelector(".ql-link")){this.quill.keyboard.addBinding({key:"K",shortKey:true},function(e,r){t.handlers["link"].call(t,!r.format.link)})}}}]);return t}(c.default);x.DEFAULTS=(0,l.default)(true,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function e(t){if(t){var r=this.quill.getSelection();if(r==null||r.length==0)return;var n=this.quill.getText(r);if(/^\S+@\S+\.\S+$/.test(n)&&n.indexOf("mailto:")!==0){n="mailto:"+n}var i=this.quill.theme.tooltip;i.edit("link",n)}else{this.quill.format("link",false)}}}}}});var w=function(e){_(t,e);function t(e,r){g(this,t);var n=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.preview=n.root.querySelector("a.ql-preview");return n}o(t,[{key:"listen",value:function e(){var r=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this);this.root.querySelector("a.ql-action").addEventListener("click",function(e){if(r.root.classList.contains("ql-editing")){r.save()}else{r.edit("link",r.preview.textContent)}e.preventDefault()});this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(r.linkRange!=null){var t=r.linkRange;r.restoreFocus();r.quill.formatText(t,"link",false,s.default.sources.USER);delete r.linkRange}e.preventDefault();r.hide()});this.quill.on(s.default.events.SELECTION_CHANGE,function(e,t,i){if(e==null)return;if(e.length===0&&i===s.default.sources.USER){var o=r.quill.scroll.descendant(p.default,e.index),a=n(o,2),l=a[0],u=a[1];if(l!=null){r.linkRange=new h.Range(e.index-u,l.length());var f=p.default.formats(l.domNode);r.preview.textContent=f;r.preview.setAttribute("href",f);r.show();r.position(r.quill.getBounds(r.linkRange));return}}else{delete r.linkRange}r.hide()})}},{key:"show",value:function e(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this);this.root.removeAttribute("data-mode")}}]);return t}(f.BaseTooltip);w.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://virtualmin.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join("");t.default=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(29);var i=re(n);var o=r(36);var a=r(38);var l=r(64);var u=r(65);var s=re(u);var f=r(66);var c=re(f);var d=r(67);var p=re(d);var h=r(37);var v=r(26);var y=r(39);var b=r(40);var g=r(56);var m=re(g);var _=r(68);var O=re(_);var x=r(27);var w=re(x);var k=r(69);var E=re(k);var j=r(70);var A=re(j);var N=r(71);var q=re(N);var T=r(72);var S=re(T);var P=r(73);var C=re(P);var L=r(13);var M=re(L);var R=r(74);var I=re(R);var B=r(75);var D=re(B);var U=r(57);var F=re(U);var z=r(41);var H=re(z);var K=r(28);var V=re(K);var W=r(59);var Z=re(W);var G=r(60);var Y=re(G);var $=r(61);var X=re($);var Q=r(108);var J=re(Q);var ee=r(62);var te=re(ee);function re(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":y.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":y.FontStyle,"attributors/style/size":b.SizeStyle},true);i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":l.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":y.FontClass,"formats/size":b.SizeClass,"formats/blockquote":s.default,"formats/code-block":M.default,"formats/header":c.default,"formats/list":p.default,"formats/bold":m.default,"formats/code":L.Code,"formats/italic":O.default,"formats/link":w.default,"formats/script":E.default,"formats/strike":A.default,"formats/underline":q.default,"formats/image":S.default,"formats/video":C.default,"formats/list/item":d.ListItem,"modules/formula":I.default,"modules/syntax":D.default,"modules/toolbar":F.default,"themes/bubble":J.default,"themes/snow":te.default,"ui/icons":H.default,"ui/picker":V.default,"ui/icon-picker":Y.default,"ui/color-picker":Z.default,"ui/tooltip":X.default},true);t.default=i.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IndentClass=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"add",value:function e(r,n){if(n==="+1"||n==="-1"){var o=this.value(r)||0;n=n==="+1"?o+1:o-1}if(n===0){this.remove(r);return true}else{return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,r,n)}}},{key:"canAdd",value:function e(r,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,r,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,r,parseInt(n))}},{key:"value",value:function e(r){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,r))||undefined}}]);return t}(a.default.Attributor.Class);var d=new c("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(4);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function l(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){u(t,e);function t(){a(this,t);return l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default);s.blotName="blockquote";s.tagName="blockquote";t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=r(4);var o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function u(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function s(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var f=function(e){s(t,e);function t(){l(this,t);return u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,null,[{key:"formats",value:function e(t){return this.tagName.indexOf(t.tagName)+1}}]);return t}(o.default);f.blotName="header";f.tagName=["H1","H2","H3","H4","H5","H6"];t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.ListItem=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=c(o);var l=r(4);var u=c(l);var s=r(25);var f=c(s);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function p(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function h(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function v(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var y=function(e){v(t,e);function t(){p(this,t);return h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"format",value:function e(r,n){if(r===b.blotName&&!n){this.replaceWith(a.default.create(this.statics.scope))}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,n)}}},{key:"remove",value:function e(){if(this.prev==null&&this.next==null){this.parent.remove()}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}}},{key:"replaceWith",value:function e(r,n){this.parent.isolate(this.offset(this.parent),this.length());if(r===this.parent.statics.blotName){this.parent.replaceWith(r,n);return this}else{this.parent.unwrap();return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,r,n)}}}],[{key:"formats",value:function e(r){return r.tagName===this.tagName?undefined:i(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,r)}}]);return t}(u.default);y.blotName="list-item";y.tagName="LI";var b=function(e){v(t,e);n(t,null,[{key:"create",value:function e(r){var n=r==="ordered"?"OL":"UL";var o=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);if(r==="checked"||r==="unchecked"){o.setAttribute("data-checked",r==="checked")}return o}},{key:"formats",value:function e(t){if(t.tagName==="OL")return"ordered";if(t.tagName==="UL"){if(t.hasAttribute("data-checked")){return t.getAttribute("data-checked")==="true"?"checked":"unchecked"}else{return"bullet"}}return undefined}}]);function t(e){p(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));var n=function t(n){if(n.target.parentNode!==e)return;var i=r.statics.formats(e);var o=a.default.find(n.target);if(i==="checked"){o.format("list","unchecked")}else if(i==="unchecked"){o.format("list","checked")}};e.addEventListener("touchstart",n);e.addEventListener("mousedown",n);return r}n(t,[{key:"format",value:function e(t,r){if(this.children.length>0){this.children.tail.format(t,r)}}},{key:"formats",value:function e(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function e(r,n){if(r instanceof y){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,r,n)}else{var o=n==null?this.length():n.offset(this);var a=this.split(o);a.parent.insertBefore(r,a)}}},{key:"optimize",value:function e(r){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,r);var n=this.next;if(n!=null&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")){n.moveChildren(this);n.remove()}}},{key:"replace",value:function e(r){if(r.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);r.moveChildren(n);this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,r)}}]);return t}(f.default);b.blotName="list";b.scope=a.default.Scope.BLOCK_BLOT;b.tagName=["OL","UL"];b.defaultChild="list-item";b.allowedChildren=[y];t.ListItem=y;t.default=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(56);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function l(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){u(t,e);function t(){a(this,t);return l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default);s.blotName="italic";s.tagName=["EM","I"];t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(6);var a=l(o);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function s(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var c=function(e){f(t,e);function t(){u(this,t);return s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,null,[{key:"create",value:function e(r){if(r==="super"){return document.createElement("sup")}else if(r==="sub"){return document.createElement("sub")}else{return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r)}}},{key:"formats",value:function e(t){if(t.tagName==="SUB")return"sub";if(t.tagName==="SUP")return"super";return undefined}}]);return t}(a.default);c.blotName="script";c.tagName=["SUB","SUP"];t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function l(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){u(t,e);function t(){a(this,t);return l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default);s.blotName="strike";s.tagName="S";t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6);var i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function l(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var s=function(e){u(t,e);function t(){a(this,t);return l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return t}(i.default);s.blotName="underline";s.tagName="U";t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=u(o);var l=r(27);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function f(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function c(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var d=["alt","height","width"];var p=function(e){c(t,e);function t(){s(this,t);return f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"format",value:function e(r,n){if(d.indexOf(r)>-1){if(n){this.domNode.setAttribute(r,n)}else{this.domNode.removeAttribute(r)}}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,n)}}}],[{key:"create",value:function e(r){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r);if(typeof r==="string"){n.setAttribute("src",this.sanitize(r))}return n}},{key:"formats",value:function e(t){return d.reduce(function(e,r){if(t.hasAttribute(r)){e[r]=t.getAttribute(r)}return e},{})}},{key:"match",value:function e(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function e(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function e(t){return t.getAttribute("src")}}]);return t}(a.default.Embed);p.blotName="image";p.tagName="IMG";t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(4);var a=r(27);var l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function f(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function c(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var d=["height","width"];var p=function(e){c(t,e);function t(){s(this,t);return f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"format",value:function e(r,n){if(d.indexOf(r)>-1){if(n){this.domNode.setAttribute(r,n)}else{this.domNode.removeAttribute(r)}}else{i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,r,n)}}}],[{key:"create",value:function e(r){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r);n.setAttribute("frameborder","0");n.setAttribute("allowfullscreen",true);n.setAttribute("src",this.sanitize(r));return n}},{key:"formats",value:function e(t){return d.reduce(function(e,r){if(t.hasAttribute(r)){e[r]=t.getAttribute(r)}return e},{})}},{key:"sanitize",value:function e(t){return l.default.sanitize(t)}},{key:"value",value:function e(t){return t.getAttribute("src")}}]);return t}(o.BlockEmbed);p.blotName="video";p.className="ql-video";p.tagName="IFRAME";t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.FormulaBlot=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(35);var a=c(o);var l=r(5);var u=c(l);var s=r(9);var f=c(s);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function p(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function h(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var v=function(e){h(t,e);function t(){d(this,t);return p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,null,[{key:"create",value:function e(r){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,r);if(typeof r==="string"){window.katex.render(r,n,{throwOnError:false,errorColor:"#f00"});n.setAttribute("data-value",r)}return n}},{key:"value",value:function e(t){return t.getAttribute("data-value")}}]);return t}(a.default);v.blotName="formula";v.className="ql-formula";v.tagName="SPAN";var y=function(e){h(t,e);n(t,null,[{key:"register",value:function e(){u.default.register(v,true)}}]);function t(){d(this,t);var e=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(window.katex==null){throw new Error("Formula module requires KaTeX.")}return e}return t}(f.default);t.FormulaBlot=v;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.CodeToken=t.CodeBlock=undefined;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var i=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var o=r(0);var a=p(o);var l=r(5);var u=p(l);var s=r(9);var f=p(s);var c=r(13);var d=p(c);function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function v(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function y(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var b=function(e){y(t,e);function t(){h(this,t);return v(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}n(t,[{key:"replaceWith",value:function e(r){this.domNode.textContent=this.domNode.textContent;this.attach();i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,r)}},{key:"highlight",value:function e(t){var r=this.domNode.textContent;if(this.cachedText!==r){if(r.trim().length>0||this.cachedText==null){this.domNode.innerHTML=t(r);this.domNode.normalize();this.attach()}this.cachedText=r}}}]);return t}(d.default);b.className="ql-syntax";var g=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE});var m=function(e){y(t,e);n(t,null,[{key:"register",value:function e(){u.default.register(g,true);u.default.register(b,true)}}]);function t(e,r){h(this,t);var n=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));if(typeof n.options.highlight!=="function"){throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.")}var i=null;n.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(i);i=setTimeout(function(){n.highlight();i=null},n.options.interval)});n.highlight();return n}n(t,[{key:"highlight",value:function e(){var t=this;if(this.quill.selection.composing)return;this.quill.update(u.default.sources.USER);var r=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)});this.quill.update(u.default.sources.SILENT);if(r!=null){this.quill.setSelection(r,u.default.sources.SILENT)}}}]);return t}(f.default);m.DEFAULTS={highlight:function(){if(window.hljs==null)return null;return function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3};t.CodeBlock=b;t.CodeToken=g;t.default=m},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.BubbleTooltip=undefined;var n=function e(t,r,n){if(t===null)t=Function.prototype;var i=Object.getOwnPropertyDescriptor(t,r);if(i===undefined){var o=Object.getPrototypeOf(t);if(o===null){return undefined}else{return e(o,r,n)}}else if("value"in i){return i.value}else{var a=i.get;if(a===undefined){return undefined}return a.call(n)}};var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();var o=r(3);var a=h(o);var l=r(8);var u=h(l);var s=r(43);var f=h(s);var c=r(15);var d=r(41);var p=h(d);function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function y(e,t){if(!e){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t&&(typeof t==="object"||typeof t==="function")?t:e}function b(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof t)}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}});if(t)Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}var g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];var m=function(e){b(t,e);function t(e,r){v(this,t);if(r.modules.toolbar!=null&&r.modules.toolbar.container==null){r.modules.toolbar.container=g}var n=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.quill.container.classList.add("ql-bubble");return n}i(t,[{key:"extendToolbar",value:function e(t){this.tooltip=new _(this.quill,this.options.bounds);this.tooltip.root.appendChild(t.container);this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default);this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]);return t}(f.default);m.DEFAULTS=(0,a.default)(true,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function e(t){if(!t){this.quill.format("link",false)}else{this.quill.theme.tooltip.edit()}}}}}});var _=function(e){b(t,e);function t(e,r){v(this,t);var n=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));n.quill.on(u.default.events.EDITOR_CHANGE,function(e,t,r,i){if(e!==u.default.events.SELECTION_CHANGE)return;if(t!=null&&t.length>0&&i===u.default.sources.USER){n.show();n.root.style.left="0px";n.root.style.width="";n.root.style.width=n.root.offsetWidth+"px";var o=n.quill.getLines(t.index,t.length);if(o.length===1){n.position(n.quill.getBounds(t))}else{var a=o[o.length-1];var l=n.quill.getIndex(a);var s=Math.min(a.length()-1,t.index+t.length-l);var f=n.quill.getBounds(new c.Range(l,s));n.position(f)}}else if(document.activeElement!==n.textbox&&n.quill.hasFocus()){n.hide()}});return n}i(t,[{key:"listen",value:function e(){var r=this;n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this);this.root.querySelector(".ql-close").addEventListener("click",function(){r.root.classList.remove("ql-editing")});this.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(r.root.classList.contains("ql-hidden"))return;var e=r.quill.getSelection();if(e!=null){r.position(r.quill.getBounds(e))}},1)})}},{key:"cancel",value:function e(){this.show()}},{key:"position",value:function e(r){var i=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,r);var o=this.root.querySelector(".ql-tooltip-arrow");o.style.marginLeft="";if(i===0)return i;o.style.marginLeft=-1*i-o.offsetWidth/2+"px"}}]);return t}(s.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join("");t.BubbleTooltip=_;t.default=m},function(e,t,r){e.exports=r(63)}])["default"]});
/*
 * Quill Image Drop v1.0.3 (https://github.com/kensnyder/quill-image-drop-module)
 * Copyright 2017 Ken Snyder
 * Licensed under MIT
 */"use strict";function _instanceof(e,t){if(t!=null&&typeof Symbol!=="undefined"&&t[Symbol.hasInstance]){return!!t[Symbol.hasInstance](e)}else{return e instanceof t}}(function(){var e={};"use strict";Object.defineProperty(e,"__esModule",{value:true});var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}return function(t,r,n){if(r)e(t.prototype,r);if(n)e(t,n);return t}}();function r(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var n=e.ImageDrop=function(){function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};r(this,e);this.quill=t;this.handleDrop=this.handleDrop.bind(this);this.handlePaste=this.handlePaste.bind(this);this.quill.root.addEventListener("drop",this.handleDrop,false);this.quill.root.addEventListener("paste",this.handlePaste,false)}t(e,[{key:"handleDrop",value:function e(t){t.preventDefault();if(t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length){if(document.caretRangeFromPoint){var r=document.getSelection();var n=document.caretRangeFromPoint(t.clientX,t.clientY);r.setBaseAndExtent(n.startContainer,n.startOffset,n.startContainer,n.startOffset)}this.readFiles(t.dataTransfer.files,this.insert.bind(this))}}},{key:"handlePaste",value:function e(t){var r=this;if(t.clipboardData&&t.clipboardData.items&&t.clipboardData.items.length){this.readFiles(t.clipboardData.items,function(e){var t=r.quill.getSelection();if(t){}else{setTimeout(function(){return r.insert(e)},0)}})}}},{key:"insert",value:function e(t){var r=(this.quill.getSelection()||{}).index||this.quill.getLength();this.quill.insertEmbed(r,"image",t,"user")}},{key:"readFiles",value:function e(t,r){[].forEach.call(t,function(e){if(!e.type.match(/^image\/(gif|jpe?g|a?png|svg|webp|bmp|vnd\.microsoft\.icon)/i)){return}var t=new FileReader;t.onload=function(e){r(e.target.result)};var n=e.getAsFile?e.getAsFile():e;if(n instanceof Blob){t.readAsDataURL(n)}})}}]);return e}();window.Quill.register("modules/imageDrop",e.ImageDrop)})();
/*!
 * Quill Image Resize v3.0.0 (https://github.com/kensnyder/quill-image-resize-module)
 * Copyright 2018 Ken Snyder
 * Licensed under MIT (https://github.com/kensnyder/quill-image-resize-module/blob/master/LICENSE)
 */!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ImageResize=t():e.ImageResize=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=38)}([function(e,t){function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=r},function(e,t,r){var n=r(22),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t){function r(e){return null!=e&&"object"==typeof e}e.exports=r},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=r(75),o=r(76),a=r(77),l=r(78),u=r(79);n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=a,n.prototype.has=l,n.prototype.set=u,e.exports=n},function(e,t,r){function n(e,t){for(var r=e.length;r--;)if(i(e[r][0],t))return r;return-1}var i=r(8);e.exports=n},function(e,t,r){function n(e){return null==e?void 0===e?u:l:s&&s in Object(e)?o(e):a(e)}var i=r(16),o=r(64),a=r(87),l="[object Null]",u="[object Undefined]",s=i?i.toStringTag:void 0;e.exports=n},function(e,t,r){function n(e,t){var r=e.__data__;return i(t)?r["string"==typeof t?"string":"hash"]:r.map}var i=r(73);e.exports=n},function(e,t,r){var n=r(11),i=n(Object,"create");e.exports=i},function(e,t){function r(e,t){return e===t||e!==e&&t!==t}e.exports=r},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",function(){return i});var i=function e(t){n(this,e),this.onCreate=function(){},this.onDestroy=function(){},this.onUpdate=function(){},this.overlay=t.overlay,this.img=t.img,this.options=t.options,this.requestUpdate=t.onUpdate}},function(e,t,r){function n(e,t,r){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var i=r(21);e.exports=n},function(e,t,r){function n(e,t){var r=o(e,t);return i(r)?r:void 0}var i=r(48),o=r(65);e.exports=n},function(e,t,r){function n(e){return null!=e&&o(e.length)&&!i(e)}var i=r(13),o=r(30);e.exports=n},function(e,t,r){function n(e){if(!o(e))return!1;var t=i(e);return t==l||t==u||t==a||t==s}var i=r(5),o=r(0),a="[object AsyncFunction]",l="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(11),i=r(1),o=n(i,"Map");e.exports=o},function(e,t,r){var n=r(1),i=n.Symbol;e.exports=i},function(e,t){function r(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}e.exports=r},function(e,t,r){function n(e,t,r){(void 0===r||o(e[t],r))&&(void 0!==r||t in e)||i(e,t,r)}var i=r(10),o=r(8);e.exports=n},function(e,t,r){function n(e,t,r,f,c){e!==t&&a(t,function(a,s){if(u(a))c||(c=new i),l(e,t,s,r,n,f,c);else{var d=f?f(e[s],a,s+"",e,t,c):void 0;void 0===d&&(d=a),o(e,s,d)}},s)}var i=r(41),o=r(18),a=r(46),l=r(51),u=r(0),s=r(32);e.exports=n},function(e,t,r){function n(e,t){return a(o(e,t,i),e+"")}var i=r(26),o=r(89),a=r(90);e.exports=n},function(e,t,r){var n=r(11),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(t,r(107))},function(e,t,r){var n=r(88),i=n(Object.getPrototypeOf,Object);e.exports=i},function(e,t){function r(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||i.test(e))&&e>-1&&e%1==0&&e<t}var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;e.exports=r},function(e,t){function r(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}var n=Object.prototype;e.exports=r},function(e,t){function r(e){return e}e.exports=r},function(e,t,r){var n=r(47),i=r(2),o=Object.prototype,a=o.hasOwnProperty,l=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){(function(e){var n=r(1),i=r(102),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=a&&a.exports===o,u=l?n.Buffer:void 0,s=u?u.isBuffer:void 0,f=s||i;e.exports=f}).call(t,r(14)(e))},function(e,t){function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}var n=9007199254740991;e.exports=r},function(e,t,r){var n=r(49),i=r(54),o=r(86),a=o&&o.isTypedArray,l=a?i(a):n;e.exports=l},function(e,t,r){function n(e){return a(e)?i(e,!0):o(e)}var i=r(43),o=r(50),a=r(12);e.exports=n},function(e,t,r){"use strict";t.a={modules:["DisplaySize","Toolbar","Resize"],overlayStyles:{position:"absolute",boxSizing:"border-box",border:"1px dashed #444"},handleStyles:{position:"absolute",height:"12px",width:"12px",backgroundColor:"white",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80"},displayStyles:{position:"absolute",font:"12px/1.0 Arial, Helvetica, sans-serif",padding:"4px 8px",textAlign:"center",backgroundColor:"white",color:"#333",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80",cursor:"default"},toolbarStyles:{position:"absolute",top:"-12px",right:"0",left:"0",height:"0",minWidth:"100px",font:"12px/1.0 Arial, Helvetica, sans-serif",textAlign:"center",color:"#333",boxSizing:"border-box",cursor:"default"},toolbarButtonStyles:{display:"inline-block",width:"24px",height:"24px",background:"white",border:"1px solid #999",verticalAlign:"middle"},toolbarButtonSvgStyles:{fill:"#444",stroke:"#444",strokeWidth:"2"}}},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=r(9);r.d(t,"a",function(){return l});var l=function(e){function t(){var e,r,o,a;n(this,t);for(var l=arguments.length,u=Array(l),s=0;s<l;s++)u[s]=arguments[s];return r=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.onCreate=function(){o.display=document.createElement("div"),Object.assign(o.display.style,o.options.displayStyles),o.overlay.appendChild(o.display)},o.onDestroy=function(){},o.onUpdate=function(){if(o.display&&o.img){var e=o.getCurrentSize();if(o.display.innerHTML=e.join(" &times; "),e[0]>120&&e[1]>30)Object.assign(o.display.style,{right:"4px",bottom:"4px",left:"auto"});else if("right"==o.img.style.float){var t=o.display.getBoundingClientRect();Object.assign(o.display.style,{right:"auto",bottom:"-"+(t.height+4)+"px",left:"-"+(t.width+4)+"px"})}else{var r=o.display.getBoundingClientRect();Object.assign(o.display.style,{right:"-"+(r.width+4)+"px",bottom:"-"+(r.height+4)+"px",left:"auto"})}}},o.getCurrentSize=function(){return[o.img.width,Math.round(o.img.width/o.img.naturalWidth*o.img.naturalHeight)]},a=r,i(o,a)}return o(t,e),t}(a.a)},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=r(9);r.d(t,"a",function(){return l});var l=function(e){function t(){var e,r,o,a;n(this,t);for(var l=arguments.length,u=Array(l),s=0;s<l;s++)u[s]=arguments[s];return r=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.onCreate=function(){o.boxes=[],o.addBox("nwse-resize"),o.addBox("nesw-resize"),o.addBox("nwse-resize"),o.addBox("nesw-resize"),o.positionBoxes()},o.onDestroy=function(){o.setCursor("")},o.positionBoxes=function(){var e=-parseFloat(o.options.handleStyles.width)/2+"px",t=-parseFloat(o.options.handleStyles.height)/2+"px";[{left:e,top:t},{right:e,top:t},{right:e,bottom:t},{left:e,bottom:t}].forEach(function(e,t){Object.assign(o.boxes[t].style,e)})},o.addBox=function(e){var t=document.createElement("div");Object.assign(t.style,o.options.handleStyles),t.style.cursor=e,t.style.width=o.options.handleStyles.width+"px",t.style.height=o.options.handleStyles.height+"px",t.addEventListener("mousedown",o.handleMousedown,!1),o.overlay.appendChild(t),o.boxes.push(t)},o.handleMousedown=function(e){o.dragBox=e.target,o.dragStartX=e.clientX,o.preDragWidth=o.img.width||o.img.naturalWidth,o.setCursor(o.dragBox.style.cursor),document.addEventListener("mousemove",o.handleDrag,!1),document.addEventListener("mouseup",o.handleMouseup,!1)},o.handleMouseup=function(){o.setCursor(""),document.removeEventListener("mousemove",o.handleDrag),document.removeEventListener("mouseup",o.handleMouseup)},o.handleDrag=function(e){if(o.img){var t=e.clientX-o.dragStartX;o.dragBox===o.boxes[0]||o.dragBox===o.boxes[3]?o.img.width=Math.round(o.preDragWidth-t):o.img.width=Math.round(o.preDragWidth+t),o.requestUpdate()}},o.setCursor=function(e){[document.body,o.img].forEach(function(t){t.style.cursor=e})},a=r,i(o,a)}return o(t,e),t}(a.a)},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=r(105),l=r.n(a),u=r(104),s=r.n(u),f=r(106),c=r.n(f),d=r(9);r.d(t,"a",function(){return b});var p=window.Quill.imports.parchment,h=new p.Attributor.Style("float","float"),v=new p.Attributor.Style("margin","margin"),y=new p.Attributor.Style("display","display"),b=function(e){function t(){var e,r,o,a;n(this,t);for(var u=arguments.length,f=Array(u),d=0;d<u;d++)f[d]=arguments[d];return r=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),o.onCreate=function(){o.toolbar=document.createElement("div"),Object.assign(o.toolbar.style,o.options.toolbarStyles),o.overlay.appendChild(o.toolbar),o._defineAlignments(),o._addToolbarButtons()},o.onDestroy=function(){},o.onUpdate=function(){},o._defineAlignments=function(){o.alignments=[{icon:l.a,apply:function(){y.add(o.img,"inline"),h.add(o.img,"left"),v.add(o.img,"0 1em 1em 0")},isApplied:function(){return"left"==h.value(o.img)}},{icon:s.a,apply:function(){y.add(o.img,"block"),h.remove(o.img),v.add(o.img,"auto")},isApplied:function(){return"auto"==v.value(o.img)}},{icon:c.a,apply:function(){y.add(o.img,"inline"),h.add(o.img,"right"),v.add(o.img,"0 0 1em 1em")},isApplied:function(){return"right"==h.value(o.img)}}]},o._addToolbarButtons=function(){var e=[];o.alignments.forEach(function(t,r){var n=document.createElement("span");e.push(n),n.innerHTML=t.icon,n.addEventListener("click",function(){e.forEach(function(e){return e.style.filter=""}),t.isApplied()?(h.remove(o.img),v.remove(o.img),y.remove(o.img)):(o._selectButton(n),t.apply()),o.requestUpdate()}),Object.assign(n.style,o.options.toolbarButtonStyles),r>0&&(n.style.borderLeftWidth="0"),Object.assign(n.children[0].style,o.options.toolbarButtonSvgStyles),t.isApplied()&&o._selectButton(n),o.toolbar.appendChild(n)})},o._selectButton=function(e){e.style.filter="invert(20%)"},a=r,i(o,a)}return o(t,e),t}(d.a)},function(e,t,r){var n=r(17),i=r(20),o=r(63),a=r(101),l=i(function(e){return e.push(void 0,o),n(a,void 0,e)});e.exports=l},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=r(37),o=r.n(i),a=r(33),l=r(34),u=r(36),s=r(35),f={DisplaySize:l.a,Toolbar:u.a,Resize:s.a},c=function e(t){var r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.initializeModules=function(){r.removeModules(),r.modules=r.moduleClasses.map(function(e){return new(f[e]||e)(r)}),r.modules.forEach(function(e){e.onCreate()}),r.onUpdate()},this.onUpdate=function(){r.repositionElements(),r.modules.forEach(function(e){e.onUpdate()})},this.removeModules=function(){r.modules.forEach(function(e){e.onDestroy()}),r.modules=[]},this.handleClick=function(e){if(e.target&&e.target.tagName&&"IMG"===e.target.tagName.toUpperCase()){if(r.img===e.target)return;r.img&&r.hide(),r.show(e.target)}else r.img&&r.hide()},this.show=function(e){r.img=e,r.showOverlay(),r.initializeModules()},this.showOverlay=function(){r.overlay&&r.hideOverlay(),r.quill.setSelection(null),r.setUserSelect("none"),document.addEventListener("keyup",r.checkImage,!0),r.quill.root.addEventListener("input",r.checkImage,!0),r.overlay=document.createElement("div"),Object.assign(r.overlay.style,r.options.overlayStyles),r.quill.root.parentNode.appendChild(r.overlay),r.repositionElements()},this.hideOverlay=function(){r.overlay&&(r.quill.root.parentNode.removeChild(r.overlay),r.overlay=void 0,document.removeEventListener("keyup",r.checkImage),r.quill.root.removeEventListener("input",r.checkImage),r.setUserSelect(""))},this.repositionElements=function(){if(r.overlay&&r.img){var e=r.quill.root.parentNode,t=r.img.getBoundingClientRect(),n=e.getBoundingClientRect();Object.assign(r.overlay.style,{left:t.left-n.left-1+e.scrollLeft+"px",top:t.top-n.top+e.scrollTop+"px",width:t.width+"px",height:t.height+"px"})}},this.hide=function(){r.hideOverlay(),r.removeModules(),r.img=void 0},this.setUserSelect=function(e){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(t){r.quill.root.style[t]=e,document.documentElement.style[t]=e})},this.checkImage=function(e){r.img&&(46!=e.keyCode&&8!=e.keyCode||window.Quill.find(r.img).deleteAt(0),r.hide())},this.quill=t;var l=!1;i.modules&&(l=i.modules.slice()),this.options=o()({},i,a.a),l!==!1&&(this.options.modules=l),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};t.default=c,window.Quill&&window.Quill.register("modules/imageResize",c)},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=r(66),o=r(67),a=r(68),l=r(69),u=r(70);n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=a,n.prototype.has=l,n.prototype.set=u,e.exports=n},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var i=r(80),o=r(81),a=r(82),l=r(83),u=r(84);n.prototype.clear=i,n.prototype.delete=o,n.prototype.get=a,n.prototype.has=l,n.prototype.set=u,e.exports=n},function(e,t,r){function n(e){var t=this.__data__=new i(e);this.size=t.size}var i=r(3),o=r(92),a=r(93),l=r(94),u=r(95),s=r(96);n.prototype.clear=o,n.prototype.delete=a,n.prototype.get=l,n.prototype.has=u,n.prototype.set=s,e.exports=n},function(e,t,r){var n=r(1),i=n.Uint8Array;e.exports=i},function(e,t,r){function n(e,t){var r=a(e),n=!r&&o(e),f=!r&&!n&&l(e),d=!r&&!n&&!f&&s(e),p=r||n||f||d,h=p?i(e.length,String):[],v=h.length;for(var y in e)!t&&!c.call(e,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,v))||h.push(y);return h}var i=r(53),o=r(27),a=r(28),l=r(29),u=r(24),s=r(31),f=Object.prototype,c=f.hasOwnProperty;e.exports=n},function(e,t,r){function n(e,t,r){var n=e[t];l.call(e,t)&&o(n,r)&&(void 0!==r||t in e)||i(e,t,r)}var i=r(10),o=r(8),a=Object.prototype,l=a.hasOwnProperty;e.exports=n},function(e,t,r){var n=r(0),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(62),i=n();e.exports=i},function(e,t,r){function n(e){return o(e)&&i(e)==a}var i=r(5),o=r(2),a="[object Arguments]";e.exports=n},function(e,t,r){function n(e){return!(!a(e)||o(e))&&(i(e)?p:u).test(l(e))}var i=r(13),o=r(74),a=r(0),l=r(97),u=/^\[object .+?Constructor\]$/,s=Function.prototype,f=Object.prototype,c=s.toString,d=f.hasOwnProperty,p=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=n},function(e,t,r){function n(e){return a(e)&&o(e.length)&&!!l[i(e)]}var i=r(5),o=r(30),a=r(2),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=n},function(e,t,r){function n(e){if(!i(e))return a(e);var t=o(e),r=[];for(var n in e)("constructor"!=n||!t&&u.call(e,n))&&r.push(n);return r}var i=r(0),o=r(25),a=r(85),l=Object.prototype,u=l.hasOwnProperty;e.exports=n},function(e,t,r){function n(e,t,r,n,g,m,_){var O=e[r],x=t[r],w=_.get(x);if(w)return void i(e,r,w);var k=m?m(O,x,r+"",e,t,_):void 0,E=void 0===k;if(E){var j=f(x),A=!j&&d(x),N=!j&&!A&&y(x);k=x,j||A||N?f(O)?k=O:c(O)?k=l(O):A?(E=!1,k=o(x,!0)):N?(E=!1,k=a(x,!0)):k=[]:v(x)||s(x)?(k=O,s(O)?k=b(O):(!h(O)||n&&p(O))&&(k=u(x))):E=!1}E&&(_.set(x,k),g(k,x,n,m,_),_.delete(x)),i(e,r,k)}var i=r(18),o=r(56),a=r(57),l=r(58),u=r(71),s=r(27),f=r(28),c=r(99),d=r(29),p=r(13),h=r(0),v=r(100),y=r(31),b=r(103);e.exports=n},function(e,t,r){var n=r(98),i=r(21),o=r(26),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},function(e,t){function r(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}e.exports=r},function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},function(e,t,r){function n(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}var i=r(42);e.exports=n},function(e,t,r){(function(e){function n(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}var i=r(1),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=a&&a.exports===o,u=l?i.Buffer:void 0,s=u?u.allocUnsafe:void 0;e.exports=n}).call(t,r(14)(e))},function(e,t,r){function n(e,t){var r=t?i(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var i=r(55);e.exports=n},function(e,t){function r(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}e.exports=r},function(e,t,r){function n(e,t,r,n){var a=!r;r||(r={});for(var l=-1,u=t.length;++l<u;){var s=t[l],f=n?n(r[s],e[s],s,r,e):void 0;void 0===f&&(f=e[s]),a?o(r,s,f):i(r,s,f)}return r}var i=r(44),o=r(10);e.exports=n},function(e,t,r){var n=r(1),i=n["__core-js_shared__"];e.exports=i},function(e,t,r){function n(e){return i(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,l=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,l&&o(r[0],r[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var u=r[n];u&&e(t,u,n,a)}return t})}var i=r(20),o=r(72);e.exports=n},function(e,t){function r(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),l=a.length;l--;){var u=a[e?l:++i];if(r(o[u],u,o)===!1)break}return t}}e.exports=r},function(e,t,r){function n(e,t,r,a,l,u){return o(e)&&o(t)&&(u.set(t,e),i(e,t,void 0,n,u),u.delete(t)),e}var i=r(19),o=r(0);e.exports=n},function(e,t,r){function n(e){var t=a.call(e,u),r=e[u];try{e[u]=void 0}catch(e){}var n=l.call(e);return t?e[u]=r:delete e[u],n}var i=r(16),o=Object.prototype,a=o.hasOwnProperty,l=o.toString,u=i?i.toStringTag:void 0;e.exports=n},function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},function(e,t,r){function n(){this.__data__=i?i(null):{},this.size=0}var i=r(7);e.exports=n},function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},function(e,t,r){function n(e){var t=this.__data__;if(i){var r=t[e];return r===o?void 0:r}return l.call(t,e)?t[e]:void 0}var i=r(7),o="__lodash_hash_undefined__",a=Object.prototype,l=a.hasOwnProperty;e.exports=n},function(e,t,r){function n(e){var t=this.__data__;return i?void 0!==t[e]:a.call(t,e)}var i=r(7),o=Object.prototype,a=o.hasOwnProperty;e.exports=n},function(e,t,r){function n(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=i&&void 0===t?o:t,this}var i=r(7),o="__lodash_hash_undefined__";e.exports=n},function(e,t,r){function n(e){return"function"!=typeof e.constructor||a(e)?{}:i(o(e))}var i=r(45),o=r(23),a=r(25);e.exports=n},function(e,t,r){function n(e,t,r){if(!l(r))return!1;var n=typeof t;return!!("number"==n?o(r)&&a(t,r.length):"string"==n&&t in r)&&i(r[t],e)}var i=r(8),o=r(12),a=r(24),l=r(0);e.exports=n},function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},function(e,t,r){function n(e){return!!o&&o in e}var i=r(60),o=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=n},function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},function(e,t,r){function n(e){var t=this.__data__,r=i(t,e);return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)}var i=r(4),o=Array.prototype,a=o.splice;e.exports=n},function(e,t,r){function n(e){var t=this.__data__,r=i(t,e);return r<0?void 0:t[r][1]}var i=r(4);e.exports=n},function(e,t,r){function n(e){return i(this.__data__,e)>-1}var i=r(4);e.exports=n},function(e,t,r){function n(e,t){var r=this.__data__,n=i(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var i=r(4);e.exports=n},function(e,t,r){function n(){this.size=0,this.__data__={hash:new i,map:new(a||o),string:new i}}var i=r(39),o=r(3),a=r(15);e.exports=n},function(e,t,r){function n(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}var i=r(6);e.exports=n},function(e,t,r){function n(e){return i(this,e).get(e)}var i=r(6);e.exports=n},function(e,t,r){function n(e){return i(this,e).has(e)}var i=r(6);e.exports=n},function(e,t,r){function n(e,t){var r=i(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var i=r(6);e.exports=n},function(e,t){function r(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}e.exports=r},function(e,t,r){(function(e){var n=r(22),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,l=a&&n.process,u=function(){try{return l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=u}).call(t,r(14)(e))},function(e,t){function r(e){return i.call(e)}var n=Object.prototype,i=n.toString;e.exports=r},function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},function(e,t,r){function n(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var n=arguments,a=-1,l=o(n.length-t,0),u=Array(l);++a<l;)u[a]=n[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=n[a];return s[t]=r(u),i(e,this,s)}}var i=r(17),o=Math.max;e.exports=n},function(e,t,r){var n=r(52),i=r(91),o=i(n);e.exports=o},function(e,t){function r(e){var t=0,r=0;return function(){var a=o(),l=i-(a-r);if(r=a,l>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var n=800,i=16,o=Date.now;e.exports=r},function(e,t,r){function n(){this.__data__=new i,this.size=0}var i=r(3);e.exports=n},function(e,t){function r(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}e.exports=r},function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},function(e,t,r){function n(e,t){var r=this.__data__;if(r instanceof i){var n=r.__data__;if(!o||n.length<l-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(n)}return r.set(e,t),this.size=r.size,this}var i=r(3),o=r(15),a=r(40),l=200;e.exports=n},function(e,t){function r(e){if(null!=e){try{return i.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var n=Function.prototype,i=n.toString;e.exports=r},function(e,t){function r(e){return function(){return e}}e.exports=r},function(e,t,r){function n(e){return o(e)&&i(e)}var i=r(12),o=r(2);e.exports=n},function(e,t,r){function n(e){if(!a(e)||i(e)!=l)return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&f.call(r)==d}var i=r(5),o=r(23),a=r(2),l="[object Object]",u=Function.prototype,s=Object.prototype,f=u.toString,c=s.hasOwnProperty,d=f.call(Object);e.exports=n},function(e,t,r){var n=r(19),i=r(61),o=i(function(e,t,r,i){n(e,t,r,i)});e.exports=o},function(e,t){function r(){return!1}e.exports=r},function(e,t,r){function n(e){return i(e,o(e))}var i=r(59),o=r(32);e.exports=n},function(e,t){e.exports='<svg viewbox="0 0 18 18">\n  <line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"></line>\n  <line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"></line>\n  <line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"></line>\n</svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18">\n  <line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"></line>\n  <line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"></line>\n  <line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"></line>\n</svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18">\n  <line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"></line>\n  <line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"></line>\n  <line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"></line>\n</svg>'},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r}])});

Anon7 - 2022
SCDN GOK