PageSourceSearch

https://shopify.one.store/app/scripts.920c627d2dd0a0ad.js

js one.store collected 2026-09-26 17:16:10 UTC 304,316 bytes, 1 lines download raw bytes

vendor: 11,346 bytes, line 1
1!function(W,k){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=W.document?k(W,!0):function(O){if(!O.document)throw new Error("jQuery requires a window with a document");return k(O)}:k(W)}(typeof window<"u"?window:this,function(W,k){"use strict";var O=[],C=Object.getPrototypeOf,j=O.slice,L=O.flat?function(t){return O.flat.call(t)}:function(t){return O.concat.apply([],t)},w=O.push,x=O.indexOf,y={},h=y.toString,r=y.hasOwnProperty,o=r.toString,d=o.call(Object),s={},f=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},u=function(t){return null!=t&&t===t.window},a=W.document,p={type:!0,src:!0,nonce:!0,noModule:!0};function l(t,n,i){var c,g,_=(i=i||a).createElement("script");if(_.text=t,n)for(c in p)(g=n[c]||n.getAttribute&&n.getAttribute(c))&&_.setAttribute(c,g);i.head.appendChild(_).parentNode.removeChild(_)}function v(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?y[h.call(t)]||"object":typeof t}var P="3.7.1",T=/HTML$/i,e=function(t,n){return new e.fn.init(t,n)};function R(t){var n=!!t&&"length"in t&&t.length,i=v(t);return!f(t)&&!u(t)&&("array"===i||0===n||"number"==typeof n&&0<n&&n-1 in t)}function b(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}e.fn=e.prototype={jquery:P,constructor:e,length:0,toArray:function(){return j.call(this)},get:function(t){return null==t?j.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var n=e.merge(this.constructor(),t);return n.prevObject=this,n},each:function(t){return e.each(this,t)},map:function(t){return this.pushStack(e.map(this,function(n,i){return t.call(n,i,n)}))},slice:function(){return this.pushStack(j.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(e.grep(this,function(t,n){return(n+1)%2}))},odd:function(){return this.pushStack(e.grep(this,function(t,n){return n%2}))},eq:function(t){var n=this.length,i=+t+(t<0?n:0);return this.pushStack(0<=i&&i<n?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:w,sort:O.sort,splice:O.splice},e.extend=e.fn.extend=function(){var t,n,i,c,g,_,N=arguments[0]||{},z=1,U=arguments.length,Z=!1;for("boolean"==typeof N&&(Z=N,N=arguments[z]||{},z++),"object"==typeof N||f(N)||(N={}),z===U&&(N=this,z--);z<U;z++)if(null!=(t=arguments[z]))for(n in t)c=t[n],"__proto__"!==n&&N!==c&&(Z&&c&&(e.isPlainObject(c)||(g=Array.isArray(c)))?(i=N[n],_=g&&!Array.isArray(i)?[]:g||e.isPlainObject(i)?i:{},g=!1,N[n]=e.extend(Z,_,c)):void 0!==c&&(N[n]=c));return N},e.extend({expando:"jQuery"+(P+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var n,i;return!(!t||"[object Object]"!==h.call(t)||(n=C(t))&&("function"!=typeof(i=r.call(n,"constructor")&&n.constructor)||o.call(i)!==d))},isEmptyObject:function(t){var n;for(n in t)return!1;return!0},globalEval:function(t,n,i){l(t,{nonce:n&&n.nonce},i)},each:function(t,n){var i,c=0;if(R(t))for(i=t.length;c<i&&!1!==n.call(t[c],c,t[c]);c++);else for(c in t)if(!1===n.call(t[c],c,t[c]))break;return t},text:function(t){var n,i="",c=0,g=t.nodeType;if(!g)for(;n=t[c++];)i+=e.text(n);return 1===g||11===g?t.textContent:9===g?t.documentElement.textContent:3===g||4===g?t.nodeValue:i},makeArray:function(t,n){var i=n||[];return null!=t&&(R(Object(t))?e.merge(i,"string"==typeof t?[t]:t):w.call(i,t)),i},inArray:function(t,n,i){return null==n?-1:x.call(n,t,i)},isXMLDoc:function(t){var i=t&&(t.ownerDocument||t).documentElement;return!T.test(t&&t.namespaceURI||i&&i.nodeName||"HTML")},merge:function(t,n){for(var i=+n.length,c=0,g=t.length;c<i;c++)t[g++]=n[c];return t.length=g,t},grep:function(t,n,i){for(var c=[],g=0,_=t.length,N=!i;g<_;g++)!n(t[g],g)!==N&&c.push(t[g]);return c},map:function(t,n,i){var c,g,_=0,N=[];if(R(t))for(c=t.length;_<c;_++)null!=(g=n(t[_],_,i))&&N.push(g);else for(_ in t)null!=(g=n(t[_],_,i))&&N.push(g);return L(N)},guid:1,support:s}),"function"==typeof Symbol&&(e.fn[Symbol.iterator]=O[Symbol.iterator]),e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,n){y["[object "+n+"]"]=n.toLowerCase()});var m=O.pop,E=O.sort,S=O.splice,q="[\\x20\\t\\r\\n\\f]",B=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g");e.contains=function(t,n){var i=n&&n.parentNode;return t===i||!(!i||1!==i.nodeType||!(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))};var Y=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Q(t,n){return n?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}e.escapeSelector=function(t){return(t+"").replace(Y,Q)};var ct=a,V=w;!function(){var t,n,i,c,g,_,N,z,U,Z,et=V,ot=e.expando,J=0,ft=0,_t=$t(),kt=$t(),At=$t(),Wt=$t(),Xt=function(M,K){return M===K&&(g=!0),0},pe="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ve="(?:\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",jt="\\["+q+"*("+ve+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ve+"))|)"+q+"*\\]",ke=":("+ve+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+jt+")*)|.*)\\)|)",Mt=new RegExp(q+"+","g"),zt=new RegExp("^"+q+"*,"+q+"*"),ze=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),bn=new RegExp(q+"|>"),ye=new RegExp(ke),We=new RegExp("^"+ve+"$"),me={ID:new RegExp("^#("+ve+")"),CLASS:new RegExp("^\\.("+ve+")"),TAG:new RegExp("^("+ve+"|[*])"),ATTR:new RegExp("^"+jt),PSEUDO:new RegExp("^"+ke),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+pe+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},be=/^(?:input|select|textarea|button)$/i,Me=/^h\d$/i,ue=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Qt=/[+~]/,Vt=new RegExp("\\\\[\\da-fA-F]{1,6}"+q+"?|\\\\([^\\r\\n\\f])","g"),ee=function(M,K){var tt="0x"+M.slice(1)-65536;return K||(tt<0?String.fromCharCode(tt+65536):String.fromCharCode(tt>>10|55296,1023&tt|56320))},Oe=function(){_e()},ne=en(function(M){return!0===M.disabled&&b(M,"fieldset")},{dir:"parentNode",next:"legend"});try{et.apply(O=j.call(ct.childNodes),ct.childNodes)}catch{et={apply:function(K,tt){V.apply(K,j.call(tt))},call:function(K){V.apply(K,j.call(arguments,1))}}}function xt(M,K,tt,it){var st,mt,bt,Ot,gt,It,St,Lt=K&&K.ownerDocument,Rt=K?K.nodeType:9;if(tt=tt||[],"string"!=typeof M||!M||1!==Rt&&9!==Rt&&11!==Rt)return tt;if(!it&&(_e(K),K=K||_,z)){if(11!==Rt&&(gt=ue.exec(M)))if(st=gt[1]){if(9===Rt){if(!(bt=K.getElementById(st)))return tt;if(bt.id===st)return et.call(tt,bt),tt}else if(Lt&&(bt=Lt.getElementById(st))&&xt.contains(K,bt)&&bt.id===st)return et.call(tt,bt),tt}else{if(gt[2])return et.apply(tt,K.getElementsByTagName(M)),tt;if((st=gt[3])&&K.getElementsByClassName)return et.apply(tt,K.getElementsByClassName(st)),tt}if(!(Wt[M+" "]||U&&U.test(M))){if(St=M,Lt=K,1===Rt&&(bn.test(M)||ze.test(M))){for((Lt=Qt.test(M)&&On(K.parentNode)||K)==K&&s.scope||((Ot=K.getAttribute("id"))?Ot=e.escapeSelector(Ot):K.setAttribute("id",Ot=ot)),mt=(It=$e(M)).length;mt--;)It[mt]=(Ot?"#"+Ot:":scope")+" "+tn(It[mt]);St=It.join(",")}try{return et.apply(tt,Lt.querySelectorAll(St)),tt}catch{Wt(M,!0)}finally{Ot===ot&&K.removeAttribute("id")}}}return rr(M.replace(B,"$1"),K,tt,it)}function $t(){var M=[];return function K(tt,it){return M.push(tt+" ")>n.cacheLength&&delete K[M.shift()],K[tt+" "]=it}}function Kt(M){return M[ot]=!0,M}function Ht(M){var K=_.createElement("fieldset");try{return!!M(K)}catch{return!1}finally{K.parentNode&&K.parentNode.removeChild(K),K=null}}function ge(M){return function(K){return b(K,"input")&&K.type===M}}function Ie(M){return function(K){return(b(K,"input")||b(K,"button"))&&K.type===M}}function Je(M){return function(K){return"form"in K?K.parentNode&&!1===K.disabled?"label"in K?"label"in K.parentNode?K.parentNode.disabled===M:K.disabled===M:K.isDisabled===M||K.isDisabled!==!M&&ne(K)===M:K.disabled===M:"label"in K&&K.disabled===M}}function Ae(M){return Kt(function(K){return K=+K,Kt(function(tt,it){for(var st,mt=M([],tt.length,K),bt=mt.length;bt--;)tt[st=mt[bt]]&&(tt[st]=!(it[st]=tt[st]))})})}function On(M){return M&&typeof M.getElementsByTagName<"u"&&M}function _e(M){var K,tt=M?M.ownerDocument||M:ct;return tt!=_&&9===tt.nodeType&&tt.documentElement&&(N=(_=tt).documentElement,z=!e.isXMLDoc(_),Z=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&ct!=_&&(K=_.defaultView)&&K.top!==K&&K.addEventListener("unload",Oe),s.getById=Ht(function(it){return N.appendChild(it).id=e.expando,!_.getElementsByName||!_.getElementsByName(e.expando).length}),s.disconnectedMatch=Ht(function(it){return Z.call(it,"*")}),s.scope=Ht(function(){return _.querySelectorAll(":scope")}),s.cssHas=Ht(function(){try{return _.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),s.getById?(n.filter.ID=function(it){var st=it.replace(Vt,ee);return function(mt){return mt.getAttribute("id")===st}},n.find.ID=function(it,st){if(typeof st.getElementById<"u"&&z){var mt=st.getElementById(it);return mt?[mt]:[]}}):(n.filter.ID=function(it){var st=it.replace(Vt,ee);return function(mt){var bt=typeof mt.getAttributeNode<"u"&&mt.getAttributeNode("id");return bt&&bt.value===st}},n.find.ID=function(it,st){if(typeof st.getElementById<"u"&&z){var mt,bt,Ot,gt=st.getElementById(it);if(gt){if((mt=gt.getAttributeNode("id"))&&mt.value===it)return[gt];for(Ot=st.getElementsByName(it),bt=0;gt=Ot[bt++];)if((mt=gt.getAttributeNode("id"))&&mt.value===it)return[gt]}return[]}}),n.find.TAG=function(it,st){return typeof st.getElementsByTagName<"u"?st.getElementsByTagName(it):st.querySelectorAll(it)},n.find.CLASS=function(it,st){if(typeof st.getElementsByClassName<"u"&&z)return st.getElementsByClassName(it)},U=[],Ht(function(it){var st;N.appendChild(it).innerHTML="<a id='"+ot+"' href='' disabled='disabled'></a><select id='"+ot+"-\r\\' disabled='disabled'><option selected=''></option></select>",it.querySelectorAll("[selected]").length||U.push("\\["+q+"*(?:value|"+pe+")"),it.querySelectorAll("[id~="+ot+"-]").length||U.push("~="),it.querySelectorAll("a#"+ot+"+*").length||U.push(".#.+[+~]"),it.querySelectorAll(":checked").length||U.push(":checked"),(st=_.createElement("input")).setAttribute("type","hidden"),it.appendChild(st).setAttribute("name","D"),N.appendChild(it).disabled=!0,2!==it.querySelectorAll(":disabled").length&&U.push(":enabled",":disabled"),(st=_.createElement("input")).setAttribute("name",""),it.appendChild(st),it.querySelectorAll("[name='']").length||U.push("\\["+q+"*name"+q+"*="+q+"*(?:''|\"\")")}),s.cssHas||U.push(":has"),U=U.length&&new RegExp(U.join("|")),Xt=function(it,st){if(it===st)return g=!0,0;var mt=!it.compareDocumentPosition-!st.compareDocumentPosition;return mt||(1&(mt=(it.ownerDocument||it)==(st.ownerDocument||st)?it.compareDocumentPosition(st):1)||!s.sortDetached&&st.compareDocumentPosition(it)===mt?it===_||it.ownerDocument==ct&&xt.contains(ct,it)?-1:st===_||st.ownerDocument==ct&&xt.contains(ct,st)?1:c?x.call(c,it)-x.call(c,st):0:4&mt?-1:1)}),_}for(t in xt.matches=function(M,K){return xt(M,null,null,K)}
vendor: 9,122 bytes, line 1
1,xt.matchesSelector=function(M,K){if(_e(M),z&&!Wt[K+" "]&&(!U||!U.test(K)))try{var tt=Z.call(M,K);if(tt||s.disconnectedMatch||M.document&&11!==M.document.nodeType)return tt}catch{Wt(K,!0)}return 0<xt(K,_,null,[M]).length},xt.contains=function(M,K){return(M.ownerDocument||M)!=_&&_e(M),e.contains(M,K)},xt.attr=function(M,K){(M.ownerDocument||M)!=_&&_e(M);var tt=n.attrHandle[K.toLowerCase()],it=tt&&r.call(n.attrHandle,K.toLowerCase())?tt(M,K,!z):void 0;return void 0!==it?it:M.getAttribute(K)},xt.error=function(M){throw new Error("Syntax error, unrecognized expression: "+M)},e.uniqueSort=function(M){var K,tt=[],it=0,st=0;if(g=!s.sortStable,c=!s.sortStable&&j.call(M,0),E.call(M,Xt),g){for(;K=M[st++];)K===M[st]&&(it=tt.push(st));for(;it--;)S.call(M,tt[it],1)}return c=null,M},e.fn.uniqueSort=function(){return this.pushStack(e.uniqueSort(j.apply(this)))},(n=e.expr={cacheLength:50,createPseudo:Kt,match:me,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(M){return M[1]=M[1].replace(Vt,ee),M[3]=(M[3]||M[4]||M[5]||"").replace(Vt,ee),"~="===M[2]&&(M[3]=" "+M[3]+" "),M.slice(0,4)},CHILD:function(M){return M[1]=M[1].toLowerCase(),"nth"===M[1].slice(0,3)?(M[3]||xt.error(M[0]),M[4]=+(M[4]?M[5]+(M[6]||1):2*("even"===M[3]||"odd"===M[3])),M[5]=+(M[7]+M[8]||"odd"===M[3])):M[3]&&xt.error(M[0]),M},PSEUDO:function(M){var K,tt=!M[6]&&M[2];return me.CHILD.test(M[0])?null:(M[3]?M[2]=M[4]||M[5]||"":tt&&ye.test(tt)&&(K=$e(tt,!0))&&(K=tt.indexOf(")",tt.length-K)-tt.length)&&(M[0]=M[0].slice(0,K),M[2]=tt.slice(0,K)),M.slice(0,3))}},filter:{TAG:function(M){var K=M.replace(Vt,ee).toLowerCase();return"*"===M?function(){return!0}:function(tt){return b(tt,K)}},CLASS:function(M){var K=_t[M+" "];return K||(K=new RegExp("(^|"+q+")"+M+"("+q+"|$)"))&&_t(M,function(tt){return K.test("string"==typeof tt.className&&tt.className||typeof tt.getAttribute<"u"&&tt.getAttribute("class")||"")})},ATTR:function(M,K,tt){return function(it){var st=xt.attr(it,M);return null==st?"!="===K:!K||(st+="","="===K?st===tt:"!="===K?st!==tt:"^="===K?tt&&0===st.indexOf(tt):"*="===K?tt&&-1<st.indexOf(tt):"$="===K?tt&&st.slice(-tt.length)===tt:"~="===K?-1<(" "+st.replace(Mt," ")+" ").indexOf(tt):"|="===K&&(st===tt||st.slice(0,tt.length+1)===tt+"-"))}},CHILD:function(M,K,tt,it,st){var mt="nth"!==M.slice(0,3),bt="last"!==M.slice(-4),Ot="of-type"===K;return 1===it&&0===st?function(gt){return!!gt.parentNode}:function(gt,It,St){var Lt,Rt,Tt,Gt,te,Jt=mt!==bt?"nextSibling":"previousSibling",oe=gt.parentNode,ae=Ot&&gt.nodeName.toLowerCase(),he=!St&&!Ot,Ut=!1;if(oe){if(mt){for(;Jt;){for(Tt=gt;Tt=Tt[Jt];)if(Ot?b(Tt,ae):1===Tt.nodeType)return!1;te=Jt="only"===M&&!te&&"nextSibling"}return!0}if(te=[bt?oe.firstChild:oe.lastChild],bt&&he){for(Ut=(Gt=(Lt=(Rt=oe[ot]||(oe[ot]={}))[M]||[])[0]===J&&Lt[1])&&Lt[2],Tt=Gt&&oe.childNodes[Gt];Tt=++Gt&&Tt&&Tt[Jt]||(Ut=Gt=0)||te.pop();)if(1===Tt.nodeType&&++Ut&&Tt===gt){Rt[M]=[J,Gt,Ut];break}}else if(he&&(Ut=Gt=(Lt=(Rt=gt[ot]||(gt[ot]={}))[M]||[])[0]===J&&Lt[1]),!1===Ut)for(;(Tt=++Gt&&Tt&&Tt[Jt]||(Ut=Gt=0)||te.pop())&&(!(Ot?b(Tt,ae):1===Tt.nodeType)||!++Ut||(he&&((Rt=Tt[ot]||(Tt[ot]={}))[M]=[J,Ut]),Tt!==gt)););return(Ut-=st)===it||Ut%it==0&&0<=Ut/it}}},PSEUDO:function(M,K){var tt,it=n.pseudos[M]||n.setFilters[M.toLowerCase()]||xt.error("unsupported pseudo: "+M);return it[ot]?it(K):1<it.length?(tt=[M,M,"",K],n.setFilters.hasOwnProperty(M.toLowerCase())?Kt(function(st,mt){for(var bt,Ot=it(st,K),gt=Ot.length;gt--;)st[bt=x.call(st,Ot[gt])]=!(mt[bt]=Ot[gt])}):function(st){return it(st,0,tt)}):it}},pseudos:{not:Kt(function(M){var K=[],tt=[],it=wn(M.replace(B,"$1"));return it[ot]?Kt(function(st,mt,bt,Ot){for(var gt,It=it(st,null,Ot,[]),St=st.length;St--;)(gt=It[St])&&(st[St]=!(mt[St]=gt))}):function(st,mt,bt){return K[0]=st,it(K,null,bt,tt),K[0]=null,!tt.pop()}}),has:Kt(function(M){return function(K){return 0<xt(M,K).length}}),contains:Kt(function(M){return M=M.replace(Vt,ee),function(K){return-1<(K.textContent||e.text(K)).indexOf(M)}}),lang:Kt(function(M){return We.test(M||"")||xt.error("unsupported lang: "+M),M=M.replace(Vt,ee).toLowerCase(),function(K){var tt;do{if(tt=z?K.lang:K.getAttribute("xml:lang")||K.getAttribute("lang"))return(tt=tt.toLowerCase())===M||0===tt.indexOf(M+"-")}while((K=K.parentNode)&&1===K.nodeType);return!1}}),target:function(M){var K=W.location&&W.location.hash;return K&&K.slice(1)===M.id},root:function(M){return M===N},focus:function(M){return M===function(){try{return _.activeElement}catch{}}()&&_.hasFocus()&&!!(M.type||M.href||~M.tabIndex)},enabled:Je(!1),disabled:Je(!0),checked:function(M){return b(M,"input")&&!!M.checked||b(M,"option")&&!!M.selected},selected:function(M){return!0===M.selected},empty:function(M){for(M=M.firstChild;M;M=M.nextSibling)if(M.nodeType<6)return!1;return!0},parent:function(M){return!n.pseudos.empty(M)},header:function(M){return Me.test(M.nodeName)},input:function(M){return be.test(M.nodeName)},button:function(M){return b(M,"input")&&"button"===M.type||b(M,"button")},text:function(M){var K;return b(M,"input")&&"text"===M.type&&(null==(K=M.getAttribute("type"))||"text"===K.toLowerCase())},first:Ae(function(){return[0]}),last:Ae(function(M,K){return[K-1]}),eq:Ae(function(M,K,tt){return[tt<0?tt+K:tt]}),even:Ae(function(M,K){for(var tt=0;tt<K;tt+=2)M.push(tt);return M}),odd:Ae(function(M,K){for(var tt=1;tt<K;tt+=2)M.push(tt);return M}),lt:Ae(function(M,K,tt){var it;for(it=tt<0?tt+K:K<tt?K:tt;0<=--it;)M.push(it);return M}),gt:Ae(function(M,K,tt){for(var it=tt<0?tt+K:tt;++it<K;)M.push(it);return M})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=ge(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=Ie(t);function nr(){}function $e(M,K){var tt,it,st,mt,bt,Ot,gt,It=kt[M+" "];if(It)return K?0:It.slice(0);for(bt=M,Ot=[],gt=n.preFilter;bt;){for(mt in tt&&!(it=zt.exec(bt))||(it&&(bt=bt.slice(it[0].length)||bt),Ot.push(st=[])),tt=!1,(it=ze.exec(bt))&&(tt=it.shift(),st.push({value:tt,type:it[0].replace(B," ")}),bt=bt.slice(tt.length)),n.filter)!(it=me[mt].exec(bt))||gt[mt]&&!(it=gt[mt](it))||(tt=it.shift(),st.push({value:tt,type:mt,matches:it}),bt=bt.slice(tt.length));if(!tt)break}return K?bt.length:bt?xt.error(M):kt(M,Ot).slice(0)}function tn(M){for(var K=0,tt=M.length,it="";K<tt;K++)it+=M[K].value;return it}function en(M,K,tt){var it=K.dir,st=K.next,mt=st||it,bt=tt&&"parentNode"===mt,Ot=ft++;return K.first?function(gt,It,St){for(;gt=gt[it];)if(1===gt.nodeType||bt)return M(gt,It,St);return!1}:function(gt,It,St){var Lt,Rt,Tt=[J,Ot];if(St){for(;gt=gt[it];)if((1===gt.nodeType||bt)&&M(gt,It,St))return!0}else for(;gt=gt[it];)if(1===gt.nodeType||bt)if(Rt=gt[ot]||(gt[ot]={}),st&&b(gt,st))gt=gt[it]||gt;else{if((Lt=Rt[mt])&&Lt[0]===J&&Lt[1]===Ot)return Tt[2]=Lt[2];if((Rt[mt]=Tt)[2]=M(gt,It,St))return!0}return!1}}function _n(M){return 1<M.length?function(K,tt,it){for(var st=M.length;st--;)if(!M[st](K,tt,it))return!1;return!0}:M[0]}function nn(M,K,tt,it,st){for(var mt,bt=[],Ot=0,gt=M.length,It=null!=K;Ot<gt;Ot++)(mt=M[Ot])&&(tt&&!tt(mt,it,st)||(bt.push(mt),It&&K.push(Ot)));return bt}function xn(M,K,tt,it,st,mt){return it&&!it[ot]&&(it=xn(it)),st&&!st[ot]&&(st=xn(st,mt)),Kt(function(bt,Ot,gt,It){var St,Lt,Rt,Tt,Gt=[],te=[],Jt=Ot.length,oe=bt||function(he,Ut,Ne){for(var de=0,rn=Ut.length;de<rn;de++)xt(he,Ut[de],Ne);return Ne}(K||"*",gt.nodeType?[gt]:gt,[]),ae=!M||!bt&&K?oe:nn(oe,Gt,M,gt,It);if(tt?tt(ae,Tt=st||(bt?M:Jt||it)?[]:Ot,gt,It):Tt=ae,it)for(St=nn(Tt,te),it(St,[],gt,It),Lt=St.length;Lt--;)(Rt=St[Lt])&&(Tt[te[Lt]]=!(ae[te[Lt]]=Rt));if(bt){if(st||M){if(st){for(St=[],Lt=Tt.length;Lt--;)(Rt=Tt[Lt])&&St.push(ae[Lt]=Rt);st(null,Tt=[],St,It)}for(Lt=Tt.length;Lt--;)(Rt=Tt[Lt])&&-1<(St=st?x.call(bt,Rt):Gt[Lt])&&(bt[St]=!(Ot[St]=Rt))}}else Tt=nn(Tt===Ot?Tt.splice(Jt,Tt.length):Tt),st?st(null,Ot,Tt,It):et.apply(Ot,Tt)})}function En(M){for(var K,tt,it,st=M.length,mt=n.relative[M[0].type],bt=mt||n.relative[" "],Ot=mt?1:0,gt=en(function(Lt){return Lt===K},bt,!0),It=en(function(Lt){return-1<x.call(K,Lt)},bt,!0),St=[function(Lt,Rt,Tt){var Gt=!mt&&(Tt||Rt!=i)||((K=Rt).nodeType?gt(Lt,Rt,Tt):It(Lt,Rt,Tt));return K=null,Gt}];Ot<st;Ot++)if(tt=n.relative[M[Ot].type])St=[en(_n(St),tt)];else{if((tt=n.filter[M[Ot].type].apply(null,M[Ot].matches))[ot]){for(it=++Ot;it<st&&!n.relative[M[it].type];it++);return xn(1<Ot&&_n(St),1<Ot&&tn(M.slice(0,Ot-1).concat({value:" "===M[Ot-2].type?"*":""})).replace(B,"$1"),tt,Ot<it&&En(M.slice(Ot,it)),it<st&&En(M=M.slice(it)),it<st&&tn(M))}St.push(tt)}return _n(St)}function wn(M,K){var tt,it,st,mt,bt,Ot,gt=[],It=[],St=At[M+" "];if(!St){for(K||(K=$e(M)),tt=K.length;tt--;)(St=En(K[tt]))[ot]?gt.push(St):It.push(St);(St=At(M,(it=It,mt=0<(st=gt).length,bt=0<it.length,Ot=function(Lt,Rt,Tt,Gt,te){var Jt,oe,ae,he=0,Ut="0",Ne=Lt&&[],de=[],rn=i,ir=Lt||bt&&n.find.TAG("*",te),or=J+=null==rn?1:Math.random()||.1,Rr=ir.length;for(te&&(i=Rt==_||Rt||te);Ut!==Rr&&null!=(Jt=ir[Ut]);Ut++){if(bt&&Jt){for(oe=0,Rt||Jt.ownerDocument==_||(_e(Jt),Tt=!z);ae=it[oe++];)if(ae(Jt,Rt||_,Tt)){et.call(Gt,Jt);break}te&&(J=or)}
vendor: 11,041 bytes, line 1
1mt&&((Jt=!ae&&Jt)&&he--,Lt&&Ne.push(Jt))}if(he+=Ut,mt&&Ut!==he){for(oe=0;ae=st[oe++];)ae(Ne,de,Rt,Tt);if(Lt){if(0<he)for(;Ut--;)Ne[Ut]||de[Ut]||(de[Ut]=m.call(Gt));de=nn(de)}et.apply(Gt,de),te&&!Lt&&0<de.length&&1<he+st.length&&e.uniqueSort(Gt)}return te&&(J=or,i=rn),Ne},mt?Kt(Ot):Ot))).selector=M}return St}function rr(M,K,tt,it){var st,mt,bt,Ot,gt,It="function"==typeof M&&M,St=!it&&$e(M=It.selector||M);if(tt=tt||[],1===St.length){if(2<(mt=St[0]=St[0].slice(0)).length&&"ID"===(bt=mt[0]).type&&9===K.nodeType&&z&&n.relative[mt[1].type]){if(!(K=(n.find.ID(bt.matches[0].replace(Vt,ee),K)||[])[0]))return tt;It&&(K=K.parentNode),M=M.slice(mt.shift().value.length)}for(st=me.needsContext.test(M)?0:mt.length;st--&&!n.relative[Ot=(bt=mt[st]).type];)if((gt=n.find[Ot])&&(it=gt(bt.matches[0].replace(Vt,ee),Qt.test(mt[0].type)&&On(K.parentNode)||K))){if(mt.splice(st,1),!(M=it.length&&tn(mt)))return et.apply(tt,it),tt;break}}return(It||wn(M,St))(it,K,!z,tt,!K||Qt.test(M)&&On(K.parentNode)||K),tt}nr.prototype=n.filters=n.pseudos,n.setFilters=new nr,s.sortStable=ot.split("").sort(Xt).join("")===ot,_e(),s.sortDetached=Ht(function(M){return 1&M.compareDocumentPosition(_.createElement("fieldset"))}),e.find=xt,e.expr[":"]=e.expr.pseudos,e.unique=e.uniqueSort,xt.compile=wn,xt.select=rr,xt.setDocument=_e,xt.tokenize=$e,xt.escape=e.escapeSelector,xt.getText=e.text,xt.isXML=e.isXMLDoc,xt.selectors=e.expr,xt.support=e.support,xt.uniqueSort=e.uniqueSort}();var F=function(t,n,i){for(var c=[],g=void 0!==i;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(g&&e(t).is(i))break;c.push(t)}return c},A=function(t,n){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&i.push(t);return i},I=e.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function X(t,n,i){return f(n)?e.grep(t,function(c,g){return!!n.call(c,g,c)!==i}):n.nodeType?e.grep(t,function(c){return c===n!==i}):"string"!=typeof n?e.grep(t,function(c){return-1<x.call(n,c)!==i}):e.filter(n,t,i)}e.filter=function(t,n,i){var c=n[0];return i&&(t=":not("+t+")"),1===n.length&&1===c.nodeType?e.find.matchesSelector(c,t)?[c]:[]:e.find.matches(t,e.grep(n,function(g){return 1===g.nodeType}))},e.fn.extend({find:function(t){var n,i,c=this.length,g=this;if("string"!=typeof t)return this.pushStack(e(t).filter(function(){for(n=0;n<c;n++)if(e.contains(g[n],this))return!0}));for(i=this.pushStack([]),n=0;n<c;n++)e.find(t,g[n],i);return 1<c?e.uniqueSort(i):i},filter:function(t){return this.pushStack(X(this,t||[],!1))},not:function(t){return this.pushStack(X(this,t||[],!0))},is:function(t){return!!X(this,"string"==typeof t&&I.test(t)?e(t):t||[],!1).length}});var G,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(e.fn.init=function(t,n,i){var c,g;if(!t)return this;if(i=i||G,"string"==typeof t){if(!(c="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:D.exec(t))||!c[1]&&n)return!n||n.jquery?(n||i).find(t):this.constructor(n).find(t);if(c[1]){if(e.merge(this,e.parseHTML(c[1],(n=n instanceof e?n[0]:n)&&n.nodeType?n.ownerDocument||n:a,!0)),H.test(c[1])&&e.isPlainObject(n))for(c in n)f(this[c])?this[c](n[c]):this.attr(c,n[c]);return this}return(g=a.getElementById(c[2]))&&(this[0]=g,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):f(t)?void 0!==i.ready?i.ready(t):t(e):e.makeArray(t,this)}).prototype=e.fn,G=e(a);var $=/^(?:parents|prev(?:Until|All))/,rt={children:!0,contents:!0,next:!0,prev:!0};function nt(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}e.fn.extend({has:function(t){var n=e(t,this),i=n.length;return this.filter(function(){for(var c=0;c<i;c++)if(e.contains(this,n[c]))return!0})},closest:function(t,n){var i,c=0,g=this.length,_=[],N="string"!=typeof t&&e(t);if(!I.test(t))for(;c<g;c++)for(i=this[c];i&&i!==n;i=i.parentNode)if(i.nodeType<11&&(N?-1<N.index(i):1===i.nodeType&&e.find.matchesSelector(i,t))){_.push(i);break}return this.pushStack(1<_.length?e.uniqueSort(_):_)},index:function(t){return t?"string"==typeof t?x.call(e(t),this[0]):x.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(e.uniqueSort(e.merge(this.get(),e(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),e.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return F(t,"parentNode")},parentsUntil:function(t,n,i){return F(t,"parentNode",i)},next:function(t){return nt(t,"nextSibling")},prev:function(t){return nt(t,"previousSibling")},nextAll:function(t){return F(t,"nextSibling")},prevAll:function(t){return F(t,"previousSibling")},nextUntil:function(t,n,i){return F(t,"nextSibling",i)},prevUntil:function(t,n,i){return F(t,"previousSibling",i)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return null!=t.contentDocument&&C(t.contentDocument)?t.contentDocument:(b(t,"template")&&(t=t.content||t),e.merge([],t.childNodes))}},function(t,n){e.fn[t]=function(i,c){var g=e.map(this,n,i);return"Until"!==t.slice(-5)&&(c=i),c&&"string"==typeof c&&(g=e.filter(c,g)),1<this.length&&(rt[t]||e.uniqueSort(g),$.test(t)&&g.reverse()),this.pushStack(g)}});var ut=/[^\x20\t\r\n\f]+/g;function yt(t){return t}function wt(t){throw t}function Nt(t,n,i,c){var g;try{t&&f(g=t.promise)?g.call(t).done(n).fail(i):t&&f(g=t.then)?g.call(t,n,i):n.apply(void 0,[t].slice(c))}catch(_){i.apply(void 0,[_])}}e.Callbacks=function(t){var i;t="string"==typeof t?(i={},e.each(t.match(ut)||[],function(J,ft){i[ft]=!0}),i):e.extend({},t);var c,g,_,N,z=[],U=[],Z=-1,et=function(){for(N=N||t.once,_=c=!0;U.length;Z=-1)for(g=U.shift();++Z<z.length;)!1===z[Z].apply(g[0],g[1])&&t.stopOnFalse&&(Z=z.length,g=!1);t.memory||(g=!1),c=!1,N&&(z=g?[]:"")},ot={add:function(){return z&&(g&&!c&&(Z=z.length-1,U.push(g)),function J(ft){e.each(ft,function(_t,kt){f(kt)?t.unique&&ot.has(kt)||z.push(kt):kt&&kt.length&&"string"!==v(kt)&&J(kt)})}(arguments),g&&!c&&et()),this},remove:function(){return e.each(arguments,function(J,ft){for(var _t;-1<(_t=e.inArray(ft,z,_t));)z.splice(_t,1),_t<=Z&&Z--}),this},has:function(J){return J?-1<e.inArray(J,z):0<z.length},empty:function(){return z&&(z=[]),this},disable:function(){return N=U=[],z=g="",this},disabled:function(){return!z},lock:function(){return N=U=[],g||c||(z=g=""),this},locked:function(){return!!N},fireWith:function(J,ft){return N||(ft=[J,(ft=ft||[]).slice?ft.slice():ft],U.push(ft),c||et()),this},fire:function(){return ot.fireWith(this,arguments),this},fired:function(){return!!_}};return ot},e.extend({Deferred:function(t){var n=[["notify","progress",e.Callbacks("memory"),e.Callbacks("memory"),2],["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),0,"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),1,"rejected"]],i="pending",c={state:function(){return i},always:function(){return g.done(arguments).fail(arguments),this},catch:function(_){return c.then(null,_)},pipe:function(){var _=arguments;return e.Deferred(function(N){e.each(n,function(z,U){var Z=f(_[U[4]])&&_[U[4]];g[U[1]](function(){var et=Z&&Z.apply(this,arguments);et&&f(et.promise)?et.promise().progress(N.notify).done(N.resolve).fail(N.reject):N[U[0]+"With"](this,Z?[et]:arguments)})}),_=null}).promise()},then:function(_,N,z){var U=0;function Z(et,ot,J,ft){return function(){var _t=this,kt=arguments,At=function(){var Xt,pe;if(!(et<U)){if((Xt=J.apply(_t,kt))===ot.promise())throw new TypeError("Thenable self-resolution");f(pe=Xt&&("object"==typeof Xt||"function"==typeof Xt)&&Xt.then)?ft?pe.call(Xt,Z(U,ot,yt,ft),Z(U,ot,wt,ft)):(U++,pe.call(Xt,Z(U,ot,yt,ft),Z(U,ot,wt,ft),Z(U,ot,yt,ot.notifyWith))):(J!==yt&&(_t=void 0,kt=[Xt]),(ft||ot.resolveWith)(_t,kt))}},Wt=ft?At:function(){try{At()}catch(Xt){e.Deferred.exceptionHook&&e.Deferred.exceptionHook(Xt,Wt.error),U<=et+1&&(J!==wt&&(_t=void 0,kt=[Xt]),ot.rejectWith(_t,kt))}};et?Wt():(e.Deferred.getErrorHook?Wt.error=e.Deferred.getErrorHook():e.Deferred.getStackHook&&(Wt.error=e.Deferred.getStackHook()),W.setTimeout(Wt))}}return e.Deferred(function(et){n[0][3].add(Z(0,et,f(z)?z:yt,et.notifyWith)),n[1][3].add(Z(0,et,f(_)?_:yt)),n[2][3].add(Z(0,et,f(N)?N:wt))}).promise()},promise:function(_){return null!=_?e.extend(_,c):c}},g={};return e.each(n,function(_,N){var z=N[2],U=N[5];c[N[1]]=z.add,U&&z.add(function(){i=U},n[3-_][2].disable,n[3-_][3].disable,n[0][2].lock,n[0][3].lock),z.add(N[3].fire),g[N[0]]=function(){return g[N[0]+"With"](this===g?void 0:this,arguments),this},g[N[0]+"With"]=z.fireWith}),c.promise(g),t&&t.call(g,g),g},when:function(t){var n=arguments.length,i=n,c=Array(i),g=j.call(arguments),_=e.Deferred(),N=function(z){return function(U){c[z]=this,g[z]=1<arguments.length?j.call(arguments):U,--n||_.resolveWith(c,g)}};if(n<=1&&(Nt(t,_.done(N(i)).resolve,_.reject,!n),"pending"===_.state()||f(g[i]&&g[i].then)))return _.then();for(;i--;)Nt(g[i],N(i),_.reject);return _.promise()}});var qt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;e.Deferred.exceptionHook=function(t,n){W.console&&W.console.warn&&t&&qt.test(t.name)&&W.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},e.readyException=function(t){W.setTimeout(function(){throw t})};var Dt=e.Deferred();function Zt(){a.removeEventListener("DOMContentLoaded",Zt),W.removeEventListener("load",Zt),e.ready()}e.fn.ready=function(t){return Dt.then(t).catch(function(n){e.readyException(n)}),this},e.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--e.readyWait:e.isReady)||(e.isReady=!0)!==t&&0<--e.readyWait||Dt.resolveWith(a,[e])}}),e.ready.then=Dt.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?W.setTimeout(e.ready):(a.addEventListener("DOMContentLoaded",Zt),W.addEventListener("load",Zt));var Ct=function(t,n,i,c,g,_,N){var z=0,U=t.length,Z=null==i;if("object"===v(i))for(z in g=!0,i)Ct(t,n,z,i[z],!0,_,N);else if(void 0!==c&&(g=!0,f(c)||(N=!0),Z&&(N?(n.call(t,c),n=null):(Z=n,n=function(et,ot,J){return Z.call(e(et),J)})),n))for(;z<U;z++)n(t[z],i,N?c:c.call(t[z],z,n(t[z],i)));return g?t:Z?n.call(t):U?n(t[0],i):_},at=/^-ms-/,lt=/-([a-z])/g;function vt(t,n){return n.toUpperCase()}function pt(t){return t.replace(at,"ms-").replace(lt,vt)}var ht=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Pt(){this.expando=e.expando+Pt.uid++}Pt.uid=1,Pt.prototype={cache:function(t){var n=t[this.expando];return n||(n={},ht(t)&&(t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,configurable:!0}))),n},set:function(t,n,i){var c,g=this.cache(t);if("string"==typeof n)g[pt(n)]=i;else for(c in n)g[pt(c)]=n[c];return g},get:function(t,n){return void 0===n?this.cache(t):t[this.expando]&&t[this.expando][pt(n)]},access:function(t,n,i){return void 0===n||n&&"string"==typeof n&&void 0===i?this.get(t,n):(this.set(t,n,i),void 0!==i?i:n)},remove:function(t,n){var i,c=t[this.expando];if(void 0!==c){if(void 0!==n)for((i=(n=Array.isArray(n)?n.map(pt):(n=pt(n))in c?[n]:n.match(ut)||[]).length);i--;)delete c[n[i]];
vendor: 4,564 bytes, line 1
1(void 0===n||e.isEmptyObject(c))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var n=t[this.expando];return void 0!==n&&!e.isEmptyObject(n)}};var dt=new Pt,Et=new Pt,re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,se=/[A-Z]/g;function Bt(t,n,i){var c,g;if(void 0===i&&1===t.nodeType)if(c="data-"+n.replace(se,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(c))){try{i="true"===(g=i)||"false"!==g&&("null"===g?null:g===+g+""?+g:re.test(g)?JSON.parse(g):g)}catch{}Et.set(t,n,i)}else i=void 0;return i}e.extend({hasData:function(t){return Et.hasData(t)||dt.hasData(t)},data:function(t,n,i){return Et.access(t,n,i)},removeData:function(t,n){Et.remove(t,n)},_data:function(t,n,i){return dt.access(t,n,i)},_removeData:function(t,n){dt.remove(t,n)}}),e.fn.extend({data:function(t,n){var i,c,g,_=this[0],N=_&&_.attributes;if(void 0===t){if(this.length&&(g=Et.get(_),1===_.nodeType&&!dt.get(_,"hasDataAttrs"))){for(i=N.length;i--;)N[i]&&0===(c=N[i].name).indexOf("data-")&&(c=pt(c.slice(5)),Bt(_,c,g[c]));dt.set(_,"hasDataAttrs",!0)}return g}return"object"==typeof t?this.each(function(){Et.set(this,t)}):Ct(this,function(z){var U;if(_&&void 0===z)return void 0!==(U=Et.get(_,t))||void 0!==(U=Bt(_,t))?U:void 0;this.each(function(){Et.set(this,t,z)})},null,n,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){Et.remove(this,t)})}}),e.extend({queue:function(t,n,i){var c;if(t)return c=dt.get(t,n=(n||"fx")+"queue"),i&&(!c||Array.isArray(i)?c=dt.access(t,n,e.makeArray(i)):c.push(i)),c||[]},dequeue:function(t,n){var i=e.queue(t,n=n||"fx"),c=i.length,g=i.shift(),_=e._queueHooks(t,n);"inprogress"===g&&(g=i.shift(),c--),g&&("fx"===n&&i.unshift("inprogress"),delete _.stop,g.call(t,function(){e.dequeue(t,n)},_)),!c&&_&&_.empty.fire()},_queueHooks:function(t,n){var i=n+"queueHooks";return dt.get(t,i)||dt.access(t,i,{empty:e.Callbacks("once memory").add(function(){dt.remove(t,[n+"queue",i])})})}}),e.fn.extend({queue:function(t,n){var i=2;return"string"!=typeof t&&(n=t,t="fx",i--),arguments.length<i?e.queue(this[0],t):void 0===n?this:this.each(function(){var c=e.queue(this,t,n);e._queueHooks(this,t),"fx"===t&&"inprogress"!==c[0]&&e.dequeue(this,t)})},dequeue:function(t){return this.each(function(){e.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var i,c=1,g=e.Deferred(),_=this,N=this.length,z=function(){--c||g.resolveWith(_,[_])};for("string"!=typeof t&&(n=t,t=void 0),t=t||"fx";N--;)(i=dt.get(_[N],t+"queueHooks"))&&i.empty&&(c++,i.empty.add(z));return z(),g.promise(n)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ft=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),Yt=["Top","Right","Bottom","Left"],xe=a.documentElement,Se=function(t){return e.contains(t.ownerDocument,t)},ar={composed:!0};xe.getRootNode&&(Se=function(t){return e.contains(t.ownerDocument,t)||t.getRootNode(ar)===t.ownerDocument});var Ve=function(t,n){return"none"===(t=n||t).style.display||""===t.style.display&&Se(t)&&"none"===e.css(t,"display")};function Tn(t,n,i,c){var g,_,N=20,z=c?function(){return c.cur()}:function(){return e.css(t,n,"")},U=z(),Z=i&&i[3]||(e.cssNumber[n]?"":"px"),et=t.nodeType&&(e.cssNumber[n]||"px"!==Z&&+U)&&Ft.exec(e.css(t,n));if(et&&et[3]!==Z){for(Z=Z||et[3],et=+(U/=2)||1;N--;)e.style(t,n,et+Z),(1-_)*(1-(_=z()/U||.5))<=0&&(N=0),et/=_;e.style(t,n,(et*=2)+Z),i=i||[]}return i&&(et=+et||+U||0,g=i[1]?et+(i[1]+1)*i[2]:+i[2],c&&(c.unit=Z,c.start=et,c.end=g)),g}var kn={};function Pe(t,n){for(var i,c,g,_,N,z,U,Z=[],et=0,ot=t.length;et<ot;et++)(c=t[et]).style&&(i=c.style.display,n?("none"===i&&(Z[et]=dt.get(c,"display")||null,Z[et]||(c.style.display="")),""===c.style.display&&Ve(c)&&(Z[et]=(U=N=_=void 0,N=(g=c).ownerDocument,(U=kn[z=g.nodeName])||(_=N.body.appendChild(N.createElement(z)),U=e.css(_,"display"),_.parentNode.removeChild(_),"none"===U&&(U="block"),kn[z]=U)))):"none"!==i&&(Z[et]="none",dt.set(c,"display",i)));for(et=0;et<ot;et++)null!=Z[et]&&(t[et].style.display=Z[et]);return t}e.fn.extend({show:function(){return Pe(this,!0)},hide:function(){return Pe(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ve(this)?e(this).show():e(this).hide()})}});var Ee,Ze,Ce=/^(?:checkbox|radio)$/i,An=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Nn=/^$|^module$|\/(?:java|ecma)script/i;Ee=a.createDocumentFragment().appendChild(a.createElement("div")),(Ze=a.createElement("input")).setAttribute("type","radio"),Ze.setAttribute("checked","checked"),Ze.setAttribute("name","t"),Ee.appendChild(Ze),s.checkClone
vendor: 8,045 bytes, line 1
1=Ee.cloneNode(!0).cloneNode(!0).lastChild.checked,Ee.innerHTML="<textarea>x</textarea>",s.noCloneChecked=!!Ee.cloneNode(!0).lastChild.defaultValue,Ee.innerHTML="<option></option>",s.option=!!Ee.lastChild;var le={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ie(t,n){var i;return i=typeof t.getElementsByTagName<"u"?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll<"u"?t.querySelectorAll(n||"*"):[],void 0===n||n&&b(t,n)?e.merge([t],i):i}function on(t,n){for(var i=0,c=t.length;i<c;i++)dt.set(t[i],"globalEval",!n||dt.get(n[i],"globalEval"))}le.tbody=le.tfoot=le.colgroup=le.caption=le.thead,le.th=le.td,s.option||(le.optgroup=le.option=[1,"<select multiple='multiple'>","</select>"]);var lr=/<|&#?\w+;/;function Sn(t,n,i,c,g){for(var _,N,z,U,Z,et,ot=n.createDocumentFragment(),J=[],ft=0,_t=t.length;ft<_t;ft++)if((_=t[ft])||0===_)if("object"===v(_))e.merge(J,_.nodeType?[_]:_);else if(lr.test(_)){for(N=N||ot.appendChild(n.createElement("div")),z=(An.exec(_)||["",""])[1].toLowerCase(),N.innerHTML=(U=le[z]||le._default)[1]+e.htmlPrefilter(_)+U[2],et=U[0];et--;)N=N.lastChild;e.merge(J,N.childNodes),(N=ot.firstChild).textContent=""}else J.push(n.createTextNode(_));for(ot.textContent="",ft=0;_=J[ft++];)if(c&&-1<e.inArray(_,c))g&&g.push(_);else if(Z=Se(_),N=ie(ot.appendChild(_),"script"),Z&&on(N),i)for(et=0;_=N[et++];)Nn.test(_.type||"")&&i.push(_);return ot}var Pn=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function qe(){return!1}function an(t,n,i,c,g,_){var N,z;if("object"==typeof n){for(z in"string"!=typeof i&&(c=c||i,i=void 0),n)an(t,z,i,c,n[z],_);return t}if(null==c&&null==g?(g=i,c=i=void 0):null==g&&("string"==typeof i?(g=c,c=void 0):(g=c,c=i,i=void 0)),!1===g)g=qe;else if(!g)return t;return 1===_&&(N=g,(g=function(U){return e().off(U),N.apply(this,arguments)}).guid=N.guid||(N.guid=e.guid++)),t.each(function(){e.event.add(this,n,g,c,i)})}function Ge(t,n,i){i?(dt.set(t,n,!1),e.event.add(t,n,{namespace:!1,handler:function(c){var g,_=dt.get(this,n);if(1&c.isTrigger&&this[n]){if(_)(e.event.special[n]||{}).delegateType&&c.stopPropagation();else if(_=j.call(arguments),dt.set(this,n,_),this[n](),g=dt.get(this,n),dt.set(this,n,!1),_!==g)return c.stopImmediatePropagation(),c.preventDefault(),g}else _&&(dt.set(this,n,e.event.trigger(_[0],_.slice(1),this)),c.stopPropagation(),c.isImmediatePropagationStopped=Le)}})):void 0===dt.get(t,n)&&e.event.add(t,n,Le)}e.event={global:{},add:function(t,n,i,c,g){var _,N,z,U,Z,et,ot,J,ft,_t,kt,At=dt.get(t);if(ht(t))for(i.handler&&(i=(_=i).handler,g=_.selector),g&&e.find.matchesSelector(xe,g),i.guid||(i.guid=e.guid++),(U=At.events)||(U=At.events=Object.create(null)),(N=At.handle)||(N=At.handle=function(Wt){return typeof e<"u"&&e.event.triggered!==Wt.type?e.event.dispatch.apply(t,arguments):void 0}),Z=(n=(n||"").match(ut)||[""]).length;Z--;)ft=kt=(z=Pn.exec(n[Z])||[])[1],_t=(z[2]||"").split(".").sort(),ft&&(ot=e.event.special[ft]||{},ot=e.event.special[ft=(g?ot.delegateType:ot.bindType)||ft]||{},et=e.extend({type:ft,origType:kt,data:c,handler:i,guid:i.guid,selector:g,needsContext:g&&e.expr.match.needsContext.test(g),namespace:_t.join(".")},_),(J=U[ft])||((J=U[ft]=[]).delegateCount=0,ot.setup&&!1!==ot.setup.call(t,c,_t,N)||t.addEventListener&&t.addEventListener(ft,N)),ot.add&&(ot.add.call(t,et),et.handler.guid||(et.handler.guid=i.guid)),g?J.splice(J.delegateCount++,0,et):J.push(et),e.event.global[ft]=!0)},remove:function(t,n,i,c,g){var _,N,z,U,Z,et,ot,J,ft,_t,kt,At=dt.hasData(t)&&dt.get(t);if(At&&(U=At.events)){for(Z=(n=(n||"").match(ut)||[""]).length;Z--;)if(ft=kt=(z=Pn.exec(n[Z])||[])[1],_t=(z[2]||"").split(".").sort(),ft){for(ot=e.event.special[ft]||{},J=U[ft=(c?ot.delegateType:ot.bindType)||ft]||[],z=z[2]&&new RegExp("(^|\\.)"+_t.join("\\.(?:.*\\.|)")+"(\\.|$)"),N=_=J.length;_--;)et=J[_],!g&&kt!==et.origType||i&&i.guid!==et.guid||z&&!z.test(et.namespace)||c&&c!==et.selector&&("**"!==c||!et.selector)||(J.splice(_,1),et.selector&&J.delegateCount--,ot.remove&&ot.remove.call(t,et));N&&!J.length&&(ot.teardown&&!1!==ot.teardown.call(t,_t,At.handle)||e.removeEvent(t,ft,At.handle),delete U[ft])}else for(ft in U)e.event.remove(t,ft+n[Z],i,c,!0);e.isEmptyObject(U)&&dt.remove(t,"handle events")}},dispatch:function(t){var n,i,c,g,_,N,z=new Array(arguments.length),U=e.event.fix(t),Z=(dt.get(this,"events")||Object.create(null))[U.type]||[],et=e.event.special[U.type]||{};for(z[0]=U,n=1;n<arguments.length;n++)z[n]=arguments[n];if(U.delegateTarget=this,!et.preDispatch||!1!==et.preDispatch.call(this,U)){for(N=e.event.handlers.call(this,U,Z),n=0;(g=N[n++])&&!U.isPropagationStopped();)for(U.currentTarget=g.elem,i=0;(_=g.handlers[i++])&&!U.isImmediatePropagationStopped();)U.rnamespace&&!1!==_.namespace&&!U.rnamespace.test(_.namespace)||(U.handleObj=_,U.data=_.data,void 0!==(c=((e.event.special[_.origType]||{}).handle||_.handler).apply(g.elem,z))&&!1===(U.result=c)&&(U.preventDefault(),U.stopPropagation()));return et.postDispatch&&et.postDispatch.call(this,U),U.result}},handlers:function(t,n){var i,c,g,_,N,z=[],U=n.delegateCount,Z=t.target;if(U&&Z.nodeType&&!("click"===t.type&&1<=t.button))for(;Z!==this;Z=Z.parentNode||this)if(1===Z.nodeType&&("click"!==t.type||!0!==Z.disabled)){for(_=[],N={},i=0;i<U;i++)void 0===N[g=(c=n[i]).selector+" "]&&(N[g]=c.needsContext?-1<e(g,this).index(Z):e.find(g,this,null,[Z]).length),N[g]&&_.push(c);_.length&&z.push({elem:Z,handlers:_})}return Z=this,U<n.length&&z.push({elem:Z,handlers:n.slice(U)}),z},addProp:function(t,n){Object.defineProperty(e.Event.prototype,t,{enumerable:!0,configurable:!0,get:f(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(i){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:i})}})},fix:function(t){return t[e.expando]?t:new e.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var n=this||t;return Ce.test(n.type)&&n.click&&b(n,"input")&&Ge(n,"click",!0),!1},trigger:function(t){var n=this||t;return Ce.test(n.type)&&n.click&&b(n,"input")&&Ge(n,"click"),!0},_default:function(t){var n=t.target;return Ce.test(n.type)&&n.click&&b(n,"input")&&dt.get(n,"click")||b(n,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},e.removeEvent=function(t,n,i){t.removeEventListener&&t.removeEventListener(n,i)},e.Event=function(t,n){if(!(this instanceof e.Event))return new e.Event(t,n);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Le:qe,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,n&&e.extend(this,n),this.timeStamp=t&&t.timeStamp||Date.now(),this[e.expando]=!0},e.Event.prototype={constructor:e.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Le,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Le,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Le,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},e.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},e.event.addProp),e.each({focus:"focusin",blur:"focusout"},function(t,n){function i(c){if(a.documentMode){var g=dt.get(this,"handle"),_=e.event.fix(c);
vendor: 8,041 bytes, line 1
1_.type="focusin"===c.type?"focus":"blur",_.isSimulated=!0,g(c),_.target===_.currentTarget&&g(_)}else e.event.simulate(n,c.target,e.event.fix(c))}e.event.special[t]={setup:function(){var c;if(Ge(this,t,!0),!a.documentMode)return!1;(c=dt.get(this,n))||this.addEventListener(n,i),dt.set(this,n,(c||0)+1)},trigger:function(){return Ge(this,t),!0},teardown:function(){var c;if(!a.documentMode)return!1;(c=dt.get(this,n)-1)?dt.set(this,n,c):(this.removeEventListener(n,i),dt.remove(this,n))},_default:function(c){return dt.get(c.target,t)},delegateType:n},e.event.special[n]={setup:function(){var c=this.ownerDocument||this.document||this,g=a.documentMode?this:c,_=dt.get(g,n);_||(a.documentMode?this.addEventListener(n,i):c.addEventListener(t,i,!0)),dt.set(g,n,(_||0)+1)},teardown:function(){var c=this.ownerDocument||this.document||this,g=a.documentMode?this:c,_=dt.get(g,n)-1;_?dt.set(g,n,_):(a.documentMode?this.removeEventListener(n,i):c.removeEventListener(t,i,!0),dt.remove(g,n))}}}),e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(i){var c,g=i.relatedTarget,_=i.handleObj;return g&&(g===this||e.contains(this,g))||(i.type=_.origType,c=_.handler.apply(this,arguments),i.type=n),c}}}),e.fn.extend({on:function(t,n,i,c){return an(this,t,n,i,c)},one:function(t,n,i,c){return an(this,t,n,i,c,1)},off:function(t,n,i){var c,g;if(t&&t.preventDefault&&t.handleObj)return c=t.handleObj,e(t.delegateTarget).off(c.namespace?c.origType+"."+c.namespace:c.origType,c.selector,c.handler),this;if("object"==typeof t){for(g in t)this.off(g,n,t[g]);return this}return!1!==n&&"function"!=typeof n||(i=n,n=void 0),!1===i&&(i=qe),this.each(function(){e.event.remove(this,t,i,n)})}});var ur=/<script|<style|<link/i,sr=/checked\s*(?:[^=]|=\s*.checked.)/i,fr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ln(t,n){return b(t,"table")&&b(11!==n.nodeType?n:n.firstChild,"tr")&&e(t).children("tbody")[0]||t}function cr(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function hr(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function qn(t,n){var i,c,g,_,N,z;if(1===n.nodeType){if(dt.hasData(t)&&(z=dt.get(t).events))for(g in dt.remove(n,"handle events"),z)for(i=0,c=z[g].length;i<c;i++)e.event.add(n,g,z[g][i]);Et.hasData(t)&&(_=Et.access(t),N=e.extend({},_),Et.set(n,N))}}function je(t,n,i,c){n=L(n);var g,_,N,z,U,Z,et=0,ot=t.length,J=ot-1,ft=n[0],_t=f(ft);if(_t||1<ot&&"string"==typeof ft&&!s.checkClone&&sr.test(ft))return t.each(function(kt){var At=t.eq(kt);_t&&(n[0]=ft.call(this,kt,At.html())),je(At,n,i,c)});if(ot&&(_=(g=Sn(n,t[0].ownerDocument,!1,t,c)).firstChild,1===g.childNodes.length&&(g=_),_||c)){for(z=(N=e.map(ie(g,"script"),cr)).length;et<ot;et++)U=g,et!==J&&(U=e.clone(U,!0,!0),z&&e.merge(N,ie(U,"script"))),i.call(t[et],U,et);if(z)for(Z=N[N.length-1].ownerDocument,e.map(N,hr),et=0;et<z;et++)Nn.test((U=N[et]).type||"")&&!dt.access(U,"globalEval")&&e.contains(Z,U)&&(U.src&&"module"!==(U.type||"").toLowerCase()?e._evalUrl&&!U.noModule&&e._evalUrl(U.src,{nonce:U.nonce||U.getAttribute("nonce")},Z):l(U.textContent.replace(fr,""),U,Z))}return t}function jn(t,n,i){for(var c,g=n?e.filter(n,t):t,_=0;null!=(c=g[_]);_++)i||1!==c.nodeType||e.cleanData(ie(c)),c.parentNode&&(i&&Se(c)&&on(ie(c,"script")),c.parentNode.removeChild(c));return t}e.extend({htmlPrefilter:function(t){return t},clone:function(t,n,i){var c,g,_,N,z,U,Z,et=t.cloneNode(!0),ot=Se(t);if(!(s.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||e.isXMLDoc(t)))for(N=ie(et),c=0,g=(_=ie(t)).length;c<g;c++)z=_[c],"input"===(Z=(U=N[c]).nodeName.toLowerCase())&&Ce.test(z.type)?U.checked=z.checked:"input"!==Z&&"textarea"!==Z||(U.defaultValue=z.defaultValue);if(n)if(i)for(_=_||ie(t),N=N||ie(et),c=0,g=_.length;c<g;c++)qn(_[c],N[c]);else qn(t,et);return 0<(N=ie(et,"script")).length&&on(N,!ot&&ie(t,"script")),et},cleanData:function(t){for(var n,i,c,g=e.event.special,_=0;void 0!==(i=t[_]);_++)if(ht(i)){if(n=i[dt.expando]){if(n.events)for(c in n.events)g[c]?e.event.remove(i,c):e.removeEvent(i,c,n.handle);i[dt.expando]=void 0}i[Et.expando]&&(i[Et.expando]=void 0)}}}),e.fn.extend({detach:function(t){return jn(this,t,!0)},remove:function(t){return jn(this,t)},text:function(t){return Ct(this,function(n){return void 0===n?e.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,t,arguments.length)},append:function(){return je(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ln(this,t).appendChild(t)})},prepend:function(){return je(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Ln(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return je(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return je(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(e.cleanData(ie(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=n??t,this.map(function(){return e.clone(this,t,n)})},html:function(t){return Ct(this,function(n){var i=this[0]||{},c=0,g=this.length;if(void 0===n&&1===i.nodeType)return i.innerHTML;if("string"==typeof n&&!ur.test(n)&&!le[(An.exec(n)||["",""])[1].toLowerCase()]){n=e.htmlPrefilter(n);try{for(;c<g;c++)1===(i=this[c]||{}).nodeType&&(e.cleanData(ie(i,!1)),i.innerHTML=n);i=0}catch{}}i&&this.empty().append(n)},null,t,arguments.length)},replaceWith:function(){var t=[];return je(this,arguments,function(n){var i=this.parentNode;e.inArray(this,t)<0&&(e.cleanData(ie(this)),i&&i.replaceChild(n,this))},t)}}),e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){e.fn[t]=function(i){for(var c,g=[],_=e(i),N=_.length-1,z=0;z<=N;z++)c=z===N?this:this.clone(!0),e(_[z])[n](c),w.apply(g,c.get());return this.pushStack(g)}});var ln=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),un=/^--/,Ye=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=W),n.getComputedStyle(t)},Rn=function(t,n,i){var c,g,_={};for(g in n)_[g]=t.style[g],t.style[g]=n[g];for(g in c=i.call(t),n)t.style[g]=_[g];return c},dr=new RegExp(Yt.join("|"),"i");function Be(t,n,i){var c,g,_,N,z=un.test(n),U=t.style;return(i=i||Ye(t))&&(N=i.getPropertyValue(n)||i[n],z&&N&&(N=N.replace(B,"$1")||void 0),""!==N||Se(t)||(N=e.style(t,n)),!s.pixelBoxStyles()&&ln.test(N)&&dr.test(n)&&(c=U.width,g=U.minWidth,_=U.maxWidth,U.minWidth=U.maxWidth=U.width=N,N=i.width,U.width=c,U.minWidth=g,U.maxWidth=_)),void 0!==N?N+"":N}function Dn(t,n){return{get:function(){if(!t())return(this.get=n).apply(this,arguments);delete this.get}}}!function(){function t(){if(Z){U.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Z.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(U).appendChild(Z);var et=W.getComputedStyle(Z);i="1%"!==et.top,z=12===n(et.marginLeft),Z.style.right="60%",_=36===n(et.right),c=36===n(et.width),Z.style.position="absolute",g=12===n(Z.offsetWidth/3),xe.removeChild(U),Z=null}}function n(et){return Math.round(parseFloat(et))}var i,c,g,_,N,z,U=a.createElement("div"),Z=a.createElement("div");Z.style&&(Z.style.backgroundClip="content-box",Z.cloneNode(!0).style.backgroundClip="",s.clearCloneStyle="content-box"===Z.style.backgroundClip,e.extend(s,{boxSizingReliable:function(){return t(),c},pixelBoxStyles:function(){return t(),_},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),z},scrollboxSize:function(){return t(),g},reliableTrDimensions:function(){var et,ot,J,ft;return null==N&&(et=a.createElement("table"),ot=a.createElement("tr"),J=a.createElement("div"),et.style.cssText="position:absolute;
1left:-11111px;border-collapse:separate",ot.style.cssText="box-sizing:content-box;border:1px solid",ot.style.height="1px",J.style.height="9px",J.style.display="block",xe.appendChild(et).appendChild(ot).appendChild(J),ft=W.getComputedStyle(ot),N=parseInt(ft.height,10)+parseInt(ft.borderTopWidth,10)+parseInt(ft.borderBottomWidth,10)===ot.offsetHeight,xe.removeChild(et)),N}}))}();var Mn=["Webkit","Moz","ms"],In=a.createElement("div").style,Cn={};function sn(t){return e.cssProps[t]||Cn[t]||(t in In?t:Cn[t]=function(i){for(var c=i[0].toUpperCase()+i.slice(1),g=Mn.length;g--;)if((i=Mn[g]+c)in In)return i}(t)||t)}var pr=/^(none|table(?!-c[ea]).+)/,vr={position:"absolute",visibility:"hidden",display:"block"},Bn={letterSpacing:"0",fontWeight:"400"};function Fn(t,n,i){var c=Ft.exec(n);return c?Math.max(0,c[2]-(i||0))+(c[3]||"px"):n}function fn(t,n,i,c,g,_){var N="width"===n?1:0,z=0,U=0,Z=0;if(i===(c?"border":"content"))return 0;for(;N<4;N+=2)"margin"===i&&(Z+=e.css(t,i+Yt[N],!0,g)),c?("content"===i&&(U-=e.css(t,"padding"+Yt[N],!0,g)),"margin"!==i&&(U-=e.css(t,"border"+Yt[N]+"Width",!0,g))):(U+=e.css(t,"padding"+Yt[N],!0,g),"padding"!==i?U+=e.css(t,"border"+Yt[N]+"Width",!0,g):z+=e.css(t,"border"+Yt[N]+"Width",!0,g));return!c&&0<=_&&(U+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-_-U-z-.5))||0),U+Z}function Hn(t,n,i){var c=Ye(t),g=(!s.boxSizingReliable()||i)&&"border-box"===e.css(t,"boxSizing",!1,c),_=g,N=Be(t,n,c),z="offset"+n[0].toUpperCase()+n.slice(1);if(ln.test(N)){if(!i)return N;N="auto"}return(!s.boxSizingReliable()&&g||!s.reliableTrDimensions()&&b(t,"tr")||"auto"===N||!parseFloat(N)&&"inline"===e.css(t,"display",!1,c))&&t.getClientRects().length&&(g="border-box"===e.css(t,"boxSizing",!1,c),(_=z in t)&&(N=t[z])),(N=parseFloat(N)||0)+fn(t,n,i||(g?"border":"content"),_,c,N)+"px"}function fe(t,n,i,c,g){return new fe.prototype.init(t,n,i,c,g)}e.extend({cssHooks:{opacity:{get:function(t,n){if(n){var i=Be(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,n,i,c){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var g,_,N,z=pt(n),U=un.test(n),Z=t.style;if(U||(n=sn(z)),N=e.cssHooks[n]||e.cssHooks[z],void 0===i)return N&&"get"in N&&void 0!==(g=N.get(t,!1,c))?g:Z[n];"string"==(_=typeof i)&&(g=Ft.exec(i))&&g[1]&&(i=Tn(t,n,g),_="number"),null!=i&&i==i&&("number"!==_||U||(i+=g&&g[3]||(e.cssNumber[z]?"":"px")),s.clearCloneStyle||""!==i||0!==n.indexOf("background")||(Z[n]="inherit"),N&&"set"in N&&void 0===(i=N.set(t,i,c))||(U?Z.setProperty(n,i):Z[n]=i))}},css:function(t,n,i,c){var g,_,N,z=pt(n);return un.test(n)||(n=sn(z)),(N=e.cssHooks[n]||e.cssHooks[z])&&"get"in N&&(g=N.get(t,!0,i)),void 0===g&&(g=Be(t,n,c)),"normal"===g&&n in Bn&&(g=Bn[n]),""===i||i?(_=parseFloat(g),!0===i||isFinite(_)?_||0:g):g}}),e.each(["height","width"],function(t,n){e.cssHooks[n]={get:function(i,c,g){if(c)return!pr.test(e.css(i,"display"))||i.getClientRects().length&&i.getBoundingClientRect().width?Hn(i,n,g):Rn(i,vr,function(){return Hn(i,n,g)})},set:function(i,c,g){var _,N=Ye(i),z=!s.scrollboxSize()&&"absolute"===N.position,U=(z||g)&&"border-box"===e.css(i,"boxSizing",!1,N),Z=g?fn(i,n,g,U,N):0;return U&&z&&(Z-=Math.ceil(i["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(N[n])-fn(i,n,"border",!1,N)-.5)),Z&&(_=Ft.exec(c))&&"px"!==(_[3]||"px")&&(i.style[n]=c,c=e.css(i,n)),Fn(0,c,Z)}}}),e.cssHooks.marginLeft=Dn(s.reliableMarginLeft,function(t,n){if(n)return(parseFloat(Be(t,"marginLeft"))||t.getBoundingClientRect().left-Rn(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),e.each({margin:"",padding:"",border:"Width"},function(t,n){e.cssHooks[t+n]={expand:function(i){for(var c=0,g={},_="string"==typeof i?i.split(" "):[i];c<4;c++)g[t+Yt[c]+n]=_[c]||_[c-2]||_[0];return g}},"margin"!==t&&(e.cssHooks[t+n].set=Fn)}),e.fn.extend({css:function(t,n){return Ct(this,function(i,c,g){var _,N,z={},U=0;if(Array.isArray(c)){for(_=Ye(i),N=c.length;U<N;U++)z[c[U]]=e.css(i,c[U],!1,_);return z}return void 0!==g?e.style(i,c,g):e.css(i,c)},t,n,1<arguments.length)}}),((e.Tween=fe).prototype={constructor:fe,init:function(t,n,i,c,g,_){this.elem=t,this.prop=i,this.easing=g||e.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=c,this.unit=_||(e.cssNumber[i]?"":"px")},cur:function(){var t=fe.propHooks[this.prop];return t&&t.get?t.get(this):fe.propHooks._default.get(this)},run:function(t){var n,i=fe.propHooks[this.prop];return this.pos=n=this.options.duration?e.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):fe.propHooks._default.set(this),this}}).init.prototype=fe.prototype,(fe.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=e.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){e.fx.step[t.prop]?e.fx.step[t.prop](t):1!==t.elem.nodeType||!e.cssHooks[t.prop]&&null==t.elem.style[sn(t.prop)]?t.elem[t.prop]=t.now:e.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=fe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},e.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},e.fx=fe.prototype.init,e.fx.step={};var Re,Xe,De,Un,yr=/^(?:toggle|show|hide)$/,gr=/queueHooks$/;function cn(){Xe&&(!1===a.hidden&&W.requestAnimationFrame?W.requestAnimationFrame(cn):W.setTimeout(cn,e.fx.interval),e.fx.tick())}function zn(){return W.setTimeout(function(){Re=void 0}),Re=Date.now()}function Qe(t,n){var i,c=0,g={height:t};for(n=n?1:0;c<4;c+=2-n)g["margin"+(i=Yt[c])]=g["padding"+i]=t;return n&&(g.opacity=g.width=t),g}function Wn(t,n,i){for(var c,g=(ce.tweeners[n]||[]).concat(ce.tweeners["*"]),_=0,N=g.length;_<N;_++)if(c=g[_].call(i,n,t))return c}function ce(t,n,i){var c,g,_=0,N=ce.prefilters.length,z=e.Deferred().always(function(){delete U.elem}),U=function(){if(g)return!1;for(var ot=Re||zn(),J=Math.max(0,Z.startTime+Z.duration-ot),ft=1-(J/
vendor: 7,719 bytes, line 1
1Z.duration||0),_t=0,kt=Z.tweens.length;_t<kt;_t++)Z.tweens[_t].run(ft);return z.notifyWith(t,[Z,ft,J]),ft<1&&kt?J:(kt||z.notifyWith(t,[Z,1,0]),z.resolveWith(t,[Z]),!1)},Z=z.promise({elem:t,props:e.extend({},n),opts:e.extend(!0,{specialEasing:{},easing:e.easing._default},i),originalProperties:n,originalOptions:i,startTime:Re||zn(),duration:i.duration,tweens:[],createTween:function(ot,J){var ft=e.Tween(t,Z.opts,ot,J,Z.opts.specialEasing[ot]||Z.opts.easing);return Z.tweens.push(ft),ft},stop:function(ot){var J=0,ft=ot?Z.tweens.length:0;if(g)return this;for(g=!0;J<ft;J++)Z.tweens[J].run(1);return ot?(z.notifyWith(t,[Z,1,0]),z.resolveWith(t,[Z,ot])):z.rejectWith(t,[Z,ot]),this}}),et=Z.props;for(function(ot,J){var ft,_t,kt,At,Wt;for(ft in ot)if(kt=J[_t=pt(ft)],At=ot[ft],Array.isArray(At)&&(kt=At[1],At=ot[ft]=At[0]),ft!==_t&&(ot[_t]=At,delete ot[ft]),(Wt=e.cssHooks[_t])&&"expand"in Wt)for(ft in At=Wt.expand(At),delete ot[_t],At)ft in ot||(ot[ft]=At[ft],J[ft]=kt);else J[_t]=kt}(et,Z.opts.specialEasing);_<N;_++)if(c=ce.prefilters[_].call(Z,t,et,Z.opts))return f(c.stop)&&(e._queueHooks(Z.elem,Z.opts.queue).stop=c.stop.bind(c)),c;return e.map(et,Wn,Z),f(Z.opts.start)&&Z.opts.start.call(t,Z),Z.progress(Z.opts.progress).done(Z.opts.done,Z.opts.complete).fail(Z.opts.fail).always(Z.opts.always),e.fx.timer(e.extend(U,{elem:t,anim:Z,queue:Z.opts.queue})),Z}e.Animation=e.extend(ce,{tweeners:{"*":[function(t,n){var i=this.createTween(t,n);return Tn(i.elem,t,Ft.exec(n),i),i}]},tweener:function(t,n){f(t)?(n=t,t=["*"]):t=t.match(ut);for(var i,c=0,g=t.length;c<g;c++)(ce.tweeners[i=t[c]]=ce.tweeners[i]||[]).unshift(n)},prefilters:[function(t,n,i){var c,g,_,N,z,U,Z,et,ot="width"in n||"height"in n,J=this,ft={},_t=t.style,kt=t.nodeType&&Ve(t),At=dt.get(t,"fxshow");for(c in i.queue||(null==(N=e._queueHooks(t,"fx")).unqueued&&(N.unqueued=0,z=N.empty.fire,N.empty.fire=function(){N.unqueued||z()}),N.unqueued++,J.always(function(){J.always(function(){N.unqueued--,e.queue(t,"fx").length||N.empty.fire()})})),n)if(yr.test(g=n[c])){if(delete n[c],_=_||"toggle"===g,g===(kt?"hide":"show")){if("show"!==g||!At||void 0===At[c])continue;kt=!0}ft[c]=At&&At[c]||e.style(t,c)}if((U=!e.isEmptyObject(n))||!e.isEmptyObject(ft))for(c in ot&&1===t.nodeType&&(i.overflow=[_t.overflow,_t.overflowX,_t.overflowY],null==(Z=At&&At.display)&&(Z=dt.get(t,"display")),"none"===(et=e.css(t,"display"))&&(Z?et=Z:(Pe([t],!0),Z=t.style.display||Z,et=e.css(t,"display"),Pe([t]))),("inline"===et||"inline-block"===et&&null!=Z)&&"none"===e.css(t,"float")&&(U||(J.done(function(){_t.display=Z}),null==Z&&(Z="none"===(et=_t.display)?"":et)),_t.display="inline-block")),i.overflow&&(_t.overflow="hidden",J.always(function(){_t.overflow=i.overflow[0],_t.overflowX=i.overflow[1],_t.overflowY=i.overflow[2]})),U=!1,ft)U||(At?"hidden"in At&&(kt=At.hidden):At=dt.access(t,"fxshow",{display:Z}),_&&(At.hidden=!kt),kt&&Pe([t],!0),J.done(function(){for(c in kt||Pe([t]),dt.remove(t,"fxshow"),ft)e.style(t,c,ft[c])})),U=Wn(kt?At[c]:0,c,J),c in At||(At[c]=U.start,kt&&(U.end=U.start,U.start=0))}],prefilter:function(t,n){n?ce.prefilters.unshift(t):ce.prefilters.push(t)}}),e.speed=function(t,n,i){var c=t&&"object"==typeof t?e.extend({},t):{complete:i||!i&&n||f(t)&&t,duration:t,easing:i&&n||n&&!f(n)&&n};return e.fx.off?c.duration=0:"number"!=typeof c.duration&&(c.duration=c.duration in e.fx.speeds?e.fx.speeds[c.duration]:e.fx.speeds._default),null!=c.queue&&!0!==c.queue||(c.queue="fx"),c.old=c.complete,c.complete=function(){f(c.old)&&c.old.call(this),c.queue&&e.dequeue(this,c.queue)},c},e.fn.extend({fadeTo:function(t,n,i,c){return this.filter(Ve).css("opacity",0).show().end().animate({opacity:n},t,i,c)},animate:function(t,n,i,c){var g=e.isEmptyObject(t),_=e.speed(n,i,c),N=function(){var z=ce(this,e.extend({},t),_);(g||dt.get(this,"finish"))&&z.stop(!0)};return N.finish=N,g||!1===_.queue?this.each(N):this.queue(_.queue,N)},stop:function(t,n,i){var c=function(g){var _=g.stop;delete g.stop,_(i)};return"string"!=typeof t&&(i=n,n=t,t=void 0),n&&this.queue(t||"fx",[]),this.each(function(){var g=!0,_=null!=t&&t+"queueHooks",N=e.timers,z=dt.get(this);if(_)z[_]&&z[_].stop&&c(z[_]);else for(_ in z)z[_]&&z[_].stop&&gr.test(_)&&c(z[_]);for(_=N.length;_--;)N[_].elem!==this||null!=t&&N[_].queue!==t||(N[_].anim.stop(i),g=!1,N.splice(_,1));!g&&i||e.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var n,i=dt.get(this),c=i[t+"queue"],g=i[t+"queueHooks"],_=e.timers,N=c?c.length:0;for(i.finish=!0,e.queue(this,t,[]),g&&g.stop&&g.stop.call(this,!0),n=_.length;n--;)_[n].elem===this&&_[n].queue===t&&(_[n].anim.stop(!0),_.splice(n,1));for(n=0;n<N;n++)c[n]&&c[n].finish&&c[n].finish.call(this);delete i.finish})}}),e.each(["toggle","show","hide"],function(t,n){var i=e.fn[n];e.fn[n]=function(c,g,_){return null==c||"boolean"==typeof c?i.apply(this,arguments):this.animate(Qe(n,!0),c,g,_)}}),e.each({slideDown:Qe("show"),slideUp:Qe("hide"),slideToggle:Qe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){e.fn[t]=function(i,c,g){return this.animate(n,i,c,g)}}),e.timers=[],e.fx.tick=function(){var t,n=0,i=e.timers;for(Re=Date.now();n<i.length;n++)(t=i[n])()||i[n]!==t||i.splice(n--,1);i.length||e.fx.stop(),Re=void 0},e.fx.timer=function(t){e.timers.push(t),e.fx.start()},e.fx.interval=13,e.fx.start=function(){Xe||(Xe=!0,cn())},e.fx.stop=function(){Xe=null},e.fx.speeds={slow:600,fast:200,_default:400},e.fn.delay=function(t,n){return t=e.fx&&e.fx.speeds[t]||t,this.queue(n=n||"fx",function(i,c){var g=W.setTimeout(i,t);c.stop=function(){W.clearTimeout(g)}})},De=a.createElement("input"),Un=a.createElement("select").appendChild(a.createElement("option")),De.type="checkbox",s.checkOn=""!==De.value,s.optSelected=Un.selected,(De=a.createElement("input")).value="t",De.type="radio",s.radioValue="t"===De.value;var $n,Fe=e.expr.attrHandle;e.fn.extend({attr:function(t,n){return Ct(this,e.attr,t,n,1<arguments.length)},removeAttr:function(t){return this.each(function(){e.removeAttr(this,t)})}}),e.extend({attr:function(t,n,i){var c,g,_=t.nodeType;if(3!==_&&8!==_&&2!==_)return typeof t.getAttribute>"u"?e.prop(t,n,i):(1===_&&e.isXMLDoc(t)||(g=e.attrHooks[n.toLowerCase()]||(e.expr.match.bool.test(n)?$n:void 0)),void 0!==i?null===i?void e.removeAttr(t,n):g&&"set"in g&&void 0!==(c=g.set(t,i,n))?c:(t.setAttribute(n,i+""),i):g&&"get"in g&&null!==(c=g.get(t,n))?c:null==(c=e.find.attr(t,n))?void 0:c)},attrHooks:{type:{set:function(t,n){if(!s.radioValue&&"radio"===n&&b(t,"input")){var i=t.value;return t.setAttribute("type",n),i&&(t.value=i),n}}}},removeAttr:function(t,n){var i,c=0,g=n&&n.match(ut);if(g&&1===t.nodeType)for(;i=g[c++];)t.removeAttribute(i)}}),$n={set:function(t,n,i){return!1===n?e.removeAttr(t,i):t.setAttribute(i,i),i}},e.each(e.expr.match.bool.source.match(/\w+/g),function(t,n){var i=Fe[n]||e.find.attr;Fe[n]=function(c,g,_){var N,z,U=g.toLowerCase();return _||(z=Fe[U],Fe[U]=N,N=null!=i(c,g,_)?U:null,Fe[U]=z),N}});var mr=/^(?:input|select|textarea|button)$/i,br=/^(?:a|area)$/i;function we(t){return(t.match(ut)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function hn(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(ut)||[]}e.fn.extend({prop:function(t,n){return Ct(this,e.prop,t,n,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[e.propFix[t]||t]})}}),e.extend({prop:function(t,n,i){var c,g,_=t.nodeType;if(3!==_&&8!==_&&2!==_)return 1===_&&e.isXMLDoc(t)||(g=e.propHooks[n=e.propFix[n]||n]),void 0!==i?g&&"set"in g&&void 0!==(c=g.set(t,i,n))?c:t[n]=i:g&&"get"in g&&null!==(c=g.get(t,n))?c:t[n]},propHooks:{tabIndex:{get:function(t){var n=e.find.attr(t,"tabindex");
vendor: 6,095 bytes, line 1
1return n?parseInt(n,10):mr.test(t.nodeName)||br.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),s.optSelected||(e.propHooks.selected={get:function(t){return null},set:function(t){}}),e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){e.propFix[this.toLowerCase()]=this}),e.fn.extend({addClass:function(t){var n,i,c,g,_,N;return f(t)?this.each(function(z){e(this).addClass(t.call(this,z,Te(this)))}):(n=hn(t)).length?this.each(function(){if(c=Te(this),i=1===this.nodeType&&" "+we(c)+" "){for(_=0;_<n.length;_++)i.indexOf(" "+(g=n[_])+" ")<0&&(i+=g+" ");N=we(i),c!==N&&this.setAttribute("class",N)}}):this},removeClass:function(t){var n,i,c,g,_,N;return f(t)?this.each(function(z){e(this).removeClass(t.call(this,z,Te(this)))}):arguments.length?(n=hn(t)).length?this.each(function(){if(c=Te(this),i=1===this.nodeType&&" "+we(c)+" "){for(_=0;_<n.length;_++)for(g=n[_];-1<i.indexOf(" "+g+" ");)i=i.replace(" "+g+" "," ");N=we(i),c!==N&&this.setAttribute("class",N)}}):this:this.attr("class","")},toggleClass:function(t,n){var i,c,g,_,N=typeof t,z="string"===N||Array.isArray(t);return f(t)?this.each(function(U){e(this).toggleClass(t.call(this,U,Te(this),n),n)}):"boolean"==typeof n&&z?n?this.addClass(t):this.removeClass(t):(i=hn(t),this.each(function(){if(z)for(_=e(this),g=0;g<i.length;g++)_.hasClass(c=i[g])?_.removeClass(c):_.addClass(c);else void 0!==t&&"boolean"!==N||((c=Te(this))&&dt.set(this,"__className__",c),this.setAttribute&&this.setAttribute("class",c||!1===t?"":dt.get(this,"__className__")||""))}))},hasClass:function(t){var n,i,c=0;for(n=" "+t+" ";i=this[c++];)if(1===i.nodeType&&-1<(" "+we(Te(i))+" ").indexOf(n))return!0;return!1}});var Or=/\r/g;e.fn.extend({val:function(t){var n,i,c,g=this[0];return arguments.length?(c=f(t),this.each(function(_){var N;1===this.nodeType&&(null==(N=c?t.call(this,_,e(this).val()):t)?N="":"number"==typeof N?N+="":Array.isArray(N)&&(N=e.map(N,function(z){return null==z?"":z+""})),(n=e.valHooks[this.type]||e.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,N,"value")||(this.value=N))})):g?(n=e.valHooks[g.type]||e.valHooks[g.nodeName.toLowerCase()])&&"get"in n&&void 0!==(i=n.get(g,"value"))?i:"string"==typeof(i=g.value)?i.replace(Or,""):i??"":void 0}}),e.extend({valHooks:{option:{get:function(t){return e.find.attr(t,"value")??we(e.text(t))}},select:{get:function(t){var n,i,c,g=t.options,_=t.selectedIndex,N="select-one"===t.type,z=N?null:[],U=N?_+1:g.length;for(c=_<0?U:N?_:0;c<U;c++)if(((i=g[c]).selected||c===_)&&!i.disabled&&(!i.parentNode.disabled||!b(i.parentNode,"optgroup"))){if(n=e(i).val(),N)return n;z.push(n)}return z},set:function(t,n){for(var i,c,g=t.options,_=e.makeArray(n),N=g.length;N--;)((c=g[N]).selected=-1<e.inArray(e.valHooks.option.get(c),_))&&(i=!0);return i||(t.selectedIndex=-1),_}}}}),e.each(["radio","checkbox"],function(){e.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=-1<e.inArray(e(t).val(),n)}},s.checkOn||(e.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var He=W.location,Kn={guid:Date.now()},dn=/\?/;e.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new W.DOMParser).parseFromString(t,"text/xml")}catch{}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||e.error("Invalid XML: "+(i?e.map(i.childNodes,function(c){return c.textContent}).join("\n"):t)),n};var Vn=/^(?:focusinfocus|focusoutblur)$/,Zn=function(t){t.stopPropagation()};e.extend(e.event,{trigger:function(t,n,i,c){var g,_,N,z,U,Z,et,ot,J=[i||a],ft=r.call(t,"type")?t.type:t,_t=r.call(t,"namespace")?t.namespace.split("."):[];if(_=ot=N=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!Vn.test(ft+e.event.triggered)&&(-1<ft.indexOf(".")&&(ft=(_t=ft.split(".")).shift(),_t.sort()),U=ft.indexOf(":")<0&&"on"+ft,(t=t[e.expando]?t:new e.Event(ft,"object"==typeof t&&t)).isTrigger=c?2:3,t.namespace=_t.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+_t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:e.makeArray(n,[t]),et=e.event.special[ft]||{},c||!et.trigger||!1!==et.trigger.apply(i,n))){if(!c&&!et.noBubble&&!u(i)){for(Vn.test((z=et.delegateType||ft)+ft)||(_=_.parentNode);_;_=_.parentNode)J.push(_),N=_;N===(i.ownerDocument||a)&&J.push(N.defaultView||N.parentWindow||W)}for(g=0;(_=J[g++])&&!t.isPropagationStopped();)ot=_,t.type=1<g?z:et.bindType||ft,(Z=(dt.get(_,"events")||Object.create(null))[t.type]&&dt.get(_,"handle"))&&Z.apply(_,n),(Z=U&&_[U])&&Z.apply&&ht(_)&&(t.result=Z.apply(_,n),!1===t.result&&t.preventDefault());return t.type=ft,c||t.isDefaultPrevented()||et._default&&!1!==et._default.apply(J.pop(),n)||!ht(i)||U&&f(i[ft])&&!u(i)&&((N=i[U])&&(i[U]=null),e.event.triggered=ft,t.isPropagationStopped()&&ot.addEventListener(ft,Zn),i[ft](),t.isPropagationStopped()&&ot.removeEventListener(ft,Zn),e.event.triggered=void 0,N&&(i[U]=N)),t.result}},simulate:function(t,n,i){var c=e.extend(new e.Event,i,{type:t,isSimulated:!0});e.event.trigger(c,null,n)}}),e.fn.extend({trigger:function(t,n){return this.each(function(){e.event.trigger(t,n,this)})},triggerHandler:function(t,n){var i=this[0];if(i)return e.event.trigger(t,n,i,!0)}});var _r=/\[\]$/,Gn=/\r?\n/g,xr=/^(?:submit|button|image|reset|file)$/i,Er=/^(?:input|select|textarea|keygen)/i;function pn(t,n,i,c){var g;if(Array.isArray(n))e.each(n,function(_,N){i||_r.test(t)?c(t,N):pn(t+"["+("object"==typeof N&&null!=N?_:"")+"]",N,i,c)});else if(i||"object"!==v(n))c(t,n);else for(g in n)pn(t+"["+g+"]",n[g],i,c)}e.param=function(t,n){var i,c=[],g=function(_,N){var z=f(N)?N():N;c[c.length]=encodeURIComponent(_)+"="+encodeURIComponent(z??"")};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!e.isPlainObject(t))e.each(t,function(){g(this.name,this.value)});else for(i in t)pn(i,t[i],n,g);return c.join("&")},e.fn.extend({serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=e.prop(this,"elements");return t?e.makeArray(t):this}
vendor: 4,254 bytes, line 1
1).filter(function(){var t=this.type;return this.name&&!e(this).is(":disabled")&&Er.test(this.nodeName)&&!xr.test(t)&&(this.checked||!Ce.test(t))}).map(function(t,n){var i=e(this).val();return null==i?null:Array.isArray(i)?e.map(i,function(c){return{name:n.name,value:c.replace(Gn,"\r\n")}}):{name:n.name,value:i.replace(Gn,"\r\n")}}).get()}});var wr=/%20/g,Tr=/#.*$/,kr=/([?&])_=[^&]*/,Ar=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nr=/^(?:GET|HEAD)$/,Sr=/^\/\//,Yn={},vn={},Xn="*/".concat("*"),yn=a.createElement("a");function Qn(t){return function(n,i){"string"!=typeof n&&(i=n,n="*");var c,g=0,_=n.toLowerCase().match(ut)||[];if(f(i))for(;c=_[g++];)"+"===c[0]?(c=c.slice(1)||"*",(t[c]=t[c]||[]).unshift(i)):(t[c]=t[c]||[]).push(i)}}function Jn(t,n,i,c){var g={},_=t===vn;function N(z){var U;return g[z]=!0,e.each(t[z]||[],function(Z,et){var ot=et(n,i,c);return"string"!=typeof ot||_||g[ot]?_?!(U=ot):void 0:(n.dataTypes.unshift(ot),N(ot),!1)}),U}return N(n.dataTypes[0])||!g["*"]&&N("*")}function gn(t,n){var i,c,g=e.ajaxSettings.flatOptions||{};for(i in n)void 0!==n[i]&&((g[i]?t:c||(c={}))[i]=n[i]);return c&&e.extend(!0,t,c),t}yn.href=He.href,e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:He.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(He.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?gn(gn(t,e.ajaxSettings),n):gn(e.ajaxSettings,t)},ajaxPrefilter:Qn(Yn),ajaxTransport:Qn(vn),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var i,c,g,_,N,z,U,Z,et,ot,J=e.ajaxSetup({},n=n||{}),ft=J.context||J,_t=J.context&&(ft.nodeType||ft.jquery)?e(ft):e.event,kt=e.Deferred(),At=e.Callbacks("once memory"),Wt=J.statusCode||{},Xt={},pe={},ve="canceled",jt={readyState:0,getResponseHeader:function(Mt){var zt;if(U){if(!_)for(_={};zt=Ar.exec(g);)_[zt[1].toLowerCase()+" "]=(_[zt[1].toLowerCase()+" "]||[]).concat(zt[2]);zt=_[Mt.toLowerCase()+" "]}return null==zt?null:zt.join(", ")},getAllResponseHeaders:function(){return U?g:null},setRequestHeader:function(Mt,zt){return null==U&&(Mt=pe[Mt.toLowerCase()]=pe[Mt.toLowerCase()]||Mt,Xt[Mt]=zt),this},overrideMimeType:function(Mt){return null==U&&(J.mimeType=Mt),this},statusCode:function(Mt){var zt;if(Mt)if(U)jt.always(Mt[jt.status]);else for(zt in Mt)Wt[zt]=[Wt[zt],Mt[zt]];return this},abort:function(Mt){var zt=Mt||ve;return i&&i.abort(zt),ke(0,zt),this}};if(kt.promise(jt),J.url=((t||J.url||He.href)+"").replace(Sr,He.protocol+"//"),J.type=n.method||n.type||J.method||J.type,J.dataTypes=(J.dataType||"*").toLowerCase().match(ut)||[""],null==J.crossDomain){z=a.createElement("a");try{z.href=J.url,z.href=z.href,J.crossDomain=yn.protocol+"//"+yn.host!=z.protocol+"//"+z.host}catch{J.crossDomain=!0}}if(J.data&&J.processData&&"string"!=typeof J.data&&(J.data=e.param(J.data,J.traditional)),Jn(Yn,J,n,jt),U)return jt;for(et in(Z=e.event&&J.global)&&0==e.active++&&e.event.trigger("ajaxStart"),J.type=J.type.toUpperCase(),J.hasContent=!Nr.test(J.type),c=J.url.replace(Tr,""),J.hasContent?J.data&&J.processData&&0===(J.contentType||"").indexOf("application/x-www-form-urlencoded")&&(J.data=J.data.replace(wr,"+")):(ot=J.url.slice(c.length),J.data&&(J.processData||"string"==typeof J.data)&&(c+=(dn.test(c)?"&":"?")+J.data,delete J.data),!1===J.cache&&(c=c.replace(kr,"$1"),ot=(dn.test(c)?"&":"?")+"_="+Kn.guid+++ot),J.url=c+ot),J.ifModified&&(e.lastModified[c]&&jt.setRequestHeader("If-Modified-Since",e.lastModified[c]),e.etag[c]&&jt.setRequestHeader("If-None-Match",e.etag[c])),(J.data&&J.hasContent&&!1!==J.contentType||n.contentType)&&jt.setRequestHeader("Content-Type",J.contentType),jt.setRequestHeader("Accept",J.dataTypes[0]&&J.accepts[J.dataTypes[0]]?J.accepts[J.dataTypes[0]]+("*"!==J.dataTypes[0]?", "+Xn+"; q=0.01":""):J.accepts["*"]),J.headers)jt.setRequestHeader(et,J.headers[et]);
vendor: 11,856 bytes, line 1
1if(J.beforeSend&&(!1===J.beforeSend.call(ft,jt,J)||U))return jt.abort();if(ve="abort",At.add(J.complete),jt.done(J.success),jt.fail(J.error),i=Jn(vn,J,n,jt)){if(jt.readyState=1,Z&&_t.trigger("ajaxSend",[jt,J]),U)return jt;J.async&&0<J.timeout&&(N=W.setTimeout(function(){jt.abort("timeout")},J.timeout));try{U=!1,i.send(Xt,ke)}catch(Mt){if(U)throw Mt;ke(-1,Mt)}}else ke(-1,"No Transport");function ke(Mt,zt,ze,bn){var ye,We,me,be,Me,ue=zt;U||(U=!0,N&&W.clearTimeout(N),i=void 0,g=bn||"",jt.readyState=0<Mt?4:0,ye=200<=Mt&&Mt<300||304===Mt,ze&&(be=function(Qt,Vt,ee){for(var Oe,ne,xt,$t,Kt=Qt.contents,Ht=Qt.dataTypes;"*"===Ht[0];)Ht.shift(),void 0===Oe&&(Oe=Qt.mimeType||Vt.getResponseHeader("Content-Type"));if(Oe)for(ne in Kt)if(Kt[ne]&&Kt[ne].test(Oe)){Ht.unshift(ne);break}if(Ht[0]in ee)xt=Ht[0];else{for(ne in ee){if(!Ht[0]||Qt.converters[ne+" "+Ht[0]]){xt=ne;break}$t||($t=ne)}xt=xt||$t}if(xt)return xt!==Ht[0]&&Ht.unshift(xt),ee[xt]}(J,jt,ze)),!ye&&-1<e.inArray("script",J.dataTypes)&&e.inArray("json",J.dataTypes)<0&&(J.converters["text script"]=function(){}),be=function(Qt,Vt,ee,Oe){var ne,xt,$t,Kt,Ht,ge={},Ie=Qt.dataTypes.slice();if(Ie[1])for($t in Qt.converters)ge[$t.toLowerCase()]=Qt.converters[$t];for(xt=Ie.shift();xt;)if(Qt.responseFields[xt]&&(ee[Qt.responseFields[xt]]=Vt),!Ht&&Oe&&Qt.dataFilter&&(Vt=Qt.dataFilter(Vt,Qt.dataType)),Ht=xt,xt=Ie.shift())if("*"===xt)xt=Ht;else if("*"!==Ht&&Ht!==xt){if(!($t=ge[Ht+" "+xt]||ge["* "+xt]))for(ne in ge)if((Kt=ne.split(" "))[1]===xt&&($t=ge[Ht+" "+Kt[0]]||ge["* "+Kt[0]])){!0===$t?$t=ge[ne]:!0!==ge[ne]&&(xt=Kt[0],Ie.unshift(Kt[1]));break}if(!0!==$t)if($t&&Qt.throws)Vt=$t(Vt);else try{Vt=$t(Vt)}catch(Je){return{state:"parsererror",error:$t?Je:"No conversion from "+Ht+" to "+xt}}}return{state:"success",data:Vt}}(J,be,jt,ye),ye?(J.ifModified&&((Me=jt.getResponseHeader("Last-Modified"))&&(e.lastModified[c]=Me),(Me=jt.getResponseHeader("etag"))&&(e.etag[c]=Me)),204===Mt||"HEAD"===J.type?ue="nocontent":304===Mt?ue="notmodified":(ue=be.state,We=be.data,ye=!(me=be.error))):(me=ue,!Mt&&ue||(ue="error",Mt<0&&(Mt=0))),jt.status=Mt,jt.statusText=(zt||ue)+"",ye?kt.resolveWith(ft,[We,ue,jt]):kt.rejectWith(ft,[jt,ue,me]),jt.statusCode(Wt),Wt=void 0,Z&&_t.trigger(ye?"ajaxSuccess":"ajaxError",[jt,J,ye?We:me]),At.fireWith(ft,[jt,ue]),Z&&(_t.trigger("ajaxComplete",[jt,J]),--e.active||e.event.trigger("ajaxStop")))}return jt},getJSON:function(t,n,i){return e.get(t,n,i,"json")},getScript:function(t,n){return e.get(t,void 0,n,"script")}}),e.each(["get","post"],function(t,n){e[n]=function(i,c,g,_){return f(c)&&(_=_||g,g=c,c=void 0),e.ajax(e.extend({url:i,type:n,dataType:_,data:c,success:g},e.isPlainObject(i)&&i))}}),e.ajaxPrefilter(function(t){var n;for(n in t.headers)"content-type"===n.toLowerCase()&&(t.contentType=t.headers[n]||"")}),e._evalUrl=function(t,n,i){return e.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(c){e.globalEval(c,n,i)}})},e.fn.extend({wrapAll:function(t){var n;return this[0]&&(f(t)&&(t=t.call(this[0])),n=e(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var i=this;i.firstElementChild;)i=i.firstElementChild;return i}).append(this)),this},wrapInner:function(t){return f(t)?this.each(function(n){e(this).wrapInner(t.call(this,n))}):this.each(function(){var n=e(this),i=n.contents();i.length?i.wrapAll(t):n.append(t)})},wrap:function(t){var n=f(t);return this.each(function(i){e(this).wrapAll(n?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){e(this).replaceWith(this.childNodes)}),this}}),e.expr.pseudos.hidden=function(t){return!e.expr.pseudos.visible(t)},e.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},e.ajaxSettings.xhr=function(){try{return new W.XMLHttpRequest}catch{}};var Pr={0:200,1223:204},Ue=e.ajaxSettings.xhr();s.cors=!!Ue&&"withCredentials"in Ue,s.ajax=Ue=!!Ue,e.ajaxTransport(function(t){var n,i;if(s.cors||Ue&&!t.crossDomain)return{send:function(c,g){var _,N=t.xhr();if(N.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(_ in t.xhrFields)N[_]=t.xhrFields[_];for(_ in t.mimeType&&N.overrideMimeType&&N.overrideMimeType(t.mimeType),t.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest"),c)N.setRequestHeader(_,c[_]);n=function(z){return function(){n&&(n=i=N.onload=N.onerror=N.onabort=N.ontimeout=N.onreadystatechange=null,"abort"===z?N.abort():"error"===z?"number"!=typeof N.status?g(0,"error"):g(N.status,N.statusText):g(Pr[N.status]||N.status,N.statusText,"text"!==(N.responseType||"text")||"string"!=typeof N.responseText?{binary:N.response}:{text:N.responseText},N.getAllResponseHeaders()))}},N.onload=n(),i=N.onerror=N.ontimeout=n("error"),void 0!==N.onabort?N.onabort=i:N.onreadystatechange=function(){4===N.readyState&&W.setTimeout(function(){n&&i()})},n=n("abort");try{N.send(t.hasContent&&t.data||null)}catch(z){if(n)throw z}},abort:function(){n&&n()}}}),e.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return e.globalEval(t),t}}}),e.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),e.ajaxTransport("script",function(t){var n,i;if(t.crossDomain||t.scriptAttrs)return{send:function(c,g){n=e("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(_){n.remove(),i=null,_&&g("error"===_.type?404:200,_.type)}),a.head.appendChild(n[0])},abort:function(){i&&i()}}});var tr,er=[],mn=/(=)\?(?=&|$)|\?\?/;e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=er.pop()||e.expando+"_"+Kn.guid++;return this[t]=!0,t}}),e.ajaxPrefilter("json jsonp",function(t,n,i){var c,g,_,N=!1!==t.jsonp&&(mn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&mn.test(t.data)&&"data");if(N||"jsonp"===t.dataTypes[0])return c=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,N?t[N]=t[N].replace(mn,"$1"+c):!1!==t.jsonp&&(t.url+=(dn.test(t.url)?"&":"?")+t.jsonp+"="+c),t.converters["script json"]=function(){return _||e.error(c+" was not called"),_[0]},t.dataTypes[0]="json",g=W[c],W[c]=function(){_=arguments},i.always(function(){void 0===g?e(W).removeProp(c):W[c]=g,t[c]&&(t.jsonpCallback=n.jsonpCallback,er.push(c)),_&&f(g)&&g(_[0]),_=g=void 0}),"script"}),s.createHTMLDocument=((tr=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tr.childNodes.length),e.parseHTML=function(t,n,i){return"string"!=typeof t?[]:("boolean"==typeof n&&(i=n,n=!1),n||(s.createHTMLDocument?((c=(n=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,n.head.appendChild(c)):n=a),_=!i&&[],(g=H.exec(t))?[n.createElement(g[1])]:(g=Sn([t],n,_),_&&_.length&&e(_).remove(),e.merge([],g.childNodes)));var c,g,_},e.fn.load=function(t,n,i){var c,g,_,N=this,z=t.indexOf(" ");return-1<z&&(c=we(t.slice(z)),t=t.slice(0,z)),f(n)?(i=n,n=void 0):n&&"object"==typeof n&&(g="POST"),0<N.length&&e.ajax({url:t,type:g||"GET",dataType:"html",data:n}).done(function(U){_=arguments,N.html(c?e("<div>").append(e.parseHTML(U)).find(c):U)}).always(i&&function(U,Z){N.each(function(){i.apply(this,_||[U.responseText,Z,U])})}),this},e.expr.pseudos.animated=function(t){return e.grep(e.timers,function(n){return t===n.elem}).length},e.offset={setOffset:function(t,n,i){var c,g,_,N,z,U,Z=e.css(t,"position"),et=e(t),ot={};"static"===Z&&(t.style.position="relative"),z=et.offset(),_=e.css(t,"top"),U=e.css(t,"left"),("absolute"===Z||"fixed"===Z)&&-1<(_+U).indexOf("auto")?(N=(c=et.position()).top,g=c.left):(N=parseFloat(_)||0,g=parseFloat(U)||0),f(n)&&(n=n.call(t,i,e.extend({},z))),null!=n.top&&(ot.top=n.top-z.top+N),null!=n.left&&(ot.left=n.left-z.left+g),"using"in n?n.using.call(t,ot):et.css(ot)}},e.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(g){e.offset.setOffset(this,t,g)});var n,i,c=this[0];return c?c.getClientRects().length?{top:(n=c.getBoundingClientRect()).top+(i=c.ownerDocument.defaultView).pageYOffset,left:n.left+i.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,n,i,c=this[0],g={top:0,left:0};if("fixed"===e.css(c,"position"))n=c.getBoundingClientRect();else{for(n=this.offset(),i=c.ownerDocument,t=c.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===e.css(t,"position");)t=t.parentNode;t&&t!==c&&1===t.nodeType&&((g=e(t).offset()).top+=e.css(t,"borderTopWidth",!0),g.left+=e.css(t,"borderLeftWidth",!0))}return{top:n.top-g.top-e.css(c,"marginTop",!0),left:n.left-g.left-e.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===e.css(t,"position");)t=t.offsetParent;return t||xe})}}),e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i="pageYOffset"===n;e.fn[t]=function(c){return Ct(this,function(g,_,N){var z;if(u(g)?z=g:9===g.nodeType&&(z=g.defaultView),void 0===N)return z?z[n]:g[_];z?z.scrollTo(i?z.pageXOffset:N,i?N:z.pageYOffset):g[_]=N},t,c,arguments.length)}}),e.each(["top","left"],function(t,n){e.cssHooks[n]=Dn(s.pixelPosition,function(i,c){if(c)return c=Be(i,n),ln.test(c)?e(i).position()[n]+"px":c})}),e.each({Height:"height",Width:"width"},function(t,n){e.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,c){e.fn[c]=function(g,_){var N=arguments.length&&(i||"boolean"!=typeof g),z=i||(!0===g||!0===_?"margin":"border");return Ct(this,function(U,Z,et){var ot;return u(U)?0===c.indexOf("outer")?U["inner"+t]:U.document.documentElement["client"+t]:9===U.nodeType?(ot=U.documentElement,Math.max(U.body["scroll"+t],ot["scroll"+t],U.body["offset"+t],ot["offset"+t],ot["client"+t])):void 0===et?e.css(U,Z,z):e.style(U,Z,et,z)},n,N?g:void 0,N)}})}),e.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){e.fn[n]=function(i){return this.on(n,i)}}),e.fn.extend({bind:function(t,n,i){return this.on(t,null,n,i)},unbind:function(t,n){return this.off(t,null,n)},delegate:function(t,n,i,c){return this.on(n,t,i,c)},undelegate:function(t,n,i){return 1===arguments.length?this.off(t,"**"):this.off(n,t||"**",i)},hover:function(t,n){return this.on("mouseenter",t).on("mouseleave",n||t)}}),e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){e.fn[n]=function(i,c){return 0<arguments.length?this.on(n,null,i,c):this.trigger(n)}});var Lr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;e.proxy=function(t,n){var i,c,g;if("string"==typeof n&&(i=t[n],n=t,t=i),f(t))return c=j.call(arguments,2),(g=function(){return t.apply(n||this,c.concat(j.call(arguments)))}).guid=t.guid=t.guid||e.guid++,g},e.holdReady=function(t){t?e.readyWait++:e.ready(!0)},e.isArray=Array.isArray,e.parseJSON=JSON.parse,e.nodeName=b,e.isFunction=f,e.isWindow=u,e.camelCase=pt,e.type=v,e.now=Date.now,e.isNumeric=function(t){var n=e.type(t);return("number"===n||"string"===n)&&!isNaN(t-parseFloat(t))},e.trim=function(t){return null==t?"":(t+"").replace(Lr,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return e});var qr=W.jQuery,jr=W.$;return e.noConflict=function(t){return W.$===e&&(W.$=jr),t&&W.jQuery===e&&(W.jQuery=qr),e},typeof k>"u"&&(W.jQuery=W.$=e),e}),function(k,O){"object"==typeof exports&&"object"==typeof module?module.exports=O():"function"==typeof define&&define.amd?define([],O):"object"==typeof exports?exp
vendor: 15,755 bytes, line 1
1orts.Quill=O():k.Quill=O()}(typeof self<"u"?self:this,function(){return function(W){var k={};function O(C){if(k[C])return k[C].exports;var j=k[C]={i:C,l:!1,exports:{}};return W[C].call(j.exports,j,j.exports,O),j.l=!0,j.exports}return O.m=W,O.c=k,O.d=function(C,j,L){O.o(C,j)||Object.defineProperty(C,j,{configurable:!1,enumerable:!0,get:L})},O.n=function(C){var j=C&&C.__esModule?function(){return C.default}:function(){return C};return O.d(j,"a",j),j},O.o=function(C,j){return Object.prototype.hasOwnProperty.call(C,j)},O.p="",O(O.s=109)}([function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=O(17),j=O(18),L=O(19),w=O(45),x=O(46),y=O(47),h=O(48),r=O(49),o=O(12),d=O(32),s=O(33),f=O(31),u=O(1);k.default={Scope:u.Scope,create:u.create,find:u.find,query:u.query,register:u.register,Container:C.default,Format:j.default,Leaf:L.default,Embed:h.default,Scroll:w.default,Block:y.default,Inline:x.default,Text:r.default,Attributor:{Attribute:o.default,Class:d.default,Style:s.default,Store:f.default}}},function(W,k,O){"use strict";var f,C=this&&this.__extends||(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var p in a)a.hasOwnProperty(p)&&(u[p]=a[p])},function(u,a){function p(){this.constructor=u}f(u,a),u.prototype=null===a?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(k,"__esModule",{value:!0});var j=function(f){function u(a){var p=this;return(p=f.call(this,a="[Parchment] "+a)||this).message=a,p.name=p.constructor.name,p}return C(u,f),u}(Error);k.ParchmentError=j;var h,L={},w={},x={},y={};function d(f,u){var a;if(void 0===u&&(u=h.ANY),"string"==typeof f)a=y[f]||L[f];else if(f instanceof Text||f.nodeType===Node.TEXT_NODE)a=y.text;else if("number"==typeof f)f&h.LEVEL&h.BLOCK?a=y.block:f&h.LEVEL&h.INLINE&&(a=y.inline);else if(f instanceof HTMLElement){var p=(f.getAttribute("class")||"").split(/\s+/);for(var l in p)if(a=w[p[l]])break;a=a||x[f.tagName]}return null==a?null:u&h.LEVEL&a.scope&&u&h.TYPE&a.scope?a:null}k.DATA_KEY="__blot",function(f){f[f.TYPE=3]="TYPE",f[f.LEVEL=12]="LEVEL",f[f.ATTRIBUTE=13]="ATTRIBUTE",f[f.BLOT=14]="BLOT",f[f.INLINE=7]="INLINE",f[f.BLOCK=11]="BLOCK",f[f.BLOCK_BLOT=10]="BLOCK_BLOT",f[f.INLINE_BLOT=6]="INLINE_BLOT",f[f.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",f[f.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",f[f.ANY=15]="ANY"}(h=k.Scope||(k.Scope={})),k.create=function r(f,u){var a=d(f);if(null==a)throw new j("Unable to create "+f+" blot");var p=a,l=f instanceof Node||f.nodeType===Node.TEXT_NODE?f:p.create(u);return new p(l,u)},k.find=function o(f,u){return void 0===u&&(u=!1),null==f?null:null!=f[k.DATA_KEY]?f[k.DATA_KEY].blot:u?o(f.parentNode,u):null},k.query=d,k.register=function s(){for(var f=[],u=0;u<arguments.length;u++)f[u]=arguments[u];if(f.length>1)return f.map(function(l){return s(l)});var a=f[0];if("string"!=typeof a.blotName&&"string"!=typeof a.attrName)throw new j("Invalid definition");if("abstract"===a.blotName)throw new j("Cannot register abstract class");return y[a.blotName||a.attrName]=a,"string"==typeof a.keyName?L[a.keyName]=a:(null!=a.className&&(w[a.className]=a),null!=a.tagName&&(a.tagName=Array.isArray(a.tagName)?a.tagName.map(function(l){return l.toUpperCase()}):a.tagName.toUpperCase(),(Array.isArray(a.tagName)?a.tagName:[a.tagName]).forEach(function(l){(null==x[l]||null==a.className)&&(x[l]=a)}))),a}},function(W,k,O){var C=O(51),j=O(11),L=O(3),w=O(20),y=function(h){this.ops=Array.isArray(h)?h:null!=h&&Array.isArray(h.ops)?h.ops:[]};y.prototype.insert=function(h,r){var o={};return 0===h.length?this:(o.insert=h,null!=r&&"object"==typeof r&&Object.keys(r).length>0&&(o.attributes=r),this.push(o))},y.prototype.delete=function(h){return h<=0?this:this.push({delete:h})},y.prototype.retain=function(h,r){if(h<=0)return this;var o={retain:h};return null!=r&&"object"==typeof r&&Object.keys(r).length>0&&(o.attributes=r),this.push(o)},y.prototype.push=function(h){var r=this.ops.length,o=this.ops[r-1];if(h=L(!0,{},h),"object"==typeof o){if("number"==typeof h.delete&&"number"==typeof o.delete)return this.ops[r-1]={delete:o.delete+h.delete},this;if("number"==typeof o.delete&&null!=h.insert&&"object"!=typeof(o=this.ops[(r-=1)-1]))return this.ops.unshift(h),this;if(j(h.attributes,o.attributes)){if("string"==typeof h.insert&&"string"==typeof o.insert)return this.ops[r-1]={insert:o.insert+h.insert},"object"==typeof h.attributes&&(this.ops[r-1].attributes=h.attributes),this;if("number"==typeof h.retain&&"number"==typeof o.retain)return this.ops[r-1]={retain:o.retain+h.retain},"object"==typeof h.attributes&&(this.ops[r-1].attributes=h.attributes),this}}return r===this.ops.length?this.ops.push(h):this.ops.splice(r,0,h),this},y.prototype.chop=function(){var h=this.ops[this.ops.length-1];return h&&h.retain&&!h.attributes&&this.ops.pop(),this},y.prototype.filter=function(h){return this.ops.filter(h)},y.prototype.forEach=function(h){this.ops.forEach(h)},y.prototype.map=function(h){return this.ops.map(h)},y.prototype.partition=function(h){var r=[],o=[];return this.forEach(function(d){(h(d)?r:o).push(d)}),[r,o]},y.prototype.reduce=function(h,r){return this.ops.reduce(h,r)},y.prototype.changeLength=function(){return this.reduce(function(h,r){return r.insert?h+w.length(r):r.delete?h-r.delete:h},0)},y.prototype.length=function(){return this.reduce(function(h,r){return h+w.length(r)},0)},y.prototype.slice=function(h,r){h=h||0,"number"!=typeof r&&(r=1/0);for(var o=[],d=w.iterator(this.ops),s=0;s<r&&d.hasNext();){var f;s<h?f=d.next(h-s):(f=d.next(r-s),o.push(f)),s+=w.length(f)}return new y(o)},y.prototype.compose=function(h){var r=w.iterator(this.ops),o=w.iterator(h.ops),d=[],s=o.peek();if(null!=s&&"number"==typeof s.retain&&null==s.attributes){for(var f=s.retain;"insert"===r.peekType()&&r.peekLength()<=f;)f-=r.peekLength(),d.push(r.next());s.retain-f>0&&o.next(s.retain-f)}for(var u=new y(d);r.hasNext()||o.hasNext();)if("insert"===o.peekType())u.push(o.next());else if("delete"===r.peekType())u.push(r.next());else{var a=Math.min(r.peekLength(),o.peekLength()),p=r.next(a),l=o.next(a);if("number"==typeof l.retain){var v={};"number"==typeof p.retain?v.retain=a:v.insert=p.insert;var P=w.attributes.compose(p.attributes,l.attributes,"number"==typeof p.retain);if(P&&(v.attributes=P),u.push(v),!o.hasNext()&&j(u.ops[u.ops.length-1],v)){var T=new y(r.rest());return u.concat(T).chop()}}else"number"==typeof l.delete&&"number"==typeof p.retain&&u.push(l)}return u.chop()},y.prototype.concat=function(h){var r=new y(this.ops.slice());return h.ops.length>0&&(r.push(h.ops[0]),r.ops=r.ops.concat(h.ops.slice(1))),r},y.prototype.diff=function(h,r){if(this.ops===h.ops)return new y;var o=[this,h].map(function(a){return a.map(function(p){if(null!=p.insert)return"string"==typeof p.insert?p.insert:"\0";throw new Error("diff() called "+(a===h?"on":"with")+" non-document")}).join("")}),d=new y,s=C(o[0],o[1],r),f=w.iterator(this.ops),u=w.iterator(h.ops);return s.forEach(function(a){for(var p=a[1].length;p>0;){var l=0;switch(a[0]){case C.INSERT:l=Math.min(u.peekLength(),p),d.push(u.next(l));break;case C.DELETE:l=Math.min(p,f.peekLength()),f.next(l),d.delete(l);break;case C.EQUAL:l=Math.min(f.peekLength(),u.peekLength(),p);var v=f.next(l),P=u.next(l);j(v.insert,P.insert)?d.retain(l,w.attributes.diff(v.attributes,P.attributes)):d.push(P).delete(l)}p-=l}}),d.chop()},y.prototype.eachLine=function(h,r){r=r||"\n";for(var o=w.iterator(this.ops),d=new y,s=0;o.hasNext();){if("insert"!==o.peekType())return;var f=o.peek(),u=w.length(f)-o.peekLength(),a="string"==typeof f.insert?f.insert.indexOf(r,u)-u:-1;if(a<0)d.push(o.next());else if(a>0)d.push(o.next(a));else{if(!1===h(d,o.next(1).attributes||{},s))return;s+=1,d=new y}}d.length()>0&&h(d,{},s)},y.prototype.transform=function(h,r){if(r=!!r,"number"==typeof h)return this.transformPosition(h,r);for(var o=w.iterator(this.ops),d=w.iterator(h.ops),s=new y;o.hasNext()||d.hasNext();)if("insert"!==o.peekType()||!r&&"insert"===d.peekType())if("insert"===d.peekType())s.push(d.next());else{var f=Math.min(o.peekLength(),d.peekLength()),u=o.next(f),a=d.next(f);if(u.delete)continue;a.delete?s.push(a):s.retain(f,w.attributes.transform(u.attributes,a.attributes,r))}else s.retain(w.length(o.next()));return s.chop()},y.prototype.transformPosition=function(h,r){r=!!r;for(var o=w.iterator(this.ops),d=0;o.hasNext()&&d<=h;){var s=o.peekLength(),f=o.peekType();o.next(),"delete"!==f?("insert"===f&&(d<h||!r)&&(h+=s),d+=s):h-=Math.min(s,h-d)}return h},W.exports=y},function(W,k){"use strict";var O=Object.prototype.hasOwnProperty,C=Object.prototype.toString,j=Object.defineProperty,L=Object.getOwnPropertyDescriptor,w=function(o){return"function"==typeof Array.isArray?Array.isArray(o):"[object Array]"===C.call(o)},x=function(o){if(!o||"[object Object]"!==C.call(o))return!1;var f,d=O.call(o,"constructor"),s=o.constructor&&o.constructor.prototype&&O.call(o.constructor.prototype,"isPrototypeOf");if(o.constructor&&!d&&!s)return!1;for(f in o);return typeof f>"u"||O.call(o,f)},y=function(o,d){j&&"__proto__"===d.name?j(o,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):o[d.name]=d.newValue},h=function(o,d){if("__proto__"===d){if(!O.call(o,d))return;if(L)return L(o,d).value}return o[d]};W.exports=function r(){var o,d,s,f,u,a,p=arguments[0],l=1,v=arguments.length,P=!1;for("boolean"==typeof p&&(P=p,p=arguments[1]||{},l=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});l<v;++l)if(null!=(o=arguments[l]))for(d in o)s=h(p,d),p!==(f=h(o,d))&&(P&&f&&(x(f)||(u=w(f)))?(u?(u=!1,a=s&&w(s)?s:[]):a=s&&x(s)?s:{},y(p,{name:d,newValue:r(P,a,f)})):typeof f<"u"&&y(p,{name:d,newValue:f}));return p}},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.BlockEmbed=k.bubbleFormats=void 0;var C=function(){function m(E,S){for(var q=0;q<S.length;q++){var B=S[q];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(E,B.key,B)}}return function(E,S,q){return S&&m(E.prototype,S),q&&m(E,q),E}}(),j=function m(E,S,q){null===E&&(E=Function.prototype);var B=Object.getOwnPropertyDescriptor(E,S);if(void 0===B){var Y=Object.getPrototypeOf(E);return null===Y?void 0:m(Y,S,q)}if("value"in B)return B.value;var Q=B.get;return void 0===Q?void 0:Q.call(q)},w=p(O(3)),y=p(O(2)),r=p(O(0)),d=p(O(16)),f=p(O(6)),a=p(O(7));function p(m){return m&&m.__esModule?m:{default:m}}function l(m,E){if(!(m instanceof E))throw new TypeError("Cannot call a class as a function")}function v(m,E){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||"object"!=typeof E&&"function"!=typeof E?m:E}function P(m,E){if("function"!=typeof E&&null!==E)throw new TypeError("Super expression must either be null or a function, not "+typeof E);m.prototype=Object.create(E&&E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(m,E):m.__proto__=E)}var e=function(m){function E(){return l(this,E),v(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return P(E,m),C(E,[{key:"attach",value:function(){j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"attach",this).call(this),this.attributes=new r.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new y.default).insert(this.value(),(0,w.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(q,B){var Y=r.default.query(q,r.default.Scope.BLOCK_ATTRIBUTE);null!=Y&&this.attributes.attribute(Y,B)}},{key:"formatAt",value:function(q,B,Y,Q){this.format(Y,Q)}},{key:"insertAt",value:function(q,B,Y){if("string"==typeof B&&B.endsWith("\n")){var Q=r.default.create(R.blotName);this.parent.insertBefore(Q,0===q?this:this.next),Q.insertAt(0,B.slice(0,-1))}else j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertAt",this).call(this,q,B,Y)}}]),E}(r.default.Embed);e.scope=r.default.Scope.BLOCK_BLOT;var R=function(m){function E(S){l(this,E);var q=v(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,S));return q.cache={},q}return P(E,m),C(E,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(r.default.Leaf).reduce(function(q,B){return 0===B.length()?q:q.insert(B.value(),b(B))},new y.default).insert("\n",b(this))),this.cache.delta}},{key:"deleteAt",value:function(q,B){j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"deleteAt",this).call(this,q,B),this.cache={}}},{key:"formatAt",value:function(q,B,Y,Q){B<=0||(r.default.query(Y,r.default.Scope.BLOCK)?q+B===this.length()&&this.format(Y,Q):j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"formatAt",this).call(this,q,Math.min(B,this.length()-q-1),Y,Q),this.cache={})}},{key:"insertAt",value:function(q,B,Y){if(null!=Y)return j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertAt",this).call(this,q,B,Y);if(0!==B.length){var Q=B.split("\n"),ct=Q.shift();ct.length>0&&(q<this.length()-1||null==this.children.tail?j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertAt",this).call(this,Math.min(q,this.length()-1),ct):this.children.tail.insertAt(this.children.tail.length(),ct),this.cache={});var V=this;Q.reduce(function(F,A){return(V=V.split(F,!0)).insertAt(0,A),A.length},q+ct.length)}}},{key:"insertBefore",value:function(q,B){var Y=this.children.head;j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,q,B),Y instanceof d.default&&Y.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(q,B){j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"moveChildren",this).call(this,q,B),this.cache={}}},{key:"optimize",value:function(q){j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,q),this.cache={}}},{key:"path",value:function(q){return j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"path",this).call(this,q,!0)}},{key:"removeChild",value:function(q){j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"removeChild",this).call(this,q),this.cache={}}},{key:"split",value:function(q){var B=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(B&&(0===q||q>=this.length()-1)){var Y=this.clone();return 0===q?(this.parent.insertBefore(Y,this),this):(this.parent.insertBefore(Y,this.next),Y)}var Q=j(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"split",this).call(this,q,B);return this.cache={},Q}}]),E}(r.default.Block);function b(m){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==m||("function"==typeof m.formats&&(E=(0,w.default)(E,m.formats())),null==m.parent||"scroll"==m.parent.blotName||m.parent.statics.scope!==m.statics.scope)?E:b(m.parent,E)}R.blotName="block",R.tagName="P",R.defaultChild="break",R.allowedChildren=[f.default,r.default.Embed,a.default],k.bubbleFormats=b,k.BlockEmbed=e,k.default=R},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.overload=k.expandConfig=void 0;var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(V){return typeof V}:function(V){return V&&"function"==typeof Symbol&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},j=function(){return function(F,A){if(Array.isArray(F))return F;if(Symbol.iterator in Object(F))return function V(F,A){var I=[],H=!0,X=!1,G=void 0;try{for(var $,D=F[Symbol.iterator]();!(H=($=D.next()).done)&&(I.push($.value),!A||I.length!==A);H=!0);}catch(rt){X=!0,G=rt}finally{try{!H&&D.return&&D.return()}finally{if(X)throw G}}return I}(F,A);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(){function V(F,A){for(var I=0;I<A.length;I++){var H=A[I];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(F,H.key,H)}}return function(F,A,I){return A&&V(F.prototype,A),I&&V(F,I),F}}();O(50);var x=b(O(2)),h=b(O(14)),o=b(O(8)),s=b(O(9)),u=b(O(0)),a=O(15),p=b(a),v=b(O(3)),T=b(O(10)),R=b(O(34));function b(V){return V&&V.__esModule?V:{default:V}}function m(V,F,A){return F in V?Object.defineProperty(V,F,{value:A,enumerable:!0,configurable:!0,writable:!0}):V[F]=A,V}var S=(0,T.default)("quill"),q=function(){function V(F){var A=this,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function E(V,F){if(!(V instanceof F))throw new TypeError("Cannot call a class as a function")}(this,V),this.options=B(F,I),this.container=this.options.container,null==this.container)return S.error("Invalid Quill container",F);this.options.debug&&V.debug(this.options.debug);var H=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new o.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new h.default(this.scroll),this.selection=new p.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(o.default.events.EDITOR_CHANGE,function(G){G===o.default.events.TEXT_CHANGE&&A.root.classList.toggle("ql-blank",A.editor.isBlank())}),this.emitter.on(o.default.events.SCROLL_UPDATE,function(G,D){var $=A.selection.lastRange,rt=$&&0===$.length?$.index:void 0;Y.call(A,function(){return A.editor.update(null,D,rt)},G)});var X=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+H+"<p><br></p></div>");this.setContents(X),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return L(V,null,[{key:"debug",value:function(A){!0===A&&(A="log"),T.default.level(A)}},{key:"find",value:function(A){return A.__quill||u.default.find(A)}},{key:"import",value:function(A){return null==this.imports[A]&&S.error("Cannot import "+A+". Are you sure it was registered?"),this.imports[A]}},{key:"register",value:function(A,I){var H=this,X=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof A){var G=A.attrName||A.blotName;"string"==typeof G?this.register("formats/"+G,A,I):Object.keys(A).forEach(function(D){H.register(D,A[D],I)})}else null!=this.imports[A]&&!X&&S.warn("Overwriting "+A+" with",I),this.imports[A]=I,(A.startsWith("blots/")||A.startsWith("formats/"))&&"abstract"!==I.blotName?u.default.register(I):A.startsWith("modules")&&"function"==typeof I.register&&I.register()}}]),L(V,[{key:"addContainer",value:function(A){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof A){var H=A;(A=document.createElement("div")).classList.add(H)}return this.container.insertBefore(A,I),A}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(A,I,H){var X=this,G=Q(A,I,H),D=j(G,4);return Y.call(this,function(){return X.editor.deleteText(A,I)},H=D[3],A=D[0],-1*(I=D[1]))}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var A=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(A),this.container.classList.toggle("ql-disabled",!A)}},{key:"focus",value:function(){var A=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=A,this.scrollIntoView()}},{key:"format",value:function(A,I){var H=this;return Y.call(this,function(){var G=H.getSelection(!0),D=new x.default;if(null==G)return D;if(u.default.query(A,u.default.Scope.BLOCK))D=H.editor.formatLine(G.index,G.length,m({},A,I));else{if(0===G.length)return H.selection.format(A,I),D;D=H.editor.formatText(G.index,G.length,m({},A,I))}return H.setSelection(G,o.default.sources.SILENT),D},arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default.sources.API)}},{key:"formatLine",value:function(A,I,H,X,G){var $,D=this,rt=Q(A,I,H,X,G),nt=j(rt,4);return I=nt[1],$=nt[2],Y.call(this,function(){return D.editor.formatLine(A,I,$)},G=nt[3],A=nt[0],0)}},{key:"formatText",value:function(A,I,H,X,G){var $,D=this,rt=Q(A,I,H,X,G),nt=j(rt,4);return I=nt[1],$=nt[2],Y.call(this,function(){return D.editor.formatText(A,I,$)},G=nt[3],A=nt[0],0)}},{key:"getBounds",value:function(A){var H;H="number"==typeof A?this.selection.getBounds(A,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(A.index,A.length);var X=this.container.getBoundingClientRect();return{bottom:H.bottom-X.top,height:H.height,left:H.left-X.left,right:H.right-X.left,top:H.top-X.top,width:H.width}}},{key:"getContents",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-A,H=Q(A,I),X=j(H,2);return this.editor.getContents(A=X[0],I=X[1])}},{key:"getFormat",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return"number"==typeof A?this.editor.getFormat(A,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(A.index,A.length)}},{key:"getIndex",value:function(A){return A.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(A){return this.scroll.leaf(A)}},{key:"getLine",value:function(A){return this.scroll.line(A)}},{key:"getLines",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof A?this.scroll.lines(A.index,A.length):this.scroll.lines(A,I)}},{key:"getModule",value:function(A){return this.theme.modules[A]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-A,H=Q(A,I),X=j(H,2);return this.editor.getText(A=X[0],I=X[1])}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(A,I,H){var X=this;return Y.call(this,function(){return X.editor.insertEmbed(A,I,H)},arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.sources.API,A)}},{key:"insertText",value:function(A,I,H,X,G){var $,D=this,rt=Q(A,0,H,X,G),nt=j(rt,4);return $=nt[2],Y.call(this,function(){return D.editor.insertText(A,I,$)},G=nt[3],A=nt[0],I.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(A,I,H){this.clipboard.dangerouslyPasteHTML(A,I,H)}},{key:"removeFormat",value:function(A,I,H){var X=this,G=Q(A,I,H),D=j(G,4);return I=D[1],Y.call(this,function(){return X.editor.removeFormat(A,I)}
vendor: 6,000 bytes, line 1
1,H=D[3],A=D[0])}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(A){var I=this;return Y.call(this,function(){A=new x.default(A);var X=I.getLength(),G=I.editor.deleteText(0,X),D=I.editor.applyDelta(A),$=D.ops[D.ops.length-1];return null!=$&&"string"==typeof $.insert&&"\n"===$.insert[$.insert.length-1]&&(I.editor.deleteText(I.getLength()-1,1),D.delete(1)),G.compose(D)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.sources.API)}},{key:"setSelection",value:function(A,I,H){if(null==A)this.selection.setRange(null,I||V.sources.API);else{var X=Q(A,I,H),G=j(X,4);H=G[3],this.selection.setRange(new a.Range(A=G[0],I=G[1]),H),H!==o.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(A){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.sources.API,H=(new x.default).insert(A);return this.setContents(H,I)}},{key:"update",value:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default.sources.USER,I=this.scroll.update(A);return this.selection.update(A),I}},{key:"updateContents",value:function(A){var I=this,H=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.sources.API;return Y.call(this,function(){return A=new x.default(A),I.editor.applyDelta(A,H)},H,!0)}}]),V}();function B(V,F){if((F=(0,v.default)(!0,{container:V,modules:{clipboard:!0,keyboard:!0,history:!0}},F)).theme&&F.theme!==q.DEFAULTS.theme){if(F.theme=q.import("themes/"+F.theme),null==F.theme)throw new Error("Invalid theme "+F.theme+". Did you register it?")}else F.theme=R.default;var A=(0,v.default)(!0,{},F.theme.DEFAULTS);[A,F].forEach(function(X){X.modules=X.modules||{},Object.keys(X.modules).forEach(function(G){!0===X.modules[G]&&(X.modules[G]={})})});var H=Object.keys(A.modules).concat(Object.keys(F.modules)).reduce(function(X,G){var D=q.import("modules/"+G);return null==D?S.error("Cannot load "+G+" module. Are you sure you registered it?"):X[G]=D.DEFAULTS||{},X},{});return null!=F.modules&&F.modules.toolbar&&F.modules.toolbar.constructor!==Object&&(F.modules.toolbar={container:F.modules.toolbar}),F=(0,v.default)(!0,{},q.DEFAULTS,{modules:H},A,F),["bounds","container","scrollingContainer"].forEach(function(X){"string"==typeof F[X]&&(F[X]=document.querySelector(F[X]))}),F.modules=Object.keys(F.modules).reduce(function(X,G){return F.modules[G]&&(X[G]=F.modules[G]),X},{}),F}function Y(V,F,A,I){if(this.options.strict&&!this.isEnabled()&&F===o.default.sources.USER)return new x.default;var H=null==A?null:this.getSelection(),X=this.editor.delta,G=V();if(null!=H&&(!0===A&&(A=H.index),null==I?H=ct(H,G,F):0!==I&&(H=ct(H,A,I,F)),this.setSelection(H,o.default.sources.SILENT)),G.length()>0){var D,rt,$=[o.default.events.TEXT_CHANGE,G,X,F];(D=this.emitter).emit.apply(D,[o.default.events.EDITOR_CHANGE].concat($)),F!==o.default.sources.SILENT&&(rt=this.emitter).emit.apply(rt,$)}return G}function Q(V,F,A,I,H){var X={};return"number"==typeof V.index&&"number"==typeof V.length?"number"!=typeof F?(H=I,I=A,A=F,F=V.length,V=V.index):(F=V.length,V=V.index):"number"!=typeof F&&(H=I,I=A,A=F,F=0),"object"===(typeof A>"u"?"undefined":C(A))?(X=A,H=I):"string"==typeof A&&(null!=I?X[A]=I:H=A),[V,F,X,H=H||o.default.sources.API]}function ct(V,F,A,I){if(null==V)return null;var H=void 0,X=void 0;if(F instanceof x.default){var G=[V.index,V.index+V.length].map(function(nt){return F.transformPosition(nt,I!==o.default.sources.USER)}),D=j(G,2);H=D[0],X=D[1]}else{var $=[V.index,V.index+V.length].map(function(nt){return nt<F||nt===F&&I===o.default.sources.USER?nt:A>=0?nt+A:Math.max(F,nt+A)}),rt=j($,2);H=rt[0],X=rt[1]}return new a.Range(H,X-H)}q.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},q.events=o.default.events,q.sources=o.default.sources,q.version="1.3.7",q.imports={delta:x.default,parchment:u.default,"core/module":s.default,"core/theme":R.default},k.expandConfig=B,k.overload=Q,k.default=q},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function f(u,a){for(var p=0;p<a.length;p++){var l=a[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(u,l.key,l)}}return function(u,a,p){return a&&f(u.prototype,a),p&&f(u,p),u}}(),j=function f(u,a,p){null===u&&(u=Function.prototype);var l=Object.getOwnPropertyDescriptor(u,a);if(void 0===l){var v=Object.getPrototypeOf(u);return null===v?void 0:f(v,a,p)}if("value"in l)return l.value;var P=l.get;return void 0===P?void 0:P.call(p)},w=h(O(7)),y=h(O(0));function h(f){return f&&f.__esModule?f:{default:f}}var s=function(f){function u(){return function r(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}(this,u),function o(f,u){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!u||"object"!=typeof u&&"function"!=typeof u?f:u}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return function d(f,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}(u,f),C(u,[{key:"formatAt",value:function(p,l,v,P){if(u.compare(this.statics.blotName,v)<0&&y.default.query(v,y.default.Scope.BLOT)){var T=this.isolate(p,l);P&&T.wrap(v,P)}else j(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"formatAt",this).call(this,p,l,v,P)}},{key:"optimize",value:function(p){if(j(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"optimize",this).call(this,p),this.parent instanceof u&&u.compare(this.statics.blotName,this.parent.statics.blotName)>0){var l=this.parent.isolate(this.offset(),this.length());this.moveChildren(l),l.wrap(this)}}}
1],[{key:"compare",value:function(p,l){var v=u.order.indexOf(p),P=u.order.indexOf(l);return v>=0||P>=0?v-P:p===l?0:p<l?-1:1}}]),u}(y.default.Inline);s.allowedChildren=[s,y.default.Embed,w.default],s.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],k.default=s},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var h=function(r){function o(){return function w(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),function x(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?r:o}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return function y(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}(o,r),o}(function L(r){return r&&r.__esModule?r:{default:r}}(O(0)).default.Text);k.default=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function a(p,l){for(var v=0;v<l.length;v++){var P=l[v];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(p,P.key,P)}}return function(p,l,v){return l&&a(p.prototype,l),v&&a(p,v),p}}(),j=function a(p,l,v){null===p&&(p=Function.prototype);var P=Object.getOwnPropertyDescriptor(p,l);if(void 0===P){var T=Object.getPrototypeOf(p);return null===T?void 0:a(T,l,v)}if("value"in P)return P.value;var e=P.get;return void 0===e?void 0:e.call(v)},w=h(O(54));function h(a){return a&&a.__esModule?a:{default:a}}var s=(0,h(O(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(a){document.addEventListener(a,function(){for(var p=arguments.length,l=Array(p),v=0;v<p;v++)l[v]=arguments[v];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(P){var T;P.__quill&&P.__quill.emitter&&(T=P.__quill.emitter).handleDOM.apply(T,l)})})});var u=function(a){function p(){!function r(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")}(this,p);var l=function o(a,p){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!p||"object"!=typeof p&&"function"!=typeof p?a:p}(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));return l.listeners={},l.on("error",s.error),l}return function d(a,p){if("function"!=typeof p&&null!==p)throw new TypeError("Super expression must either be null or a function, not "+typeof p);a.prototype=Object.create(p&&p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(a,p):a.__proto__=p)}(p,a),C(p,[{key:"emit",value:function(){s.log.apply(s,arguments),j(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(v){for(var P=arguments.length,T=Array(P>1?P-1:0),e=1;e<P;e++)T[e-1]=arguments[e];(this.listeners[v.type]||[]).forEach(function(R){var b=R.node,m=R.handler;(v.target===b||b.contains(v.target))&&m.apply(void 0,[v].concat(T))})}},{key:"listenDOM",value:function(v,P,T){this.listeners[v]||(this.listeners[v]=[]),this.listeners[v].push({node:P,handler:T})}}]),p}(w.default);u.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},u.sources={API:"api",SILENT:"silent",USER:"user"},k.default=u},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var j=function L(w){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
1(function C(L,w){if(!(L instanceof w))throw new TypeError("Cannot call a class as a function")})(this,L),this.quill=w,this.options=x};j.DEFAULTS={},k.default=j},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=["error","warn","log","info"],j="warn";function L(x){if(C.indexOf(x)<=C.indexOf(j)){for(var y,h=arguments.length,r=Array(h>1?h-1:0),o=1;o<h;o++)r[o-1]=arguments[o];(y=console)[x].apply(y,r)}}function w(x){return C.reduce(function(y,h){return y[h]=L.bind(console,h,x),y},{})}L.level=w.level=function(x){j=x},k.default=w},function(W,k,O){var C=Array.prototype.slice,j=O(52),L=O(53),w=W.exports=function(r,o,d){return d||(d={}),r===o||(r instanceof Date&&o instanceof Date?r.getTime()===o.getTime():!r||!o||"object"!=typeof r&&"object"!=typeof o?d.strict?r===o:r==o:function h(r,o,d){var s,f;if(x(r)||x(o)||r.prototype!==o.prototype)return!1;if(L(r))return!!L(o)&&(r=C.call(r),o=C.call(o),w(r,o,d));if(y(r)){if(!y(o)||r.length!==o.length)return!1;for(s=0;s<r.length;s++)if(r[s]!==o[s])return!1;return!0}try{var u=j(r),a=j(o)}catch{return!1}if(u.length!=a.length)return!1;for(u.sort(),a.sort(),s=u.length-1;s>=0;s--)if(u[s]!=a[s])return!1;for(s=u.length-1;s>=0;s--)if(!w(r[f=u[s]],o[f],d))return!1;return typeof r==typeof o}(r,o,d))};function x(r){return null==r}function y(r){return!(!r||"object"!=typeof r||"number"!=typeof r.length||"function"!=typeof r.copy||"function"!=typeof r.slice||r.length>0&&"number"!=typeof r[0])}},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=O(1),j=function(){function L(w,x,y){void 0===y&&(y={}),this.attrName=w,this.keyName=x,this.scope=null!=y.scope?y.scope&C.Scope.LEVEL|C.Scope.TYPE&C.Scope.ATTRIBUTE:C.Scope.ATTRIBUTE,null!=y.whitelist&&(this.whitelist=y.whitelist)}return L.keys=function(w){return[].map.call(w.attributes,function(x){return x.name})},L.prototype.add=function(w,x){return!!this.canAdd(w,x)&&(w.setAttribute(this.keyName,x),!0)},L.prototype.canAdd=function(w,x){return null!=C.query(w,C.Scope.BLOT&(this.scope|C.Scope.TYPE))&&(null==this.whitelist||("string"==typeof x?this.whitelist.indexOf(x.replace(/["']/g,""))>-1:this.whitelist.indexOf(x)>-1))},L.prototype.remove=function(w){w.removeAttribute(this.keyName)},L.prototype.value=function(w){var x=w.getAttribute(this.keyName);return this.canAdd(w,x)&&x?x:""},L}();k.default=j},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.Code=void 0;var C=function(){return function(R,b){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return function e(R,b){var m=[],E=!0,S=!1,q=void 0;try{for(var Y,B=R[Symbol.iterator]();!(E=(Y=B.next()).done)&&(m.push(Y.value),!b||m.length!==b);E=!0);}catch(Q){S=!0,q=Q}finally{try{!E&&B.return&&B.return()}finally{if(S)throw q}}return m}(R,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function(){function e(R,b){for(var m=0;m<b.length;m++){var E=b[m];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(R,E.key,E)}}return function(R,b,m){return b&&e(R.prototype,b),m&&e(R,m),R}}(),L=function e(R,b,m){null===R&&(R=Function.prototype);var E=Object.getOwnPropertyDescriptor(R,b);if(void 0===E){var S=Object.getPrototypeOf(R);return null===S?void 0:e(S,b,m)}if("value"in E)return E.value;var q=E.get;return void 0===q?void 0:q.call(m)},x=a(O(2)),h=a(O(0)),o=a(O(4)),s=a(O(6)),u=a(O(7));function a(e){return e&&e.__esModule?e:{default:e}}function p(e,R){if(!(e instanceof R))throw new TypeError("Cannot call a class as a function")}function l(e,R){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!R||"object"!=typeof R&&"function"!=typeof R?e:R}function v(e,R){if("function"!=typeof R&&null!==R)throw new TypeError("Super expression must either be null or a function, not "+typeof R);e.prototype=Object.create(R&&R.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(e,R):e.__proto__=R)}var P=function(e){function R(){return p(this,R),l(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return v(R,e),R}(s.default);P.blotName="code",P.tagName="CODE";var T=function(e){function R(){return p(this,R),l(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return v(R,e),j(R,[{key:"delta",value:function(){var m=this,E=this.domNode.textContent;return E.endsWith("\n")&&(E=E.slice(0,-1)),E.split("\n").reduce(function(S,q){return S.insert(q).insert("\n",m.formats())},new x.default)}},{key:"format",value:function(m,E){if(m!==this.statics.blotName||!E){var S=this.descendant(u.default,this.length()-1),B=C(S,1)[0];B?.deleteAt(B.length()-1,1),L(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"format",this).call(this,m,E)}}},{key:"formatAt",value:function(m,E,S,q){if(0!==E&&null!=h.default.query(S,h.default.Scope.BLOCK)&&(S!==this.statics.blotName||q!==this.statics.formats(this.domNode))){var B=this.newlineIndex(m);if(!(B<0||B>=m+E)){var Y=this.newlineIndex(m,!0)+1,Q=B-Y+1,ct=this.isolate(Y,Q),V=ct.next;ct.format(S,q),V instanceof R&&V.formatAt(0,m-Y+E-Q,S,q)}
1}}},{key:"insertAt",value:function(m,E,S){if(null==S){var q=this.descendant(u.default,m),B=C(q,2);B[0].insertAt(B[1],E)}}},{key:"length",value:function(){var m=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?m:m+1}},{key:"newlineIndex",value:function(m){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,m).lastIndexOf("\n");var S=this.domNode.textContent.slice(m).indexOf("\n");return S>-1?m+S:-1}},{key:"optimize",value:function(m){this.domNode.textContent.endsWith("\n")||this.appendChild(h.default.create("text","\n")),L(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"optimize",this).call(this,m);var E=this.next;null!=E&&E.prev===this&&E.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===E.statics.formats(E.domNode)&&(E.optimize(m),E.moveChildren(this),E.remove())}},{key:"replace",value:function(m){L(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"replace",this).call(this,m),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(E){var S=h.default.find(E);null==S?E.parentNode.removeChild(E):S instanceof h.default.Embed?S.remove():S.unwrap()})}}],[{key:"create",value:function(m){var E=L(R.__proto__||Object.getPrototypeOf(R),"create",this).call(this,m);return E.setAttribute("spellcheck",!1),E}},{key:"formats",value:function(){return!0}}]),R}(o.default);T.blotName="code-block",T.tagName="PRE",T.TAB="  ",k.Code=P,k.default=T},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(V){return typeof V}:function(V){return V&&"function"==typeof Symbol&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},j=function(){return function(F,A){if(Array.isArray(F))return F;if(Symbol.iterator in Object(F))return function V(F,A){var I=[],H=!0,X=!1,G=void 0;try{for(var $,D=F[Symbol.iterator]();!(H=($=D.next()).done)&&(I.push($.value),!A||I.length!==A);H=!0);}catch(rt){X=!0,G=rt}finally{try{!H&&D.return&&D.return()}finally{if(X)throw G}}return I}(F,A);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(){function V(F,A){for(var I=0;I<A.length;I++){var H=A[I];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(F,H.key,H)}}return function(F,A,I){return A&&V(F.prototype,A),I&&V(F,I),F}}(),x=E(O(2)),h=E(O(20)),o=E(O(0)),s=E(O(13)),u=E(O(24)),a=O(4),p=E(a),v=E(O(16)),T=E(O(21)),R=E(O(11)),m=E(O(3));function E(V){return V&&V.__esModule?V:{default:V}}var B=/^[ -~]*$/,Y=function(){function V(F){(function q(V,F){if(!(V instanceof F))throw new TypeError("Cannot call a class as a function")})(this,V),this.scroll=F,this.delta=this.getDelta()}return L(V,[{key:"applyDelta",value:function(A){var I=this,H=!1;this.scroll.update();var X=this.scroll.length();return this.scroll.batchStart(),A=function ct(V){return V.reduce(function(F,A){if(1===A.insert){var I=(0,T.default)(A.attributes);return delete I.image,F.insert({image:A.attributes.image},I)}if(null!=A.attributes&&(!0===A.attributes.list||!0===A.attributes.bullet)&&((A=(0,T.default)(A)).attributes.list?A.attributes.list="ordered":(A.attributes.list="bullet",delete A.attributes.bullet)),"string"==typeof A.insert){var H=A.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return F.insert(H,A.attributes)}return F.push(A)},new x.default)}(A),A.reduce(function(G,D){var $=D.retain||D.delete||D.insert.length||1,rt=D.attributes||{};if(null!=D.insert){if("string"==typeof D.insert){var nt=D.insert;nt.endsWith("\n")&&H&&(H=!1,nt=nt.slice(0,-1)),G>=X&&!nt.endsWith("\n")&&(H=!0),I.scroll.insertAt(G,nt);var ut=I.scroll.line(G),yt=j(ut,2),wt=yt[0],Nt=yt[1],qt=(0,m.default)({},(0,a.bubbleFormats)(wt));if(wt instanceof p.default){var Dt=wt.descendant(o.default.Leaf,Nt),Zt=j(Dt,1);qt=(0,m.default)(qt,(0,a.bubbleFormats)(Zt[0]))}rt=h.default.attributes.diff(qt,rt)||{}}else if("object"===C(D.insert)){var at=Object.keys(D.insert)[0];if(null==at)return G;I.scroll.insertAt(G,at,D.insert[at])}X+=$}return Object.keys(rt).forEach(function(lt){I.scroll.formatAt(G,$,lt,rt[lt])}),G+$},0),A.reduce(function(G,D){return"number"==typeof D.delete?(I.scroll.deleteAt(G,D.delete),G):G+(D.retain||D.insert.length||1)},0),this.scroll.batchEnd(),this.update(A)}},{key:"deleteText",value:function(A,I){return this.scroll.deleteAt(A,I),this.update((new x.default).retain(A).delete(I))}},{key:"formatLine",value:function(A,I){var H=this,X=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
vendor: 9,331 bytes, line 1
1return this.scroll.update(),Object.keys(X).forEach(function(G){if(null==H.scroll.whitelist||H.scroll.whitelist[G]){var D=H.scroll.lines(A,Math.max(I,1)),$=I;D.forEach(function(rt){var nt=rt.length();if(rt instanceof s.default){var ut=A-rt.offset(H.scroll),yt=rt.newlineIndex(ut+$)-ut+1;rt.formatAt(ut,yt,G,X[G])}else rt.format(G,X[G]);$-=nt})}}),this.scroll.optimize(),this.update((new x.default).retain(A).retain(I,(0,T.default)(X)))}},{key:"formatText",value:function(A,I){var H=this,X=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(X).forEach(function(G){H.scroll.formatAt(A,I,G,X[G])}),this.update((new x.default).retain(A).retain(I,(0,T.default)(X)))}},{key:"getContents",value:function(A,I){return this.delta.slice(A,A+I)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(A,I){return A.concat(I.delta())},new x.default)}},{key:"getFormat",value:function(A){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,H=[],X=[];0===I?this.scroll.path(A).forEach(function(D){var rt=j(D,1)[0];rt instanceof p.default?H.push(rt):rt instanceof o.default.Leaf&&X.push(rt)}):(H=this.scroll.lines(A,I),X=this.scroll.descendants(o.default.Leaf,A,I));var G=[H,X].map(function(D){if(0===D.length)return{};for(var $=(0,a.bubbleFormats)(D.shift());Object.keys($).length>0;){var rt=D.shift();if(null==rt)return $;$=Q((0,a.bubbleFormats)(rt),$)}return $});return m.default.apply(m.default,G)}},{key:"getText",value:function(A,I){return this.getContents(A,I).filter(function(H){return"string"==typeof H.insert}).map(function(H){return H.insert}).join("")}},{key:"insertEmbed",value:function(A,I,H){return this.scroll.insertAt(A,I,H),this.update((new x.default).retain(A).insert(function S(V,F,A){return F in V?Object.defineProperty(V,F,{value:A,enumerable:!0,configurable:!0,writable:!0}):V[F]=A,V}({},I,H)))}},{key:"insertText",value:function(A,I){var H=this,X=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return I=I.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(A,I),Object.keys(X).forEach(function(G){H.scroll.formatAt(A,I.length,G,X[G])}),this.update((new x.default).retain(A).insert(I,(0,T.default)(X)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var A=this.scroll.children.head;return!(A.statics.blotName!==p.default.blotName||A.children.length>1)&&A.children.head instanceof v.default}},{key:"removeFormat",value:function(A,I){var H=this.getText(A,I),X=this.scroll.line(A+I),G=j(X,2),D=G[0],$=G[1],rt=0,nt=new x.default;null!=D&&(rt=D instanceof s.default?D.newlineIndex($)-$+1:D.length()-$,nt=D.delta().slice($,$+rt-1).insert("\n"));var yt=this.getContents(A,I+rt).diff((new x.default).insert(H).concat(nt)),wt=(new x.default).retain(A).concat(yt);return this.applyDelta(wt)}},{key:"update",value:function(A){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],H=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,X=this.delta;if(1===I.length&&"characterData"===I[0].type&&I[0].target.data.match(B)&&o.default.find(I[0].target)){var G=o.default.find(I[0].target),D=(0,a.bubbleFormats)(G),$=G.offset(this.scroll),rt=I[0].oldValue.replace(u.default.CONTENTS,""),nt=(new x.default).insert(rt),ut=(new x.default).insert(G.value());A=(new x.default).retain($).concat(nt.diff(ut,H)).reduce(function(wt,Nt){return Nt.insert?wt.insert(Nt.insert,D):wt.push(Nt)},new x.default),this.delta=X.compose(A)}else this.delta=this.getDelta(),(!A||!(0,R.default)(X.compose(A),this.delta))&&(A=X.diff(this.delta,H));return A}}]),V}();function Q(V,F){return Object.keys(F).reduce(function(A,I){return null==V[I]||(F[I]===V[I]?A[I]=F[I]:Array.isArray(F[I])?F[I].indexOf(V[I])<0&&(A[I]=F[I].concat([V[I]])):A[I]=[F[I],V[I]]),A},{})}k.default=Y},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.Range=void 0;var C=function(){return function(R,b){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return function e(R,b){var m=[],E=!0,S=!1,q=void 0;try{for(var Y,B=R[Symbol.iterator]();!(E=(Y=B.next()).done)&&(m.push(Y.value),!b||m.length!==b);E=!0);}catch(Q){S=!0,q=Q}finally{try{!E&&B.return&&B.return()}finally{if(S)throw q}}return m}(R,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function(){function e(R,b){for(var m=0;m<b.length;m++){var E=b[m];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(R,E.key,E)}}return function(R,b,m){return b&&e(R.prototype,b),m&&e(R,m),R}}(),w=u(O(0)),y=u(O(21)),r=u(O(11)),d=u(O(8));function u(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var R=0,b=Array(e.length);R<e.length;R++)b[R]=e[R];return b}return Array.from(e)}function p(e,R){if(!(e instanceof R))throw new TypeError("Cannot call a class as a function")}var l=(0,u(O(10)).default)("quill:selection"),v=function e(R){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;p(this,e),this.index=R,this.length=b},P=function(){function e(R,b){var m=this;p(this,e),this.emitter=b,this.scroll=R,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=w.default.create("cursor",this),this.lastRange=this.savedRange=new v(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){m.mouseDown||setTimeout(m.update.bind(m,d.default.sources.USER),1)}),this.emitter.on(d.default.events.EDITOR_CHANGE,function(E,S){E===d.default.events.TEXT_CHANGE&&S.length()>0&&m.update(d.default.sources.SILENT)}),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,function(){if(m.hasFocus()){var E=m.getNativeRange();null!=E&&E.start.node!==m.cursor.textNode&&m.emitter.once(d.default.events.SCROLL_UPDATE,function(){try{m.setNativeRange(E.start.node,E.start.offset,E.end.node,E.end.offset)}catch{}})}}),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,function(E,S){if(S.range){var q=S.range;m.setNativeRange(q.startNode,q.startOffset,q.endNode,q.endOffset)}}),this.update(d.default.sources.SILENT)}return j(e,[{key:"handleComposition",value:function(){var b=this;this.root.addEventListener("compositionstart",function(){b.composing=!0}),this.root.addEventListener("compositionend",function(){if(b.composing=!1,b.cursor.parent){var m=b.cursor.restore();if(!m)return;setTimeout(function(){b.setNativeRange(m.startNode,m.startOffset,m.endNode,m.endOffset)},1)}})}},{key:"handleDragging",value:function(){var b=this;this.emitter.listenDOM("mousedown",document.body,function(){b.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){b.mouseDown=!1,b.update(d.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(b,m){if(null==this.scroll.whitelist||this.scroll.whitelist[b]){this.scroll.update();var E=this.getNativeRange();if(null!=E&&E.native.collapsed&&!w.default.query(b,w.default.Scope.BLOCK)){if(E.start.node!==this.cursor.textNode){var S=w.default.find(E.start.node,!1);if(null==S)return;if(S instanceof w.default.Leaf){var q=S.split(E.start.offset);S.parent.insertBefore(this.cursor,q)}else S.insertBefore(this.cursor,E.start.node);this.cursor.attach()}this.cursor.format(b,m),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(b){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,E=this.scroll.length();b=Math.min(b,E-1),m=Math.min(b+m,E-1)-b;var S=void 0,q=this.scroll.leaf(b),B=C(q,2),Y=B[0],Q=B[1];if(null==Y)return null;var ct=Y.position(Q,!0),V=C(ct,2);S=V[0],Q=V[1];var F=document.createRange();if(m>0){F.setStart(S,Q);var A=this.scroll.leaf(b+m),I=C(A,2);if(null==(Y=I[0]))return null;var H=Y.position(Q=I[1],!0),X=C(H,2);return F.setEnd(S=X[0],Q=X[1]),F.getBoundingClientRect()}var G="left",D=void 0;return S instanceof Text?(Q<S.data.length?(F.setStart(S,Q),F.setEnd(S,Q+1)):(F.setStart(S,Q-1),F.setEnd(S,Q),G="right"),D=F.getBoundingClientRect()):(D=Y.domNode.getBoundingClientRect(),Q>0&&(G="right")),{bottom:D.top+D.height,height:D.height,left:D[G],right:D[G],top:D.top,width:0}}},{key:"getNativeRange",value:function(){var b=document.getSelection();if(null==b||b.rangeCount<=0)return null;var m=b.getRangeAt(0);if(null==m)return null;var E=this.normalizeNative(m);return l.info("getNativeRange",E),E}},{key:"getRange",value:function(){var b=this.getNativeRange();return null==b?[null,null]:[this.normalizedToRange(b),b]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(b){var m=this,E=[[b.start.node,b.start.offset]];b.native.collapsed||E.push([b.end.node,b.end.offset]);var S=E.map(function(Y){var Q=C(Y,2),ct=Q[0],V=Q[1],F=w.default.find(ct,!0),A=F.offset(m.scroll);return 0===V?A:F instanceof w.default.Container?A+F.length():A+F.index(ct,V)}),q=Math.min(Math.max.apply(Math,a(S)),this.scroll.length()-1),B=Math.min.apply(Math,[q].concat(a(S)));return new v(B,q-B)}},{key:"normalizeNative",value:function(b){if(!T(this.root,b.startContainer)||!b.collapsed&&!T(this.root,b.endContainer))return null;var m={start:{node:b.startContainer,offset:b.startOffset},end:{node:b.endContainer,offset:b.endOffset},native:b};
1return[m.start,m.end].forEach(function(E){for(var S=E.node,q=E.offset;!(S instanceof Text)&&S.childNodes.length>0;)if(S.childNodes.length>q)S=S.childNodes[q],q=0;else{if(S.childNodes.length!==q)break;q=(S=S.lastChild)instanceof Text?S.data.length:S.childNodes.length+1}E.node=S,E.offset=q}),m}},{key:"rangeToNative",value:function(b){var m=this,E=b.collapsed?[b.index]:[b.index,b.index+b.length],S=[],q=this.scroll.length();return E.forEach(function(B,Y){B=Math.min(q-1,B);var ct=m.scroll.leaf(B),V=C(ct,2),A=V[1],I=V[0].position(A,0!==Y),H=C(I,2);S.push(H[0],A=H[1])}),S.length<2&&(S=S.concat(S)),S}},{key:"scrollIntoView",value:function(b){var m=this.lastRange;if(null!=m){var E=this.getBounds(m.index,m.length);if(null!=E){var S=this.scroll.length()-1,q=this.scroll.line(Math.min(m.index,S)),Y=C(q,1)[0],Q=Y;if(m.length>0){var ct=this.scroll.line(Math.min(m.index+m.length,S));Q=C(ct,1)[0]}if(null!=Y&&null!=Q){var F=b.getBoundingClientRect();E.top<F.top?b.scrollTop-=F.top-E.top:E.bottom>F.bottom&&(b.scrollTop+=E.bottom-F.bottom)}}}}},{key:"setNativeRange",value:function(b,m){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b,S=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m,q=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(l.info("setNativeRange",b,m,E,S),null==b||null!=this.root.parentNode&&null!=b.parentNode&&null!=E.parentNode){var B=document.getSelection();if(null!=B)if(null!=b){this.hasFocus()||this.root.focus();var Y=(this.getNativeRange()||{}).native;if(null==Y||q||b!==Y.startContainer||m!==Y.startOffset||E!==Y.endContainer||S!==Y.endOffset){"BR"==b.tagName&&(m=[].indexOf.call(b.parentNode.childNodes,b),b=b.parentNode),"BR"==E.tagName&&(S=[].indexOf.call(E.parentNode.childNodes,E),E=E.parentNode);var Q=document.createRange();Q.setStart(b,m),Q.setEnd(E,S),B.removeAllRanges(),B.addRange(Q)}}else B.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(b){var m=arguments.length>1&&void 0!==arguments[1]&&arguments[1],E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"==typeof m&&(E=m,m=!1),l.info("setRange",b),null!=b){var S=this.rangeToNative(b);this.setNativeRange.apply(this,a(S).concat([m]))}else this.setNativeRange(null);this.update(E)}},{key:"update",value:function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,m=this.lastRange,E=this.getRange(),S=C(E,2),B=S[1];if(this.lastRange=S[0],null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,r.default)(m,this.lastRange)){var Y;!this.composing&&null!=B&&B.native.collapsed&&B.start.node!==this.cursor.textNode&&this.cursor.restore();var ct,Q=[d.default.events.SELECTION_CHANGE,(0,y.default)(this.lastRange),(0,y.default)(m),b];(Y=this.emitter).emit.apply(Y,[d.default.events.EDITOR_CHANGE].concat(Q)),b!==d.default.sources.SILENT&&(ct=this.emitter).emit.apply(ct,Q)}}}]),e}();function T(e,R){return R instanceof Text&&(R=R.parentNode),e.contains(R)}k.Range=v,k.default=P},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function d(s,f){for(var u=0;u<f.length;u++){var a=f[u];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,f,u){return f&&d(s.prototype,f),u&&d(s,u),s}}(),j=function d(s,f,u){null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,f);if(void 0===a){var p=Object.getPrototypeOf(s);return null===p?void 0:d(p,f,u)}if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(u)},o=function(d){function s(){return function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s),function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),C(s,[{key:"insertInto",value:function(u,a){0===u.children.length?j(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"insertInto",this).call(this,u,a):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),s}(function x(d){return d&&d.__esModule?d:{default:d}}(O(0)).default.Embed);o.blotName="break",o.tagName="BR",k.default=o},function(W,k,O){"use strict";
vendor: 4,213 bytes, line 1
1var h,C=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])},function(r,o){function d(){this.constructor=r}h(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(44),L=O(30),w=O(1),x=function(h){function r(o){var d=h.call(this,o)||this;return d.build(),d}return C(r,h),r.prototype.appendChild=function(o){this.insertBefore(o)},r.prototype.attach=function(){h.prototype.attach.call(this),this.children.forEach(function(o){o.attach()})},r.prototype.build=function(){var o=this;this.children=new j.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(d){try{var s=y(d);o.insertBefore(s,o.children.head||void 0)}catch(f){if(f instanceof w.ParchmentError)return;throw f}})},r.prototype.deleteAt=function(o,d){if(0===o&&d===this.length())return this.remove();this.children.forEachAt(o,d,function(s,f,u){s.deleteAt(f,u)})},r.prototype.descendant=function(o,d){var s=this.children.find(d),f=s[0],u=s[1];return null==o.blotName&&o(f)||null!=o.blotName&&f instanceof o?[f,u]:f instanceof r?f.descendant(o,u):[null,-1]},r.prototype.descendants=function(o,d,s){void 0===d&&(d=0),void 0===s&&(s=Number.MAX_VALUE);var f=[],u=s;return this.children.forEachAt(d,s,function(a,p,l){(null==o.blotName&&o(a)||null!=o.blotName&&a instanceof o)&&f.push(a),a instanceof r&&(f=f.concat(a.descendants(o,p,u))),u-=l}),f},r.prototype.detach=function(){this.children.forEach(function(o){o.detach()}),h.prototype.detach.call(this)},r.prototype.formatAt=function(o,d,s,f){this.children.forEachAt(o,d,function(u,a,p){u.formatAt(a,p,s,f)})},r.prototype.insertAt=function(o,d,s){var f=this.children.find(o),u=f[0];if(u)u.insertAt(f[1],d,s);else{var p=null==s?w.create("text",d):w.create(d,s);this.appendChild(p)}},r.prototype.insertBefore=function(o,d){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(s){return o instanceof s}))throw new w.ParchmentError("Cannot insert "+o.statics.blotName+" into "+this.statics.blotName);o.insertInto(this,d)},r.prototype.length=function(){return this.children.reduce(function(o,d){return o+d.length()},0)},r.prototype.moveChildren=function(o,d){this.children.forEach(function(s){o.insertBefore(s,d)})},r.prototype.optimize=function(o){if(h.prototype.optimize.call(this,o),0===this.children.length)if(null!=this.statics.defaultChild){var d=w.create(this.statics.defaultChild);this.appendChild(d),d.optimize(o)}else this.remove()},r.prototype.path=function(o,d){void 0===d&&(d=!1);var s=this.children.find(o,d),f=s[0],u=s[1],a=[[this,o]];return f instanceof r?a.concat(f.path(u,d)):(null!=f&&a.push([f,u]),a)},r.prototype.removeChild=function(o){this.children.remove(o)},r.prototype.replace=function(o){o instanceof r&&o.moveChildren(this),h.prototype.replace.call(this,o)},r.prototype.split=function(o,d){if(void 0===d&&(d=!1),!d){if(0===o)return this;if(o===this.length())return this.next}var s=this.clone();return this.parent.insertBefore(s,this.next),this.children.forEachAt(o,this.length(),function(f,u,a){f=f.split(u,d),s.appendChild(f)}),s},r.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},r.prototype.update=function(o,d){var s=this,f=[],u=[];o.forEach(function(a){a.target===s.domNode&&"childList"===a.type&&(f.push.apply(f,a.addedNodes),u.push.apply(u,a.removedNodes))}),u.forEach(function(a){if(!(null!=a.parentNode&&"IFRAME"!==a.tagName&&document.body.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var p=w.find(a);null!=p&&(null==p.domNode.parentNode||p.domNode.parentNode===s.domNode)&&p.detach()}}),f.filter(function(a){return a.parentNode==s.domNode}).sort(function(a,p){return a===p?0:a.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(a){var p=null;null!=a.nextSibling&&(p=w.find(a.nextSibling));var l=y(a);(l.next!=p||null==l.next)&&(null!=l.parent&&l.parent.removeChild(s),s.insertBefore(l,p||void 0))})},r}(L.default);function y(h){var r=w.find(h);if(null==r)try{r=w.create(h)}catch{r=w.create(w.Scope.INLINE),[].slice.call(h.childNodes).forEac
1h(function(d){r.domNode.appendChild(d)}),h.parentNode&&h.parentNode.replaceChild(r.domNode,h),r.attach()}return r}k.default=x},function(W,k,O){"use strict";var h,C=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])},function(r,o){function d(){this.constructor=r}h(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(12),L=O(31),w=O(17),x=O(1),y=function(h){function r(o){var d=h.call(this,o)||this;return d.attributes=new L.default(d.domNode),d}return C(r,h),r.formats=function(o){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?o.tagName.toLowerCase():void 0)},r.prototype.format=function(o,d){var s=x.query(o);s instanceof j.default?this.attributes.attribute(s,d):d&&null!=s&&(o!==this.statics.blotName||this.formats()[o]!==d)&&this.replaceWith(o,d)},r.prototype.formats=function(){var o=this.attributes.values(),d=this.statics.formats(this.domNode);return null!=d&&(o[this.statics.blotName]=d),o},r.prototype.replaceWith=function(o,d){var s=h.prototype.replaceWith.call(this,o,d);return this.attributes.copy(s),s},r.prototype.update=function(o,d){var s=this;h.prototype.update.call(this,o,d),o.some(function(f){return f.target===s.domNode&&"attributes"===f.type})&&this.attributes.build()},r.prototype.wrap=function(o,d){var s=h.prototype.wrap.call(this,o,d);return s instanceof r&&s.statics.scope===this.statics.scope&&this.attributes.move(s),s},r}(w.default);k.default=y},function(W,k,O){"use strict";
vendor: 4,192 bytes, line 1
1var x,C=this&&this.__extends||(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,h){y.__proto__=h}||function(y,h){for(var r in h)h.hasOwnProperty(r)&&(y[r]=h[r])},function(y,h){function r(){this.constructor=y}x(y,h),y.prototype=null===h?Object.create(h):(r.prototype=h.prototype,new r)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(30),L=O(1),w=function(x){function y(){return null!==x&&x.apply(this,arguments)||this}return C(y,x),y.value=function(h){return!0},y.prototype.index=function(h,r){return this.domNode===h||this.domNode.compareDocumentPosition(h)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(r,1):-1},y.prototype.position=function(h,r){var o=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return h>0&&(o+=1),[this.parent.domNode,o]},y.prototype.value=function(){var h;return(h={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,h},y.scope=L.Scope.INLINE_BLOT,y}(j.default);k.default=w},function(W,k,O){var C=O(11),j=O(3),L={attributes:{compose:function(x,y,h){"object"!=typeof x&&(x={}),"object"!=typeof y&&(y={});var r=j(!0,{},y);for(var o in h||(r=Object.keys(r).reduce(function(d,s){return null!=r[s]&&(d[s]=r[s]),d},{})),x)void 0!==x[o]&&void 0===y[o]&&(r[o]=x[o]);return Object.keys(r).length>0?r:void 0},diff:function(x,y){"object"!=typeof x&&(x={}),"object"!=typeof y&&(y={});var h=Object.keys(x).concat(Object.keys(y)).reduce(function(r,o){return C(x[o],y[o])||(r[o]=void 0===y[o]?null:y[o]),r},{});return Object.keys(h).length>0?h:void 0},transform:function(x,y,h){if("object"!=typeof x)return y;if("object"==typeof y){if(!h)return y;var r=Object.keys(y).reduce(function(o,d){return void 0===x[d]&&(o[d]=y[d]),o},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(x){return new w(x)},length:function(x){return"number"==typeof x.delete?x.delete:"number"==typeof x.retain?x.retain:"string"==typeof x.insert?x.insert.length:1}};function w(x){this.ops=x,this.index=0,this.offset=0}w.prototype.hasNext=function(){return this.peekLength()<1/0},w.prototype.next=function(x){x||(x=1/0);var y=this.ops[this.index];if(y){var h=this.offset,r=L.length(y);if(x>=r-h?(x=r-h,this.index+=1,this.offset=0):this.offset+=x,"number"==typeof y.delete)return{delete:x};var o={};return y.attributes&&(o.attributes=y.attributes),"number"==typeof y.retain?o.retain=x:o.insert="string"==typeof y.insert?y.insert.substr(h,x):y.insert,o}return{retain:1/0}},w.prototype.peek=function(){return this.ops[this.index]},w.prototype.peekLength=function(){return this.ops[this.index]?L.length(this.ops[this.index])-this.offset:1/0},w.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},w.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var x=this.offset,y=this.index,h=this.next(),r=this.ops.slice(this.index);return this.offset=x,this.index=y,[h].concat(r)}return[]},W.exports=L},function(W,k){var O=function(){"use strict";function C(s,f){return null!=f&&s instanceof f}var j,L,w;try{j=Map}catch{j=function(){}}try{L=Set}catch{L=function(){}}try{w=Promise}catch{w=function(){}}function x(s,f,u,a,p){"object"==typeof f&&(u=f.depth,a=f.prototype,p=f.includeNonEnumerable,f=f.circular);var l=[],v=[],P=typeof Buffer<"u";return typeof f>"u"&&(f=!0),typeof u>"u"&&(u=1/0),function T(e,R){if(null===e)return null;if(0===R)return e;var b,m;if("object"!=typeof e)return e;if(C(e,j))b=new j;else if(C(e,L))b=new L;else if(C(e,w))b=new w(function(F,A){e.then(function(I){F(T(I,R-1))},function(I){A(T(I,R-1))})});else if(x.__isArray(e))b=[];else if(x.__isRegExp(e))b=new RegExp(e.source,d(e)),e.lastIndex&&(b.lastIndex=e.lastIndex);else if(x.__isDate(e))b=new Date(e.getTime());else{if(P&&Buffer.isBuffer(e))return b=Buffer.allocUnsafe?Buffer.allocUnsafe(e.length):new Buffer(e.length),e.copy(b),b;C(e,Error)?b=Object.create(e):typeof a>"u"?(m=Object.getPrototypeOf(e),b=Object.create(m)):(b=Object.create(a),m=a)}if(f){var E=l.indexOf(e);if(-1!=E)return v[E];l.push(e),v.push(b)}for(var S in C(e,j)&&e.forEach(function(F,A){var I=T(A,R-1),H=T(F,R-1);b.set(I,H)}
1),C(e,L)&&e.forEach(function(F){var A=T(F,R-1);b.add(A)}),e){var q;m&&(q=Object.getOwnPropertyDescriptor(m,S)),(!q||null!=q.set)&&(b[S]=T(e[S],R-1))}if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(e);for(S=0;S<B.length;S++){var Y=B[S];(Q=Object.getOwnPropertyDescriptor(e,Y))&&!Q.enumerable&&!p||(b[Y]=T(e[Y],R-1),Q.enumerable||Object.defineProperty(b,Y,{enumerable:!1}))}}if(p){var ct=Object.getOwnPropertyNames(e);for(S=0;S<ct.length;S++){var Q,V=ct[S];(Q=Object.getOwnPropertyDescriptor(e,V))&&Q.enumerable||(b[V]=T(e[V],R-1),Object.defineProperty(b,V,{enumerable:!1}))}}return b}(s,u)}function y(s){return Object.prototype.toString.call(s)}function d(s){var f="";return s.global&&(f+="g"),s.ignoreCase&&(f+="i"),s.multiline&&(f+="m"),f}return x.clonePrototype=function(f){if(null===f)return null;var u=function(){};return u.prototype=f,new u},x.__objToStr=y,x.__isDate=function h(s){return"object"==typeof s&&"[object Date]"===y(s)},x.__isArray=function r(s){return"object"==typeof s&&"[object Array]"===y(s)},x.__isRegExp=function o(s){return"object"==typeof s&&"[object RegExp]"===y(s)},x.__getRegExpFlags=d,x}();"object"==typeof W&&W.exports&&(W.exports=O)},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){return function(m,E){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return function b(m,E){var S=[],q=!0,B=!1,Y=void 0;try{for(var ct,Q=m[Symbol.iterator]();!(q=(ct=Q.next()).done)&&(S.push(ct.value),!E||S.length!==E);q=!0);}catch(V){B=!0,Y=V}finally{try{!q&&Q.return&&Q.return()}finally{if(B)throw Y}}return S}(m,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function(){function b(m,E){for(var S=0;S<E.length;S++){var q=E[S];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(m,q.key,q)}}return function(m,E,S){return E&&b(m.prototype,E),S&&b(m,S),m}}(),L=function b(m,E,S){null===m&&(m=Function.prototype);var q=Object.getOwnPropertyDescriptor(m,E);if(void 0===q){var B=Object.getPrototypeOf(m);return null===B?void 0:b(B,E,S)}if("value"in q)return q.value;var Y=q.get;return void 0===Y?void 0:Y.call(S)},x=l(O(0)),h=l(O(8)),r=O(4),o=l(r),s=l(O(16)),u=l(O(13)),p=l(O(25));function l(b){return b&&b.__esModule?b:{default:b}}function e(b){return b instanceof o.default||b instanceof r.BlockEmbed}var R=function(b){function m(E,S){!function v(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}(this,m);var q=function P(b,m){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!m||"object"!=typeof m&&"function"!=typeof m?b:m}(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,E));return q.emitter=S.emitter,Array.isArray(S.whitelist)&&(q.whitelist=S.whitelist.reduce(function(B,Y){return B[Y]=!0,B},{})),q.domNode.addEventListener("DOMNodeInserted",function(){}),q.optimize(),q.enable(),q}return function T(b,m){if("function"!=typeof m&&null!==m)throw new TypeError("Super expression must either be null or a function, not "+typeof m);b.prototype=Object.create(m&&m.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(b,m):b.__proto__=m)}(m,b),j(m,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(S,q){var B=this.line(S),Y=C(B,2),Q=Y[0],ct=Y[1],V=this.line(S+q),A=C(V,1)[0];if(L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"deleteAt",this).call(this,S,q),null!=A&&Q!==A&&ct>0){if(Q instanceof r.BlockEmbed||A instanceof r.BlockEmbed)return void this.optimize();if(Q instanceof u.default){var I=Q.newlineIndex(Q.length(),!0);if(I>-1&&(Q=Q.split(I+1))===A)return void this.optimize()}else if(A instanceof u.default){var H=A.newlineIndex(0);H>-1&&A.split(H+1)}Q.moveChildren(A,A.children.head instanceof s.default?null:A.children.head),Q.remove()}this.optimize()}},{key:"enable",value:function(){this.domNode.setAttribute("contenteditable",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}},{key:"formatAt",value:function(S,q,B,Y){null!=this.whitelist&&!this.whitelist[B]||(L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"formatAt",this).call(this,S,q,B,Y),this.optimize())}},{key:"insertAt",value:function(S,q,B){if(null==B||null==this.whitelist||this.whitelist[q]){if(S>=this.length())if(null==B||null==x.default.query(q,x.default.Scope.BLOCK)){var Y=x.default.create(this.statics.defaultChild);this.appendChild(Y),null==B&&q.endsWith("\n")&&(q=q.slice(0,-1)),Y.insertAt(0,q,B)}else{var Q=x.default.create(q,B);this.appendChild(Q)}else L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"insertAt",this).call(this,S,q,B);this.optimize()}}},{key:"insertBefore",value:function(S,q){if(S.statics.scope===x.default.Scope.INLINE_BLOT){var B=x.default.create(this.statics.defaultChild);B.appendChild(S),S=B}L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"insertBefore",this).call(this,S,q)}},{key:"leaf",value:function(S){return this.path(S).pop()||[null,-1]}},{key:"line",value:function(S){return S===this.length()?this.line(S-1):this.descendant(e,S)}},{key:"lines",value:function(){return function Y(Q,ct,V){var F=[],A=V;
vendor: 4,332 bytes, line 1
1return Q.children.forEachAt(ct,V,function(I,H,X){e(I)?F.push(I):I instanceof x.default.Container&&(F=F.concat(Y(I,H,A))),A-=X}),F}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"optimize",this).call(this,S,q),S.length>0&&this.emitter.emit(h.default.events.SCROLL_OPTIMIZE,S,q))}},{key:"path",value:function(S){return L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"path",this).call(this,S).slice(1)}},{key:"update",value:function(S){if(!0!==this.batch){var q=h.default.sources.USER;"string"==typeof S&&(q=S),Array.isArray(S)||(S=this.observer.takeRecords()),S.length>0&&this.emitter.emit(h.default.events.SCROLL_BEFORE_UPDATE,q,S),L(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"update",this).call(this,S.concat([])),S.length>0&&this.emitter.emit(h.default.events.SCROLL_UPDATE,q,S)}}}]),m}(x.default.Scroll);R.blotName="scroll",R.className="ql-editor",R.tagName="DIV",R.defaultChild="block",R.allowedChildren=[o.default,r.BlockEmbed,p.default],k.default=R},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.SHORTKEY=k.default=void 0;var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(D){return typeof D}:function(D){return D&&"function"==typeof Symbol&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},j=function(){return function($,rt){if(Array.isArray($))return $;if(Symbol.iterator in Object($))return function D($,rt){var nt=[],ut=!0,yt=!1,wt=void 0;try{for(var qt,Nt=$[Symbol.iterator]();!(ut=(qt=Nt.next()).done)&&(nt.push(qt.value),!rt||nt.length!==rt);ut=!0);}catch(Dt){yt=!0,wt=Dt}finally{try{!ut&&Nt.return&&Nt.return()}finally{if(yt)throw wt}}return nt}($,rt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(){function D($,rt){for(var nt=0;nt<rt.length;nt++){var ut=rt[nt];ut.enumerable=ut.enumerable||!1,ut.configurable=!0,"value"in ut&&(ut.writable=!0),Object.defineProperty($,ut.key,ut)}}return function($,rt,nt){return rt&&D($.prototype,rt),nt&&D($,nt),$}}(),x=b(O(21)),h=b(O(11)),o=b(O(3)),s=b(O(2)),u=b(O(20)),p=b(O(0)),v=b(O(5)),T=b(O(10)),R=b(O(9));function b(D){return D&&D.__esModule?D:{default:D}}function m(D,$,rt){return $ in D?Object.defineProperty(D,$,{value:rt,enumerable:!0,configurable:!0,writable:!0}):D[$]=rt,D}var B=(0,T.default)("quill:keyboard"),Y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",Q=function(D){function $(rt,nt){!function E(D,$){if(!(D instanceof $))throw new TypeError("Cannot call a class as a function")}(this,$);var ut=function S(D,$){if(!D)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!$||"object"!=typeof $&&"function"!=typeof $?D:$}(this,($.__proto__||Object.getPrototypeOf($)).call(this,rt,nt));return ut.bindings={},Object.keys(ut.options.bindings).forEach(function(yt){"list autofill"===yt&&null!=rt.scroll.whitelist&&!rt.scroll.whitelist.list||ut.options.bindings[yt]&&ut.addBinding(ut.options.bindings[yt])}),ut.addBinding({key:$.keys.ENTER,shiftKey:null},I),ut.addBinding({key:$.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(ut.addBinding({key:$.keys.BACKSPACE},{collapsed:!0},V),ut.addBinding({key:$.keys.DELETE},{collapsed:!0},F)):(ut.addBinding({key:$.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},V),ut.addBinding({key:$.keys.DELETE},{collapsed:!0,suffix:/^.?$/},F)),ut.addBinding({key:$.keys.BACKSPACE},{collapsed:!1},A),ut.addBinding({key:$.keys.DELETE},{collapsed:!1},A),ut.addBinding({key:$.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},V),ut.listen(),ut}return function q(D,$){if("function"!=typeof $&&null!==$)throw new TypeError("Super expression must either be null or a function, not "+typeof $);D.prototype=Object.create($&&$.prototype,{constructor:{value:D,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(D,$):D.__proto__=$)}($,D),L($,null,[{key:"match",value:function(nt,ut){return ut=G(ut),
1!["altKey","ctrlKey","metaKey","shiftKey"].some(function(yt){return!!ut[yt]!==nt[yt]&&null!==ut[yt]})&&ut.key===(nt.which||nt.keyCode)}}]),L($,[{key:"addBinding",value:function(nt){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},yt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},wt=G(nt);if(null==wt||null==wt.key)return B.warn("Attempted to add invalid keyboard binding",wt);"function"==typeof ut&&(ut={handler:ut}),"function"==typeof yt&&(yt={handler:yt}),wt=(0,o.default)(wt,ut,yt),this.bindings[wt.key]=this.bindings[wt.key]||[],this.bindings[wt.key].push(wt)}},{key:"listen",value:function(){var nt=this;this.quill.root.addEventListener("keydown",function(ut){if(!ut.defaultPrevented){var wt=(nt.bindings[ut.which||ut.keyCode]||[]).filter(function(Ft){return $.match(ut,Ft)});if(0!==wt.length){var Nt=nt.quill.getSelection();if(null!=Nt&&nt.quill.hasFocus()){var qt=nt.quill.getLine(Nt.index),Dt=j(qt,2),Zt=Dt[0],Ct=Dt[1],at=nt.quill.getLeaf(Nt.index),lt=j(at,2),vt=lt[0],pt=lt[1],ht=0===Nt.length?[vt,pt]:nt.quill.getLeaf(Nt.index+Nt.length),Pt=j(ht,2),dt=Pt[0],Et=Pt[1],re=vt instanceof p.default.Text?vt.value().slice(0,pt):"",se=dt instanceof p.default.Text?dt.value().slice(Et):"",Bt={collapsed:0===Nt.length,empty:0===Nt.length&&Zt.length()<=1,format:nt.quill.getFormat(Nt),offset:Ct,prefix:re,suffix:se};wt.some(function(Ft){if(null!=Ft.collapsed&&Ft.collapsed!==Bt.collapsed||null!=Ft.empty&&Ft.empty!==Bt.empty||null!=Ft.offset&&Ft.offset!==Bt.offset)return!1;if(Array.isArray(Ft.format)){if(Ft.format.every(function(Yt){return null==Bt.format[Yt]}))return!1}else if("object"===C(Ft.format)&&!Object.keys(Ft.format).every(function(Yt){return!0===Ft.format[Yt]?null!=Bt.format[Yt]:!1===Ft.format[Yt]?null==Bt.format[Yt]:(0,h.default)(Ft.format[Yt],Bt.format[Yt])}))return!1;return!(null!=Ft.prefix&&!Ft.prefix.test(Bt.prefix)||null!=Ft.suffix&&!Ft.suffix.test(Bt.suffix))&&!0!==Ft.handler.call(nt,Nt,Bt)})&&ut.preventDefault()}}}})}}]),$}(R.default);function ct(D,$){var rt;return m(rt={key:D,shiftKey:$,altKey:null},D===Q.keys.LEFT?"prefix":"suffix",/^$/),m(rt,"handler",function(yt){var wt=yt.index;D===Q.keys.RIGHT&&(wt+=yt.length+1);var Nt=this.quill.getLeaf(wt);return!(j(Nt,1)[0]instanceof p.default.Embed&&(D===Q.keys.LEFT?$?this.quill.setSelection(yt.index-1,yt.length+1,v.default.sources.USER):this.quill.setSelection(yt.index-1,v.default.sources.USER):$?this.quill.setSelection(yt.index,yt.length+1,v.default.sources.USER):this.quill.setSelection(yt.index+yt.length+1,v.default.sources.USER),1))}),rt}function V(D,$){if(!(0===D.index||this.quill.getLength()<=1)){var rt=this.quill.getLine(D.index),ut=j(rt,1)[0],yt={};if(0===$.offset){var wt=this.quill.getLine(D.index-1),qt=j(wt,1)[0];if(null!=qt&&qt.length()>1){var Dt=ut.formats(),Zt=this.quill.getFormat(D.index-1,1);yt=u.default.attributes.diff(Dt,Zt)||{}}}var Ct=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test($.prefix)?2:1;this.quill.deleteText(D.index-Ct,Ct,v.default.sources.USER),Object.keys(yt).length>0&&this.quill.formatLine(D.index-Ct,Ct,yt,v.default.sources.USER),this.quill.focus()}}function F(D,$){var rt=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test($.suffix)?2:1;if(!(D.index>=this.quill.getLength()-rt)){var nt={},ut=0,yt=this.quill.getLine(D.index),Nt=j(yt,1)[0];if($.offset>=Nt.length()-1){var qt=this.quill.getLine(D.index+1),Zt=j(qt,1)[0];if(Zt){var Ct=Nt.formats(),at=this.quill.getFormat(D.index,1);nt=u.default.attributes.diff(Ct,at)||{},ut=Zt.length()}}this.quill.deleteText(D.index,rt,v.default.sources.USER),Object.keys(nt).length>0&&this.quill.formatLine(D.index+ut-1,rt,nt,v.default.sources.USER)}}function A(D){var $=this.quill.getLines(D),rt={};if($.length>1){var nt=$[0].formats(),ut=$[$.length-1].formats();rt=u.default.attributes.diff(ut,nt)||{}}this.quill.deleteText(D,v.default.sources.USER),Object.keys(rt).length>0&&this.quill.formatLine(D.index,1,rt,v.default.sources.USER),this.quill.setSelection(D.index,v.default.sources.SILENT),this.quill.focus()}function I(D,$){var rt=this;D.length>0&&this.quill.scroll.deleteAt(D.index,D.length);var nt=Object.keys($.format).reduce(function(ut,yt){return p.default.query(yt,p.default.Scope.BLOCK)&&!Array.isArray($.format[yt])&&(ut[yt]=$.format[yt]),ut},{});this.quill.insertText(D.index,"\n",nt,v.default.sources.USER),this.quill.setSelection(D.index+1,v.default.sources.SILENT),this.quill.focus(),Ob
vendor: 4,144 bytes, line 1
1ject.keys($.format).forEach(function(ut){null==nt[ut]&&(Array.isArray($.format[ut])||"link"!==ut&&rt.quill.format(ut,$.format[ut],v.default.sources.USER))})}function H(D){return{key:Q.keys.TAB,shiftKey:!D,format:{"code-block":!0},handler:function(rt){var nt=p.default.query("code-block"),ut=rt.index,yt=rt.length,wt=this.quill.scroll.descendant(nt,ut),Nt=j(wt,2),qt=Nt[0],Dt=Nt[1];if(null!=qt){var Zt=this.quill.getIndex(qt),Ct=qt.newlineIndex(Dt,!0)+1,at=qt.newlineIndex(Zt+Dt+yt),lt=qt.domNode.textContent.slice(Ct,at).split("\n");Dt=0,lt.forEach(function(vt,pt){D?(qt.insertAt(Ct+Dt,nt.TAB),Dt+=nt.TAB.length,0===pt?ut+=nt.TAB.length:yt+=nt.TAB.length):vt.startsWith(nt.TAB)&&(qt.deleteAt(Ct+Dt,nt.TAB.length),Dt-=nt.TAB.length,0===pt?ut-=nt.TAB.length:yt-=nt.TAB.length),Dt+=vt.length+1}),this.quill.update(v.default.sources.USER),this.quill.setSelection(ut,yt,v.default.sources.SILENT)}}}}function X(D){return{key:D[0].toUpperCase(),shortKey:!0,handler:function(rt,nt){this.quill.format(D,!nt.format[D],v.default.sources.USER)}}}function G(D){if("string"==typeof D||"number"==typeof D)return G({key:D});if("object"===(typeof D>"u"?"undefined":C(D))&&(D=(0,x.default)(D,!1)),"string"==typeof D.key)if(null!=Q.keys[D.key.toUpperCase()])D.key=Q.keys[D.key.toUpperCase()];else{if(1!==D.key.length)return null;D.key=D.key.toUpperCase().charCodeAt(0)}return D.shortKey&&(D[Y]=D.shortKey,delete D.shortKey),D}Q.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},Q.DEFAULTS={bindings:{bold:X("bold"),italic:X("italic"),underline:X("underline"),indent:{key:Q.keys.TAB,format:["blockquote","indent","list"],handler:function($,rt){if(rt.collapsed&&0!==rt.offset)return!0;this.quill.format("indent","+1",v.default.sources.USER)}},outdent:{key:Q.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function($,rt){if(rt.collapsed&&0!==rt.offset)return!0;this.quill.format("indent","-1",v.default.sources.USER)}},"outdent backspace":{key:Q.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function($,rt){null!=rt.format.indent?this.quill.format("indent","-1",v.default.sources.USER):null!=rt.format.list&&this.quill.format("list",!1,v.default.sources.USER)}},"indent code-block":H(!0),"outdent code-block":H(!1),"remove tab":{key:Q.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function($){this.quill.deleteText($.index-1,1,v.default.sources.USER)}},tab:{key:Q.keys.TAB,handler:function($){this.quill.history.cutoff();var rt=(new s.default).retain($.index).delete($.length).insert("\t");this.quill.updateContents(rt,v.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection($.index+1,v.default.sources.SILENT)}},"list empty enter":{key:Q.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function($,rt){this.quill.format("list",!1,v.default.sources.USER),rt.format.indent&&this.quill.format("indent",!1,v.default.sources.USER)}},"checklist enter":{key:Q.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function($){var rt=this.quill.getLine($.index),nt=j(rt,2),ut=nt[0],yt=nt[1],wt=(0,o.default)({},ut.formats(),{list:"checked"}),Nt=(new s.default).retain($.index).insert("\n",wt).retain(ut.length()-yt-1).retain(1,{list:"unchecked"});this.quill.updateContents(Nt,v.default.sources.USER),this.quill.setSelection($.index+1,v.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:Q.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function($,rt){var nt=this.quill.getLine($.index),ut=j(nt,2),yt=ut[0],wt=ut[1],Nt=(new s.default).retain($.index).insert("\n",rt.format).retain(yt.length()-wt-1).retain(1,{header:null});this.quill.updateContents(Nt,v.default.sources.USER),this.quill.setSelection($.index+1,v.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function($,rt){var nt=rt.prefix.length,ut=this.quill.getLine($.index),yt=j(ut,2),wt=yt[0],Nt=yt[1];if(Nt>nt)return!0;var qt=void 0;switch(rt.prefix.trim()){case"[]":case"[ ]":qt="unchecked";break;
vendor: 4,131 bytes, line 1
1case"[x]":qt="checked";break;case"-":case"*":qt="bullet";break;default:qt="ordered"}this.quill.insertText($.index," ",v.default.sources.USER),this.quill.history.cutoff();var Dt=(new s.default).retain($.index-Nt).delete(nt+1).retain(wt.length()-2-Nt).retain(1,{list:qt});this.quill.updateContents(Dt,v.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection($.index-nt,v.default.sources.SILENT)}},"code exit":{key:Q.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function($){var rt=this.quill.getLine($.index),nt=j(rt,2),ut=nt[0],yt=nt[1],wt=(new s.default).retain($.index+ut.length()-yt-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(wt,v.default.sources.USER)}},"embed left":ct(Q.keys.LEFT,!1),"embed left shift":ct(Q.keys.LEFT,!0),"embed right":ct(Q.keys.RIGHT,!1),"embed right shift":ct(Q.keys.RIGHT,!0)}},k.default=Q,k.SHORTKEY=Y},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){return function(a,p){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function u(a,p){var l=[],v=!0,P=!1,T=void 0;try{for(var R,e=a[Symbol.iterator]();!(v=(R=e.next()).done)&&(l.push(R.value),!p||l.length!==p);v=!0);}catch(b){P=!0,T=b}finally{try{!v&&e.return&&e.return()}finally{if(P)throw T}}return l}(a,p);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function u(a,p,l){null===a&&(a=Function.prototype);var v=Object.getOwnPropertyDescriptor(a,p);if(void 0===v){var P=Object.getPrototypeOf(a);return null===P?void 0:u(P,p,l)}if("value"in v)return v.value;var T=v.get;return void 0===T?void 0:T.call(l)},L=function(){function u(a,p){for(var l=0;l<p.length;l++){var v=p[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(a,v.key,v)}}return function(a,p,l){return p&&u(a.prototype,p),l&&u(a,l),a}}(),x=r(O(0)),h=r(O(7));function r(u){return u&&u.__esModule?u:{default:u}}var f=function(u){function a(p,l){!function o(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}(this,a);var v=function d(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?u:a}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,p));return v.selection=l,v.textNode=document.createTextNode(a.CONTENTS),v.domNode.appendChild(v.textNode),v._length=0,v}return function s(u,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}(a,u),L(a,null,[{key:"value",value:function(){}}]),L(a,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(l,v){if(0!==this._length)return j(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"format",this).call(this,l,v);for(var P=this,T=0;null!=P&&P.statics.scope!==x.default.Scope.BLOCK_BLOT;)T+=P.offset(P.parent),P=P.parent;null!=P&&(this._length=a.CONTENTS.length,P.optimize(),P.formatAt(T,a.CONTENTS.length,l,v),this._length=0)}},{key:"index",value:function(l,v){return l===this.textNode?0:j(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"index",this).call(this,l,v)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){j(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var l=this.textNode,v=this.selection.getNativeRange(),P=void 0,T=void 0,e=void 0;if(null!=v&&v.start.node===l&&v.end.node===l){var R=[l,v.start.offset,v.end.offset];P=R[0],T=R[1],e=R[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);
1if(this.textNode.data!==a.CONTENTS){var b=this.textNode.data.split(a.CONTENTS).join("");this.next instanceof h.default?(P=this.next.domNode,this.next.insertAt(0,b),this.textNode.data=a.CONTENTS):(this.textNode.data=b,this.parent.insertBefore(x.default.create(this.textNode),this),this.textNode=document.createTextNode(a.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=T){var m=[T,e].map(function(S){return Math.max(0,Math.min(P.data.length,S-1))}),E=C(m,2);return{startNode:P,startOffset:T=E[0],endNode:P,endOffset:e=E[1]}}}}},{key:"update",value:function(l,v){var P=this;if(l.some(function(e){return"characterData"===e.type&&e.target===P.textNode})){var T=this.restore();T&&(v.range=T)}}},{key:"value",value:function(){return""}}]),a}(x.default.Embed);f.blotName="cursor",f.className="ql-cursor",f.tagName="span",f.CONTENTS="\ufeff",k.default=f},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var j=x(O(0)),L=O(4),w=x(L);function x(d){return d&&d.__esModule?d:{default:d}}var o=function(d){function s(){return function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s),function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),s}(j.default.Container);o.allowedChildren=[w.default,L.BlockEmbed,o],k.default=o},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.ColorStyle=k.ColorClass=k.ColorAttributor=void 0;var C=function(){function f(u,a){for(var p=0;p<a.length;p++){var l=a[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(u,l.key,l)}}return function(u,a,p){return a&&f(u.prototype,a),p&&f(u,p),u}}(),j=function f(u,a,p){null===u&&(u=Function.prototype);var l=Object.getOwnPropertyDescriptor(u,a);if(void 0===l){var v=Object.getPrototypeOf(u);return null===v?void 0:f(v,a,p)}if("value"in l)return l.value;var P=l.get;return void 0===P?void 0:P.call(p)},w=function x(f){return f&&f.__esModule?f:{default:f}}(O(0)),o=function(f){function u(){return function y(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}(this,u),function h(f,u){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!u||"object"!=typeof u&&"function"!=typeof u?f:u}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return function r(f,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}(u,f),C(u,[{key:"value",value:function(p){var l=j(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"value",this).call(this,p);return l.startsWith("rgb(")?"#"+(l=l.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(function(v){return("00"+parseInt(v).toString(16)).slice(-2)}).join(""):l}}]),u}(w.default.Attributor.Style),d=new w.default.Attributor.Class("color","ql-color",{scope:w.default.Scope.INLINE}),s=new o("color","color",{scope:w.default.Scope.INLINE});k.ColorAttributor=o,k.ColorClass=d,k.ColorStyle=s},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.sanitize=k.default=void 0;var C=function(){function s(f,u){for(var a=0;a<u.length;a++){var p=u[a];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(f,p.key,p)}}return function(f,u,a){return u&&s(f.prototype,u),a&&s(f,a),f}}(),j=function s(f,u,a){null===f&&(f=Function.prototype);var p=Object.getOwnPropertyDescriptor(f,u);if(void 0===p){var l=Object.getPrototypeOf(f);return null===l?void 0:s(l,u,a)}if("value"in p)return p.value;var v=p.get;return void 0===v?void 0:v.call(a)},o=function(s){function f(){return function y(s,f){if(!(s instanceof f))throw new TypeError("Cannot call a class as a function")}(this,f),function h(s,f){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||"object"!=typeof f&&"function"!=typeof f?s:f}(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return function r(s,f){if("function"!=typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);s.prototype=Object.create(f&&f.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(s,f):s.__proto__=f)}(f,s),C(f,[{key:"format",value:function(a,p){if(a!==this.statics.blotName||!p)return j(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"format",this).call(this,a,p);p=this.constructor.sanitize(p),this.domNode.setAttribute("href",p)}}],[{key:"create",value:function(a){var p=j(f.__proto__||Object.getPrototypeOf(f),"create",this).call(this,a);return a=this.sanitize(a),p.setAttribute("href",a),p.setAttribute("rel","noopener noreferrer"),p.setAttribute("target","_blank"),p}},{key:"formats",value:function(a){return a.getAttribute("href")}},{key:"sanitize",value:function(a){return d(a,this.PROTOCOL_WHITELIST)?a:this.SANITIZED_URL}}]),f}(function x(s){return s&&s.__esModule?s:{default:s}}(O(6)).default);function d(s,f){var u=document.createElement("a");u.href=s;var a=u.href.slice(0,u.href.indexOf(":"));return f.indexOf(a)>-1}o.blotName="link",o.tagName="A",o.SANITIZED_URL="about:blank",o.PROTOCOL_WHITELIST=["http","https","mailto","tel"],k.default=o,k.sanitize=d},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},j=function(){function f(u,a){for(var p=0;p<a.length;p++){var l=a[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(u,l.key,l)}}return function(u,a,p){return a&&f(u.prototype,a),p&&f(u,p),u}}(),w=h(O(23)),y=h(O(107));function h(f){return f&&f.__esModule?f:{default:f}}var o=0;function d(f,u){f.setAttribute(u,"true"!==f.getAttribute(u))}var s=function(){function f(u){var a=this;(function r(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")})(this,f),this.select=u,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(){a.togglePicker()}),this.label.addEventListener("keydown",function(p){switch(p.keyCode){case w.default.keys.ENTER:a.togglePicker();break;case w.default.keys.ESCAPE:a.escape(),p.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return j(f,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),d(this.label,"aria-expanded"),d(this.options,"aria-hidden")}},{key:"buildItem",value:function(a){var p=this,l=document.createElement("span");return l.tabIndex="0",l.setAttribute("role","button"),l.classList.add("ql-picker-item"),a.hasAttribute("value")&&l.setAttribute("data-value",a.getAttribute("value")),a.textContent&&l.setAttribute("data-label",a.textContent),l.addEventListener("click",function(){p.selectItem(l,!0)}),l.addEventListener("keydown",function(v){switch(v.keyCode){case w.default.keys.ENTER:p.selectItem(l,!0),v.preventDefault();break;case w.default.keys.ESCAPE:p.escape(),v.preventDefault()}}),l}},{key:"buildLabel",value:function(){var a=document.createElement("span");return a.classList.add("ql-picker-label"),a.innerHTML=y.default,a.tabIndex="0",a.setAttribute("role","button"),a.setAttribute("aria-expanded","fal
1se"),this.container.appendChild(a),a}},{key:"buildOptions",value:function(){var a=this,p=document.createElement("span");p.classList.add("ql-picker-options"),p.setAttribute("aria-hidden","true"),p.tabIndex="-1",p.id="ql-picker-options-"+o,o+=1,this.label.setAttribute("aria-controls",p.id),this.options=p,[].slice.call(this.select.options).forEach(function(l){var v=a.buildItem(l);p.appendChild(v),!0===l.selected&&a.selectItem(v)}),this.container.appendChild(p)}},{key:"buildPicker",value:function(){var a=this;[].slice.call(this.select.attributes).forEach(function(p){a.container.setAttribute(p.name,p.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var a=this;this.close(),setTimeout(function(){return a.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(a){var p=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.container.querySelector(".ql-selected");if(a!==l&&(l?.classList.remove("ql-selected"),null!=a&&(a.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(a.parentNode.children,a),a.hasAttribute("data-value")?this.label.setAttribute("data-value",a.getAttribute("data-value")):this.label.removeAttribute("data-value"),a.hasAttribute("data-label")?this.label.setAttribute("data-label",a.getAttribute("data-label")):this.label.removeAttribute("data-label"),p))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===(typeof Event>"u"?"undefined":C(Event))){var v=document.createEvent("Event");v.initEvent("change",!0,!0),this.select.dispatchEvent(v)}this.close()}}},{key:"update",value:function(){var a=void 0;if(this.select.selectedIndex>-1){var p=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];a=this.select.options[this.select.selectedIndex],this.selectItem(p)}else this.selectItem(null);var l=null!=a&&a!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",l)}}]),f}();k.default=s},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var j=B(O(0)),w=B(O(5)),x=O(4),y=B(x),r=B(O(16)),d=B(O(25)),f=B(O(24)),a=B(O(35)),l=B(O(6)),P=B(O(22)),e=B(O(7)),b=B(O(55)),E=B(O(42)),q=B(O(23));function B(Y){return Y&&Y.__esModule?Y:{default:Y}}w.default.register({"blots/block":y.default,"blots/block/embed":x.BlockEmbed,"blots/break":r.default,"blots/container":d.default,"blots/cursor":f.default,"blots/embed":a.default,"blots/inline":l.default,"blots/scroll":P.default,"blots/text":e.default,"modules/clipboard":b.default,"modules/history":E.default,"modules/keyboard":q.default}),j.default.register(y.default,r.default,f.default,l.default,P.default,e.default),k.default=w.default},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=O(1),j=function(){function L(w){this.domNode=w,this.domNode[C.DATA_KEY]={blot:this}}return Object.defineProperty(L.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),L.create=function(w){if(null==this.tagName)throw new C.ParchmentError("Blot definition missing tagName");var x;return Array.isArray(this.tagName)?("string"==typeof w&&(w=w.toUpperCase(),parseInt(w).toString()===w&&(w=parseInt(w))),x="number"==typeof w?document.createElement(this.tagName[w-1]):this.tagName.indexOf(w)>-1?document.createElement(w):document.createElement(this.tagName[0])):x=document.createElement(this.tagName),this.className&&x.classList.add(this.className),x},L.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},L.prototype.clone=function(){var w=this.domNode.cloneNode(!1);return C.create(w)},L.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[C.DATA_KEY]},L.prototype.deleteAt=function(w,x){this.isolate(w,x).remove()},L.prototype.formatAt=function(w,x,y,h){var r=this.isolate(w,x);if(null!=C.query(y,C.Scope.BLOT)&&h)r.wrap(y,h);else if(null!=C.query(y,C.Scope.ATTRIBUTE)){var o=C.create(this.statics.scope);r.wrap(o),o.format(y,h)}},L.prototype.insertAt=function(w,x,y){var h=null==y?C.create("text",x):C.create(x,y),r
vendor: 2,557 bytes, line 1
1=this.split(w);this.parent.insertBefore(h,r)},L.prototype.insertInto=function(w,x){void 0===x&&(x=null),null!=this.parent&&this.parent.children.remove(this);var y=null;w.children.insertBefore(this,x),null!=x&&(y=x.domNode),(this.domNode.parentNode!=w.domNode||this.domNode.nextSibling!=y)&&w.domNode.insertBefore(this.domNode,y),this.parent=w,this.attach()},L.prototype.isolate=function(w,x){var y=this.split(w);return y.split(x),y},L.prototype.length=function(){return 1},L.prototype.offset=function(w){return void 0===w&&(w=this.parent),null==this.parent||this==w?0:this.parent.children.offset(this)+this.parent.offset(w)},L.prototype.optimize=function(w){null!=this.domNode[C.DATA_KEY]&&delete this.domNode[C.DATA_KEY].mutations},L.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},L.prototype.replace=function(w){null!=w.parent&&(w.parent.insertBefore(this,w.next),w.remove())},L.prototype.replaceWith=function(w,x){var y="string"==typeof w?C.create(w,x):w;return y.replace(this),y},L.prototype.split=function(w,x){return 0===w?this:this.next},L.prototype.update=function(w,x){},L.prototype.wrap=function(w,x){var y="string"==typeof w?C.create(w,x):w;return null!=this.parent&&this.parent.insertBefore(y,this.next),y.appendChild(this),y},L.blotName="abstract",L}();k.default=j},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=O(12),j=O(32),L=O(33),w=O(1),x=function(){function y(h){this.attributes={},this.domNode=h,this.build()}return y.prototype.attribute=function(h,r){r?h.add(this.domNode,r)&&(null!=h.value(this.domNode)?this.attributes[h.attrName]=h:delete this.attributes[h.attrName]):(h.remove(this.domNode),delete this.attributes[h.attrName])},y.prototype.build=function(){var h=this;this.attributes={};var r=C.default.keys(this.domNode),o=j.default.keys(this.domNode),d=L.default.keys(this.domNode);r.concat(o).concat(d).forEach(function(s){var f=w.query(s,w.Scope.ATTRIBUTE);f instanceof C.default&&(h.attributes[f.attrName]=f)})},y.prototype.copy=function(h){var r=this;Object.keys(this.attributes).forEach(function(o){var d=r.attributes[o].value(r.domNode);h.format(o,d)})},y.prototype.move=function(h){var r=this;this.copy(h),Object.keys(this.attributes).forEach(function(o){r.attributes[o].remove(r.domNode)}),this.attributes={}},y.prototype.values=function(){var h=this;return Object.keys(this.attributes).reduce(function(r,o){return r[o]=h.attributes[o].value(h.domNode),r},{})},y}();k.default=x},function(W,k,O){"use strict";
1var x,C=this&&this.__extends||(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,h){y.__proto__=h}||function(y,h){for(var r in h)h.hasOwnProperty(r)&&(y[r]=h[r])},function(y,h){function r(){this.constructor=y}x(y,h),y.prototype=null===h?Object.create(h):(r.prototype=h.prototype,new r)});function L(x,y){return(x.getAttribute("class")||"").split(/\s+/).filter(function(r){return 0===r.indexOf(y+"-")})}Object.defineProperty(k,"__esModule",{value:!0});var w=function(x){function y(){return null!==x&&x.apply(this,arguments)||this}return C(y,x),y.keys=function(h){return(h.getAttribute("class")||"").split(/\s+/).map(function(r){return r.split("-").slice(0,-1).join("-")})},y.prototype.add=function(h,r){return!!this.canAdd(h,r)&&(this.remove(h),h.classList.add(this.keyName+"-"+r),!0)},y.prototype.remove=function(h){L(h,this.keyName).forEach(function(o){h.classList.remove(o)}),0===h.classList.length&&h.removeAttribute("class")},y.prototype.value=function(h){var o=(L(h,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(h,o)?o:""},y}(O(12).default);k.default=w},function(W,k,O){"use strict";
1var x,C=this&&this.__extends||(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,h){y.__proto__=h}||function(y,h){for(var r in h)h.hasOwnProperty(r)&&(y[r]=h[r])},function(y,h){function r(){this.constructor=y}x(y,h),y.prototype=null===h?Object.create(h):(r.prototype=h.prototype,new r)});function L(x){var y=x.split("-"),h=y.slice(1).map(function(r){return r[0].toUpperCase()+r.slice(1)}).join("");return y[0]+h}Object.defineProperty(k,"__esModule",{value:!0});var w=function(x){function y(){return null!==x&&x.apply(this,arguments)||this}return C(y,x),y.keys=function(h){return(h.getAttribute("style")||"").split(";").map(function(r){return r.split(":")[0].trim()})},y.prototype.add=function(h,r){return!!this.canAdd(h,r)&&(h.style[L(this.keyName)]=r,!0)},y.prototype.remove=function(h){h.style[L(this.keyName)]="",h.getAttribute("style")||h.removeAttribute("style")},y.prototype.value=function(h){var r=h.style[L(this.keyName)];return this.canAdd(h,r)?r:""},y}(O(12).default);k.default=w},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function w(x,y){for(var h=0;h<y.length;h++){var r=y[h];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(x,r.key,r)}}return function(x,y,h){return y&&w(x.prototype,y),h&&w(x,h),x}}(),L=function(){function w(x,y){(function j(w,x){if(!(w instanceof x))throw new TypeError("Cannot call a class as a function")})(this,w),this.quill=x,this.options=y,this.modules={}}return C(w,[{key:"init",value:function(){var y=this;Object.keys(this.options.modules).forEach(function(h){null==y.modules[h]&&y.addModule(h)})}},{key:"addModule",value:function(y){var h=this.quill.constructor.import("modules/"+y);return this.modules[y]=new h(this.quill,this.options.modules[y]||{}),this.modules[y]}}]),w}();L.DEFAULTS={modules:{}},L.themes={default:L},k.default=L},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function u(a,p){for(var l=0;l<p.length;l++){var v=p[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(a,v.key,v)}}return function(a,p,l){return p&&u(a.prototype,p),l&&u(a,l),a}}(),j=function u(a,p,l){null===a&&(a=Function.prototype);var v=Object.getOwnPropertyDescriptor(a,p);if(void 0===v){var P=Object.getPrototypeOf(a);return null===P?void 0:u(P,p,l)}if("value"in v)return v.value;var T=v.get;return void 0===T?void 0:T.call(l)},w=h(O(0)),y=h(O(7));function h(u){return u&&u.__esModule?u:{default:u}}var s="\ufeff",f=function(u){function a(p){!function r(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}(this,a);var l=function o(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?u:a}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,p));return l.contentNode=document.createElement("span"),l.contentNode.setAttribute("contenteditable",!1),[].slice.call(l.domNode.childNodes).forEach(function(v){l.contentNode.appendChild(v)}),l.leftGuard=document.createTextNode(s),l.rightGuard=document.createTextNode(s),l.domNode.appendChild(l.leftGuard),l.domNode.appendChild(l.contentNode),l.domNode.appendChild(l.rightGuard),l}return function d(u,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}(a,u),C(a,[{key:"index",value:function(l,v){return l===this.leftGuard?0:l===this.rightGuard?1:j(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"index",this).call(this,l,v)}},{key:"restore",value:function(l){var v=void 0,P=void 0,T=l.data.split(s).join("");if(l===this.leftGuard)if(this.prev instanceof y.default){var e=this.prev.length();this.prev.insertAt(e,T),v={startNode:this.prev.domNode,startOffset:e+T.length}}else P=document.createTextNode(T),this.parent.insertBefore(w.default.create(P),this),v={startNode:P,startOffset:T.length};else l===this.rightGuard&&(this.next instanceof y.default?(this.next.insertAt(0,T),v={startNode:this.next.domNode,startOffset:T.length}):(P=document.createTextNode(T),this.parent.insertBefore(w.default.create(P),this.next),v={startNode:P,startOffset:T.length}));return l.data=s,v}},{key:"update",value:function(l,v){var P=this;l.forEach(function(T){if("characterData"===T.type&&(T.target===P.leftGuard||T.target===P.rightGuard)){var e=P.restore(T.target);e&&(v.range=e)}})}}]),a}(w.default.Embed);k.default=f},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.AlignStyle=k.AlignClass=k.AlignAttribute=void 0;var j=function L(r){return r&&r.__esModule?r:{default:r}}(O(0)),w={scope:j.default.Scope.BLOCK,whitelist:["right","center","justify"]},x=new j.default.Attributor.Attribute("align","align",w),y=new j.default.Attributor.Class("align","ql-align",w),h=new j.default.Attributor.Style("align","text-align",w);k.AlignAttribute=x,k.AlignClass=y,k.AlignStyle=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}
1),k.BackgroundStyle=k.BackgroundClass=void 0;var j=function w(h){return h&&h.__esModule?h:{default:h}}(O(0)),L=O(26),x=new j.default.Attributor.Class("background","ql-bg",{scope:j.default.Scope.INLINE}),y=new L.ColorAttributor("background","background-color",{scope:j.default.Scope.INLINE});k.BackgroundClass=x,k.BackgroundStyle=y},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.DirectionStyle=k.DirectionClass=k.DirectionAttribute=void 0;var j=function L(r){return r&&r.__esModule?r:{default:r}}(O(0)),w={scope:j.default.Scope.BLOCK,whitelist:["rtl"]},x=new j.default.Attributor.Attribute("direction","dir",w),y=new j.default.Attributor.Class("direction","ql-direction",w),h=new j.default.Attributor.Style("direction","direction",w);k.DirectionAttribute=x,k.DirectionClass=y,k.DirectionStyle=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.FontClass=k.FontStyle=void 0;var C=function(){function u(a,p){for(var l=0;l<p.length;l++){var v=p[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(a,v.key,v)}}return function(a,p,l){return p&&u(a.prototype,p),l&&u(a,l),a}}(),j=function u(a,p,l){null===a&&(a=Function.prototype);var v=Object.getOwnPropertyDescriptor(a,p);if(void 0===v){var P=Object.getPrototypeOf(a);return null===P?void 0:u(P,p,l)}if("value"in v)return v.value;var T=v.get;return void 0===T?void 0:T.call(l)},w=function x(u){return u&&u.__esModule?u:{default:u}}(O(0)),o={scope:w.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new w.default.Attributor.Class("font","ql-font",o),s=function(u){function a(){return function y(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}(this,a),function h(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?u:a}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return function r(u,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}(a,u),C(a,[{key:"value",value:function(l){return j(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"value",this).call(this,l).replace(/["']/g,"")}}]),a}(w.default.Attributor.Style),f=new s("font","font-family",o);k.FontStyle=f,k.FontClass=d},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.SizeStyle=k.SizeClass=void 0;var j=function L(y){return y&&y.__esModule?y:{default:y}}(O(0)),w=new j.default.Attributor.Class("size","ql-size",{scope:j.default.Scope.INLINE,whitelist:["small","large","huge"]}),x=new j.default.Attributor.Style("size","font-size",{scope:j.default.Scope.INLINE,whitelist:["10px","18px","32px"]});k.SizeClass=w,k.SizeStyle=x},function(W,k,O){"use strict";W.exports={align:{"":O(76),center:O(77),right:O(78),justify:O(79)},background:O(80),blockquote:O(81),bold:O(82),clean:O(83),code:O(58),"code-block":O(58),color:O(84),direction:{"":O(85),rtl:O(86)},float:{center:O(87),full:O(88),left:O(89),right:O(90)},formula:O(91),header:{1:O(92),2:O(93)},italic:O(94),image:O(95),indent:{"+1":O(96),"-1":O(97)},link:O(98),list:{ordered:O(99),bullet:O(100),check:O(101)},script:{sub:O(102),super:O(103)},strike:O(104),underline:O(105),video:O(106)}},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.getLastChangeIndex=k.default=void 0;var C=function(){function p(l,v){for(var P=0;P<v.length;P++){var T=v[P];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(l,T.key,T)}}return function(l,v,P){return v&&p(l.prototype,v),P&&p(l,P),l}}(),L=r(O(0)),x=r(O(5));function r(p){return p&&p.__esModule?p:{default:p}}var f=function(p){function l(v,P){!function o(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")}(this,l);var T=function d(p,l){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!l||"object"!=typeof l&&"function"!=typeof l?p:l}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,v,P));return T.lastRecorded=0,T.ignoreChange=!1,T.clear(),T.quill.on(x.default.events.EDITOR_CHANGE,function(e,R,b,m){e!==x.default.events.TEXT_CHANGE||T.
1ignoreChange||(T.options.userOnly&&m!==x.default.sources.USER?T.transform(R):T.record(R,b))}),T.quill.keyboard.addBinding({key:"Z",shortKey:!0},T.undo.bind(T)),T.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},T.redo.bind(T)),/Win/i.test(navigator.platform)&&T.quill.keyboard.addBinding({key:"Y",shortKey:!0},T.redo.bind(T)),T}return function s(p,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function, not "+typeof l);p.prototype=Object.create(l&&l.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(p,l):p.__proto__=l)}(l,p),C(l,[{key:"change",value:function(P,T){if(0!==this.stack[P].length){var e=this.stack[P].pop();this.stack[T].push(e),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(e[P],x.default.sources.USER),this.ignoreChange=!1;var R=a(e[P]);this.quill.setSelection(R)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(P,T){if(0!==P.ops.length){this.stack.redo=[];var e=this.quill.getContents().diff(T),R=Date.now();if(this.lastRecorded+this.options.delay>R&&this.stack.undo.length>0){var b=this.stack.undo.pop();e=e.compose(b.undo),P=b.redo.compose(P)}else this.lastRecorded=R;this.stack.undo.push({redo:P,undo:e}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(P){this.stack.undo.forEach(function(T){T.undo=P.transform(T.undo,!0),T.redo=P.transform(T.redo,!0)}),this.stack.redo.forEach(function(T){T.undo=P.transform(T.undo,!0),T.redo=P.transform(T.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),l}(r(O(9)).default);function a(p){var l=p.reduce(function(P,T){return P+(T.delete||0)},0),v=p.length()-l;return function u(p){var l=p.ops[p.ops.length-1];return null!=l&&(null!=l.insert?"string"==typeof l.insert&&l.insert.endsWith("\n"):null!=l.attributes&&Object.keys(l.attributes).some(function(v){return null!=L.default.query(v,L.default.Scope.BLOCK)}))}(p)&&(v-=1),v}f.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},k.default=f,k.getLastChangeIndex=a},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.BaseTooltip=void 0;var C=function(){function I(H,X){for(var G=0;G<X.length;G++){var D=X[G];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(H,D.key,D)}}return function(H,X,G){return X&&I(H.prototype,X),G&&I(H,G),H}}(),j=function I(H,X,G){null===H&&(H=Function.prototype);var D=Object.getOwnPropertyDescriptor(H,X);if(void 0===D){var $=Object.getPrototypeOf(H);return null===$?void 0:I($,X,G)}if("value"in D)return D.value;var rt=D.get;return void 0===rt?void 0:rt.call(G)},w=R(O(3)),y=R(O(2)),r=R(O(8)),d=R(O(23)),f=R(O(34)),a=R(O(59)),l=R(O(60)),P=R(O(28)),e=R(O(61));function R(I){return I&&I.__esModule?I:{default:I}}function b(I,H){if(!(I instanceof H))throw new TypeError("Cannot call a class as a function")}function m(I,H){if(!I)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!H||"object"!=typeof H&&"function"!=typeof H?I:H}function E(I,H){if("function"!=typeof H&&null!==H)throw new TypeError("Super expression must either be null or a function, not "+typeof H);I.prototype=Object.create(H&&H.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(I,H):I.__proto__=H)}var S=[!1,"center","right","justify"],q=["#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"],B=[!1,"serif","monospace"],Y=["1","2","3",!1],Q=["small",!1,"large","huge"],ct=function(I){function H(X,G){b(this,H);var D=m(this,(H.__proto__||Object.getPrototypeOf(H)).call(this,X,G));return X.emitter.listenDOM("click",document.body,function rt(nt){if(!document.body.contains(X.root))return document.body.removeEventListener("click",rt);null!=D.tooltip&&!D.tooltip.root.contains(nt.target)&&document.activeElement!==D.tooltip.textbox&&!D.quill.hasFocus()&&D.tooltip.hide(),null!=D.pickers&&D.pickers.forEac
vendor: 10,855 bytes, line 1
1h(function(ut){ut.container.contains(nt.target)||ut.close()})}),D}return E(H,I),C(H,[{key:"addModule",value:function(G){var D=j(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"addModule",this).call(this,G);return"toolbar"===G&&this.extendToolbar(D),D}},{key:"buildButtons",value:function(G,D){G.forEach(function($){($.getAttribute("class")||"").split(/\s+/).forEach(function(nt){if(nt.startsWith("ql-")&&(nt=nt.slice(3),null!=D[nt]))if("direction"===nt)$.innerHTML=D[nt][""]+D[nt].rtl;else if("string"==typeof D[nt])$.innerHTML=D[nt];else{var ut=$.value||"";null!=ut&&D[nt][ut]&&($.innerHTML=D[nt][ut])}})})}},{key:"buildPickers",value:function(G,D){var $=this;this.pickers=G.map(function(nt){if(nt.classList.contains("ql-align"))return null==nt.querySelector("option")&&A(nt,S),new l.default(nt,D.align);if(nt.classList.contains("ql-background")||nt.classList.contains("ql-color")){var ut=nt.classList.contains("ql-background")?"background":"color";return null==nt.querySelector("option")&&A(nt,q,"background"===ut?"#ffffff":"#000000"),new a.default(nt,D[ut])}return null==nt.querySelector("option")&&(nt.classList.contains("ql-font")?A(nt,B):nt.classList.contains("ql-header")?A(nt,Y):nt.classList.contains("ql-size")&&A(nt,Q)),new P.default(nt)}),this.quill.on(r.default.events.EDITOR_CHANGE,function(){$.pickers.forEach(function(ut){ut.update()})})}}]),H}(f.default);ct.DEFAULTS=(0,w.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var H=this,X=this.container.querySelector("input.ql-image[type=file]");null==X&&((X=document.createElement("input")).setAttribute("type","file"),X.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),X.classList.add("ql-image"),X.addEventListener("change",function(){if(null!=X.files&&null!=X.files[0]){var G=new FileReader;G.onload=function(D){var $=H.quill.getSelection(!0);H.quill.updateContents((new y.default).retain($.index).delete($.length).insert({image:D.target.result}),r.default.sources.USER),H.quill.setSelection($.index+1,r.default.sources.SILENT),X.value=""},G.readAsDataURL(X.files[0])}}),this.container.appendChild(X)),X.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var V=function(I){function H(X,G){b(this,H);var D=m(this,(H.__proto__||Object.getPrototypeOf(H)).call(this,X,G));return D.textbox=D.root.querySelector('input[type="text"]'),D.listen(),D}return E(H,I),C(H,[{key:"listen",value:function(){var G=this;this.textbox.addEventListener("keydown",function(D){d.default.match(D,"enter")?(G.save(),D.preventDefault()):d.default.match(D,"escape")&&(G.cancel(),D.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=D?this.textbox.value=D:G!==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-"+G)||""),this.root.setAttribute("data-mode",G)}},{key:"restoreFocus",value:function(){var G=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=G}},{key:"save",value:function(){var G=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var D=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",G,r.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",G,r.default.sources.USER)),this.quill.root.scrollTop=D;break;case"video":G=function F(I){var H=I.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||I.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return H?(H[1]||"https")+"://www.youtube.com/embed/"+H[2]+"?showinfo=0":(H=I.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(H[1]||"https")+"://player.vimeo.com/video/"+H[2]+"/":I}(G);case"formula":if(!G)break;var $=this.quill.getSelection(!0);if(null!=$){var rt=$.index+$.length;this.quill.insertEmbed(rt,this.root.getAttribute("data-mode"),G,r.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(rt+1," ",r.default.sources.USER),this.quill.setSelection(rt+2,r.default.sources.USER)}}this.textbox.value="",this.hide()}}]),H}(e.default);function A(I,H){var X=arguments.length>2&&void 0!==arguments[2]&&arguments[2];H.forEach(function(G){var D=document.createElement("option");G===X?D.setAttribute("selected","selected"):D.setAttribute("value",G),I.appendChild(D)})}k.BaseTooltip=V,k.default=ct},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function j(){this.head=this.tail=null,this.length=0}return j.prototype.append=function(){for(var L=[],w=0;w<arguments.length;w++)L[w]=arguments[w];this.insertBefore(L[0],null),L.length>1&&this.append.apply(this,L.slice(1))},j.prototype.contains=function(L){for(var w,x=this.iterator();w=x();)if(w===L)return!0;return!1},j.prototype.insertBefore=function(L,w){L&&(L.next=w,null!=w?(L.prev=w.prev,null!=w.prev&&(w.prev.next=L),w.prev=L,w===this.head&&(this.head=L)):null!=this.tail?(this.tail.next=L,L.prev=this.tail,this.tail=L):(L.prev=null,this.head=this.tail=L),this.length+=1)},j.prototype.offset=function(L){for(var w=0,x=this.head;null!=x;){if(x===L)return w;w+=x.length(),x=x.next}return-1},j.prototype.remove=function(L){this.contains(L)&&(null!=L.prev&&(L.prev.next=L.next),null!=L.next&&(L.next.prev=L.prev),L===this.head&&(this.head=L.next),L===this.tail&&(this.tail=L.prev),this.length-=1)},j.prototype.iterator=function(L){return void 0===L&&(L=this.head),function(){var w=L;return null!=L&&(L=L.next),w}},j.prototype.find=function(L,w){void 0===w&&(w=!1);for(var x,y=this.iterator();x=y();){var h=x.length();if(L<h||w&&L===h&&(null==x.next||0!==x.next.length()))return[x,L];L-=h}return[null,0]},j.prototype.forEach=function(L){for(var w,x=this.iterator();w=x();)L(w)},j.prototype.forEachAt=function(L,w,x){if(!(w<=0))for(var o,y=this.find(L),d=L-y[1],s=this.iterator(y[0]);(o=s())&&d<L+w;){var f=o.length();L>d?x(o,L-d,Math.min(w,d+f-L)):x(o,0,Math.min(f,L+w-d)),d+=f}},j.prototype.map=function(L){return this.reduce(function(w,x){return w.push(L(x)),w},[])},j.prototype.reduce=function(L,w){for(var x,y=this.iterator();x=y();)w=L(w,x);return w},j}();k.default=C},function(W,k,O){"use strict";var h,C=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])},function(r,o){function d(){this.constructor=r}h(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(17),L=O(1),w={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},y=function(h){function r(o){var d=h.call(this,o)||this;return d.scroll=d,d.observer=new MutationObserver(function(s){d.update(s)}),d.observer.observe(d.domNode,w),d.attach(),d}return C(r,h),r.prototype.detach=function(){h.prototype.detach.call(this),this.observer.disconnect()},r.prototype.deleteAt=function(o,d){this.update(),0===o&&d===this.length()?this.children.forEach(function(s){s.remove()}):h.prototype.deleteAt.call(this,o,d)},r.prototype.formatAt=function(o,d,s,f){this.update(),h.prototype.formatAt.call(this,o,d,s,f)},r.prototype.insertAt=function(o,d,s){this.update(),h.prototype.insertAt.call(this,o,d,s)},r.prototype.optimize=function(o,d){var s=this;void 0===o&&(o=[]),void 0===d&&(d={}),h.prototype.optimize.call(this,d);for(var f=[].slice.call(this.observer.takeRecords());f.length>0;)o.push(f.pop());for(var u=function(v,P){void 0===P&&(P=!0),null!=v&&v!==s&&null!=v.domNode.parentNode&&(null==v.domNode[L.DATA_KEY].mutations&&(v.domNode[L.DATA_KEY].mutations=[]),P&&u(v.parent))},a=function(v){null==v.domNode[L.DATA_KEY]||null==v.domNode[L.DATA_KEY].mutations||(v instanceof j.default&&v.children.forEach(a),v.optimize(d))},p=o,l=0;p.length>0;l+=1){if(l>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(p.forEach(function(v){var P=L.find(v.target,!0);null!=P&&(P.domNode===v.target&&("childList"===v.type?(u(L.find(v.previousSibling,!1)),[].forEach.call(v.addedNodes,function(T){var e=L.find(T,!1);u(e,!1),e instanceof j.default&&e.children.forEach(function(R){u(R,!1)})})):"attributes"===v.type&&u(P.prev)),u(P))}),this.children.forEach(a),f=(p=[].slice.call(this.observer.takeRecords())).slice();f.length>0;)o.push(f.pop())}},r.prototype.update=function(o,d){var s=this;void 0===d&&(d={}),(o=o||this.observer.takeRecords()).map(function(f){var u=L.find(f.target,!0);return null==u?null:null==u.domNode[L.DATA_KEY].mutations?(u.domNode[L.DATA_KEY].mutations=[f],u):(u.domNode[L.DATA_KEY].mutations.push(f),null)}).forEach(function(f){null==f||f===s||null==f.domNode[L.DATA_KEY]||f.update(f.domNode[L.DATA_KEY].mutations||[],d)}),null!=this.domNode[L.DATA_KEY].mutations&&h.prototype.update.call(this,this.domNode[L.DATA_KEY].mutations,d),this.optimize(o,d)},r.blotName="scroll",r.defaultChild="block",r.scope=L.Scope.BLOCK_BLOT,r.tagName="DIV",r}(j.default);k.default=y},function(W,k,O){"use strict";var y,C=this&&this.__extends||(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,r){h.__proto__=r}||function(h,r){for(var o in r)r.hasOwnProperty(o)&&(h[o]=r[o])},function(h,r){function o(){this.constructor=h}y(h,r),h.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(18),L=O(1),x=function(y){function h(){return null!==y&&y.apply(this,arguments)||this}return C(h,y),h.formats=function(r){if(r.tagName!==h.tagName)return y.formats.call(this,r)},h.prototype.format=function(r,o){var d=this;r!==this.statics.blotName||o?y.prototype.format.call(this,r,o):(this.children.forEach(function(s){s instanceof j.default||(s=s.wrap(h.blotName,!0)),d.attributes.copy(s)}),this.unwrap())},h.prototype.formatAt=function(r,o,d,s){null!=this.formats()[d]||L.query(d,L.Scope.ATTRIBUTE)?this.isolate(r,o).format(d,s):y.prototype.formatAt.call(this,r,o,d,s)},h.prototype.optimize=function(r){y.prototype.optimize.call(this,r);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var d=this.next;d instanceof h&&d.prev===this&&function w(y,h){if(Object.keys(y).length!==Object.keys(h).length)return!1;for(var r in y)if(y[r]!==h[r])return!1;return!0}(o,d.formats())&&(d.moveChildren(this),d.remove())},h.blotName="inline",h.scope=L.Scope.INLINE_BLOT,h.tagName="SPAN",h}(j.default);k.default=x},function(W,k,O){"use strict";
vendor: 2,090 bytes, line 1
1var x,C=this&&this.__extends||(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,h){y.__proto__=h}||function(y,h){for(var r in h)h.hasOwnProperty(r)&&(y[r]=h[r])},function(y,h){function r(){this.constructor=y}x(y,h),y.prototype=null===h?Object.create(h):(r.prototype=h.prototype,new r)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(18),L=O(1),w=function(x){function y(){return null!==x&&x.apply(this,arguments)||this}return C(y,x),y.formats=function(h){var r=L.query(y.blotName).tagName;if(h.tagName!==r)return x.formats.call(this,h)},y.prototype.format=function(h,r){null!=L.query(h,L.Scope.BLOCK)&&(h!==this.statics.blotName||r?x.prototype.format.call(this,h,r):this.replaceWith(y.blotName))},y.prototype.formatAt=function(h,r,o,d){null!=L.query(o,L.Scope.BLOCK)?this.format(o,d):x.prototype.formatAt.call(this,h,r,o,d)},y.prototype.insertAt=function(h,r,o){if(null==o||null!=L.query(r,L.Scope.INLINE))x.prototype.insertAt.call(this,h,r,o);else{var d=this.split(h),s=L.create(r,o);d.parent.insertBefore(s,d)}},y.prototype.update=function(h,r){navigator.userAgent.match(/Trident/)?this.build():x.prototype.update.call(this,h,r)},y.blotName="block",y.scope=L.Scope.BLOCK_BLOT,y.tagName="P",y}(j.default);k.default=w},function(W,k,O){"use strict";var w,C=this&&this.__extends||(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,y){x.__proto__=y}||function(x,y){for(var h in y)y.hasOwnProperty(h)&&(x[h]=y[h])},function(x,y){function h(){this.constructor=x}w(x,y),x.prototype=null===y?Object.create(y):(h.prototype=y.prototype,new h)});Object.defineProperty(k,"__esModule",{value:!0});var L=function(w){function x(){return null!==w&&w.apply(this,arguments)||this}return C(x,w),x.formats=function(y){},x.prototype.format=function(y,h){w.prototype.formatAt.call(this,0,this.length(),y,h)},x.prototype.formatAt=function(y,h,r,o){0===y&&h===this.length()?this.format(r,o):w.prototype.formatAt.call(this,y,h,r,o)},x.prototype.formats=function(){return this.statics.formats(this.domNode)},x}(O(19).default);k.default=L},function(W,k,O){"use strict";
vendor: 12,448 bytes, line 1
1var x,C=this&&this.__extends||(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,h){y.__proto__=h}||function(y,h){for(var r in h)h.hasOwnProperty(r)&&(y[r]=h[r])},function(y,h){function r(){this.constructor=y}x(y,h),y.prototype=null===h?Object.create(h):(r.prototype=h.prototype,new r)});Object.defineProperty(k,"__esModule",{value:!0});var j=O(19),L=O(1),w=function(x){function y(h){var r=x.call(this,h)||this;return r.text=r.statics.value(r.domNode),r}return C(y,x),y.create=function(h){return document.createTextNode(h)},y.value=function(h){var r=h.data;return r.normalize&&(r=r.normalize()),r},y.prototype.deleteAt=function(h,r){this.domNode.data=this.text=this.text.slice(0,h)+this.text.slice(h+r)},y.prototype.index=function(h,r){return this.domNode===h?r:-1},y.prototype.insertAt=function(h,r,o){null==o?(this.text=this.text.slice(0,h)+r+this.text.slice(h),this.domNode.data=this.text):x.prototype.insertAt.call(this,h,r,o)},y.prototype.length=function(){return this.text.length},y.prototype.optimize=function(h){x.prototype.optimize.call(this,h),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof y&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},y.prototype.position=function(h,r){return void 0===r&&(r=!1),[this.domNode,h]},y.prototype.split=function(h,r){if(void 0===r&&(r=!1),!r){if(0===h)return this;if(h===this.length())return this.next}var o=L.create(this.domNode.splitText(h));return this.parent.insertBefore(o,this.next),this.text=this.statics.value(this.domNode),o},y.prototype.update=function(h,r){var o=this;h.some(function(d){return"characterData"===d.type&&d.target===o.domNode})&&(this.text=this.statics.value(this.domNode))},y.prototype.value=function(){return this.text},y.blotName="text",y.scope=L.Scope.INLINE_BLOT,y}(j.default);k.default=w},function(W,k,O){"use strict";var C=document.createElement("div");if(C.classList.toggle("test-class",!1),C.classList.contains("test-class")){var j=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(L,w){return arguments.length>1&&!this.contains(L)==!w?w:j.call(this,L)}}String.prototype.startsWith||(String.prototype.startsWith=function(L,w){return this.substr(w=w||0,L.length)===L}),String.prototype.endsWith||(String.prototype.endsWith=function(L,w){var x=this.toString();("number"!=typeof w||!isFinite(w)||Math.floor(w)!==w||w>x.length)&&(w=x.length);var y=x.indexOf(L,w-=L.length);return-1!==y&&y===w}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(w){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof w)throw new TypeError("predicate must be a function");for(var r,x=Object(this),y=x.length>>>0,h=arguments[1],o=0;o<y;o++)if(w.call(h,r=x[o],o,x))return r}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(W,k){var O=-1;function L(l,v,P){if(l==v)return l?[[0,l]]:[];(P<0||l.length<P)&&(P=null);var T=h(l,v),e=l.substring(0,T);T=r(l=l.substring(T),v=v.substring(T));var R=l.substring(l.length-T),b=function w(l,v){var P;if(!l)return[[1,v]];if(!v)return[[O,l]];var T=l.length>v.length?l:v,e=l.length>v.length?v:l,R=T.indexOf(e);if(-1!=R)return P=[[1,T.substring(0,R)],[0,e],[1,T.substring(R+e.length)]],l.length>v.length&&(P[0][0]=P[2][0]=O),P;if(1==e.length)return[[O,l],[1,v]];var b=function o(l,v){var P=l.length>v.length?l:v,T=l.length>v.length?v:l;if(P.length<4||2*T.length<P.length)return null;function e(Q,ct,V){for(var H,X,G,D,F=Q.substring(V,V+Math.floor(Q.length/4)),A=-1,I="";-1!=(A=ct.indexOf(F,A+1));){var $=h(Q.substring(V),ct.substring(A)),rt=r(Q.substring(0,V),ct.substring(0,A));I.length<rt+$&&(I=ct.substring(A-rt,A)+ct.substring(A,A+$),H=Q.substring(0,V-rt),X=Q.substring(V+$),G=ct.substring(0,A-rt),D=ct.substring(A+$))}return 2*I.length>=Q.length?[H,X,G,D,I]:null}var m,E,S,q,B,R=e(P,T,Math.ceil(P.length/4)),b=e(P,T,Math.ceil(P.length/2));return R||b?(m=b?R&&R[4].length>b[4].length?R:b:R,l.length>v.length?(E=m[0],S=m[1],q=m[2],B=m[3]):(q=m[0],B=m[1],E=m[2],S=m[3]),[E,S,q,B,m[4]]):null}(l,v);if(b){var E=b[1],q=b[3],B=b[4],Y=L(b[0],b[2]),Q=L(E,q);return Y.concat([[0,B]],Q)}return function x(l,v){for(var P=l.length,T=v.length,e=Math.ceil((P+T)/2),R=e,b=2*e,m=new Array(b),E=new Array(b),S=0;S<b;S++)m[S]=-1,E[S]=-1;m[R+1]=0,E[R+1]=0;for(var q=P-T,B=q%2!=0,Y=0,Q=0,ct=0,V=0,F=0;F<e;F++){for(var A=-F+Y;A<=F-Q;A+=2){for(var I=R+A,X=(H=A==-F||A!=F&&m[I-1]<m[I+1]?m[I+1]:m[I-1]+1)-A;H<P&&X<T&&l.charAt(H)==v.charAt(X);)H++,X++;if(m[I]=H,H>P)Q+=2;else if(X>T)Y+=2;else if(B&&(G=R+q-A)>=0&&G<b&&-1!=E[G]&&H>=(D=P-E[G]))return y(l,v,H,X)}for(var $=-F+ct;$<=F-V;$+=2){for(var D,G=R+$,rt=(D=$==-F||$!=F&&E[G-1]<E[G+1]?E[G+1]:E[G-1]+1)-$;D<P&&rt<T&&l.charAt(P-D-1)==v.charAt(T-rt-1);)D++,rt++;if(E[G]=D,D>P)V+=2;else if(rt>T)ct+=2;else if(!B){var H;if((I=R+q-$)>=0&&I<b&&-1!=m[I])if(X=R+(H=m[I])-I,H>=(D=P-D))return y(l,v,H,X)}}}return[[O,l],[1,v]]}(l,v)}(l=l.substring(0,l.length-T),v=v.substring(0,v.length-T));return e&&b.unshift([0,e]),R&&b.push([0,R]),d(b),null!=P&&(b=function u(l,v){var P=function f(l,v){if(0===v)return[0,l];for(var P=0,T=0;T<l.length;T++){var e=l[T];if(e[0]===O||0===e[0]){var R=P+e[1].length;if(v===R)return[T+1,l];if(v<R){l=l.slice();var b=v-P,m=[e[0],e[1].slice(0,b)],E=[e[0],e[1].slice(b)];return l.splice(T,1,m,E),[T+1,l]}P=R}}throw new Error("cursor_pos is out of bounds!")}(l,v),T=P[1],e=P[0],R=T[e],b=T[e+1];if(null==R)return l;if(0!==R[0])return l;if(null!=b&&R[1]+b[1]===b[1]+R[1])return T.splice(e,2,b,R),p(T,e,2);if(null!=b&&0===b[1].indexOf(R[1])){T.splice(e,2,[b[0],R[1]],[0,R[1]]);var m=b[1].slice(R[1].length);return m.length>0&&T.splice(e+2,0,[b[0],m]),p(T,e,3)}return l}(b,P)),b=function a(l){for(var v=!1,P=function(b){return b.charCodeAt(0)>=56320&&b.charCodeAt(0)<=57343},T=function(b){return b.charCodeAt(b.length-1)>=55296&&b.charCodeAt(b.length-1)<=56319},e=2;e<l.length;e+=1)0===l[e-2][0]&&T(l[e-2][1])&&l[e-1][0]===O&&P(l[e-1][1])&&1===l[e][0]&&P(l[e][1])&&(v=!0,l[e-1][1]=l[e-2][1].slice(-1)+l[e-1][1],l[e][1]=l[e-2][1].slice(-1)+l[e][1],l[e-2][1]=l[e-2][1].slice(0,-1));if(!v)return l;var R=[];for(e=0;e<l.length;e+=1)l[e][1].length>0&&R.push(l[e]);return R}(b),b}function y(l,v,P,T){var e=l.substring(0,P),R=v.substring(0,T),b=l.substring(P),m=v.substring(T),E=L(e,R),S=L(b,m);return E.concat(S)}function h(l,v){if(!l||!v||l.charAt(0)!=v.charAt(0))return 0;for(var P=0,T=Math.min(l.length,v.length),e=T,R=0;P<e;)l.substring(R,e)==v.substring(R,e)?R=P=e:T=e,e=Math.floor((T-P)/2+P);return e}function r(l,v){if(!l||!v||l.charAt(l.length-1)!=v.charAt(v.length-1))return 0;for(var P=0,T=Math.min(l.length,v.length),e=T,R=0;P<e;)l.substring(l.length-e,l.length-R)==v.substring(v.length-e,v.length-R)?R=P=e:T=e,e=Math.floor((T-P)/2+P);return e}function d(l){l.push([0,""]);for(var b,v=0,P=0,T=0,e="",R="";v<l.length;)switch(l[v][0]){case 1:T++,R+=l[v][1],v++;break;case O:P++,e+=l[v][1],v++;break;case 0:P+T>1?(0!==P&&0!==T&&(0!==(b=h(R,e))&&(v-P-T>0&&0==l[v-P-T-1][0]?l[v-P-T-1][1]+=R.substring(0,b):(l.splice(0,0,[0,R.substring(0,b)]),v++),R=R.substring(b),e=e.substring(b)),0!==(b=r(R,e))&&(l[v][1]=R.substring(R.length-b)+l[v][1],R=R.substring(0,R.length-b),e=e.substring(0,e.length-b))),0===P?l.splice(v-T,P+T,[1,R]):0===T?l.splice(v-P,P+T,[O,e]):l.splice(v-P-T,P+T,[O,e],[1,R]),v=v-P-T+(P?1:0)+(T?1:0)+1):0!==v&&0==l[v-1][0]?(l[v-1][1]+=l[v][1],l.splice(v,1)):v++,T=0,P=0,e="",R=""}""===l[l.length-1][1]&&l.pop();var m=!1;for(v=1;v<l.length-1;)0==l[v-1][0]&&0==l[v+1][0]&&(l[v][1].substring(l[v][1].length-l[v-1][1].length)==l[v-1][1]?(l[v][1]=l[v-1][1]+l[v][1].substring(0,l[v][1].length-l[v-1][1].length),l[v+1][1]=l[v-1][1]+l[v+1][1],l.splice(v-1,1),m=!0):l[v][1].substring(0,l[v+1][1].length)==l[v+1][1]&&(l[v-1][1]+=l[v+1][1],l[v][1]=l[v][1].substring(l[v+1][1].length)+l[v+1][1],l.splice(v+1,1),m=!0)),v++;m&&d(l)}var s=L;function p(l,v,P){for(var T=v+P-1;T>=0&&T>=v-1;T--)if(T+1<l.length){var e=l[T],R=l[T+1];e[0]===R[1]&&l.splice(T,2,[e[0],e[1]+R[1]])}return l}s.INSERT=1,s.DELETE=O,s.EQUAL=0,W.exports=s},function(W,k){function O(C){var j=[];for(var L in C)j.push(L);return j}(W.exports="function"==typeof Object.keys?Object.keys:O).shim=O},function(W,k){var O="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function C(L){return"[object Arguments]"==Object.prototype.toString.call(L)}function j(L){return L&&"object"==typeof L&&"number"==typeof L.length&&Object.prototype.hasOwnProperty.call(L,"callee")&&!Object.prototype.propertyIsEnumerable.call(L,"callee")||!1}(k=W.exports=O?C:j).supported=C,k.unsupported=j},function(W,k){"use strict";var O=Object.prototype.hasOwnProperty,C="~";function j(){}function L(x,y,h){this.fn=x,this.context=y,this.once=h||!1}function w(){this._events=new j,this._eventsCount=0}Object.create&&(j.prototype=Object.create(null),(new j).__proto__||(C=!1)),w.prototype.eventNames=function(){var h,r,y=[];if(0===this._eventsCount)return y;for(r in h=this._events)O.call(h,r)&&y.push(C?r.slice(1):r);return Object.getOwnPropertySymbols?y.concat(Object.getOwnPropertySymbols(h)):y},w.prototype.listeners=function(y,h){var o=this._events[C?C+y:y];if(h)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var d=0,s=o.length,f=new Array(s);d<s;d++)f[d]=o[d].fn;return f},w.prototype.emit=function(y,h,r,o,d,s){var f=C?C+y:y;if(!this._events[f])return!1;var p,l,u=this._events[f],a=arguments.length;if(u.fn){switch(u.once&&this.removeListener(y,u.fn,void 0,!0),a){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,h),!0;case 3:return u.fn.call(u.context,h,r),!0;case 4:return u.fn.call(u.context,h,r,o),!0;case 5:return u.fn.call(u.context,h,r,o,d),!0;case 6:return u.fn.call(u.context,h,r,o,d,s),!0}for(l=1,p=new Array(a-1);l<a;l++)p[l-1]=arguments[l];u.fn.apply(u.context,p)}else{var P,v=u.length;for(l=0;l<v;l++)switch(u[l].once&&this.removeListener(y,u[l].fn,void 0,!0),a){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,h);break;case 3:u[l].fn.call(u[l].context,h,r);break;case 4:u[l].fn.call(u[l].context,h,r,o);break;default:if(!p)for(P=1,p=new Array(a-1);P<a;P++)p[P-1]=arguments[P];u[l].fn.apply(u[l].context,p)}}return!0},w.prototype.on=function(y,h,r){var o=new L(h,r||this),d=C?C+y:y;return this._events[d]?this._events[d].fn?this._events[d]=[this._events[d],o]:this._events[d].push(o):(this._events[d]=o,this._eventsCount++),this},w.prototype.once=function(y,h,r){var o=new L(h,r||this,!0),d=C?C+y:y;return this._events[d]?this._events[d].fn?this._events[d]=[this._events[d],o]:this._events[d].push(o):(this._events[d]=o,this._eventsCount++),this},w.prototype.removeListener=function(y,h,r,o){var d=C?C+y:y;if(!this._events[d])return this;if(!h)return 0==--this._eventsCount?this._events=new j:delete this._events[d],this;var s=this._events[d];if(s.fn)s.fn===h&&(!o||s.once)&&(!r||s.context===r)&&(0==--this._eventsCount?this._events=new j:delete this._events[d]);else{for(var f=0,u=[],a=s.length;f<a;f++)(s[f].fn!==h||o&&!s[f].once||r&&s[f].context!==r)&&u.push(s[f]);u.length?this._events[d]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new j:delete this._events[d]}return this},w.prototype.removeAllListeners=function(y){var h;return y?this._events[h=C?C+y:y]&&(0==--this._eventsCount?this._events=new j:delete this._events[h]):(this._events=new j,this._eventsCount=0),this},w.prototype.off=w.prototype.removeListener,w.prototype.addListener=w.prototype.on,w.prototype.setMaxListeners=function(){return this},w.prefixed=C,w.EventEmitter=w,typeof W<"u"&&(W.exports=w)},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.matchText=k.matchSpacing=k.matchNewline=k.matchBlot=k.matchAttributor=k.default=void 0;var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(at){return typeof at}:function(at){return at&&"function"==typeof Symbol&&at.constructor===Symbol&&at!==Symbol.prototype?"symbol":typeof at},j=function(){return function(lt,vt){if(Array.isArray(lt))return lt;if(Symbol.iterator in Object(lt))return function at(lt,vt){var pt=[],ht=!0,Pt=!1,dt=void 0;try{for(var re,Et=lt[Symbol.iterator]();!(ht=(re=Et.next()).done)&&(pt.push(re.value),!vt||pt.length!==vt);ht=!0);}catch(se){Pt=!0,dt=se}finally{try{!ht&&Et.return&&Et.return()}finally{if(Pt)throw dt}}return pt}(lt,vt);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(){function at(lt,vt){for(var pt=0;pt<vt.length;pt++){var ht=vt[pt];ht.enumerable=ht.enumerable||!1,ht.configurable=!0,"value"in ht&&(ht.writable=!0),Object.defineProperty(lt,ht.key,ht)}}return function(lt,vt,pt){return vt&&at(lt.prototype,vt),pt&&at(lt,pt),lt}}(),x=E(O(3)),h=E(O(2)),o=E(O(0)),s=E(O(5)),u=E(O(10)),p=E(O(9)),l=O(36),v=O(37),T=E(O(13)),e=O(26),R=O(38),b=O(39),m=O(40);function E(at){return at&&at.__esModule?at:{default:at}}function S(at,lt,vt){return lt in at?Object.defineProperty(at,lt,{value:vt,enumerable:!0,configurable:!0,writable:!0}):at[lt]=vt,at}var Q=(0,u.default)("quill:clipboard"),ct="__ql-matcher",V=[[Node.TEXT_NODE,Ct],[Node.TEXT_NODE,qt],["br",function yt(at,lt){return G(lt,"\n")||lt.insert("\n"),lt}],[Node.ELEMENT_NODE,qt],[Node.ELEMENT_NODE,ut],[Node.ELEMENT_NODE,Dt],[Node.ELEMENT_NODE,nt],[Node.ELEMENT_NODE,function Zt(at,lt){var vt={},pt=at.style||{};return pt.fontStyle&&"italic"===X(at).fontStyle&&(vt.italic=!0),pt.fontWeight&&(X(at).fontWeight.startsWith("bold")||parseInt(X(at).fontWeight)>=700)&&(vt.bold=!0),Object.keys(vt).length>0&&(lt=H(lt,vt)),parseFloat(pt.textIndent||0)>0&&(lt=(new h.default).insert("\t").concat(lt)),lt}],["li",function Nt(at,lt){var vt=o.default.query(at);if(null==vt||"list-item"!==vt.blotName||!G(lt,"\n"))return lt;for(var pt=-1,ht=at.parentNode;!ht.classList.contains("ql-clipboard");)"list"===(o.default.query(ht)||{}).blotName&&(pt+=1),ht=ht.parentNode;return pt<=0?lt:lt.compose((new h.default).retain(lt.length()-1).retain(1,{indent:pt}))}],["b",rt.bind(rt,"bold")],["i",rt.bind(rt,"italic")],["style",function wt(){return new h.default}]],F=[l.AlignAttribute,R.DirectionAttribute].reduce(function(at,lt){return at[lt.keyName]=lt,at},{}),A=[l.AlignStyle,v.BackgroundStyle,e.ColorStyle,R.DirectionStyle,b.FontStyle,m.SizeStyle].reduce(function(at,lt){return at[lt.keyName]=lt,at},{}),I=function(at){function lt(vt,pt){!function q(at,lt){if(!(at instanceof lt))throw new TypeError("Cannot call a class as a function")}(this,lt);var ht=function B(at,lt){if(!at)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!lt||"object"!=typeof lt&&"function"!=typeof lt?at:lt}(this,(lt.__proto__||Object.getPrototypeOf(lt)).call(this,vt,pt));return ht.quill.root.addEventListener("paste",ht.onPaste.bind(ht)),ht.container=ht.quill.addContainer("ql-clipboard"),ht.container.setAttribute("contenteditable",!0),ht.container.setAttribute("tabindex",-1),ht.matchers=[],V.concat(ht.options.matchers).forEach(function(Pt){var dt=j(Pt,2),re=dt[1];!pt.matchVisual&&re===Dt||ht.addMatcher(dt[0],re)}),ht}return function Y(at,lt){if("function"!=typeof lt&&null!==lt)throw new TypeError("Super expression must either be null or a function, not "+typeof lt);at.prototype=Object.create(lt&&lt.prototype,{constructor:{value:at,enumerable:!1,writable:!0,configurable:!0}}),lt&&(Object.setPrototypeOf?Object.setPrototypeOf(at,lt):at.__proto__=lt)}(lt,at),L(lt,[{key:"addMatcher",value:function(pt,ht){this.matchers.push([pt,ht])}},{key:"convert",value:function(pt){if("string"==typeof pt)return this.container.innerHTML=pt.replace(/\>\r?\n +\</g,"><"),this.convert();var ht=this.quill.getFormat(this.quill.selection.savedRange.index);if(ht[T.default.blotName]){var Pt=this.container.innerText;return this.container.innerHTML="",(new h.default).insert(Pt,S({},T.default.blotName,ht[T.default.blotName]))}var dt=this.prepareMatching(),Et=j(dt,2),Bt=$(this.container,Et[0],Et[1]);return G(Bt,"\n")&&null==Bt.ops[Bt.ops.length-1].attributes&&(Bt=Bt.compose((new h.default).retain(Bt.length()-1).delete(1))),Q.log("convert",this.container.innerHTML,Bt),this.container.innerHTML="",Bt}},{key:"dangerouslyPasteHTML",value:function(pt,ht){var Pt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof pt)this.quill.setContents(this.convert(pt),ht),this.quill.setSelection(0,s.default.sources.SILENT);else{var dt=this.convert(ht);this.quill.updateContents((new h.default).retain(pt).concat(dt),Pt),this.quill.setSelection(pt+dt.length(),s.default.sources.SILENT)}}},{key:"onPaste",value:function(pt){var ht=this;if(!pt.defaultPrevented&&this.quill.isEnabled()){var Pt=this.quill.getSelection(),dt=(new h.default).retain(Pt.index),Et=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(s.default.sources.SILENT),setTimeout(function(){dt=dt.concat(ht.convert()).delete(Pt.length),ht.quill.updateContents(dt,s.default.sources.USER),ht.quill.setSelection(dt.length()-Pt.length,s.default.sources.SILENT),ht.quill.scrollingContainer.scrollTop=Et,ht.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var pt=this,ht=[],Pt=[];
vendor: 2,977 bytes, line 1
1return this.matchers.forEach(function(dt){var Et=j(dt,2),re=Et[0],se=Et[1];switch(re){case Node.TEXT_NODE:Pt.push(se);break;case Node.ELEMENT_NODE:ht.push(se);break;default:[].forEach.call(pt.container.querySelectorAll(re),function(Bt){Bt[ct]=Bt[ct]||[],Bt[ct].push(se)})}}),[ht,Pt]}}]),lt}(p.default);function H(at,lt,vt){return"object"===(typeof lt>"u"?"undefined":C(lt))?Object.keys(lt).reduce(function(pt,ht){return H(pt,ht,lt[ht])},at):at.reduce(function(pt,ht){return ht.attributes&&ht.attributes[lt]?pt.push(ht):pt.insert(ht.insert,(0,x.default)({},S({},lt,vt),ht.attributes))},new h.default)}function X(at){if(at.nodeType!==Node.ELEMENT_NODE)return{};var lt="__ql-computed-style";return at[lt]||(at[lt]=window.getComputedStyle(at))}function G(at,lt){for(var vt="",pt=at.ops.length-1;pt>=0&&vt.length<lt.length;--pt){var ht=at.ops[pt];if("string"!=typeof ht.insert)break;vt=ht.insert+vt}return vt.slice(-1*lt.length)===lt}function D(at){if(0===at.childNodes.length)return!1;var lt=X(at);return["block","list-item"].indexOf(lt.display)>-1}function $(at,lt,vt){return at.nodeType===at.TEXT_NODE?vt.reduce(function(pt,ht){return ht(at,pt)},new h.default):at.nodeType===at.ELEMENT_NODE?[].reduce.call(at.childNodes||[],function(pt,ht){var Pt=$(ht,lt,vt);return ht.nodeType===at.ELEMENT_NODE&&(Pt=lt.reduce(function(dt,Et){return Et(ht,dt)},Pt),Pt=(ht[ct]||[]).reduce(function(dt,Et){return Et(ht,dt)},Pt)),pt.concat(Pt)},new h.default):new h.default}function rt(at,lt,vt){return H(vt,at,!0)}function nt(at,lt){var vt=o.default.Attributor.Attribute.keys(at),pt=o.default.Attributor.Class.keys(at),ht=o.default.Attributor.Style.keys(at),Pt={};return vt.concat(pt).concat(ht).forEach(function(dt){var Et=o.default.query(dt,o.default.Scope.ATTRIBUTE);null!=Et&&(Pt[Et.attrName]=Et.value(at),Pt[Et.attrName])||(null!=(Et=F[dt])&&(Et.attrName===dt||Et.keyName===dt)&&(Pt[Et.attrName]=Et.value(at)||void 0),null!=(Et=A[dt])&&(Et.attrName===dt||Et.keyName===dt)&&(Pt[(Et=A[dt]).attrName]=Et.value(at)||void 0))}),Object.keys(Pt).length>0&&(lt=H(lt,Pt)),lt}function ut(at,lt){var vt=o.default.query(at);if(null==vt)return lt;if(vt.prototype instanceof o.default.Embed){var pt={},ht=vt.value(at);null!=ht&&(pt[vt.blotName]=ht,lt=(new h.default).insert(pt,vt.formats(at)))}else"function"==typeof vt.formats&&(lt=H(lt,vt.blotName,vt.formats(at)));return lt}function qt(at,lt){return G(lt,"\n")||(D(at)||lt.length()>0&&at.nextSibling&&D(at.nextSibling))&&lt.insert("\n"),lt}function Dt(at,lt){if(D(at)&&null!=at.nextElementSibling&&!G(lt,"\n\n")){var vt=at.offsetHeight+parseFloat(X(at).marginTop)+parseFloat(X(at).marginBottom);at.nextElementSibling.offsetTop>at.offsetTop+1.5*vt&&lt.insert("\n")}return lt}function Ct(at,lt){var vt=at.data;if("O:P"===at.parentNode.tagName)return lt.insert(vt.trim());if(0===vt.trim().length&&at.parentNode.classList.contains("ql-clipboard"))return lt;if(!X(at.parentNode).whiteSpace.startsWith("pre")){var pt=function(Pt,dt){return(dt=dt.replace(/[^\u
100a0]/g,"")).length<1&&Pt?" ":dt};vt=(vt=vt.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,pt.bind(pt,!0)),(null==at.previousSibling&&D(at.parentNode)||null!=at.previousSibling&&D(at.previousSibling))&&(vt=vt.replace(/^\s+/,pt.bind(pt,!1))),(null==at.nextSibling&&D(at.parentNode)||null!=at.nextSibling&&D(at.nextSibling))&&(vt=vt.replace(/\s+$/,pt.bind(pt,!1)))}return lt.insert(vt)}I.DEFAULTS={matchers:[],matchVisual:!0},k.default=I,k.matchAttributor=nt,k.matchBlot=ut,k.matchNewline=qt,k.matchSpacing=Dt,k.matchText=Ct},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function d(s,f){for(var u=0;u<f.length;u++){var a=f[u];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,f,u){return f&&d(s.prototype,f),u&&d(s,u),s}}(),j=function d(s,f,u){null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,f);if(void 0===a){var p=Object.getPrototypeOf(s);return null===p?void 0:d(p,f,u)}if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(u)},o=function(d){function s(){return function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s),function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),C(s,[{key:"optimize",value:function(u){j(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,u),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return j(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),s}(function x(d){return d&&d.__esModule?d:{default:d}}(O(6)).default);o.blotName="bold",o.tagName=["STRONG","B"],k.default=o},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.addControls=k.default=void 0;var C=function(){return function(E,S){if(Array.isArray(E))return E;if(Symbol.iterator in Object(E))return function m(E,S){var q=[],B=!0,Y=!1,Q=void 0;try{for(var V,ct=E[Symbol.iterator]();!(B=(V=ct.next()).done)&&(q.push(V.value),!S||q.length!==S);B=!0);}catch(F){Y=!0,Q=F}finally{try{!B&&ct.return&&ct.return()}finally{if(Y)throw Q}}return q}(E,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function(){function m(E,S){for(var q=0;q<S.length;q++){var B=S[q];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(E,B.key,B)}}return function(E,S,q){return S&&m(E.prototype,S),q&&m(E,q),E}}(),w=u(O(2)),y=u(O(0)),r=u(O(5)),d=u(O(10)),f=u(O(9));function u(m){return m&&m.__esModule?m:{default:m}}function l(m,E){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||"object"!=typeof E&&"function"!=typeof E?m:E}var P=(0,d.default)("quill:toolbar"),T=function(m){function E(S,q){!function p(m,E){if(!(m instanceof E))throw new TypeError("Cannot call a class as a function")}(this,E);var Q,B=l(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,S,q));if(Array.isArray(B.options.container)){var Y=document.createElement("div");R(Y,B.options.container),S.container.parentNode.insertBefore(Y,S.container),B.container=Y}else B.container="string"==typeof B.options.container?document.querySelector(B.options.container):B.options.container;return B.container instanceof HTMLElement?(B.container.classList.add("ql-toolbar"),B.controls=[],B.handlers={},Object.keys(B.options.handlers).forEach(function(ct){B.addHandler(ct,B.options.handlers[ct])}),[].forEach.call(B.container.querySelectorAll("button, select"),function(ct){B.attach(ct)}),B.quill.on(r.default.events.EDITOR_CHANGE,function(ct,V){ct===r.default.events.SELECTION_CHANGE&&B.update(V)}),B.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){var ct=B.quill.selection.getRange(),V=C(ct,1);B.update(V[0])}),B):(Q=P.error("Container required for toolbar",B.options),l(B,Q))}return function v(m,E){if("function"!=typeof E&&null!==E)throw new TypeError("Super expression must either be null or a function, not "+typeof E);m.prototype=Object.create(E&&E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(m,E):m.__proto__=E)}(E,m),j(E,[{key:"addHandler",value:function(q,B){this.handlers[q]=B}},{key:"attach",value:function(q){var B=this,Y=[].find.call(q.classList,function(ct){return 0===ct.indexOf("ql-")});if(Y){if(Y=Y.slice(3),"BUTTON"===q.tagName&&q.setAttribute("type","button"),null==this.handlers[Y]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[Y])return void P.warn("ignoring attaching to disabled format",Y,q);if(null==y.default.query(Y))return void P.warn("ignoring attaching to nonexistent format",Y,q)}q.addEventListener("SELECT"===q.tagName?"change":"click",function(ct){var V=void 0;if("SELECT"===q.tagName){if(q.selectedIndex<0)return;var F=q.options[q.selectedIndex];V=!F.hasAttribute("selected")&&(F.value||!1)}else V=!q.classList.contains("ql-active")&&(q.value||!q.hasAttribute("value")),ct.preventDefault();B.quill.focus();var A=B.quill.selection.getRange(),H=C(A,1)[0];if(null!=B.handlers[Y])B.handlers[Y].call(B,V);else if(y.default.query(Y).prototype instanceof y.default.Embed){if(!(V=prompt("Enter "+Y)))return;B.quill.updateContents((new w.default).retain(H.index).delete(H.length).insert(function a(m,E,S){return E in m?Object.defineProperty(m,E,{value:S,enumerable:!0,configurable:!0,writable:!0}):m[E]=S,m}({},Y,V)),r.default.sources.USER)}else B.quill.format(Y,V,r.default.sources.USER);B.update(H)}),this.controls.push([Y,q])}}},{key:"update",value:function(q){var B=null==q?{}:this.quill.getFormat(q);
vendor: 6,926 bytes, line 1
1this.controls.forEach(function(Y){var Q=C(Y,2),ct=Q[0],V=Q[1];if("SELECT"===V.tagName){var F=void 0;if(null==q)F=null;else if(null==B[ct])F=V.querySelector("option[selected]");else if(!Array.isArray(B[ct])){var A=B[ct];"string"==typeof A&&(A=A.replace(/\"/g,'\\"')),F=V.querySelector('option[value="'+A+'"]')}null==F?(V.value="",V.selectedIndex=-1):F.selected=!0}else if(null==q)V.classList.remove("ql-active");else if(V.hasAttribute("value")){var I=B[ct]===V.getAttribute("value")||null!=B[ct]&&B[ct].toString()===V.getAttribute("value")||null==B[ct]&&!V.getAttribute("value");V.classList.toggle("ql-active",I)}else V.classList.toggle("ql-active",null!=B[ct])})}}]),E}(f.default);function e(m,E,S){var q=document.createElement("button");q.setAttribute("type","button"),q.classList.add("ql-"+E),null!=S&&(q.value=S),m.appendChild(q)}function R(m,E){Array.isArray(E[0])||(E=[E]),E.forEach(function(S){var q=document.createElement("span");q.classList.add("ql-formats"),S.forEach(function(B){if("string"==typeof B)e(q,B);else{var Y=Object.keys(B)[0],Q=B[Y];Array.isArray(Q)?function b(m,E,S){var q=document.createElement("select");q.classList.add("ql-"+E),S.forEach(function(B){var Y=document.createElement("option");!1!==B?Y.setAttribute("value",B):Y.setAttribute("selected","selected"),q.appendChild(Y)}),m.appendChild(q)}(q,Y,Q):e(q,Y,Q)}}),m.appendChild(q)})}T.DEFAULTS={},T.DEFAULTS={container:null,handlers:{clean:function(){var E=this,S=this.quill.getSelection();if(null!=S)if(0==S.length){var q=this.quill.getFormat();Object.keys(q).forEach(function(B){null!=y.default.query(B,y.default.Scope.INLINE)&&E.quill.format(B,!1)})}else this.quill.removeFormat(S,r.default.sources.USER)},direction:function(E){var S=this.quill.getFormat().align;"rtl"===E&&null==S?this.quill.format("align","right",r.default.sources.USER):!E&&"right"===S&&this.quill.format("align",!1,r.default.sources.USER),this.quill.format("direction",E,r.default.sources.USER)},indent:function(E){var S=this.quill.getSelection(),q=this.quill.getFormat(S),B=parseInt(q.indent||0);if("+1"===E||"-1"===E){var Y="+1"===E?1:-1;"rtl"===q.direction&&(Y*=-1),this.quill.format("indent",B+Y,r.default.sources.USER)}},link:function(E){!0===E&&(E=prompt("Enter link URL:")),this.quill.format("link",E,r.default.sources.USER)},list:function(E){var S=this.quill.getSelection(),q=this.quill.getFormat(S);this.quill.format("list","check"===E?"checked"!==q.list&&"unchecked"!==q.list&&"unchecked":E,r.default.sources.USER)}}},k.default=T,k.addControls=R},function(W,k){W.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(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function d(s,f){for(var u=0;u<f.length;u++){var a=f[u];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,f,u){return f&&d(s.prototype,f),u&&d(s,u),s}}(),j=function d(s,f,u){null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,f);if(void 0===a){var p=Object.getPrototypeOf(s);return null===p?void 0:d(p,f,u)}if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(u)},o=function(d){function s(f,u){!function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s);var a=function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,f));return a.label.innerHTML=u,a.container.classList.add("ql-color-picker"),[].slice.call(a.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(p){p.classList.add("ql-primary")}),a}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),C(s,[{key:"buildItem",value:function(u){var a=j(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"buildItem",this).call(this,u);return a.style.backgroundColor=u.getAttribute("value")||"",a}},{key:"selectItem",value:function(u,a){j(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,u,a);var p=this.label.querySelector(".ql-color-label"),l=u&&u.getAttribute("data-value")||"";p&&("line"===p.tagName?p.style.stroke=l:p.style.fill=l)}}]),s}(function x(d){return d&&d.__esModule?d:{default:d}}(O(28)).default);k.default=o},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function d(s,f){for(var u=0;u<f.length;u++){var a=f[u];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,f,u){return f&&d(s.prototype,f),u&&d(s,u),s}}(),j=function d(s,f,u){null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,f);if(void 0===a){var p=Object.getPrototypeOf(s);return null===p?void 0:d(p,f,u)}if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(u)},o=function(d){function s(f,u){!function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s);var a=function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,f));return a.container.classList.add("ql-icon-picker"),[].forEach.call(a.container.querySelectorAll(".ql-picker-item"),function(p){p.innerHTML=u[p.getAttribute("data-value")||""]}),a.defaultItem=a.container.querySelector(".ql-selected"),a.selectItem(a.defaultItem),a}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),C(s,[{key:"selectItem",value:function(u,a){j(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,u,a),this.label.innerHTML=(u=u||this.defaultItem).innerHTML}}]),s}(function x(d){return d&&d.__esModule?d:{default:d}}(O(28)).default);k.default=o},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function w(x,y){for(var h=0;h<y.length;h++){var r=y[h];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(x,r.key,r)}}return function(x,y,h){return y&&w(x.prototype,y),h&&w(x,h),x}
1}(),L=function(){function w(x,y){var h=this;(function j(w,x){if(!(w instanceof x))throw new TypeError("Cannot call a class as a function")})(this,w),this.quill=x,this.boundsContainer=y||document.body,this.root=x.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){h.root.style.marginTop=-1*h.quill.root.scrollTop+"px"}),this.hide()}return C(w,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(y){var h=y.left+y.width/2-this.root.offsetWidth/2,r=y.bottom+this.quill.root.scrollTop;this.root.style.left=h+"px",this.root.style.top=r+"px",this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect(),d=this.root.getBoundingClientRect(),s=0;return d.right>o.right&&(this.root.style.left=h+(s=o.right-d.right)+"px"),d.left<o.left&&(this.root.style.left=h+(s=o.left-d.left)+"px"),d.bottom>o.bottom&&(this.root.style.top=r-(y.bottom-y.top+(d.bottom-d.top))+"px",this.root.classList.add("ql-flip")),s}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),w}();k.default=L},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){return function(m,E){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return function b(m,E){var S=[],q=!0,B=!1,Y=void 0;try{for(var ct,Q=m[Symbol.iterator]();!(q=(ct=Q.next()).done)&&(S.push(ct.value),!E||S.length!==E);q=!0);}catch(V){B=!0,Y=V}finally{try{!q&&Q.return&&Q.return()}finally{if(B)throw Y}}return S}(m,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),j=function b(m,E,S){null===m&&(m=Function.prototype);var q=Object.getOwnPropertyDescriptor(m,E);if(void 0===q){var B=Object.getPrototypeOf(m);return null===B?void 0:b(B,E,S)}if("value"in q)return q.value;var Y=q.get;return void 0===Y?void 0:Y.call(S)},L=function(){function b(m,E){for(var S=0;S<E.length;S++){var q=E[S];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(m,q.key,q)}}return function(m,E,S){return E&&b(m.prototype,E),S&&b(m,S),m}}(),x=p(O(3)),h=p(O(8)),r=O(43),o=p(r),s=p(O(27)),f=O(15),a=p(O(41));function p(b){return b&&b.__esModule?b:{default:b}}function l(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function v(b,m){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!m||"object"!=typeof m&&"function"!=typeof m?b:m}function P(b,m){if("function"!=typeof m&&null!==m)throw new TypeError("Super expression must either be null or a function, not "+typeof m);b.prototype=Object.create(m&&m.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(b,m):b.__proto__=m)}var T=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],e=function(b){function m(E,S){l(this,m),null!=S.modules.toolbar&&null==S.modules.toolbar.container&&(S.modules.toolbar.container=T);var q=v(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,E,S));return q.quill.container.classList.add("ql-snow"),q}return P(m,b),L(m,[{key:"extendToolbar",value:function(S){S.container.classList.add("ql-snow"),this.buildButtons([].slice.call(S.container.querySelectorAll("button")),a.default),this.buildPickers([].slice.call(S.container.querySelectorAll("select")),a.default),this.tooltip=new R(this.quill,this.options.bounds),S.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(q,B){S.handlers.link.call(S,!B.format.link)})}}]),m}(o.default);e.DEFAULTS=(0,x.default)(!0,{},o.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(m){if(m){var E=this.quill.getSelection();if(null==E||0==E.length)return;var S=this.quill.getText(E);/^\S+@\S+\.\S+$/.test(S)&&0!==S.indexOf("mailto:")&&(S="mailto:"+S),this.quill.theme.tooltip.edit("link",S)}else this.quill.format("link",!1)}}}}});var R=function(b){function m(E,S){l(this,m);var q=v(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,E,S));return q.preview=q.root.querySelector("a.ql-preview"),q}return P(m,b),L(m,[{key:"listen",value:function(){var S=this;j(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(q){S.root.classList.contains("ql-editing")?S.save():S.edit("link",S.preview.textContent),q.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(q){if(null!=S.linkRange){var B=S.linkRange;S.restoreFocus(),S.quill.formatText(B,"link",!1,h.default.sources.USER),delete S.linkRange}q.preventDefault(),S.hide()}),this.quill.on(h.default.events.SELECTION_CHANGE,function(q,B,Y){if(null!=q){if(0===q.length&&Y===h.default.sources.USER){var Q=S.quill.scroll.descendant(s.default,q.index),ct=C(Q,2),V=ct[0];if(null!=V){S.linkRange=new f.Range(q.index-ct[1],V.length());var A=s.default.formats(V.domNode);
vendor: 5,062 bytes, line 1
1return S.preview.textContent=A,S.preview.setAttribute("href",A),S.show(),void S.position(S.quill.getBounds(S.linkRange))}}else delete S.linkRange;S.hide()}})}},{key:"show",value:function(){j(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),m}(r.BaseTooltip);R.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),k.default=e},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var j=ht(O(29)),L=O(36),w=O(38),x=O(64),h=ht(O(65)),o=ht(O(66)),d=O(67),s=ht(d),f=O(37),u=O(26),a=O(39),p=O(40),v=ht(O(56)),T=ht(O(68)),R=ht(O(27)),m=ht(O(69)),S=ht(O(70)),B=ht(O(71)),Q=ht(O(72)),V=ht(O(73)),F=O(13),A=ht(F),H=ht(O(74)),G=ht(O(75)),$=ht(O(57)),nt=ht(O(41)),yt=ht(O(28)),Nt=ht(O(59)),Dt=ht(O(60)),Ct=ht(O(61)),lt=ht(O(108)),pt=ht(O(62));function ht(Pt){return Pt&&Pt.__esModule?Pt:{default:Pt}}j.default.register({"attributors/attribute/direction":w.DirectionAttribute,"attributors/class/align":L.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":u.ColorClass,"attributors/class/direction":w.DirectionClass,"attributors/class/font":a.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":L.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":u.ColorStyle,"attributors/style/direction":w.DirectionStyle,"attributors/style/font":a.FontStyle,"attributors/style/size":p.SizeStyle},!0),j.default.register({"formats/align":L.AlignClass,"formats/direction":w.DirectionClass,"formats/indent":x.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":u.ColorStyle,"formats/font":a.FontClass,"formats/size":p.SizeClass,"formats/blockquote":h.default,"formats/code-block":A.default,"formats/header":o.default,"formats/list":s.default,"formats/bold":v.default,"formats/code":F.Code,"formats/italic":T.default,"formats/link":R.default,"formats/script":m.default,"formats/strike":S.default,"formats/underline":B.default,"formats/image":Q.default,"formats/video":V.default,"formats/list/item":d.ListItem,"modules/formula":H.default,"modules/syntax":G.default,"modules/toolbar":$.default,"themes/bubble":lt.default,"themes/snow":pt.default,"ui/icons":nt.default,"ui/picker":yt.default,"ui/icon-picker":Dt.default,"ui/color-picker":Nt.default,"ui/tooltip":Ct.default},!0),k.default=j.default},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.IndentClass=void 0;var C=function(){function s(f,u){for(var a=0;a<u.length;a++){var p=u[a];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(f,p.key,p)}}return function(f,u,a){return u&&s(f.prototype,u),a&&s(f,a),f}}(),j=function s(f,u,a){null===f&&(f=Function.prototype);var p=Object.getOwnPropertyDescriptor(f,u);if(void 0===p){var l=Object.getPrototypeOf(f);return null===l?void 0:s(l,u,a)}if("value"in p)return p.value;var v=p.get;return void 0===v?void 0:v.call(a)},w=function x(s){return s&&s.__esModule?s:{default:s}}(O(0)),o=function(s){function f(){return function y(s,f){if(!(s instanceof f))throw new TypeError("Cannot call a class as a function")}(this,f),function h(s,f){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||"object"!=typeof f&&"function"!=typeof f?s:f}(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return function r(s,f){if("function"!=typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);s.prototype=Object.create(f&&f.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(s,f):s.__proto__=f)}(f,s),C(f,[{key:"add",value:function(a,p){if("+1"===p||"-1"===p){var l=this.value(a)||0;p="+1"===p?l+1:l-1}return 0===p?(this.remove(a),!0):j(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"add",this).call(this,a,p)}},{key:"canAdd",value:function(a,p){return j(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,a,p)||j(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"canAdd",this).call(this,a,parseInt(p))}},{key:"value",value:function(a){return parseInt(j(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"value",this).call(this,a))||void 0}}]),f}(w.default.Attributor.Class),d=new o("indent","ql-indent",{scope:w.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});k.IndentClass=d},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var h=function(r){function o(){return function w(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),function x(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?r:o}
vendor: 6,605 bytes, line 1
1(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return function y(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}(o,r),o}(function L(r){return r&&r.__esModule?r:{default:r}}(O(4)).default);h.blotName="blockquote",h.tagName="blockquote",k.default=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function o(d,s){for(var f=0;f<s.length;f++){var u=s[f];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(d,u.key,u)}}return function(d,s,f){return s&&o(d.prototype,s),f&&o(d,f),d}}(),r=function(o){function d(){return function x(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}(this,d),function y(o,d){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!d||"object"!=typeof d&&"function"!=typeof d?o:d}(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return function h(o,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function, not "+typeof d);o.prototype=Object.create(d&&d.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(o,d):o.__proto__=d)}(d,o),C(d,null,[{key:"formats",value:function(f){return this.tagName.indexOf(f.tagName)+1}}]),d}(function w(o){return o&&o.__esModule?o:{default:o}}(O(4)).default);r.blotName="header",r.tagName=["H1","H2","H3","H4","H5","H6"],k.default=r},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.ListItem=void 0;var C=function(){function l(v,P){for(var T=0;T<P.length;T++){var e=P[T];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(v,e.key,e)}}return function(v,P,T){return P&&l(v.prototype,P),T&&l(v,T),v}}(),j=function l(v,P,T){null===v&&(v=Function.prototype);var e=Object.getOwnPropertyDescriptor(v,P);if(void 0===e){var R=Object.getPrototypeOf(v);return null===R?void 0:l(R,P,T)}if("value"in e)return e.value;var b=e.get;return void 0===b?void 0:b.call(T)},w=o(O(0)),y=o(O(4)),r=o(O(25));function o(l){return l&&l.__esModule?l:{default:l}}function s(l,v){if(!(l instanceof v))throw new TypeError("Cannot call a class as a function")}function f(l,v){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?l:v}function u(l,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);l.prototype=Object.create(v&&v.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(l,v):l.__proto__=v)}var a=function(l){function v(){return s(this,v),f(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return u(v,l),C(v,[{key:"format",value:function(T,e){T!==p.blotName||e?j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,T,e):this.replaceWith(w.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(T,e){return this.parent.isolate(this.offset(this.parent),this.length()),T===this.parent.statics.blotName?(this.parent.replaceWith(T,e),this):(this.parent.unwrap(),j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replaceWith",this).call(this,T,e))}}],[{key:"formats",value:function(T){return T.tagName===this.tagName?void 0:j(v.__proto__||Object.getPrototypeOf(v),"formats",this).call(this,T)}}]),v}(y.default);a.blotName="list-item",a.tagName="LI";var p=function(l){function v(P){s(this,v);var T=f(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,P)),e=function(b){if(b.target.parentNode===P){var m=T.statics.formats(P),E=w.default.find(b.target);"checked"===m?E.format("list","unchecked"):"unchecked"===m&&E.format("list","checked")}};return P.addEventListener("touchstart",e),P.addEventListener("mousedown",e),T}return u(v,l),C(v,null,[{key:"create",value:function(T){var e="ordered"===T?"OL":"UL",R=j(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,e);return("checked"===T||"unchecked"===T)&&R.setAttribute("data-checked","checked"===T),R}},{key:"formats",value:function(T){return"OL"===T.tagName?"ordered":"UL"===T.tagName?T.hasAttribute("data-checked")?"true"===T.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),C(v,[{key:"format",value:function(T,e){this.children.length>0&&this.children.tail.format(T,e)}},{key:"formats",value:function(){return function d(l,v,P){return v in l?Object.defineProperty(l,v,{value:P,enumerable:!0,configurable:!0,writable:!0}):l[v]=P,l}({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(T,e){if(T instanceof a)j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"insertBefore",this).call(this,T,e);else{var R=null==e?this.length():e.offset(this),b=this.split(R);b.parent.insertBefore(T,b)}}},{key:"optimize",value:function(T){j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,T);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(T){if(T.statics.blotName!==this.statics.blotName){var e=w.default.create(this.statics.defaultChild);T.moveChildren(e),this.appendChild(e)}j(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replace",this).call(this,T)}}]),v}(r.default);p.blotName="list",p.scope=w.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[a],k.ListItem=a,k.default=p},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var h=function(r){function o(){return function w(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),function x(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?r:o}
1(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return function y(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}(o,r),o}(function L(r){return r&&r.__esModule?r:{default:r}}(O(56)).default);h.blotName="italic",h.tagName=["EM","I"],k.default=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function d(s,f){for(var u=0;u<f.length;u++){var a=f[u];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,a.key,a)}}return function(s,f,u){return f&&d(s.prototype,f),u&&d(s,u),s}}(),j=function d(s,f,u){null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,f);if(void 0===a){var p=Object.getPrototypeOf(s);return null===p?void 0:d(p,f,u)}if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(u)},o=function(d){function s(){return function y(d,s){if(!(d instanceof s))throw new TypeError("Cannot call a class as a function")}(this,s),function h(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!=typeof s&&"function"!=typeof s?d:s}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function r(d,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);d.prototype=Object.create(s&&s.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(d,s):d.__proto__=s)}(s,d),C(s,null,[{key:"create",value:function(u){return"super"===u?document.createElement("sup"):"sub"===u?document.createElement("sub"):j(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this,u)}},{key:"formats",value:function(u){return"SUB"===u.tagName?"sub":"SUP"===u.tagName?"super":void 0}}]),s}(function x(d){return d&&d.__esModule?d:{default:d}}(O(6)).default);o.blotName="script",o.tagName=["SUB","SUP"],k.default=o},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var h=function(r){function o(){return function w(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),function x(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?r:o}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return function y(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}(o,r),o}(function L(r){return r&&r.__esModule?r:{default:r}}(O(6)).default);h.blotName="strike",h.tagName="S",k.default=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var h=function(r){function o(){return function w(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),function x(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||"object"!=typeof o&&"function"!=typeof o?r:o}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return function y(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}(o,r),o}(function L(r){return r&&r.__esModule?r:{default:r}}(O(6)).default);h.blotName="underline",h.tagName="U",k.default=h},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function f(u,a){for(var p=0;p<a.length;p++){var l=a[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(u,l.key,l)}}return function(u,a,p){return a&&f(u.prototype,a),p&&f(u,p),u}}(),j=function f(u,a,p){null===u&&(u=Function.prototype);var l=Object.getOwnPropertyDescriptor(u,a);if(void 0===l){var v=Object.getPrototypeOf(u);return null===v?void 0:f(v,a,p)}if("value"in l)return l.value;var P=l.get;return void 0===P?void 0:P.call(p)},w=function y(f){return f&&f.__esModule?f:{default:f}}(O(0)),x=O(27),d=["alt","height","width"],s=function(f){function u(){return function h(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}(this,u),function r(f,u){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!u||"object"!=typeof u&&"function"!=typeof u?f:u}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return function o(f,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}(u,f),C(u,[{key:"format",value:function(p,l){d.indexOf(p)>-1?l?this.domNode.setAttribute(p,l):this.domNode.removeAttribute(p):j(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"format",this).call(this,p,l)}}],[{key:"create",value:function(p){var l=j(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this,p);return"string"==typeof p&&l.setAttribute("src",this.sanitize(p)),l}},{key:"formats",value:function(p){return d.reduce(function(l,v){return p.hasAttribute(v)&&(l[v]=p.getAttribute(v)),l},{})}},{key:"match",value:function(p){return/\.(jpe?g|gif|png)$/.test(p)||/^data:image\/.+;base64/.test(p)}},{key:"sanitize",value:function(p){return(0,x.sanitize)(p,["http","https","data"])?p:"//:0"}},{key:"value",value:function(p){return p.getAttribute("src")}}]),u}(w.default.Embed);s.blotName="image",s.tagName="IMG",k.default=s},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0});var C=function(){function f(u,a){for(var p=0;p<a.length;p++){var l=a[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(u,l.key,l)}}return function(u,a,p){return a&&f(u.prototype,a),p&&f(u,p),u}}(),j=function f(u,a,p){null===u&&(u=Function.prototype);var l=Object.getOwnPropertyDescriptor(u,a);if(void 0===l){var v=Object.getPrototypeOf(u);return null===v?void 0:f(v,a,p)}if("value"in l)return l.value;var P=l.get;return void 0===P?void 0:P.call(p)},L=O(4),x=function y(f){return f&&f.__esModule?f:{default:f}}
vendor: 9,487 bytes, line 1
1(O(27)),d=["height","width"],s=function(f){function u(){return function h(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}(this,u),function r(f,u){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!u||"object"!=typeof u&&"function"!=typeof u?f:u}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return function o(f,u){if("function"!=typeof u&&null!==u)throw new TypeError("Super expression must either be null or a function, not "+typeof u);f.prototype=Object.create(u&&u.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(f,u):f.__proto__=u)}(u,f),C(u,[{key:"format",value:function(p,l){d.indexOf(p)>-1?l?this.domNode.setAttribute(p,l):this.domNode.removeAttribute(p):j(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"format",this).call(this,p,l)}}],[{key:"create",value:function(p){var l=j(u.__proto__||Object.getPrototypeOf(u),"create",this).call(this,p);return l.setAttribute("frameborder","0"),l.setAttribute("allowfullscreen",!0),l.setAttribute("src",this.sanitize(p)),l}},{key:"formats",value:function(p){return d.reduce(function(l,v){return p.hasAttribute(v)&&(l[v]=p.getAttribute(v)),l},{})}},{key:"sanitize",value:function(p){return x.default.sanitize(p)}},{key:"value",value:function(p){return p.getAttribute("src")}}]),u}(L.BlockEmbed);s.blotName="video",s.className="ql-video",s.tagName="IFRAME",k.default=s},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.FormulaBlot=void 0;var C=function(){function p(l,v){for(var P=0;P<v.length;P++){var T=v[P];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(l,T.key,T)}}return function(l,v,P){return v&&p(l.prototype,v),P&&p(l,P),l}}(),j=function p(l,v,P){null===l&&(l=Function.prototype);var T=Object.getOwnPropertyDescriptor(l,v);if(void 0===T){var e=Object.getPrototypeOf(l);return null===e?void 0:p(e,v,P)}if("value"in T)return T.value;var R=T.get;return void 0===R?void 0:R.call(P)},w=o(O(35)),y=o(O(5)),r=o(O(9));function o(p){return p&&p.__esModule?p:{default:p}}function d(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")}function s(p,l){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!l||"object"!=typeof l&&"function"!=typeof l?p:l}function f(p,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function, not "+typeof l);p.prototype=Object.create(l&&l.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(p,l):p.__proto__=l)}var u=function(p){function l(){return d(this,l),s(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return f(l,p),C(l,null,[{key:"create",value:function(P){var T=j(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this,P);return"string"==typeof P&&(window.katex.render(P,T,{throwOnError:!1,errorColor:"#f00"}),T.setAttribute("data-value",P)),T}},{key:"value",value:function(P){return P.getAttribute("data-value")}}]),l}(w.default);u.blotName="formula",u.className="ql-formula",u.tagName="SPAN";var a=function(p){function l(){d(this,l);var v=s(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return v}return f(l,p),C(l,null,[{key:"register",value:function(){y.default.register(u,!0)}}]),l}(r.default);k.FormulaBlot=u,k.default=a},function(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.CodeToken=k.CodeBlock=void 0;var C=function(){function P(T,e){for(var R=0;R<e.length;R++){var b=e[R];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,b.key,b)}}return function(T,e,R){return e&&P(T.prototype,e),R&&P(T,R),T}}(),j=function P(T,e,R){null===T&&(T=Function.prototype);var b=Object.getOwnPropertyDescriptor(T,e);if(void 0===b){var m=Object.getPrototypeOf(T);return null===m?void 0:P(m,e,R)}if("value"in b)return b.value;var E=b.get;return void 0===E?void 0:E.call(R)},w=s(O(0)),y=s(O(5)),r=s(O(9));function s(P){return P&&P.__esModule?P:{default:P}}function f(P,T){if(!(P instanceof T))throw new TypeError("Cannot call a class as a function")}function u(P,T){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?P:T}function a(P,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);P.prototype=Object.create(T&&T.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(P,T):P.__proto__=T)}var p=function(P){function T(){return f(this,T),u(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return a(T,P),C(T,[{key:"replaceWith",value:function(R){this.domNode.textContent=this.domNode.textContent,this.attach(),j(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"replaceWith",this).call(this,R)}},{key:"highlight",value:function(R){var b=this.domNode.textContent;this.cachedText!==b&&((b.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=R(b),this.domNode.normalize(),this.attach()),this.cachedText=b)}}]),T}(s(O(13)).default);p.className="ql-syntax";var l=new w.default.Attributor.Class("token","hljs",{scope:w.default.Scope.INLINE}),v=function(P){function T(e,R){f(this,T);var b=u(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,e,R));if("function"!=typeof b.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var m=null;return b.quill.on(y.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(m),m=setTimeout(function(){b.highlight(),m=null},b.options.interval)}),b.highlight(),b}return a(T,P),C(T,null,[{key:"register",value:function(){y.default.register(l,!0),y.default.register(p,!0)}}]),C(T,[{key:"highlight",value:function(){var R=this;if(!this.quill.selection.composing){this.quill.update(y.default.sources.USER);var b=this.quill.getSelection();this.quill.scroll.descendants(p).forEach(function(m){m.highlight(R.options.highlight)}),this.quill.update(y.default.sources.SILENT),null!=b&&this.quill.setSelection(b,y.default.sources.SILENT)}}}]),T}(r.default);v.DEFAULTS={highlight:null==window.hljs?null:function(P){return window.hljs.highlightAuto(P).value},interval:1e3},k.CodeBlock=p,k.CodeToken=l,k.default=v},function(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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>
1 <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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k){W.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(W,k,O){"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=k.BubbleTooltip=void 0;var C=function T(e,R,b){null===e&&(e=Function.prototype);var m=Object.getOwnPropertyDescriptor(e,R);if(void 0===m){var E=Object.getPrototypeOf(e);return null===E?void 0:T(E,R,b)}if("value"in m)return m.value;var S=m.get;return void 0===S?void 0:S.call(b)},j=function(){function T(e,R){for(var b=0;b<R.length;b++){var m=R[b];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(e,m.key,m)}}return function(e,R,b){return R&&T(e.prototype,R),b&&T(e,b),e}}(),w=f(O(3)),y=f(O(8)),h=O(43),r=f(h),o=O(15),s=f(O(41));
vendor: 3,232 bytes, line 1
1function f(T){return T&&T.__esModule?T:{default:T}}function u(T,e){if(!(T instanceof e))throw new TypeError("Cannot call a class as a function")}function a(T,e){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?T:e}function p(T,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);T.prototype=Object.create(e&&e.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(T,e):T.__proto__=e)}var l=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],v=function(T){function e(R,b){u(this,e),null!=b.modules.toolbar&&null==b.modules.toolbar.container&&(b.modules.toolbar.container=l);var m=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,R,b));return m.quill.container.classList.add("ql-bubble"),m}return p(e,T),j(e,[{key:"extendToolbar",value:function(b){this.tooltip=new P(this.quill,this.options.bounds),this.tooltip.root.appendChild(b.container),this.buildButtons([].slice.call(b.container.querySelectorAll("button")),s.default),this.buildPickers([].slice.call(b.container.querySelectorAll("select")),s.default)}}]),e}(r.default);v.DEFAULTS=(0,w.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var P=function(T){function e(R,b){u(this,e);var m=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,R,b));return m.quill.on(y.default.events.EDITOR_CHANGE,function(E,S,q,B){if(E===y.default.events.SELECTION_CHANGE)if(null!=S&&S.length>0&&B===y.default.sources.USER){m.show(),m.root.style.left="0px",m.root.style.width="",m.root.style.width=m.root.offsetWidth+"px";var Y=m.quill.getLines(S.index,S.length);if(1===Y.length)m.position(m.quill.getBounds(S));else{var Q=Y[Y.length-1],ct=m.quill.getIndex(Q),V=Math.min(Q.length()-1,S.index+S.length-ct),F=m.quill.getBounds(new o.Range(ct,V));m.position(F)}}else document.activeElement!==m.textbox&&m.quill.hasFocus()&&m.hide()}),m}return p(e,T),j(e,[{key:"listen",value:function(){var b=this;C(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){b.root.classList.remove("ql-editing")}),this.quill.on(y.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!b.root.classList.contains("ql-hidden")){var m=b.quill.getSelection();null!=m&&b.position(b.quill.getBounds(m))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(b){var m=C(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,b),E=this.root.querySelector(".ql-tooltip-arrow");if(E.style.marginLeft="",0===m)return m;E.style.marginLeft=-1*m-E.offsetWidth/2+"px"}}]),e}(h.BaseTooltip);P.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(""),k.BubbleTooltip=P,k.default=v},function(W,k,O){W.exports=O(63)}]).default});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.