From 9e4ff2353f99fae9dc93641692c89403f11cb2cb Mon Sep 17 00:00:00 2001 From: Darwin Apolinario <71545960+darwin808@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:26:48 +0800 Subject: [PATCH 1/2] Revert "feat(mobile prev): mobile preview btn" --- dist/live-editor.production.js | 4 +- src/components/BreadCrumbs/Subheaders.tsx | 68 +++++------------------ src/utils/edit.tsx | 50 +++++++++++++++++ 3 files changed, 66 insertions(+), 56 deletions(-) diff --git a/dist/live-editor.production.js b/dist/live-editor.production.js index ddaf52b..66857a8 100644 --- a/dist/live-editor.production.js +++ b/dist/live-editor.production.js @@ -1,4 +1,4 @@ -!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?exports["Live-editor"]=b():a["Live-editor"]=b()}(self,()=>(()=>{var __webpack_modules__={6898(a,b,c){"use strict";c.d(b,{Z:()=>ad});var d=function(){function a(a){var b=this;this._insertTag=function(a){var c;c=0===b.tags.length?b.insertionPoint?b.insertionPoint.nextSibling:b.prepend?b.container.firstChild:b.before:b.tags[b.tags.length-1].nextSibling,b.container.insertBefore(a,c),b.tags.push(a)},this.isSpeedy=void 0===a.speedy||a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.key=a.key,this.container=a.container,this.prepend=a.prepend,this.insertionPoint=a.insertionPoint,this.before=null}var b=a.prototype;return b.hydrate=function(a){a.forEach(this._insertTag)},b.insert=function(a){if(this.ctr%(this.isSpeedy?65e3:1)==0){var b,c;this._insertTag((b=this,(c=document.createElement("style")).setAttribute("data-emotion",b.key),void 0!==b.nonce&&c.setAttribute("nonce",b.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c))}var d=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(a){if(a.sheet)return a.sheet;for(var b=0;b0?k(v,--t):0,q--,10===u&&(q=1,p--),u}function z(){return u=t2||C(u)>3?"":" "}function G(a,b){for(;--b&&z()&& !(u<48)&&!(u>102)&&(!(u>57)||!(u<65))&&(!(u>70)||!(u<97)););return B(a,t+(b<6&&32==A()&&32==z()))}function H(a){for(;z();)switch(u){case a:return t;case 34:case 39:34!==a&&39!==a&&H(u);break;case 40:41===a&&H(a);break;case 92:z()}return t}function I(a,b){for(;z();)if(a+u===57)break;else if(a+u===84&&47===A())break;return"/*"+B(b,t-1)+"*"+f(47===a?a:z())}function J(a){for(;!C(A());)z();return B(a,t)}var K="-ms-",L="-moz-",M="-webkit-",N="comm",O="rule",P="decl",Q="@keyframes";function R(a,b){for(var c="",d=n(a),e=0;e6)switch(k(a,b+1)){case 109:if(45!==k(a,b+4))break;case 102:return i(a,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+L+(108==k(a,b+3)?"$3":"$2-$3"))+a;case 115:return~j(a,"stretch")?T(i(a,"stretch","fill-available"),b)+a:a}break;case 4949:if(115!==k(a,b+1))break;case 6444:switch(k(a,m(a)-3-(~j(a,"!important")&&10))){case 107:return i(a,":",":"+M)+a;case 101:return i(a,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===k(a,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+K+"$2box$3")+a}break;case 5936:switch(k(a,b+11)){case 114:return M+a+K+i(a,/[svh]\w+-[tblr]{2}/,"tb")+a;case 108:return M+a+K+i(a,/[svh]\w+-[tblr]{2}/,"tb-rl")+a;case 45:return M+a+K+i(a,/[svh]\w+-[tblr]{2}/,"lr")+a}return M+a+K+a+a}return a}function U(a,b,c,d,e,g,h,k,l){for(var n=0,p=0,q=h,r=0,u=0,v=0,w=1,x=1,B=1,C=0,D="",H=e,K=g,L=d,M=D;x;)switch(v=C,C=z()){case 40:if(108!=v&&58==M.charCodeAt(q-1)){-1!=j(M+=i(E(C),"&","&\f"),"&\f")&&(B=-1);break}case 34:case 39:case 91:M+=E(C);break;case 9:case 10:case 13:case 32:M+=F(v);break;case 92:M+=G(t-1,7);continue;case 47:switch(A()){case 42:case 47:o(W(I(z(),t),b,c),l);break;default:M+="/"}break;case 123*w:k[n++]=m(M)*B;case 125*w:case 59:case 0:switch(C){case 0:case 125:x=0;case 59+p:u>0&&m(M)-q&&o(u>32?X(M+";",d,c,q-1):X(i(M," ","")+";",d,c,q-2),l);break;case 59:M+=";";default:if(o(L=V(M,b,c,n,p,e,k,D,H=[],K=[],q),g),123===C){if(0===p)U(M,b,L,L,H,g,q,k,K);else switch(r){case 100:case 109:case 115:U(a,L,L,d&&o(V(a,L,L,0,0,e,k,D,e,H=[],q),K),e,K,q,k,d?H:K);break;default:U(M,L,L,L,[""],K,0,k,K)}}}n=p=u=0,w=B=1,D=M="",q=h;break;case 58:q=1+m(M),u=v;default:if(w<1){if(123==C)--w;else if(125==C&&0==w++&&125==y())continue}switch(M+=f(C),C*w){case 38:B=p>0?1:(M+="\f",-1);break;case 44:k[n++]=(m(M)-1)*B,B=1;break;case 64:45===A()&&(M+=E(z())),r=A(),p=q=m(D=M+=J(t)),C++;break;case 45:45===v&&2==m(M)&&(w=0)}}return g}function V(a,b,c,d,f,g,j,k,m,o,p){for(var q=f-1,r=0===f?g:[""],t=n(r),u=0,v=0,x=0;u0?r[y]+" "+z:i(z,/&\f/g,r[y])))&&(m[x++]=A);return w(a,b,c,0===f?O:k,m,o,p)}function W(a,b,c){return w(a,b,c,N,f(u),l(a,2,-2),0)}function X(a,b,c,d){return w(a,b,c,P,l(a,0,d),l(a,d+1,-1),d)}var Y=function(a,b,c){for(var d=0,e=0;d=e,e=A(),38===d&&12===e&&(b[c]=1),!C(e);)z();return B(a,t)},Z=function(a,b){var c=-1,d=44;do switch(C(d)){case 0:38===d&&12===A()&&(b[c]=1),a[c]+=Y(t-1,b,c);break;case 2:a[c]+=E(d);break;case 4:if(44===d){a[++c]=58===A()?"&\f":"",b[c]=a[c].length;break}default:a[c]+=f(d)}while(d=z())return a},$=function(a,b){var c;return c=Z(D(a),b),v="",c},_=new WeakMap,aa=function(a){if("rule"===a.type&&a.parent&&!(a.length<1)){for(var b=a.value,c=a.parent,d=a.column===c.column&&a.line===c.line;"rule"!==c.type;)if(!(c=c.parent))return;if((1!==a.props.length||58===b.charCodeAt(0)||_.get(c))&&!d){_.set(a,!0);for(var e=[],f=$(b,e),g=c.props,h=0,i=0;h -1&&!a.return)switch(a.type){case P:a.return=T(a.value,a.length);break;case Q:return R([x(a,{value:i(a.value,"@","@"+M)})],d);case O:if(a.length)return function(a,b){return a.map(b).join("")}(a.props,function(b){var c,e;switch(c=b,(c=/(::plac\w+|:read-\w+)/.exec(c))?c[0]:c){case":read-only":case":read-write":return R([x(a,{props:[i(b,/:(read-\w+)/,":"+L+"$1")]})],d);case"::placeholder":return R([x(a,{props:[i(b,/:(plac\w+)/,":"+M+"input-$1")]}),x(a,{props:[i(b,/:(plac\w+)/,":"+L+"$1")]}),x(a,{props:[i(b,/:(plac\w+)/,K+"input-$1")]})],d)}return""})}}];let ad=function(a){var b=a.key;if("css"===b){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,function(a){-1!==a.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(a),a.setAttribute("data-s",""))})}var e=a.stylisPlugins||ac,f={},g=[];h=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+b+' "]'),function(a){for(var b=a.getAttribute("data-emotion").split(" "),c=1;cd});let d=function(a){var b=Object.create(null);return function(c){return void 0===b[c]&&(b[c]=a(c)),b[c]}}},4880(a,b,c){"use strict";c.d(b,{T:()=>i,a:()=>j,w:()=>h});var d,e=c(7294),f=c(6898);c(3817),({}).hasOwnProperty;var g=(0,e.createContext)("undefined"!=typeof HTMLElement?(0,f.Z)({key:"css"}):null);g.Provider;var h=function(a){return(0,e.forwardRef)(function(b,c){var d=(0,e.useContext)(g);return a(b,d,c)})},i=(0,e.createContext)({}),j=function(){return(0,e.useContext)(i)},k=function(a){var b=a.split(".");return b[b.length-1]};(d||(d=c.t(e,2))).useInsertionEffect&&(d||(d=c.t(e,2))).useInsertionEffect},3817(a,b,c){"use strict";c.d(b,{O:()=>q});let d=function(a){for(var b,c=0,d=0,e=a.length;e>=4;++d,e-=4)b=(65535&(b=255&a.charCodeAt(d)|(255&a.charCodeAt(++d))<<8|(255&a.charCodeAt(++d))<<16|(255&a.charCodeAt(++d))<<24))*1540483477+((b>>>16)*59797<<16),b^=b>>>24,c=(65535&b)*1540483477+((b>>>16)*59797<<16)^(65535&c)*1540483477+((c>>>16)*59797<<16);switch(e){case 3:c^=(255&a.charCodeAt(d+2))<<16;case 2:c^=(255&a.charCodeAt(d+1))<<8;case 1:c^=255&a.charCodeAt(d),c=(65535&c)*1540483477+((c>>>16)*59797<<16)}return c^=c>>>13,(((c=(65535&c)*1540483477+((c>>>16)*59797<<16))^c>>>15)>>>0).toString(36)};var e,f=c(351),g=c(7866),h=/[A-Z]|^ms/g,i=/_EMO_([^_]+?)_([^]*?)_EMO_/g,j=function(a){return 45===a.charCodeAt(1)},k=function(a){return null!=a&&"boolean"!=typeof a},l=(0,g.Z)(function(a){return j(a)?a:a.replace(h,"-$&").toLowerCase()}),m=function(a,b){switch(a){case"animation":case"animationName":if("string"==typeof b)return b.replace(i,function(a,b,c){return e={name:b,styles:c,next:e},b})}return 1===f.Z[a]||j(a)||"number"!=typeof b||0===b?b:b+"px"};function n(a,b,c){if(null==c)return"";if(void 0!==c.__emotion_styles)return c;switch(typeof c){case"boolean":return"";case"object":if(1===c.anim)return e={name:c.name,styles:c.styles,next:e},c.name;if(void 0!==c.styles){var d,f=c.next;if(void 0!==f)for(;void 0!==f;)e={name:f.name,styles:f.styles,next:e},f=f.next;return c.styles+";"}return o(a,b,c);case"function":if(void 0!==a){var g=e,h=c(a);return e=g,n(a,b,h)}}if(null==b)return c;var i=b[c];return void 0!==i?i:c}function o(a,b,c){var d="";if(Array.isArray(c))for(var e=0;et});var d=c(7294),e=c.t(d,2),f=c(7462),g=c(7866),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,g.Z)(function(a){return h.test(a)||111===a.charCodeAt(0)&&110===a.charCodeAt(1)&&91>a.charCodeAt(2)}),j=c(4880),k=c(444),l=c(3817),m=i,n=function(a){return"string"==typeof a&&a.charCodeAt(0)>96?m:function(a){return"theme"!==a}},o=function(a,b,c){var d;if(b){var e=b.shouldForwardProp;d=a.__emotion_forwardProp&&e?function(b){return a.__emotion_forwardProp(b)&&e(b)}:e}return"function"!=typeof d&&c&&(d=a.__emotion_forwardProp),d},p=e.useInsertionEffect?e.useInsertionEffect:function(a){a()},q=function(a){var b=a.cache,c=a.serialized,d=a.isStringTag;return(0,k.hC)(b,c,d),function(a){p(a)}(function(){return(0,k.My)(b,c,d)}),null},r=(function a(b,c){var e,g,h=b.__emotion_real===b,i=h&&b.__emotion_base||b;void 0!==c&&(e=c.label,g=c.target);var m=o(b,c,h),p=m||n(i),r=!p("as");return function(){var t=arguments,u=h&& void 0!==b.__emotion_styles?b.__emotion_styles.slice(0):[];if(void 0!==e&&u.push("label:"+e+";"),null==t[0]|| void 0===t[0].raw)u.push.apply(u,t);else{u.push(t[0][0]);for(var v=t.length,w=1;wd});let d={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},444(a,b,c){"use strict";function d(a,b,c){var d="";return c.split(" ").forEach(function(c){void 0!==a[c]?b.push(a[c]+";"):d+=c+" "}),d}c.d(b,{My:()=>f,fp:()=>d,hC:()=>e});var e=function(a,b,c){var d=a.key+"-"+b.name;!1===c&& void 0===a.registered[d]&&(a.registered[d]=b.styles)},f=function(a,b,c){e(a,b,c);var d=a.key+"-"+b.name;if(void 0===a.inserted[b.name]){var f=b;do a.insert(b===f?"."+d:"",f,a.sheet,!0),f=f.next;while(void 0!==f)}}},5573(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"}),"AccountBox");b.Z=g},6540(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");b.Z=g},1879(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm4 8h-3v3h-2v-3H8V8h3V5h2v3h3v2z"}),"AddLocation");b.Z=g},3044(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"}),"AddToPhotos");b.Z=g},3890(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5 6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"}),"Archive");b.Z=g},135(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M7.5 5.6 10 7 8.6 4.5 10 2 7.5 3.4 5 2l1.4 2.5L5 7zm12 9.8L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zm-7.63 5.29a.9959.9959 0 0 0-1.41 0L1.29 18.96c-.39.39-.39 1.02 0 1.41l2.34 2.34c.39.39 1.02.39 1.41 0L16.7 11.05c.39-.39.39-1.02 0-1.41l-2.33-2.35zm-1.03 5.49-2.12-2.12 2.44-2.44 2.12 2.12-2.44 2.44z"}),"AutoFixHigh");b.Z=g},4510(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");b.Z=g},888(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");b.Z=g},7529(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.88-11.71L10 14.17l-1.88-1.88a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7c.39-.39.39-1.02 0-1.41-.39-.39-1.03-.39-1.42 0z"}),"CheckCircleOutlineRounded");b.Z=g},594(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");b.Z=g},1274(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2 22 3.41zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59 3.41 22z"}),"CloseFullscreen");b.Z=g},1899(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");b.Z=g},8364(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");b.Z=g},3619(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"}),"Devices");b.Z=g},7957(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");b.Z=g},7608(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");b.Z=g},5503(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");b.Z=g},813(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");b.Z=g},6771(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M19 1H9c-1.1 0-2 .9-2 2v3h2V4h10v16H9v-2H7v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7.01 13.47l-2.55-2.55-1.27 1.27L7 16l7.19-7.19-1.27-1.27z"}),"MobileFriendly");b.Z=g},4048(a,b,c){"use strict";var d=c(4836);b.Z=void 0;var e=d(c(4938)),f=c(5893),g=(0,e.default)((0,f.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");b.Z=g},4938(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return d.createSvgIcon}});var d=c(1699)},4345(a,b,c){"use strict";c.d(b,{Z:()=>F});var d=c(7462),e=c(3366),f=c(9766),g=c(6268),h=c(1387),i=c(1796);let j={black:"#000",white:"#fff"},k={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},n={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},o={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},q={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},r=["mode","contrastThreshold","tonalOffset"],t={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:j.white,default:j.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},u={text:{primary:j.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:j.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function v(a,b,c,d){let e=d.light||d,f=d.dark||1.5*d;a[b]||(a.hasOwnProperty(c)?a[b]=a[c]:"light"===b?a.light=(0,i.$n)(a.main,e):"dark"===b&&(a.dark=(0,i._j)(a.main,f)))}let w=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],x={textTransform:"uppercase"},y='"Roboto", "Helvetica", "Arial", sans-serif';function z(...a){return`${a[0]}px ${a[1]}px ${a[2]}px ${a[3]}px rgba(0,0,0,0.2),${a[4]}px ${a[5]}px ${a[6]}px ${a[7]}px rgba(0,0,0,0.14),${a[8]}px ${a[9]}px ${a[10]}px ${a[11]}px rgba(0,0,0,0.12)`}let A=["none",z(0,2,1,-1,0,1,1,0,0,1,3,0),z(0,3,1,-2,0,2,2,0,0,1,5,0),z(0,3,3,-2,0,3,4,0,0,1,8,0),z(0,2,4,-1,0,4,5,0,0,1,10,0),z(0,3,5,-1,0,5,8,0,0,1,14,0),z(0,3,5,-1,0,6,10,0,0,1,18,0),z(0,4,5,-2,0,7,10,1,0,2,16,1),z(0,5,5,-3,0,8,10,1,0,3,14,2),z(0,5,6,-3,0,9,12,1,0,3,16,2),z(0,6,6,-3,0,10,14,1,0,4,18,3),z(0,6,7,-4,0,11,15,1,0,4,20,3),z(0,7,8,-4,0,12,17,2,0,5,22,4),z(0,7,8,-4,0,13,19,2,0,5,24,4),z(0,7,9,-4,0,14,21,2,0,5,26,4),z(0,8,9,-5,0,15,22,2,0,6,28,5),z(0,8,10,-5,0,16,24,2,0,6,30,5),z(0,8,11,-5,0,17,26,2,0,6,32,5),z(0,9,11,-5,0,18,28,2,0,7,34,6),z(0,9,12,-6,0,19,29,2,0,7,36,6),z(0,10,13,-6,0,20,31,3,0,8,38,7),z(0,10,13,-6,0,21,33,3,0,8,40,7),z(0,10,14,-6,0,22,35,3,0,8,42,7),z(0,11,14,-7,0,23,36,3,0,9,44,8),z(0,11,15,-7,0,24,38,3,0,9,46,8)],B=A;var C=c(6067);let D={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},E=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],F=function(a={},...b){var c,z;let{mixins:A={},palette:F={},transitions:G={},typography:H={}}=a,I=(0,e.Z)(a,E),J=function(a){let{mode:b="light",contrastThreshold:c=3,tonalOffset:g=.2}=a,w=(0,e.Z)(a,r),x=a.primary||function(a="light"){return"dark"===a?{main:o[200],light:o[50],dark:o[400]}:{main:o[700],light:o[400],dark:o[800]}}(b),y=a.secondary||function(a="light"){return"dark"===a?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(b),z=a.error||function(a="light"){return"dark"===a?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(b),A=a.info||function(a="light"){return"dark"===a?{main:p[400],light:p[300],dark:p[700]}:{main:p[700],light:p[500],dark:p[900]}}(b),B=a.success||function(a="light"){return"dark"===a?{main:q[400],light:q[300],dark:q[700]}:{main:q[800],light:q[500],dark:q[900]}}(b),C=a.warning||function(a="light"){return"dark"===a?{main:n[400],light:n[300],dark:n[700]}:{main:"#ed6c02",light:n[500],dark:n[900]}}(b);function D(a){let b=(0,i.mi)(a,u.text.primary)>=c?u.text.primary:t.text.primary;return b}let E=({color:a,name:b,mainShade:c=500,lightShade:e=300,darkShade:f=700})=>{if(!(a=(0,d.Z)({},a)).main&&a[c]&&(a.main=a[c]),!a.hasOwnProperty("main"))throw Error((0,h.Z)(11,b?` (${b})`:"",c));if("string"!=typeof a.main)throw Error((0,h.Z)(12,b?` (${b})`:"",JSON.stringify(a.main)));return v(a,"light",e,g),v(a,"dark",f,g),a.contrastText||(a.contrastText=D(a.main)),a},F=(0,f.Z)((0,d.Z)({common:(0,d.Z)({},j),mode:b,primary:E({color:x,name:"primary"}),secondary:E({color:y,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:E({color:z,name:"error"}),warning:E({color:C,name:"warning"}),info:E({color:A,name:"info"}),success:E({color:B,name:"success"}),grey:k,contrastThreshold:c,getContrastText:D,augmentColor:E,tonalOffset:g},{dark:u,light:t}[b]),w);return F}(F),K=(0,g.Z)(a),L=(0,f.Z)(K,{mixins:(c=K.breakpoints,z=A,(0,d.Z)({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},z)),palette:J,shadows:B.slice(),typography:function(a,b){let c="function"==typeof b?b(a):b,{fontFamily:g=y,fontSize:h=14,fontWeightLight:i=300,fontWeightRegular:j=400,fontWeightMedium:k=500,fontWeightBold:l=700,htmlFontSize:m=16,allVariants:n,pxToRem:o}=c,p=(0,e.Z)(c,w),q=h/14,r=o||(a=>`${a/m*q}rem`),t=(a,b,c,e,f)=>{var h;return(0,d.Z)({fontFamily:g,fontWeight:a,fontSize:r(b),lineHeight:c},g===y?{letterSpacing:`${Math.round(1e5*(h=e/b))/1e5}em`}:{},f,n)},u={h1:t(i,96,1.167,-1.5),h2:t(i,60,1.2,-0.5),h3:t(j,48,1.167,0),h4:t(j,34,1.235,.25),h5:t(j,24,1.334,0),h6:t(k,20,1.6,.15),subtitle1:t(j,16,1.75,.15),subtitle2:t(k,14,1.57,.1),body1:t(j,16,1.5,.15),body2:t(j,14,1.43,.15),button:t(k,14,1.75,.4,x),caption:t(j,12,1.66,.4),overline:t(j,12,2.66,1,x)};return(0,f.Z)((0,d.Z)({htmlFontSize:m,pxToRem:r,fontFamily:g,fontSize:h,fontWeightLight:i,fontWeightRegular:j,fontWeightMedium:k,fontWeightBold:l},u),p,{clone:!1})}(J,H),transitions:(0,C.ZP)(G),zIndex:(0,d.Z)({},D)});return L=(0,f.Z)(L,I),L=b.reduce((a,b)=>(0,f.Z)(a,b),L)}},6067(a,b,c){"use strict";c.d(b,{ZP:()=>k,x9:()=>h});var d=c(3366),e=c(7462);let f=["duration","easing","delay"],g={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},h={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function i(a){return`${Math.round(a)}ms`}function j(a){if(!a)return 0;let b=a/36;return Math.round((4+15*b**.25+b/5)*10)}function k(a){let b=(0,e.Z)({},g,a.easing),c=(0,e.Z)({},h,a.duration);return(0,e.Z)({getAutoHeightDuration:j,create(a=["all"],e={}){let{duration:g=c.standard,easing:h=b.easeInOut,delay:j=0}=e;return(0,d.Z)(e,f),(Array.isArray(a)?a:[a]).map(a=>`${a} ${"string"==typeof g?g:i(g)} ${h} ${"string"==typeof j?j:i(j)}`).join(",")}},a,{easing:b,duration:c})}},247(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(4345);let e=(0,d.Z)(),f=e},9602(a,b,c){"use strict";c.d(b,{ZP:()=>A,FO:()=>x,Dz:()=>y});var d=c(7462),e=c(3366),f=c(8883),g=c(6268),h=c(8320);let i=["variant"];function j(a){return 0===a.length}function k(a){let{variant:b}=a,c=(0,e.Z)(a,i),d=b||"";return Object.keys(c).sort().forEach(b=>{"color"===b?d+=j(d)?a[b]:(0,h.Z)(a[b]):d+=`${j(d)?b:(0,h.Z)(b)}${(0,h.Z)(a[b].toString())}`}),d}var l=c(6523);let m=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],n=["theme"],o=["theme"];function p(a){return 0===Object.keys(a).length}let q=(a,b)=>b.components&&b.components[a]&&b.components[a].styleOverrides?b.components[a].styleOverrides:null,r=(a,b)=>{let c=[];b&&b.components&&b.components[a]&&b.components[a].variants&&(c=b.components[a].variants);let d={};return c.forEach(a=>{let b=k(a.props);d[b]=a.style}),d},t=(a,b,c,d)=>{var e,f;let{ownerState:g={}}=a,h=[],i=null==c?void 0:null==(e=c.components)?void 0:null==(f=e[d])?void 0:f.variants;return i&&i.forEach(c=>{let d=!0;Object.keys(c.props).forEach(b=>{g[b]!==c.props[b]&&a[b]!==c.props[b]&&(d=!1)}),d&&h.push(b[k(c.props)])}),h};function u(a){return"ownerState"!==a&&"theme"!==a&&"sx"!==a&&"as"!==a}let v=(0,g.Z)();var w=c(247);let x=a=>u(a)&&"classes"!==a,y=u,z=function(a={}){let{defaultTheme:b=v,rootShouldForwardProp:c=u,slotShouldForwardProp:g=u,styleFunctionSx:h=l.Z}=a;return(a,i={})=>{let{name:j,slot:k,skipVariantsResolver:l,skipSx:v,overridesResolver:w}=i,x=(0,e.Z)(i,m),y=void 0!==l?l:k&&"Root"!==k||!1,z=v||!1,A,B=u;"Root"===k?B=c:k&&(B=g);let C=(0,f.ZP)(a,(0,d.Z)({shouldForwardProp:B,label:A},x)),D=(a,...c)=>{let f=c?c.map(a=>"function"==typeof a&&a.__emotion_real!==a?c=>{let{theme:f}=c,g=(0,e.Z)(c,n);return a((0,d.Z)({theme:p(f)?b:f},g))}:a):[],g=a;j&&w&&f.push(a=>{let c=p(a.theme)?b:a.theme,e=q(j,c);if(e){let f={};return Object.entries(e).forEach(([b,e])=>{f[b]="function"==typeof e?e((0,d.Z)({},a,{theme:c})):e}),w(a,f)}return null}),j&&!y&&f.push(a=>{let c=p(a.theme)?b:a.theme;return t(a,r(j,c),c,j)}),z||f.push(a=>{let c=p(a.theme)?b:a.theme;return h((0,d.Z)({},a,{theme:c}))});let i=f.length-c.length;if(Array.isArray(a)&&i>0){let k=Array(i).fill("");(g=[...a,...k]).raw=[...a.raw,...k]}else"function"==typeof a&&a.__emotion_real!==a&&(g=c=>{let{theme:f}=c,g=(0,e.Z)(c,o);return a((0,d.Z)({theme:p(f)?b:f},g))});let l=C(g,...f);return l};return C.withConfig&&(D.withConfig=C.withConfig),D}}({defaultTheme:w.Z,rootShouldForwardProp:x}),A=z},6122(a,b,c){"use strict";c.d(b,{Z:()=>g});var d=c(7925),e=c(6631),f=c(247);function g({props:a,name:b}){return function({props:a,name:b,defaultTheme:c}){let f=(0,e.Z)(c),g=function(a){let{theme:b,name:c,props:e}=a;return b&&b.components&&b.components[c]&&b.components[c].defaultProps?(0,d.Z)(b.components[c].defaultProps,e):e}({theme:f,name:b,props:a});return g}({props:a,name:b,defaultTheme:f.Z})}},8216(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(8320);let e=d.Z},5949(a,b,c){"use strict";c.d(b,{Z:()=>v});var d=c(7462),e=c(7294),f=c(3366),g=c(6010),h=c(4780),i=c(8216),j=c(6122),k=c(9602),l=c(4867),m=c(1588);function n(a){return(0,l.Z)("MuiSvgIcon",a)}(0,m.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var o=c(5893);let p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=a=>{let{color:b,fontSize:c,classes:d}=a,e={root:["root","inherit"!==b&&`color${(0,i.Z)(b)}`,`fontSize${(0,i.Z)(c)}`]};return(0,h.Z)(e,n,d)},r=(0,k.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver(a,b){let{ownerState:c}=a;return[b.root,"inherit"!==c.color&&b[`color${(0,i.Z)(c.color)}`],b[`fontSize${(0,i.Z)(c.fontSize)}`]]}})(({theme:a,ownerState:b})=>{var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,t;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(c=a.transitions)?void 0:null==(d=c.create)?void 0:d.call(c,"fill",{duration:null==(e=a.transitions)?void 0:null==(f=e.duration)?void 0:f.shorter}),fontSize:({inherit:"inherit",small:(null==(g=a.typography)?void 0:null==(h=g.pxToRem)?void 0:h.call(g,20))||"1.25rem",medium:(null==(i=a.typography)?void 0:null==(j=i.pxToRem)?void 0:j.call(i,24))||"1.5rem",large:(null==(k=a.typography)?void 0:null==(l=k.pxToRem)?void 0:l.call(k,35))||"2.1875"})[b.fontSize],color:null!=(m=null==(n=(a.vars||a).palette)?void 0:null==(o=n[b.color])?void 0:o.main)?m:({action:null==(p=(a.vars||a).palette)?void 0:null==(q=p.action)?void 0:q.active,disabled:null==(r=(a.vars||a).palette)?void 0:null==(t=r.action)?void 0:t.disabled,inherit:void 0})[b.color]}}),t=e.forwardRef(function(a,b){let c=(0,j.Z)({props:a,name:"MuiSvgIcon"}),{children:e,className:h,color:i="inherit",component:k="svg",fontSize:l="medium",htmlColor:m,inheritViewBox:n=!1,titleAccess:t,viewBox:u="0 0 24 24"}=c,v=(0,f.Z)(c,p),w=(0,d.Z)({},c,{color:i,component:k,fontSize:l,instanceFontSize:a.fontSize,inheritViewBox:n,viewBox:u}),x={};n||(x.viewBox=u);let y=q(w);return(0,o.jsxs)(r,(0,d.Z)({as:k,className:(0,g.Z)(y.root,h),ownerState:w,focusable:"false",color:m,"aria-hidden":!t||void 0,role:t?"img":void 0,ref:b},x,v,{children:[e,t?(0,o.jsx)("title",{children:t}):null]}))});t.muiName="SvgIcon";let u=t;function v(a,b){let c=(c,e)=>(0,o.jsx)(u,(0,d.Z)({"data-testid":`${b}Icon`,ref:e},c,{children:a}));return c.muiName=u.muiName,e.memo(e.forwardRef(c))}},7144(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7596);let e=d.Z},1699(a,b,c){"use strict";c.r(b),c.d(b,{capitalize:()=>e.Z,createChainedFunction:()=>g,createSvgIcon:()=>h.Z,debounce:()=>i.Z,deprecatedPropType:()=>j,isMuiElement:()=>k.Z,ownerDocument:()=>l.Z,ownerWindow:()=>m.Z,requirePropFactory:()=>n,setRef:()=>p,unstable_ClassNameGenerator:()=>z,unstable_useEnhancedEffect:()=>q.Z,unstable_useId:()=>r.Z,unsupportedProp:()=>u,useControlled:()=>v.Z,useEventCallback:()=>w.Z,useForkRef:()=>x.Z,useIsFocusVisible:()=>y.Z});var d=c(7078),e=c(8216),f=c(9064);let g=f.Z;var h=c(5949),i=c(7144);let j=function(a,b){return()=>null};var k=c(8502),l=c(8038),m=c(5340);c(7462);let n=function(a,b){return()=>null};var o=c(7960);let p=o.Z;var q=c(8974),r=c(7909);function t(a,b,c,d,e){return null}let u=t;var v=c(2893),w=c(2068),x=c(1705),y=c(3511);let z={configure(a){console.warn("MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.\n\nYou should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead\n\nThe detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401\n\nThe updated documentation: https://mui.com/guides/classname-generator/"),d.Z.configure(a)}}},8502(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7294);let e=function(a,b){return d.isValidElement(a)&& -1!==b.indexOf(a.type.muiName)}},8038(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7094);let e=d.Z},5340(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(8290);let e=d.Z},2893(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7294);let e=function({controlled:a,default:b,name:c,state:e="value"}){let{current:f}=d.useRef(void 0!==a),[g,h]=d.useState(b),i=d.useCallback(a=>{f||h(a)},[]);return[f?a:g,i]}},8974(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(6600);let e=d.Z},2068(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(3633);let e=d.Z},1705(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(67);let e=d.Z},7909(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7579);let e=d.Z},3511(a,b,c){"use strict";c.d(b,{Z:()=>l});var d=c(7294);let e=!0,f=!1,g,h={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(a){!a.metaKey&&!a.altKey&&!a.ctrlKey&&(e=!0)}function j(){e=!1}function k(){"hidden"===this.visibilityState&&f&&(e=!0)}let l=function(){let a=d.useCallback(a=>{if(null!=a){var b;(b=a.ownerDocument).addEventListener("keydown",i,!0),b.addEventListener("mousedown",j,!0),b.addEventListener("pointerdown",j,!0),b.addEventListener("touchstart",j,!0),b.addEventListener("visibilitychange",k,!0)}},[]),b=d.useRef(!1);return{isFocusVisibleRef:b,onFocus:function(a){return!!function(a){let{target:b}=a;try{return b.matches(":focus-visible")}catch(c){}return e||function(a){let{type:b,tagName:c}=a;return"INPUT"===c&&!!h[b]&&!a.readOnly||"TEXTAREA"===c&&!a.readOnly||!!a.isContentEditable}(b)}(a)&&(b.current=!0,!0)},onBlur:function(){return!!b.current&&(f=!0,window.clearTimeout(g),g=window.setTimeout(()=>{f=!1},100),b.current=!1,!0)},ref:a}}},4819(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7294);let e=d.createContext(null),f=e},6760(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7294),e=c(4819);function f(){let a=d.useContext(e.Z);return a}},8883(a,b,c){"use strict";c.d(b,{ZP:()=>e});var d=c(1194);function e(a,b){let c=(0,d.Z)(a,b);return c}},5408(a,b,c){"use strict";c.d(b,{L7:()=>h,VO:()=>d,W8:()=>g,k9:()=>f});let d={xs:0,sm:600,md:900,lg:1200,xl:1536},e={keys:["xs","sm","md","lg","xl"],up:a=>`@media (min-width:${d[a]}px)`};function f(a,b,c){let f=a.theme||{};if(Array.isArray(b)){let g=f.breakpoints||e;return b.reduce((a,d,e)=>(a[g.up(g.keys[e])]=c(b[e]),a),{})}if("object"==typeof b){let h=f.breakpoints||e;return Object.keys(b).reduce((a,e)=>{if(-1!==Object.keys(h.values||d).indexOf(e)){let f=h.up(e);a[f]=c(b[e],e)}else{let g=e;a[g]=b[g]}return a},{})}let i=c(b);return i}function g(a={}){var b;let c=null==a?void 0:null==(b=a.keys)?void 0:b.reduce((b,c)=>{let d=a.up(c);return b[d]={},b},{});return c||{}}function h(a,b){return a.reduce((a,b)=>{let c=a[b],d=!c||0===Object.keys(c).length;return d&&delete a[b],a},b)}},1796(a,b,c){"use strict";c.d(b,{"$n":()=>l,Fq:()=>j,"_j":()=>k,mi:()=>i});var d=c(1387);function e(a,b=0,c=1){return Math.min(Math.max(b,a),c)}function f(a){if(a.type)return a;if("#"===a.charAt(0))return f(function(a){a=a.slice(1);let b=RegExp(`.{1,${a.length>=6?2:1}}`,"g"),c=a.match(b);return c&&1===c[0].length&&(c=c.map(a=>a+a)),c?`rgb${4===c.length?"a":""}(${c.map((a,b)=>b<3?parseInt(a,16):Math.round(parseInt(a,16)/255*1e3)/1e3).join(", ")})`:""}(a));let b=a.indexOf("("),c=a.substring(0,b);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(c))throw Error((0,d.Z)(9,a));let e=a.substring(b+1,a.length-1),g;if("color"===c){if(g=(e=e.split(" ")).shift(),4===e.length&&"/"===e[3].charAt(0)&&(e[3]=e[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(g))throw Error((0,d.Z)(10,g))}else e=e.split(",");return e=e.map(a=>parseFloat(a)),{type:c,values:e,colorSpace:g}}function g(a){let{type:b,colorSpace:c}=a,{values:d}=a;return -1!==b.indexOf("rgb")?d=d.map((a,b)=>b<3?parseInt(a,10):a):-1!==b.indexOf("hsl")&&(d[1]=`${d[1]}%`,d[2]=`${d[2]}%`),d=-1!==b.indexOf("color")?`${c} ${d.join(" ")}`:`${d.join(", ")}`,`${b}(${d})`}function h(a){let b="hsl"===(a=f(a)).type?f(function(a){a=f(a);let{values:b}=a,c=b[0],d=b[1]/100,e=b[2]/100,h=d*Math.min(e,1-e),i=(a,b=(a+c/30)%12)=>e-h*Math.max(Math.min(b-3,9-b,1),-1),j="rgb",k=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===a.type&&(j+="a",k.push(b[3])),g({type:j,values:k})}(a)).values:a.values;return Number((.2126*(b=b.map(b=>("color"!==a.type&&(b/=255),b<=.03928?b/12.92:((b+.055)/1.055)**2.4)))[0]+.7152*b[1]+.0722*b[2]).toFixed(3))}function i(a,b){let c=h(a),d=h(b);return(Math.max(c,d)+.05)/(Math.min(c,d)+.05)}function j(a,b){return a=f(a),b=e(b),("rgb"===a.type||"hsl"===a.type)&&(a.type+="a"),"color"===a.type?a.values[3]=`/${b}`:a.values[3]=b,g(a)}function k(a,b){if(a=f(a),b=e(b),-1!==a.type.indexOf("hsl"))a.values[2]*=1-b;else if(-1!==a.type.indexOf("rgb")|| -1!==a.type.indexOf("color"))for(let c=0;c<3;c+=1)a.values[c]*=1-b;return g(a)}function l(a,b){if(a=f(a),b=e(b),-1!==a.type.indexOf("hsl"))a.values[2]+=(100-a.values[2])*b;else if(-1!==a.type.indexOf("rgb"))for(let c=0;c<3;c+=1)a.values[c]+=(255-a.values[c])*b;else if(-1!==a.type.indexOf("color"))for(let d=0;d<3;d+=1)a.values[d]+=(1-a.values[d])*b;return g(a)}},6268(a,b,c){"use strict";c.d(b,{Z:()=>l});var d=c(7462),e=c(3366),f=c(9766);let g=["values","unit","step"],h=a=>{let b=Object.keys(a).map(b=>({key:b,val:a[b]}))||[];return b.sort((a,b)=>a.val-b.val),b.reduce((a,b)=>(0,d.Z)({},a,{[b.key]:b.val}),{})},i={borderRadius:4};var j=c(2605);let k=["breakpoints","palette","spacing","shape"],l=function(a={},...b){let{breakpoints:c={},palette:l={},spacing:m,shape:n={}}=a,o=(0,e.Z)(a,k),p=function(a){let{values:b={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:c="px",step:f=5}=a,i=(0,e.Z)(a,g),j=h(b),k=Object.keys(j);function l(a){let d="number"==typeof b[a]?b[a]:a;return`@media (min-width:${d}${c})`}function m(a){let d="number"==typeof b[a]?b[a]:a;return`@media (max-width:${d-f/100}${c})`}function n(a,d){let e=k.indexOf(d);return`@media (min-width:${"number"==typeof b[a]?b[a]:a}${c}) and (max-width:${(-1!==e&&"number"==typeof b[k[e]]?b[k[e]]:d)-f/100}${c})`}return(0,d.Z)({keys:k,values:j,up:l,down:m,between:n,only:function(a){return k.indexOf(a)+1{let c=0===a.length?[1]:a;return c.map(a=>{let c=b(a);return"number"==typeof c?`${c}px`:c}).join(" ")};return c.mui=!0,c}(m),r=(0,f.Z)({breakpoints:p,direction:"ltr",components:{},palette:(0,d.Z)({mode:"light"},l),spacing:q,shape:(0,d.Z)({},i,n)},o);return b.reduce((a,b)=>(0,f.Z)(a,b),r)}},4178(a,b,c){"use strict";c.d(b,{Gc:()=>aQ,"G$":()=>aP});var d=c(4844),e=c(7730);let f=function(...a){let b=a.reduce((a,b)=>(b.filterProps.forEach(c=>{a[c]=b}),a),{}),c=a=>Object.keys(a).reduce((c,d)=>b[d]?(0,e.Z)(c,b[d](a)):c,{});return c.propTypes={},c.filterProps=a.reduce((a,b)=>a.concat(b.filterProps),[]),c};var g=c(2605),h=c(5408);function i(a){return"number"!=typeof a?a:`${a}px solid`}let j=(0,d.Z)({prop:"border",themeKey:"borders",transform:i}),k=(0,d.Z)({prop:"borderTop",themeKey:"borders",transform:i}),l=(0,d.Z)({prop:"borderRight",themeKey:"borders",transform:i}),m=(0,d.Z)({prop:"borderBottom",themeKey:"borders",transform:i}),n=(0,d.Z)({prop:"borderLeft",themeKey:"borders",transform:i}),o=(0,d.Z)({prop:"borderColor",themeKey:"palette"}),p=(0,d.Z)({prop:"borderTopColor",themeKey:"palette"}),q=(0,d.Z)({prop:"borderRightColor",themeKey:"palette"}),r=(0,d.Z)({prop:"borderBottomColor",themeKey:"palette"}),t=(0,d.Z)({prop:"borderLeftColor",themeKey:"palette"}),u=a=>{if(void 0!==a.borderRadius&&null!==a.borderRadius){let b=(0,g.eI)(a.theme,"shape.borderRadius",4,"borderRadius"),c=a=>({borderRadius:(0,g.NA)(b,a)});return(0,h.k9)(a,a.borderRadius,c)}return null};u.propTypes={},u.filterProps=["borderRadius"];let v=f(j,k,l,m,n,o,p,q,r,t,u),w=v,x=(0,d.Z)({prop:"displayPrint",cssProperty:!1,transform:a=>({"@media print":{display:a}})}),y=(0,d.Z)({prop:"display"}),z=(0,d.Z)({prop:"overflow"}),A=(0,d.Z)({prop:"textOverflow"}),B=(0,d.Z)({prop:"visibility"}),C=(0,d.Z)({prop:"whiteSpace"}),D=f(x,y,z,A,B,C),E=(0,d.Z)({prop:"flexBasis"}),F=(0,d.Z)({prop:"flexDirection"}),G=(0,d.Z)({prop:"flexWrap"}),H=(0,d.Z)({prop:"justifyContent"}),I=(0,d.Z)({prop:"alignItems"}),J=(0,d.Z)({prop:"alignContent"}),K=(0,d.Z)({prop:"order"}),L=(0,d.Z)({prop:"flex"}),M=(0,d.Z)({prop:"flexGrow"}),N=(0,d.Z)({prop:"flexShrink"}),O=(0,d.Z)({prop:"alignSelf"}),P=(0,d.Z)({prop:"justifyItems"}),Q=(0,d.Z)({prop:"justifySelf"}),R=f(E,F,G,H,I,J,K,L,M,N,O,P,Q),S=R,T=a=>{if(void 0!==a.gap&&null!==a.gap){let b=(0,g.eI)(a.theme,"spacing",8,"gap"),c=a=>({gap:(0,g.NA)(b,a)});return(0,h.k9)(a,a.gap,c)}return null};T.propTypes={},T.filterProps=["gap"];let U=a=>{if(void 0!==a.columnGap&&null!==a.columnGap){let b=(0,g.eI)(a.theme,"spacing",8,"columnGap"),c=a=>({columnGap:(0,g.NA)(b,a)});return(0,h.k9)(a,a.columnGap,c)}return null};U.propTypes={},U.filterProps=["columnGap"];let V=a=>{if(void 0!==a.rowGap&&null!==a.rowGap){let b=(0,g.eI)(a.theme,"spacing",8,"rowGap"),c=a=>({rowGap:(0,g.NA)(b,a)});return(0,h.k9)(a,a.rowGap,c)}return null};V.propTypes={},V.filterProps=["rowGap"];let W=(0,d.Z)({prop:"gridColumn"}),X=(0,d.Z)({prop:"gridRow"}),Y=(0,d.Z)({prop:"gridAutoFlow"}),Z=(0,d.Z)({prop:"gridAutoColumns"}),$=(0,d.Z)({prop:"gridAutoRows"}),_=(0,d.Z)({prop:"gridTemplateColumns"}),aa=(0,d.Z)({prop:"gridTemplateRows"}),ab=(0,d.Z)({prop:"gridTemplateAreas"}),ac=(0,d.Z)({prop:"gridArea"}),ad=f(T,U,V,W,X,Y,Z,$,_,aa,ab,ac),ae=ad,af=(0,d.Z)({prop:"position"}),ag=(0,d.Z)({prop:"zIndex",themeKey:"zIndex"}),ah=(0,d.Z)({prop:"top"}),ai=(0,d.Z)({prop:"right"}),aj=(0,d.Z)({prop:"bottom"}),ak=(0,d.Z)({prop:"left"}),al=f(af,ag,ah,ai,aj,ak),am=(0,d.Z)({prop:"color",themeKey:"palette"}),an=(0,d.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),ao=(0,d.Z)({prop:"backgroundColor",themeKey:"palette"}),ap=f(am,an,ao),aq=ap,ar=(0,d.Z)({prop:"boxShadow",themeKey:"shadows"}),as=ar;function at(a){return a<=1&&0!==a?`${100*a}%`:a}let au=(0,d.Z)({prop:"width",transform:at}),av=a=>{if(void 0!==a.maxWidth&&null!==a.maxWidth){let b=b=>{var c,d,e;let f=(null==(c=a.theme)?void 0:null==(d=c.breakpoints)?void 0:null==(e=d.values)?void 0:e[b])||h.VO[b];return{maxWidth:f||at(b)}};return(0,h.k9)(a,a.maxWidth,b)}return null};av.filterProps=["maxWidth"];let aw=(0,d.Z)({prop:"minWidth",transform:at}),ax=(0,d.Z)({prop:"height",transform:at}),ay=(0,d.Z)({prop:"maxHeight",transform:at}),az=(0,d.Z)({prop:"minHeight",transform:at});(0,d.Z)({prop:"size",cssProperty:"width",transform:at}),(0,d.Z)({prop:"size",cssProperty:"height",transform:at});let aA=(0,d.Z)({prop:"boxSizing"}),aB=f(au,av,aw,ax,ay,az,aA),aC=aB,aD=(0,d.Z)({prop:"fontFamily",themeKey:"typography"}),aE=(0,d.Z)({prop:"fontSize",themeKey:"typography"}),aF=(0,d.Z)({prop:"fontStyle",themeKey:"typography"}),aG=(0,d.Z)({prop:"fontWeight",themeKey:"typography"}),aH=(0,d.Z)({prop:"letterSpacing"}),aI=(0,d.Z)({prop:"textTransform"}),aJ=(0,d.Z)({prop:"lineHeight"}),aK=(0,d.Z)({prop:"textAlign"}),aL=(0,d.Z)({prop:"typography",cssProperty:!1,themeKey:"typography"}),aM=f(aL,aD,aE,aF,aG,aH,aJ,aK,aI),aN=aM,aO={borders:w.filterProps,display:D.filterProps,flexbox:S.filterProps,grid:ae.filterProps,positions:al.filterProps,palette:aq.filterProps,shadows:as.filterProps,sizing:aC.filterProps,spacing:g.ZP.filterProps,typography:aN.filterProps},aP={borders:w,display:D,flexbox:S,grid:ae,positions:al,palette:aq,shadows:as,sizing:aC,spacing:g.ZP,typography:aN},aQ=Object.keys(aO).reduce((a,b)=>(aO[b].forEach(c=>{a[c]=aP[b]}),a),{})},7730(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(9766);let e=function(a,b){return b?(0,d.Z)(a,b,{clone:!1}):a}},2605(a,b,c){"use strict";c.d(b,{hB:()=>o,eI:()=>n,ZP:()=>v,NA:()=>p});var d=c(5408),e=c(4844),f=c(7730);let g={m:"margin",p:"padding"},h={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},i={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},j=function(a){let b={};return c=>(void 0===b[c]&&(b[c]=a(c)),b[c])}(a=>{if(a.length>2){if(!i[a])return[a];a=i[a]}let[b,c]=a.split(""),d=g[b],e=h[c]||"";return Array.isArray(e)?e.map(a=>d+a):[d+e]}),k=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],l=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],m=[...k,...l];function n(a,b,c,d){var f;let g=null!=(f=(0,e.D)(a,b,!1))?f:c;return"number"==typeof g?a=>"string"==typeof a?a:g*a:Array.isArray(g)?a=>"string"==typeof a?a:g[a]:"function"==typeof g?g:()=>void 0}function o(a){return n(a,"spacing",8,"spacing")}function p(a,b){if("string"==typeof b||null==b)return b;let c=a(Math.abs(b));return b>=0?c:"number"==typeof c?-c:`-${c}`}function q(a,b){let c=o(a.theme);return Object.keys(a).map(e=>(function(a,b,c,e){var f,g;if(-1===b.indexOf(c))return null;let h=j(c),i=(f=h,g=e,a=>f.reduce((b,c)=>(b[c]=p(g,a),b),{})),k=a[c];return(0,d.k9)(a,k,i)})(a,b,e,c)).reduce(f.Z,{})}function r(a){return q(a,k)}function t(a){return q(a,l)}function u(a){return q(a,m)}r.propTypes={},r.filterProps=k,t.propTypes={},t.filterProps=l,u.propTypes={},u.filterProps=m;let v=u},4844(a,b,c){"use strict";c.d(b,{D:()=>f,Z:()=>h});var d=c(8320),e=c(5408);function f(a,b,c=!0){if(!b||"string"!=typeof b)return null;if(a&&a.vars&&c){let d=`vars.${b}`.split(".").reduce((a,b)=>a&&a[b]?a[b]:null,a);if(null!=d)return d}return b.split(".").reduce((a,b)=>a&&null!=a[b]?a[b]:null,a)}function g(a,b,c,d=c){let e;return e="function"==typeof a?a(c):Array.isArray(a)?a[c]||d:f(a,c)||d,b&&(e=b(e)),e}let h=function(a){let{prop:b,cssProperty:c=a.prop,themeKey:h,transform:i}=a,j=a=>{if(null==a[b])return null;let j=a[b],k=a.theme,l=f(k,h)||{};return(0,e.k9)(a,j,a=>{let e=g(l,i,a);return(a===e&&"string"==typeof a&&(e=g(l,i,`${b}${"default"===a?"":(0,d.Z)(a)}`,a)),!1===c)?e:{[c]:e}})};return j.propTypes={},j.filterProps=[b],j}},6523(a,b,c){"use strict";c.d(b,{Z:()=>h});var d=c(7730),e=c(4178),f=c(5408);let g=function(a=e.G$){let b=Object.keys(a).reduce((b,c)=>(a[c].filterProps.forEach(d=>{b[d]=a[c]}),b),{});function c(a,c,d){let e=b[a];return e?e({[a]:c,theme:d}):{[a]:c}}function g(a){let{sx:e,theme:h={}}=a||{};if(!e)return null;function i(a){let e=a;if("function"==typeof a)e=a(h);else if("object"!=typeof a)return a;if(!e)return null;let i=(0,f.W8)(h.breakpoints),j=Object.keys(i),k=i;return Object.keys(e).forEach(a=>{var i,j;let l=(i=e[a],j=h,"function"==typeof i?i(j):i);if(null!=l){if("object"==typeof l){if(b[a])k=(0,d.Z)(k,c(a,l,h));else{let m=(0,f.k9)({theme:h},l,b=>({[a]:b}));(function(...a){let b=a.reduce((a,b)=>a.concat(Object.keys(b)),[]),c=new Set(b);return a.every(a=>c.size===Object.keys(a).length)})(m,l)?k[a]=g({sx:l,theme:h}):k=(0,d.Z)(k,m)}}else k=(0,d.Z)(k,c(a,l,h))}}),(0,f.L7)(j,k)}return Array.isArray(e)?e.map(i):i(e)}return g}();g.filterProps=["sx"];let h=g},6631(a,b,c){"use strict";c.d(b,{Z:()=>h});var d=c(6268),e=c(6760);let f=function(a=null){var b;let c=(0,e.Z)();return c&&0!==Object.keys(b=c).length?c:a},g=(0,d.Z)(),h=function(a=g){return f(a)}},7078(a,b,c){"use strict";c.d(b,{Z:()=>g});let d=a=>a,e,f=(e=d,{configure(a){e=a},generate:a=>e(a),reset(){e=d}}),g=f},8320(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(1387);function e(a){if("string"!=typeof a)throw Error((0,d.Z)(7));return a.charAt(0).toUpperCase()+a.slice(1)}},4780(a,b,c){"use strict";function d(a,b,c){let d={};return Object.keys(a).forEach(e=>{d[e]=a[e].reduce((a,d)=>(d&&(c&&c[d]&&a.push(c[d]),a.push(b(d))),a),[]).join(" ")}),d}c.d(b,{Z:()=>d})},9064(a,b,c){"use strict";function d(...a){return a.reduce((a,b)=>null==b?a:function(...c){a.apply(this,c),b.apply(this,c)},()=>{})}c.d(b,{Z:()=>d})},7596(a,b,c){"use strict";function d(a,b=166){let c;function d(...d){clearTimeout(c),c=setTimeout(()=>{a.apply(this,d)},b)}return d.clear=()=>{clearTimeout(c)},d}c.d(b,{Z:()=>d})},9766(a,b,c){"use strict";c.d(b,{P:()=>e,Z:()=>f});var d=c(7462);function e(a){return null!==a&&"object"==typeof a&&a.constructor===Object}function f(a,b,c={clone:!0}){let g=c.clone?(0,d.Z)({},a):a;return e(a)&&e(b)&&Object.keys(b).forEach(d=>{"__proto__"!==d&&(e(b[d])&&d in a&&e(a[d])?g[d]=f(a[d],b[d],c):g[d]=b[d])}),g}},1387(a,b,c){"use strict";function d(a){let b="https://mui.com/production-error/?code="+a;for(let c=1;cd})},4867(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7078);let e={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function f(a,b,c="Mui"){let f=e[b];return f?`${c}-${f}`:`${d.Z.generate(a)}-${b}`}},1588(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(4867);function e(a,b,c="Mui"){let e={};return b.forEach(b=>{e[b]=(0,d.Z)(a,b,c)}),e}},7094(a,b,c){"use strict";function d(a){return a&&a.ownerDocument||document}c.d(b,{Z:()=>d})},8290(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7094);function e(a){let b=(0,d.Z)(a);return b.defaultView||window}},7925(a,b,c){"use strict";c.d(b,{Z:()=>e});var d=c(7462);function e(a,b){let c=(0,d.Z)({},b);return Object.keys(a).forEach(b=>{void 0===c[b]&&(c[b]=a[b])}),c}},7960(a,b,c){"use strict";function d(a,b){"function"==typeof a?a(b):a&&(a.current=b)}c.d(b,{Z:()=>d})},6600(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7294);let e="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,f=e},3633(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7294),e=c(6600);function f(a){let b=d.useRef(a);return(0,e.Z)(()=>{b.current=a}),d.useCallback((...a)=>(0,b.current)(...a),[])}},67(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=c(7294),e=c(7960);function f(a,b){return d.useMemo(()=>null==a&&null==b?null:c=>{(0,e.Z)(a,c),(0,e.Z)(b,c)},[a,b])}},7579(a,b,c){"use strict";c.d(b,{Z:()=>h});var d,e=c(7294);let f=0,g=(d||(d=c.t(e,2))).useId;function h(a){if(void 0!==g){let b=g();return null!=a?a:b}return function(a){let[b,c]=e.useState(a);return e.useEffect(()=>{null==b&&c(`mui-${f+=1}`)},[b]),a||b}(a)}},6010(a,b,c){"use strict";function d(a){var b,c,e="";if("string"==typeof a||"number"==typeof a)e+=a;else if("object"==typeof a){if(Array.isArray(a))for(b=0;be})},6851(a,b){"use strict";b.Q=function(a){for(var b,c=[],d=String(a||""),e=d.indexOf(","),f=0,g=!1;!g;)-1===e&&(e=d.length,g=!0),((b=d.slice(f,e).trim())||!g)&&c.push(b),f=e+1,e=d.indexOf(",",f);return c}},7006(a,b,c){"use strict";c.d(b,{Z:()=>i});var d=c(8081),e=c.n(d),f=c(3645),g=c.n(f),h=g()(e());h.push([a.id,"/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container {\n box-sizing: border-box;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 13px;\n height: 100%;\n margin: 0px;\n position: relative;\n}\n.ql-container.ql-disabled .ql-tooltip {\n visibility: hidden;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n line-height: 1.42;\n height: 100%;\n outline: none;\n overflow-y: auto;\n padding: 12px 15px;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol,\n.ql-editor ul {\n padding-left: 1.5em;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 1.2em;\n}\n.ql-editor li:not(.ql-direction-rtl)::before {\n margin-left: -1.5em;\n margin-right: 0.3em;\n text-align: right;\n}\n.ql-editor li.ql-direction-rtl::before {\n margin-left: 0.3em;\n margin-right: -1.5em;\n}\n.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl) {\n padding-left: 1.5em;\n}\n.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl {\n padding-right: 1.5em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 3em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 4.5em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 3em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 4.5em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 7.5em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 7.5em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 9em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 10.5em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 9em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 10.5em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 13.5em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 13.5em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 15em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 16.5em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 15em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 16.5em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 19.5em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 19.5em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 21em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 22.5em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 21em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 22.5em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 24em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 25.5em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 24em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 25.5em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 27em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 28.5em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 27em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 28.5em;\n}\n.ql-editor .ql-video {\n display: block;\n max-width: 100%;\n}\n.ql-editor .ql-video.ql-align-center {\n margin: 0 auto;\n}\n.ql-editor .ql-video.ql-align-right {\n margin: 0 0 0 auto;\n}\n.ql-editor .ql-bg-black {\n background-color: #000;\n}\n.ql-editor .ql-bg-red {\n background-color: #e60000;\n}\n.ql-editor .ql-bg-orange {\n background-color: #f90;\n}\n.ql-editor .ql-bg-yellow {\n background-color: #ff0;\n}\n.ql-editor .ql-bg-green {\n background-color: #008a00;\n}\n.ql-editor .ql-bg-blue {\n background-color: #06c;\n}\n.ql-editor .ql-bg-purple {\n background-color: #93f;\n}\n.ql-editor .ql-color-white {\n color: #fff;\n}\n.ql-editor .ql-color-red {\n color: #e60000;\n}\n.ql-editor .ql-color-orange {\n color: #f90;\n}\n.ql-editor .ql-color-yellow {\n color: #ff0;\n}\n.ql-editor .ql-color-green {\n color: #008a00;\n}\n.ql-editor .ql-color-blue {\n color: #06c;\n}\n.ql-editor .ql-color-purple {\n color: #93f;\n}\n.ql-editor .ql-font-serif {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-editor .ql-font-monospace {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-editor .ql-size-small {\n font-size: 0.75em;\n}\n.ql-editor .ql-size-large {\n font-size: 1.5em;\n}\n.ql-editor .ql-size-huge {\n font-size: 2.5em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0,0,0,0.6);\n content: attr(data-placeholder);\n font-style: italic;\n left: 15px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n}\n.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button {\n background: none;\n border: none;\n cursor: pointer;\n display: inline-block;\n float: left;\n height: 24px;\n padding: 3px 5px;\n width: 28px;\n}\n.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg {\n float: left;\n height: 100%;\n}\n.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover {\n outline: none;\n}\n.ql-snow.ql-toolbar input.ql-image[type=file],\n.ql-snow .ql-toolbar input.ql-image[type=file] {\n display: none;\n}\n.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected {\n color: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {\n fill: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {\n stroke: #06c;\n}\n@media (pointer: coarse) {\n .ql-snow.ql-toolbar button:hover:not(.ql-active),\n .ql-snow .ql-toolbar button:hover:not(.ql-active) {\n color: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {\n fill: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {\n stroke: #444;\n }\n}\n.ql-snow {\n box-sizing: border-box;\n}\n.ql-snow * {\n box-sizing: border-box;\n}\n.ql-snow .ql-hidden {\n display: none;\n}\n.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top {\n visibility: hidden;\n}\n.ql-snow .ql-tooltip {\n position: absolute;\n transform: translateY(10px);\n}\n.ql-snow .ql-tooltip a {\n cursor: pointer;\n text-decoration: none;\n}\n.ql-snow .ql-tooltip.ql-flip {\n transform: translateY(-10px);\n}\n.ql-snow .ql-formats {\n display: inline-block;\n vertical-align: middle;\n}\n.ql-snow .ql-formats:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow .ql-stroke {\n fill: none;\n stroke: #444;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 2;\n}\n.ql-snow .ql-stroke-miter {\n fill: none;\n stroke: #444;\n stroke-miterlimit: 10;\n stroke-width: 2;\n}\n.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill {\n fill: #444;\n}\n.ql-snow .ql-empty {\n fill: none;\n}\n.ql-snow .ql-even {\n fill-rule: evenodd;\n}\n.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin {\n stroke-width: 1;\n}\n.ql-snow .ql-transparent {\n opacity: 0.4;\n}\n.ql-snow .ql-direction svg:last-child {\n display: none;\n}\n.ql-snow .ql-direction.ql-active svg:last-child {\n display: inline;\n}\n.ql-snow .ql-direction.ql-active svg:first-child {\n display: none;\n}\n.ql-snow .ql-editor h1 {\n font-size: 2em;\n}\n.ql-snow .ql-editor h2 {\n font-size: 1.5em;\n}\n.ql-snow .ql-editor h3 {\n font-size: 1.17em;\n}\n.ql-snow .ql-editor h4 {\n font-size: 1em;\n}\n.ql-snow .ql-editor h5 {\n font-size: 0.83em;\n}\n.ql-snow .ql-editor h6 {\n font-size: 0.67em;\n}\n.ql-snow .ql-editor a {\n text-decoration: underline;\n}\n.ql-snow .ql-editor blockquote {\n border-left: 4px solid #ccc;\n margin-bottom: 5px;\n margin-top: 5px;\n padding-left: 16px;\n}\n.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre {\n background-color: #f0f0f0;\n border-radius: 3px;\n}\n.ql-snow .ql-editor pre {\n white-space: pre-wrap;\n margin-bottom: 5px;\n margin-top: 5px;\n padding: 5px 10px;\n}\n.ql-snow .ql-editor code {\n font-size: 85%;\n padding: 2px 4px;\n}\n.ql-snow .ql-editor pre.ql-syntax {\n background-color: #23241f;\n color: #f8f8f2;\n overflow: visible;\n}\n.ql-snow .ql-editor img {\n max-width: 100%;\n}\n.ql-snow .ql-picker {\n color: #444;\n display: inline-block;\n float: left;\n font-size: 14px;\n font-weight: 500;\n height: 24px;\n position: relative;\n vertical-align: middle;\n}\n.ql-snow .ql-picker-label {\n cursor: pointer;\n display: inline-block;\n height: 100%;\n padding-left: 8px;\n padding-right: 2px;\n position: relative;\n width: 100%;\n}\n.ql-snow .ql-picker-label::before {\n display: inline-block;\n line-height: 22px;\n}\n.ql-snow .ql-picker-options {\n background-color: #fff;\n display: none;\n min-width: 100%;\n padding: 4px 8px;\n position: absolute;\n white-space: nowrap;\n}\n.ql-snow .ql-picker-options .ql-picker-item {\n cursor: pointer;\n display: block;\n padding-bottom: 5px;\n padding-top: 5px;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: #ccc;\n z-index: 2;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n display: block;\n margin-top: -1px;\n top: 100%;\n z-index: 1;\n}\n.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker {\n width: 28px;\n}\n.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label {\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg {\n right: 4px;\n}\n.ql-snow .ql-icon-picker .ql-picker-options {\n padding: 4px 0px;\n}\n.ql-snow .ql-icon-picker .ql-picker-item {\n height: 24px;\n width: 24px;\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-options {\n padding: 3px 5px;\n width: 152px;\n}\n.ql-snow .ql-color-picker .ql-picker-item {\n border: 1px solid transparent;\n float: left;\n height: 16px;\n margin: 2px;\n padding: 0px;\n width: 16px;\n}\n.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {\n position: absolute;\n margin-top: -9px;\n right: 0;\n top: 50%;\n width: 18px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {\n content: attr(data-label);\n}\n.ql-snow .ql-picker.ql-header {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n content: 'Heading 1';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n content: 'Heading 2';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n content: 'Heading 3';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n content: 'Heading 4';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n content: 'Heading 5';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n content: 'Heading 6';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n font-size: 2em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n font-size: 1.5em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n font-size: 1.17em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n font-size: 1em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n font-size: 0.83em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n font-size: 0.67em;\n}\n.ql-snow .ql-picker.ql-font {\n width: 108px;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before {\n content: 'Sans Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n content: 'Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n content: 'Monospace';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-snow .ql-picker.ql-size {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n content: 'Small';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n content: 'Large';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n content: 'Huge';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n font-size: 10px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n font-size: 18px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n font-size: 32px;\n}\n.ql-snow .ql-color-picker.ql-background .ql-picker-item {\n background-color: #fff;\n}\n.ql-snow .ql-color-picker.ql-color .ql-picker-item {\n background-color: #000;\n}\n.ql-toolbar.ql-snow {\n border: 1px solid #ccc;\n box-sizing: border-box;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n padding: 8px;\n}\n.ql-toolbar.ql-snow .ql-formats {\n margin-right: 15px;\n}\n.ql-toolbar.ql-snow .ql-picker-label {\n border: 1px solid transparent;\n}\n.ql-toolbar.ql-snow .ql-picker-options {\n border: 1px solid transparent;\n box-shadow: rgba(0,0,0,0.2) 0 2px 8px;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {\n border-color: #000;\n}\n.ql-toolbar.ql-snow + .ql-container.ql-snow {\n border-top: 0px;\n}\n.ql-snow .ql-tooltip {\n background-color: #fff;\n border: 1px solid #ccc;\n box-shadow: 0px 0px 5px #ddd;\n color: #444;\n padding: 5px 12px;\n white-space: nowrap;\n}\n.ql-snow .ql-tooltip::before {\n content: \"Visit URL:\";\n line-height: 26px;\n margin-right: 8px;\n}\n.ql-snow .ql-tooltip input[type=text] {\n display: none;\n border: 1px solid #ccc;\n font-size: 13px;\n height: 26px;\n margin: 0px;\n padding: 3px 5px;\n width: 170px;\n}\n.ql-snow .ql-tooltip a.ql-preview {\n display: inline-block;\n max-width: 200px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n vertical-align: top;\n}\n.ql-snow .ql-tooltip a.ql-action::after {\n border-right: 1px solid #ccc;\n content: 'Edit';\n margin-left: 16px;\n padding-right: 8px;\n}\n.ql-snow .ql-tooltip a.ql-remove::before {\n content: 'Remove';\n margin-left: 8px;\n}\n.ql-snow .ql-tooltip a {\n line-height: 26px;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove {\n display: none;\n}\n.ql-snow .ql-tooltip.ql-editing input[type=text] {\n display: inline-block;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-action::after {\n border-right: 0px;\n content: 'Save';\n padding-right: 0px;\n}\n.ql-snow .ql-tooltip[data-mode=link]::before {\n content: \"Enter link:\";\n}\n.ql-snow .ql-tooltip[data-mode=formula]::before {\n content: \"Enter formula:\";\n}\n.ql-snow .ql-tooltip[data-mode=video]::before {\n content: \"Enter video:\";\n}\n.ql-snow a {\n color: #06c;\n}\n.ql-container.ql-snow {\n border: 1px solid #ccc;\n}\n",""]);let i=h},5500(a,b,c){"use strict";c.d(b,{Z:()=>i});var d=c(8081),e=c.n(d),f=c(3645),g=c.n(f),h=g()(e());h.push([a.id,'.loading{font-size:24px;font-family:"Montserrat",sans-serif;font-weight:500;text-align:center}.loading span{display:inline-block;margin:0 .04em;color:#ff5d0a}.loading04 span{animation:loading04 .9s infinite}.loading04 span:nth-child(2){animation-delay:0.05s}.loading04 span:nth-child(3){animation-delay:0.1s}.loading04 span:nth-child(4){animation-delay:0.15s}.loading04 span:nth-child(5){animation-delay:0.2s}.loading04 span:nth-child(6){animation-delay:0.25s}.loading04 span:nth-child(7){animation-delay:0.3s}.loading04 span:nth-child(8){animation-delay:0.35s}.loading04 span:nth-child(9){animation-delay:0.4s}.loading04 span:nth-child(10){animation-delay:0.45s}@keyframes loading04{0%,100%{color:#ff5d0a}50%{color:#fff}}',""]);let i=h},9911(a,b,c){"use strict";c.d(b,{Z:()=>i});var d=c(8081),e=c.n(d),f=c(3645),g=c.n(f),h=g()(e());h.push([a.id,".pulse:hover {\n animation: none;\n}\n\n@-webkit-keyframes pulse {\n 0% {\n -webkit-box-shadow: 0 0 0 0 rgba(22, 241, 223, 0.4);\n }\n 70% {\n -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n }\n 100% {\n -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n }\n}\n@keyframes pulse {\n 0% {\n -moz-box-shadow: 0 0 0 0 rgba(243, 134, 0, 0.4);\n box-shadow: 0 0 0 0 rgba(252, 109, 0, 0.4);\n }\n 70% {\n -moz-box-shadow: 0 0 0 25px rgba(204, 169, 44, 0);\n box-shadow: 0 0 0 25px rgba(204, 169, 44, 0);\n }\n 100% {\n -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n }\n}\n",""]);let i=h},3645(a){"use strict";a.exports=function(a){var b=[];return b.toString=function(){return this.map(function(b){var c="",d=void 0!==b[5];return b[4]&&(c+="@supports (".concat(b[4],") {")),b[2]&&(c+="@media ".concat(b[2]," {")),d&&(c+="@layer".concat(b[5].length>0?" ".concat(b[5]):""," {")),c+=a(b),d&&(c+="}"),b[2]&&(c+="}"),b[4]&&(c+="}"),c}).join("")},b.i=function(a,c,d,e,f){"string"==typeof a&&(a=[[null,a,void 0]]);var g={};if(d)for(var h=0;h0?" ".concat(k[5]):""," {").concat(k[1],"}")),k[5]=f),c&&(k[2]&&(k[1]="@media ".concat(k[2]," {").concat(k[1],"}")),k[2]=c),e&&(k[4]?(k[1]="@supports (".concat(k[4],") {").concat(k[1],"}"),k[4]=e):k[4]="".concat(e)),b.push(k))}},b}},8081(a){"use strict";a.exports=function(a){return a[1]}},4910(a,b,c){"use strict";c.d(b,{Z:()=>f});var d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,e=function(a){var b={};return function(c){return void 0===b[c]&&(b[c]=a(c)),b[c]}}(function(a){return d.test(a)||111===a.charCodeAt(0)&&110===a.charCodeAt(1)&&91>a.charCodeAt(2)});let f=e},8892(a){"use strict";a.exports=function(a,c){for(var d,e,f,g=a||"",h=c||"div",i={},j=0;j=97&&b<=122||b>=65&&b<=90}},7961(a,b,c){"use strict";var d=c(6260),e=c(6195);a.exports=function(a){return d(a)||e(a)}},6195(a){"use strict";a.exports=function(a){var b="string"==typeof a?a.charCodeAt(0):a;return b>=48&&b<=57}},9480(a){"use strict";a.exports=function(a){var b="string"==typeof a?a.charCodeAt(0):a;return b>=97&&b<=102||b>=65&&b<=70||b>=48&&b<=57}},8552(a,b,c){var d=c(852),e=c(5639),f=d(e,"DataView");a.exports=f},1989(a,b,c){var d=c(1789),e=c(401),f=c(7667),g=c(1327),h=c(1866);function i(a){var b=-1,c=null==a?0:a.length;for(this.clear();++bk))return!1;var m=i.get(a),n=i.get(b);if(m&&n)return m==b&&n==a;var o=-1,p=!0,q=2&c?new d:void 0;for(i.set(a,b),i.set(b,a);++o -1&&a%1==0&&a -1}},4705(a,b,c){var d=c(8470);a.exports=function(a,b){var c=this.__data__,e=d(c,a);return e<0?(++this.size,c.push([a,b])):c[e][1]=b,this}},4785(a,b,c){var d=c(1989),e=c(8407),f=c(7071);a.exports=function(){this.size=0,this.__data__={hash:new d,map:new(f||e),string:new d}}},1285(a,b,c){var d=c(5050);a.exports=function(a){var b=d(this,a).delete(a);return this.size-=b?1:0,b}},6e3(a,b,c){var d=c(5050);a.exports=function(a){return d(this,a).get(a)}},9916(a,b,c){var d=c(5050);a.exports=function(a){return d(this,a).has(a)}},5265(a,b,c){var d=c(5050);a.exports=function(a,b){var c=d(this,a),e=c.size;return c.set(a,b),this.size+=c.size==e?0:1,this}},8776(a){a.exports=function(a){var b=-1,c=Array(a.size);return a.forEach(function(a,d){c[++b]=[d,a]}),c}},4536(a,b,c){var d=c(852)(Object,"create");a.exports=d},6916(a,b,c){var d=c(5569)(Object.keys,Object);a.exports=d},4e3(a,b,c){a=c.nmd(a);var d=c(1957),e=b&&!b.nodeType&&b,f=e&&a&&!a.nodeType&&a,g=f&&f.exports===e,h=g&&d.process,i=function(){try{var a=f&&f.require&&f.require("util").types;if(a)return a;return h&&h.binding&&h.binding("util")}catch(b){}}();a.exports=i},2333(a){var b=Object.prototype.toString;a.exports=function(a){return b.call(a)}},5569(a){a.exports=function(a,b){return function(c){return a(b(c))}}},5639(a,b,c){var d=c(1957),e="object"==typeof self&&self&&self.Object===Object&&self,f=d||e||Function("return this")();a.exports=f},619(a){a.exports=function(a){return this.__data__.set(a,"__lodash_hash_undefined__"),this}},2385(a){a.exports=function(a){return this.__data__.has(a)}},1814(a){a.exports=function(a){var b=-1,c=Array(a.size);return a.forEach(function(a){c[++b]=a}),c}},7465(a,b,c){var d=c(8407);a.exports=function(){this.__data__=new d,this.size=0}},3779(a){a.exports=function(a){var b=this.__data__,c=b.delete(a);return this.size=b.size,c}},7599(a){a.exports=function(a){return this.__data__.get(a)}},4758(a){a.exports=function(a){return this.__data__.has(a)}},4309(a,b,c){var d=c(8407),e=c(7071),f=c(3369);a.exports=function(a,b){var c=this.__data__;if(c instanceof d){var g=c.__data__;if(!e||g.length<199)return g.push([a,b]),this.size=++c.size,this;c=this.__data__=new f(g)}return c.set(a,b),this.size=c.size,this}},346(a){var b=Function.prototype.toString;a.exports=function(a){if(null!=a){try{return b.call(a)}catch(c){}try{return a+""}catch(d){}}return""}},7813(a){a.exports=function(a,b){return a===b||a!=a&&b!=b}},5694(a,b,c){var d=c(9454),e=c(7005),f=Object.prototype,g=f.hasOwnProperty,h=f.propertyIsEnumerable,i=d(function(){return arguments}())?d:function(a){return e(a)&&g.call(a,"callee")&&!h.call(a,"callee")};a.exports=i},1469(a){var b=Array.isArray;a.exports=b},8612(a,b,c){var d=c(3560),e=c(1780);a.exports=function(a){return null!=a&&e(a.length)&&!d(a)}},4144(a,b,c){a=c.nmd(a);var d=c(5639),e=c(5062),f=b&&!b.nodeType&&b,g=f&&a&&!a.nodeType&&a,h=g&&g.exports===f,i=h?d.Buffer:void 0,j=i?i.isBuffer:void 0;a.exports=j||e},8446(a,b,c){var d=c(939);a.exports=function(a,b){return d(a,b)}},3560(a,b,c){var d=c(4239),e=c(3218);a.exports=function(a){if(!e(a))return!1;var b=d(a);return"[object Function]"==b||"[object GeneratorFunction]"==b||"[object AsyncFunction]"==b||"[object Proxy]"==b}},1780(a){a.exports=function(a){return"number"==typeof a&&a> -1&&a%1==0&&a<=9007199254740991}},3218(a){a.exports=function(a){var b=typeof a;return null!=a&&("object"==b||"function"==b)}},7005(a){a.exports=function(a){return null!=a&&"object"==typeof a}},6719(a,b,c){var d=c(8749),e=c(1717),f=c(4e3),g=f&&f.isTypedArray,h=g?e(g):d;a.exports=h},3674(a,b,c){var d=c(4636),e=c(280),f=c(8612);a.exports=function(a){return f(a)?d(a):e(a)}},479(a){a.exports=function(){return[]}},5062(a){function b(){return!1}a.exports=b},7418(a){"use strict";var b=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;a.exports=!function(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de","5"===Object.getOwnPropertyNames(a)[0])return!1;for(var b={},c=0;c<10;c++)b["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(b).map(function(a){return b[a]});if("0123456789"!==d.join(""))return!1;var e={};if("abcdefghijklmnopqrst".split("").forEach(function(a){e[a]=a}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},e)).join(""))return!1;return!0}catch(f){return!1}}()?function(a,e){for(var f,g,h=function(a){if(null==a)throw TypeError("Object.assign cannot be called with null or undefined");return Object(a)}(a),i=1;i65535&&(x-=65536,B+=k(x>>>10|55296),x=56320|1023&x),x=B+k(x))):F!==n&&z(4,J)),x?(ab(),H=aa(),W=K-1,Y+=K-E+1,_.push(x),I=aa(),I.offset++,O&&O.call(R,x,{start:H,end:I},a.slice(E-1,K)),H=I):($+=m=a.slice(E-1,K),Y+=m.length,W=K-1)}else 10===u&&(Z++,X++,Y=0),u==u?($+=k(u),Y++):ab();return _.join("");function aa(){return{line:Z,column:Y,offset:W+(T.offset||0)}}function ab(){$&&(_.push($),N&&N.call(Q,$,{start:H,end:aa()}),$="")}}function v(a){return a>=55296&&a<=57343||a>1114111}function w(a){return a>=1&&a<=8||11===a||a>=13&&a<=31||a>=127&&a<=159||a>=64976&&a<=65007||(65535&a)==65535||(65535&a)==65534}t[1]="Named character references must be terminated by a semicolon",t[2]="Numeric character references must be terminated by a semicolon",t[3]="Named character references cannot be empty",t[4]="Numeric character references cannot be empty",t[5]="Named character references must be known",t[6]="Numeric character references cannot be disallowed",t[7]="Numeric character references cannot be outside the permissible Unicode range"},4155(a){var b,c,d,e=a.exports={};function f(){throw Error("setTimeout has not been defined")}function g(){throw Error("clearTimeout has not been defined")}function h(a){if(b===setTimeout)return setTimeout(a,0);if((b===f||!b)&&setTimeout)return b=setTimeout,setTimeout(a,0);try{return b(a,0)}catch(c){try{return b.call(null,a,0)}catch(d){return b.call(this,a,0)}}}!function(){try{b="function"==typeof setTimeout?setTimeout:f}catch(a){b=f}try{c="function"==typeof clearTimeout?clearTimeout:g}catch(d){c=g}}();var i=[],j=!1,k=-1;function l(){j&&d&&(j=!1,d.length?i=d.concat(i):k=-1,i.length&&m())}function m(){if(!j){var a=h(l);j=!0;for(var b=i.length;b;){for(d=i,i=[];++k1)for(var c=1;c4&&c.slice(0,4)===g&&h.test(b)&&("-"===b.charAt(4)?i=k(b):b=l(b),j=e),new j(i,b))};var h=/^data[-\w.:]+$/i,i=/-[a-z]/g,j=/[A-Z]/g;function k(a){var b=a.slice(5).replace(i,n);return g+b.charAt(0).toUpperCase()+b.slice(1)}function l(a){var b=a.slice(4);return i.test(b)?a:("-"!==(b=b.replace(j,m)).charAt(0)&&(b="-"+b),g+b)}function m(a){return"-"+a.toLowerCase()}function n(a){return a.charAt(1).toUpperCase()}},7247(a,b,c){"use strict";var d=c(9940),e=c(8289),f=c(5812),g=c(4397),h=c(7716),i=c(1805);a.exports=d([f,e,g,h,i])},7716(a,b,c){"use strict";var d=c(7e3),e=c(2360),f=d.booleanish,g=d.number,h=d.spaceSeparated;a.exports=e({transform:function(a,b){return"role"===b?b:"aria-"+b.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:f,ariaAutoComplete:null,ariaBusy:f,ariaChecked:f,ariaColCount:g,ariaColIndex:g,ariaColSpan:g,ariaControls:h,ariaCurrent:null,ariaDescribedBy:h,ariaDetails:null,ariaDisabled:f,ariaDropEffect:h,ariaErrorMessage:null,ariaExpanded:f,ariaFlowTo:h,ariaGrabbed:f,ariaHasPopup:null,ariaHidden:f,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h,ariaLevel:g,ariaLive:null,ariaModal:f,ariaMultiLine:f,ariaMultiSelectable:f,ariaOrientation:null,ariaOwns:h,ariaPlaceholder:null,ariaPosInSet:g,ariaPressed:f,ariaReadOnly:f,ariaRelevant:null,ariaRequired:f,ariaRoleDescription:h,ariaRowCount:g,ariaRowIndex:g,ariaRowSpan:g,ariaSelected:f,ariaSetSize:g,ariaSort:null,ariaValueMax:g,ariaValueMin:g,ariaValueNow:g,ariaValueText:null,role:null}})},1805(a,b,c){"use strict";var d=c(7e3),e=c(2360),f=c(855),g=d.boolean,h=d.overloadedBoolean,i=d.booleanish,j=d.number,k=d.spaceSeparated,l=d.commaSeparated;a.exports=e({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:f,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:k,autoFocus:g,autoPlay:g,capture:g,charSet:null,checked:g,cite:null,className:k,cols:j,colSpan:null,content:null,contentEditable:i,controls:g,controlsList:k,coords:j|l,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:h,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:k,height:j,hidden:g,high:j,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:l,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:k,itemRef:k,itemScope:g,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:j,manifest:null,max:null,maxLength:j,media:null,method:null,min:null,minLength:j,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g,optimum:j,pattern:null,ping:k,placeholder:null,playsInline:g,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:k,required:g,reversed:g,rows:j,rowSpan:j,sandbox:k,scope:null,scoped:g,seamless:g,selected:g,shape:null,size:j,sizes:null,slot:null,span:j,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:l,start:j,step:null,style:null,tabIndex:j,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:i,width:j,wrap:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:j,borderColor:null,bottomMargin:j,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:j,leftMargin:j,link:null,longDesc:null,lowSrc:null,marginHeight:j,marginWidth:j,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:j,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:j,valueType:null,version:null,vAlign:null,vLink:null,vSpace:j,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:j,security:null,unselectable:null}})},855(a,b,c){"use strict";var d=c(8740);a.exports=function(a,b){return d(a,b.toLowerCase())}},8740(a){"use strict";a.exports=function(a,b){return b in a?a[b]:b}},2360(a,b,c){"use strict";var d=c(6632),e=c(6012),f=c(8805);a.exports=function(a){var b,c,g=a.space,h=a.mustUseProperty||[],i=a.attributes||{},j=a.properties,k=a.transform,l={},m={};for(b in j)c=new f(b,k(i,b),j[b],g),-1!==h.indexOf(b)&&(c.mustUseProperty=!0),l[b]=c,m[d(b)]=b,m[d(c.attribute)]=b;return new e(l,m,g)}},8805(a,b,c){"use strict";var d=c(7643),e=c(7e3);a.exports=h,h.prototype=new d,h.prototype.defined=!0;var f=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],g=f.length;function h(a,b,c,h){var j,k=-1;for(i(this,"space",h),d.call(this,a,b);++k1)return a.map(function(a){return o(a)});var c=a[0];if("string"!=typeof c.blotName&&"string"!=typeof c.attrName)throw new g("Invalid definition");if("abstract"===c.blotName)throw new g("Cannot register abstract class");return(l[c.blotName||c.attrName]=c,"string"==typeof c.keyName)?i[c.keyName]=c:(null!=c.className&&(j[c.className]=c),null!=c.tagName&&(Array.isArray(c.tagName)?c.tagName=c.tagName.map(function(a){return a.toUpperCase()}):c.tagName=c.tagName.toUpperCase(),(Array.isArray(c.tagName)?c.tagName:[c.tagName]).forEach(function(a){(null==k[a]||null==c.className)&&(k[a]=c)}))),c}b.DATA_KEY="__blot",(h=e=b.Scope||(b.Scope={}))[h.TYPE=3]="TYPE",h[h.LEVEL=12]="LEVEL",h[h.ATTRIBUTE=13]="ATTRIBUTE",h[h.BLOT=14]="BLOT",h[h.INLINE=7]="INLINE",h[h.BLOCK=11]="BLOCK",h[h.BLOCK_BLOT=10]="BLOCK_BLOT",h[h.INLINE_BLOT=6]="INLINE_BLOT",h[h.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",h[h.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",h[h.ANY=15]="ANY",b.create=function(a,b){var c=n(a);if(null==c)throw new g("Unable to create "+a+" blot");var d=c,e=a instanceof Node||a.nodeType===Node.TEXT_NODE?a:d.create(b);return new d(e,b)},b.find=m,b.query=n,b.register=o},function(a,b,c){var d=c(51),e=c(11),f=c(3),g=c(20),h=function(a){Array.isArray(a)?this.ops=a:null!=a&&Array.isArray(a.ops)?this.ops=a.ops:this.ops=[]};h.prototype.insert=function(a,b){var c={};return 0===a.length?this:(c.insert=a,null!=b&&"object"==typeof b&&Object.keys(b).length>0&&(c.attributes=b),this.push(c))},h.prototype.delete=function(a){return a<=0?this:this.push({delete:a})},h.prototype.retain=function(a,b){if(a<=0)return this;var c={retain:a};return null!=b&&"object"==typeof b&&Object.keys(b).length>0&&(c.attributes=b),this.push(c)},h.prototype.push=function(a){var b=this.ops.length,c=this.ops[b-1];if(a=f(!0,{},a),"object"==typeof c){if("number"==typeof a.delete&&"number"==typeof c.delete)return this.ops[b-1]={delete:c.delete+a.delete},this;if("number"==typeof c.delete&&null!=a.insert&&(b-=1,"object"!=typeof(c=this.ops[b-1])))return this.ops.unshift(a),this;if(e(a.attributes,c.attributes)){if("string"==typeof a.insert&&"string"==typeof c.insert)return this.ops[b-1]={insert:c.insert+a.insert},"object"==typeof a.attributes&&(this.ops[b-1].attributes=a.attributes),this;if("number"==typeof a.retain&&"number"==typeof c.retain)return this.ops[b-1]={retain:c.retain+a.retain},"object"==typeof a.attributes&&(this.ops[b-1].attributes=a.attributes),this}}return b===this.ops.length?this.ops.push(a):this.ops.splice(b,0,a),this},h.prototype.chop=function(){var a=this.ops[this.ops.length-1];return a&&a.retain&&!a.attributes&&this.ops.pop(),this},h.prototype.filter=function(a){return this.ops.filter(a)},h.prototype.forEach=function(a){this.ops.forEach(a)},h.prototype.map=function(a){return this.ops.map(a)},h.prototype.partition=function(a){var b=[],c=[];return this.forEach(function(d){(a(d)?b:c).push(d)}),[b,c]},h.prototype.reduce=function(a,b){return this.ops.reduce(a,b)},h.prototype.changeLength=function(){return this.reduce(function(a,b){return b.insert?a+g.length(b):b.delete?a-b.delete:a},0)},h.prototype.length=function(){return this.reduce(function(a,b){return a+g.length(b)},0)},h.prototype.slice=function(a,b){a=a||0,"number"!=typeof b&&(b=1/0);for(var c,d=[],e=g.iterator(this.ops),f=0;f0&&c.next(f.retain-i)}for(var j=new h(d);b.hasNext()||c.hasNext();)if("insert"===c.peekType())j.push(c.next());else if("delete"===b.peekType())j.push(b.next());else{var k=Math.min(b.peekLength(),c.peekLength()),l=b.next(k),m=c.next(k);if("number"==typeof m.retain){var n={};"number"==typeof l.retain?n.retain=k:n.insert=l.insert;var o=g.attributes.compose(l.attributes,m.attributes,"number"==typeof l.retain);if(o&&(n.attributes=o),j.push(n),!c.hasNext()&&e(j.ops[j.ops.length-1],n)){var p=new h(b.rest());return j.concat(p).chop()}}else"number"==typeof m.delete&&"number"==typeof l.retain&&j.push(m)}return j.chop()},h.prototype.concat=function(a){var b=new h(this.ops.slice());return a.ops.length>0&&(b.push(a.ops[0]),b.ops=b.ops.concat(a.ops.slice(1))),b},h.prototype.diff=function(a,b){if(this.ops===a.ops)return new h;var c=[this,a].map(function(b){return b.map(function(c){if(null!=c.insert)return"string"==typeof c.insert?c.insert:"\0";throw Error("diff() called "+(b===a?"on":"with")+" non-document")}).join("")}),f=new h,i=d(c[0],c[1],b),j=g.iterator(this.ops),k=g.iterator(a.ops);return i.forEach(function(a){for(var b=a[1].length;b>0;){var c=0;switch(a[0]){case d.INSERT:c=Math.min(k.peekLength(),b),f.push(k.next(c));break;case d.DELETE:c=Math.min(b,j.peekLength()),j.next(c),f.delete(c);break;case d.EQUAL:c=Math.min(j.peekLength(),k.peekLength(),b);var h=j.next(c),i=k.next(c);e(h.insert,i.insert)?f.retain(c,g.attributes.diff(h.attributes,i.attributes)):f.push(i).delete(c)}b-=c}}),f.chop()},h.prototype.eachLine=function(a,b){b=b||"\n";for(var c=g.iterator(this.ops),d=new h,e=0;c.hasNext();){if("insert"!==c.peekType())return;var f=c.peek(),i=g.length(f)-c.peekLength(),j="string"==typeof f.insert?f.insert.indexOf(b,i)-i:-1;if(j<0)d.push(c.next());else if(j>0)d.push(c.next(j));else{if(!1===a(d,c.next(1).attributes||{},e))return;e+=1,d=new h}}d.length()>0&&a(d,{},e)},h.prototype.transform=function(a,b){if(b=!!b,"number"==typeof a)return this.transformPosition(a,b);for(var c=g.iterator(this.ops),d=g.iterator(a.ops),e=new h;c.hasNext()||d.hasNext();)if("insert"===c.peekType()&&(b||"insert"!==d.peekType()))e.retain(g.length(c.next()));else if("insert"===d.peekType())e.push(d.next());else{var f=Math.min(c.peekLength(),d.peekLength()),i=c.next(f),j=d.next(f);if(i.delete)continue;j.delete?e.push(j):e.retain(f,g.attributes.transform(i.attributes,j.attributes,b))}return e.chop()},h.prototype.transformPosition=function(a,b){b=!!b;for(var c=g.iterator(this.ops),d=0;c.hasNext()&&d<=a;){var e=c.peekLength(),f=c.peekType();if(c.next(),"delete"===f){a-=Math.min(e,a-d);continue}"insert"===f&&(d0&&(a1&& void 0!==arguments[1]&&arguments[1];if(c&&(0===a||a>=this.length()-1)){var d=this.clone();return 0===a?(this.parent.insertBefore(d,this),this):(this.parent.insertBefore(d,this.next),d)}var f=e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"split",this).call(this,a,c);return this.cache={},f}}]),b}(k.default.Block);function y(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:{};return null==a?b:("function"==typeof a.formats&&(b=(0,g.default)(b,a.formats())),null==a.parent||"scroll"==a.parent.blotName||a.parent.statics.scope!==a.statics.scope)?b:y(a.parent,b)}x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[o.default,k.default.Embed,q.default],b.bubbleFormats=y,b.BlockEmbed=w,b.default=x},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.overload=b.expandConfig=void 0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},f=function(){function a(a,b){for(var c=0;c1&& void 0!==arguments[1]?arguments[1]:{};if(!function(a,b){if(!(a instanceof b))throw TypeError("Cannot call a class as a function")}(this,a),this.options=D(b,d),this.container=this.options.container,null==this.container)return B.error("Invalid Quill container",b);this.options.debug&&a.debug(this.options.debug);var e=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 l.default,this.scroll=p.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new j.default(this.scroll),this.selection=new r.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(l.default.events.EDITOR_CHANGE,function(a){a===l.default.events.TEXT_CHANGE&&c.root.classList.toggle("ql-blank",c.editor.isBlank())}),this.emitter.on(l.default.events.SCROLL_UPDATE,function(a,b){var d=c.selection.lastRange,e=d&&0===d.length?d.index:void 0;E.call(c,function(){return c.editor.update(null,b,e)},a)});var f=this.clipboard.convert("
"+e+"


");this.setContents(f),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return f(a,null,[{key:"debug",value:function(a){!0===a&&(a="log"),w.default.level(a)}},{key:"find",value:function(a){return a.__quill||p.default.find(a)}},{key:"import",value:function(a){return null==this.imports[a]&&B.error("Cannot import "+a+". Are you sure it was registered?"),this.imports[a]}},{key:"register",value:function(a,b){var c=this,d=arguments.length>2&& void 0!==arguments[2]&&arguments[2];if("string"!=typeof a){var e=a.attrName||a.blotName;"string"==typeof e?this.register("formats/"+e,a,b):Object.keys(a).forEach(function(d){c.register(d,a[d],b)})}else null==this.imports[a]||d||B.warn("Overwriting "+a+" with",b),this.imports[a]=b,(a.startsWith("blots/")||a.startsWith("formats/"))&&"abstract"!==b.blotName?p.default.register(b):a.startsWith("modules")&&"function"==typeof b.register&&b.register()}}]),f(a,[{key:"addContainer",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:null;if("string"==typeof a){var c=a;(a=document.createElement("div")).classList.add(c)}return this.container.insertBefore(a,b),a}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(a,b,c){var d=this,f=F(a,b,c),g=e(f,4);return a=g[0],b=g[1],c=g[3],E.call(this,function(){return d.editor.deleteText(a,b)},c,a,-1*b)}},{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,b){var c=this,d=arguments.length>2&& void 0!==arguments[2]?arguments[2]:l.default.sources.API;return E.call(this,function(){var d=c.getSelection(!0),e=new h.default;if(null==d)return e;if(p.default.query(a,p.default.Scope.BLOCK))e=c.editor.formatLine(d.index,d.length,A({},a,b));else{if(0===d.length)return c.selection.format(a,b),e;e=c.editor.formatText(d.index,d.length,A({},a,b))}return c.setSelection(d,l.default.sources.SILENT),e},d)}},{key:"formatLine",value:function(a,b,c,d,f){var g=this,h=void 0,i=F(a,b,c,d,f),j=e(i,4);return a=j[0],b=j[1],h=j[2],f=j[3],E.call(this,function(){return g.editor.formatLine(a,b,h)},f,a,0)}},{key:"formatText",value:function(a,b,c,d,f){var g=this,h=void 0,i=F(a,b,c,d,f),j=e(i,4);return a=j[0],b=j[1],h=j[2],f=j[3],E.call(this,function(){return g.editor.formatText(a,b,h)},f,a,0)}},{key:"getBounds",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:0,c=void 0;c="number"==typeof a?this.selection.getBounds(a,b):this.selection.getBounds(a.index,a.length);var d=this.container.getBoundingClientRect();return{bottom:c.bottom-d.top,height:c.height,left:c.left-d.left,right:c.right-d.left,top:c.top-d.top,width:c.width}}},{key:"getContents",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:this.getLength()-a,c=F(a,b),d=e(c,2);return a=d[0],b=d[1],this.editor.getContents(a,b)}},{key:"getFormat",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:this.getSelection(!0),b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:0;return"number"==typeof a?this.editor.getFormat(a,b):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,b=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,b)}},{key:"getModule",value:function(a){return this.theme.modules[a]}},{key:"getSelection",value:function(){var a=arguments.length>0&& void 0!==arguments[0]&&arguments[0];return a&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:this.getLength()-a,c=F(a,b),d=e(c,2);return a=d[0],b=d[1],this.editor.getText(a,b)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(b,c,d){var e=this,f=arguments.length>3&& void 0!==arguments[3]?arguments[3]:a.sources.API;return E.call(this,function(){return e.editor.insertEmbed(b,c,d)},f,b)}},{key:"insertText",value:function(a,b,c,d,f){var g=this,h=void 0,i=F(a,0,c,d,f),j=e(i,4);return a=j[0],h=j[2],f=j[3],E.call(this,function(){return g.editor.insertText(a,b,h)},f,a,b.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,b,c){this.clipboard.dangerouslyPasteHTML(a,b,c)}},{key:"removeFormat",value:function(a,b,c){var d=this,f=F(a,b,c),g=e(f,4);return a=g[0],b=g[1],c=g[3],E.call(this,function(){return d.editor.removeFormat(a,b)},c,a)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(a){var b=this,c=arguments.length>1&& void 0!==arguments[1]?arguments[1]:l.default.sources.API;return E.call(this,function(){a=new h.default(a);var c=b.getLength(),d=b.editor.deleteText(0,c),e=b.editor.applyDelta(a),f=e.ops[e.ops.length-1];null!=f&&"string"==typeof f.insert&&"\n"===f.insert[f.insert.length-1]&&(b.editor.deleteText(b.getLength()-1,1),e.delete(1));var g=d.compose(e);return g},c)}},{key:"setSelection",value:function(b,c,d){if(null==b)this.selection.setRange(null,c||a.sources.API);else{var f=F(b,c,d),g=e(f,4);b=g[0],c=g[1],d=g[3],this.selection.setRange(new q.Range(b,c),d),d!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:l.default.sources.API,c=new h.default().insert(a);return this.setContents(c,b)}},{key:"update",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:l.default.sources.USER,b=this.scroll.update(a);return this.selection.update(a),b}},{key:"updateContents",value:function(a){var b=this,c=arguments.length>1&& void 0!==arguments[1]?arguments[1]:l.default.sources.API;return E.call(this,function(){return a=new h.default(a),b.editor.applyDelta(a,c)},c,!0)}}]),a}();function D(a,b){if((b=(0,u.default)(!0,{container:a,modules:{clipboard:!0,keyboard:!0,history:!0}},b)).theme&&b.theme!==C.DEFAULTS.theme){if(b.theme=C.import("themes/"+b.theme),null==b.theme)throw Error("Invalid theme "+b.theme+". Did you register it?")}else b.theme=y.default;var c=(0,u.default)(!0,{},b.theme.DEFAULTS);[c,b].forEach(function(a){a.modules=a.modules||{},Object.keys(a.modules).forEach(function(b){!0===a.modules[b]&&(a.modules[b]={})})});var d=Object.keys(c.modules).concat(Object.keys(b.modules)).reduce(function(a,b){var c=C.import("modules/"+b);return null==c?B.error("Cannot load "+b+" module. Are you sure you registered it?"):a[b]=c.DEFAULTS||{},a},{});return null!=b.modules&&b.modules.toolbar&&b.modules.toolbar.constructor!==Object&&(b.modules.toolbar={container:b.modules.toolbar}),b=(0,u.default)(!0,{},C.DEFAULTS,{modules:d},c,b),["bounds","container","scrollingContainer"].forEach(function(a){"string"==typeof b[a]&&(b[a]=document.querySelector(b[a]))}),b.modules=Object.keys(b.modules).reduce(function(a,c){return b.modules[c]&&(a[c]=b.modules[c]),a},{}),b}function E(a,b,c,d){if(this.options.strict&&!this.isEnabled()&&b===l.default.sources.USER)return new h.default;var e=null==c?null:this.getSelection(),f=this.editor.delta,g=a();if(null!=e&&(!0===c&&(c=e.index),null==d?e=G(e,g,b):0!==d&&(e=G(e,c,d,b)),this.setSelection(e,l.default.sources.SILENT)),g.length()>0){var i,j,k=[l.default.events.TEXT_CHANGE,g,f,b];(i=this.emitter).emit.apply(i,[l.default.events.EDITOR_CHANGE].concat(k)),b!==l.default.sources.SILENT&&(j=this.emitter).emit.apply(j,k)}return g}function F(a,b,c,e,f){var g={};return"number"==typeof a.index&&"number"==typeof a.length?"number"!=typeof b?(f=e,e=c,c=b,b=a.length,a=a.index):(b=a.length,a=a.index):"number"!=typeof b&&(f=e,e=c,c=b,b=0),(void 0===c?"undefined":d(c))==="object"?(g=c,f=e):"string"==typeof c&&(null!=e?g[c]=e:f=c),[a,b,g,f=f||l.default.sources.API]}function G(a,b,c,d){if(null==a)return null;var f=void 0,g=void 0;if(b instanceof h.default){var i=e([a.index,a.index+a.length].map(function(a){return b.transformPosition(a,d!==l.default.sources.USER)}),2);f=i[0],g=i[1]}else{var j=[a.index,a.index+a.length].map(function(a){return a=0?a+c:Math.max(b,a+c)}),k=e(j,2);f=k[0],g=k[1]}return new q.Range(f,g-f)}C.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},C.events=l.default.events,C.sources=l.default.sources,C.version="1.3.7",C.imports={delta:h.default,parchment:p.default,"core/module":n.default,"core/theme":y.default},b.expandConfig=D,b.overload=F,b.default=C},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=function(){function a(a,b){for(var c=0;cb.compare(this.statics.blotName,d)&&i.default.query(d,i.default.Scope.BLOT)){var g=this.isolate(a,c);f&&g.wrap(d,f)}else e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"formatAt",this).call(this,a,c,d,f)}},{key:"optimize",value:function(a){if(e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,a),this.parent instanceof b&&b.compare(this.statics.blotName,this.parent.statics.blotName)>0){var c=this.parent.isolate(this.offset(),this.length());this.moveChildren(c),c.wrap(this)}}}],[{key:"compare",value:function(a,c){var d=b.order.indexOf(a),e=b.order.indexOf(c);return d>=0||e>=0?d-e:a===c?0:a1?b-1:0),d=1;d1&& void 0!==arguments[1]?arguments[1]:{};!function(a,b){if(!(a instanceof b))throw TypeError("Cannot call a class as a function")}(this,a),this.quill=b,this.options=c};d.DEFAULTS={},b.default=d},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=["error","warn","log","info"],e="warn";function f(a){if(d.indexOf(a)<=d.indexOf(e)){for(var b,c=arguments.length,f=Array(c>1?c-1:0),g=1;g0)||"number"==typeof a[0])}function j(a,b,c){var h,j,k,l;if(k=a,null==k||(l=b,null==l)||a.prototype!==b.prototype)return!1;if(f(a))return!!f(b)&&(a=d.call(a),b=d.call(b),g(a,b,c));if(i(a)){if(!i(b)||a.length!==b.length)return!1;for(h=0;h=0;h--)if(m[h]!=n[h])return!1;for(h=m.length-1;h>=0;h--)if(!g(a[j=m[h]],b[j],c))return!1;return typeof a==typeof b}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=c(1),e=function(){function a(a,b,c){void 0===c&&(c={}),this.attrName=a,this.keyName=b;var e=d.Scope.TYPE&d.Scope.ATTRIBUTE;null!=c.scope?this.scope=c.scope&d.Scope.LEVEL|e:this.scope=d.Scope.ATTRIBUTE,null!=c.whitelist&&(this.whitelist=c.whitelist)}return a.keys=function(a){return[].map.call(a.attributes,function(a){return a.name})},a.prototype.add=function(a,b){return!!this.canAdd(a,b)&&(a.setAttribute(this.keyName,b),!0)},a.prototype.canAdd=function(a,b){return null!=d.query(a,d.Scope.BLOT&(this.scope|d.Scope.TYPE))&&(null==this.whitelist||("string"==typeof b?this.whitelist.indexOf(b.replace(/["']/g,""))> -1:this.whitelist.indexOf(b)> -1))},a.prototype.remove=function(a){a.removeAttribute(this.keyName)},a.prototype.value=function(a){var b=a.getAttribute(this.keyName);return this.canAdd(a,b)&&b?b:""},a}();b.default=e},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.Code=void 0;var d=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},e=function(){function a(a,b){for(var c=0;c=a+c)){var g=this.newlineIndex(a,!0)+1,h=f-g+1,i=this.isolate(g,h),k=i.next;i.format(d,e),k instanceof b&&k.formatAt(0,a-g+c-h,d,e)}}}},{key:"insertAt",value:function(a,b,c){if(null==c){var e=this.descendant(p.default,a),f=d(e,2),g=f[0],h=f[1];g.insertAt(h,b)}}},{key:"length",value:function(){var a=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?a:a+1}},{key:"newlineIndex",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]&&arguments[1];if(b)return this.domNode.textContent.slice(0,a).lastIndexOf("\n");var c=this.domNode.textContent.slice(a).indexOf("\n");return c> -1?a+c:-1}},{key:"optimize",value:function(a){this.domNode.textContent.endsWith("\n")||this.appendChild(j.default.create("text","\n")),f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,a);var c=this.next;null!=c&&c.prev===this&&c.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===c.statics.formats(c.domNode)&&(c.optimize(a),c.moveChildren(this),c.remove())}},{key:"replace",value:function(a){f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"replace",this).call(this,a),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(a){var b=j.default.find(a);null==b?a.parentNode.removeChild(a):b instanceof j.default.Embed?b.remove():b.unwrap()})}}],[{key:"create",value:function(a){var c=f(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,a);return c.setAttribute("spellcheck",!1),c}},{key:"formats",value:function(){return!0}}]),b}(l.default);w.blotName="code-block",w.tagName="PRE",w.TAB=" ",b.Code=v,b.default=w},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},f=function(){function a(a,b){for(var c=0;c=f&&!k.endsWith("\n")&&(c=!0),b.scroll.insertAt(a,k);var m=b.scroll.line(a),n=e(m,2),o=n[0],p=n[1],t=(0,A.default)({},(0,q.bubbleFormats)(o));if(o instanceof r.default){var u=o.descendant(l.default.Leaf,p),v=e(u,1)[0];t=(0,A.default)(t,(0,q.bubbleFormats)(v))}i=j.default.attributes.diff(t,i)||{}}else if("object"===d(g.insert)){var w=Object.keys(g.insert)[0];if(null==w)return a;b.scroll.insertAt(a,w,g.insert[w])}f+=h}return Object.keys(i).forEach(function(c){b.scroll.formatAt(a,h,c,i[c])}),a+h},0),a.reduce(function(a,c){return"number"==typeof c.delete?(b.scroll.deleteAt(a,c.delete),a):a+(c.retain||c.insert.length||1)},0),this.scroll.batchEnd(),this.update(a)}},{key:"deleteText",value:function(a,b){return this.scroll.deleteAt(a,b),this.update(new h.default().retain(a).delete(b))}},{key:"formatLine",value:function(a,b){var c=this,d=arguments.length>2&& void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(d).forEach(function(e){if(null==c.scroll.whitelist||c.scroll.whitelist[e]){var f=c.scroll.lines(a,Math.max(b,1)),g=b;f.forEach(function(b){var f=b.length();if(b instanceof n.default){var h=a-b.offset(c.scroll),i=b.newlineIndex(h+g)-h+1;b.formatAt(h,i,e,d[e])}else b.format(e,d[e]);g-=f})}}),this.scroll.optimize(),this.update(new h.default().retain(a).retain(b,(0,w.default)(d)))}},{key:"formatText",value:function(a,b){var c=this,d=arguments.length>2&& void 0!==arguments[2]?arguments[2]:{};return Object.keys(d).forEach(function(e){c.scroll.formatAt(a,b,e,d[e])}),this.update(new h.default().retain(a).retain(b,(0,w.default)(d)))}},{key:"getContents",value:function(a,b){return this.delta.slice(a,a+b)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(a,b){return a.concat(b.delta())},new h.default)}},{key:"getFormat",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:0,c=[],d=[];0===b?this.scroll.path(a).forEach(function(a){var b=e(a,1)[0];b instanceof r.default?c.push(b):b instanceof l.default.Leaf&&d.push(b)}):(c=this.scroll.lines(a,b),d=this.scroll.descendants(l.default.Leaf,a,b));var f=[c,d].map(function(a){if(0===a.length)return{};for(var b=(0,q.bubbleFormats)(a.shift());Object.keys(b).length>0;){var c=a.shift();if(null==c)break;b=E((0,q.bubbleFormats)(c),b)}return b});return A.default.apply(A.default,f)}},{key:"getText",value:function(a,b){return this.getContents(a,b).filter(function(a){return"string"==typeof a.insert}).map(function(a){return a.insert}).join("")}},{key:"insertEmbed",value:function(a,b,c){var d,e,f;return this.scroll.insertAt(a,b,c),this.update(new h.default().retain(a).insert((d={},e=b,f=c,e in d?Object.defineProperty(d,e,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[e]=f,d)))}},{key:"insertText",value:function(a,b){var c=this,d=arguments.length>2&& void 0!==arguments[2]?arguments[2]:{};return b=b.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(a,b),Object.keys(d).forEach(function(e){c.scroll.formatAt(a,b.length,e,d[e])}),this.update(new h.default().retain(a).insert(b,(0,w.default)(d)))}},{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===r.default.blotName&&!(a.children.length>1)&&a.children.head instanceof u.default}},{key:"removeFormat",value:function(a,b){var c=this.getText(a,b),d=e(this.scroll.line(a+b),2),f=d[0],g=d[1],i=0,j=new h.default;null!=f&&(i=f instanceof n.default?f.newlineIndex(g)-g+1:f.length()-g,j=f.delta().slice(g,g+i-1).insert("\n"));var k=this.getContents(a,b+i).diff(new h.default().insert(c).concat(j)),l=new h.default().retain(a).concat(k);return this.applyDelta(l)}},{key:"update",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2&& void 0!==arguments[2]?arguments[2]:void 0,d=this.delta;if(1===b.length&&"characterData"===b[0].type&&b[0].target.data.match(C)&&l.default.find(b[0].target)){var e=l.default.find(b[0].target),f=(0,q.bubbleFormats)(e),g=e.offset(this.scroll),i=b[0].oldValue.replace(p.default.CONTENTS,""),j=new h.default().insert(i),k=new h.default().insert(e.value()),m=new h.default().retain(g).concat(j.diff(k,c));a=m.reduce(function(a,b){return b.insert?a.insert(b.insert,f):a.push(b)},new h.default),this.delta=d.compose(a)}else this.delta=this.getDelta(),a&&(0,y.default)(d.compose(a),this.delta)||(a=d.diff(this.delta,c));return a}}]),a}();function E(a,b){return Object.keys(b).reduce(function(c,d){return null==a[d]||(b[d]===a[d]?c[d]=b[d]:Array.isArray(b[d])?0>b[d].indexOf(a[d])&&(c[d]=b[d].concat([a[d]])):c[d]=[b[d],a[d]]),c},{})}function F(a){return a.reduce(function(a,b){if(1===b.insert){var c=(0,w.default)(b.attributes);return delete c.image,a.insert({image:b.attributes.image},c)}if(null!=b.attributes&&(!0===b.attributes.list|| !0===b.attributes.bullet)&&((b=(0,w.default)(b)).attributes.list?b.attributes.list="ordered":(b.attributes.list="bullet",delete b.attributes.bullet)),"string"==typeof b.insert){var d=b.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return a.insert(d,b.attributes)}return a.push(b)},new h.default)}b.default=D},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.Range=void 0;var d=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},e=function(){function a(a,b){for(var c=0;c1&& void 0!==arguments[1]?arguments[1]:0;r(this,a),this.index=b,this.length=c},v=function(){function a(b,c){var d=this;r(this,a),this.emitter=c,this.scroll=b,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=g.default.create("cursor",this),this.lastRange=this.savedRange=new u(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){d.mouseDown||setTimeout(d.update.bind(d,m.default.sources.USER),1)}),this.emitter.on(m.default.events.EDITOR_CHANGE,function(a,b){a===m.default.events.TEXT_CHANGE&&b.length()>0&&d.update(m.default.sources.SILENT)}),this.emitter.on(m.default.events.SCROLL_BEFORE_UPDATE,function(){if(d.hasFocus()){var a=d.getNativeRange();null!=a&&a.start.node!==d.cursor.textNode&&d.emitter.once(m.default.events.SCROLL_UPDATE,function(){try{d.setNativeRange(a.start.node,a.start.offset,a.end.node,a.end.offset)}catch(b){}})}}),this.emitter.on(m.default.events.SCROLL_OPTIMIZE,function(a,b){if(b.range){var c=b.range,e=c.startNode,f=c.startOffset,g=c.endNode,h=c.endOffset;d.setNativeRange(e,f,g,h)}}),this.update(m.default.sources.SILENT)}return e(a,[{key:"handleComposition",value:function(){var a=this;this.root.addEventListener("compositionstart",function(){a.composing=!0}),this.root.addEventListener("compositionend",function(){if(a.composing=!1,a.cursor.parent){var b=a.cursor.restore();b&&setTimeout(function(){a.setNativeRange(b.startNode,b.startOffset,b.endNode,b.endOffset)},1)}})}},{key:"handleDragging",value:function(){var a=this;this.emitter.listenDOM("mousedown",document.body,function(){a.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){a.mouseDown=!1,a.update(m.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(a,b){if(null==this.scroll.whitelist||this.scroll.whitelist[a]){this.scroll.update();var c=this.getNativeRange();if(!(null==c||!c.native.collapsed||g.default.query(a,g.default.Scope.BLOCK))){if(c.start.node!==this.cursor.textNode){var d=g.default.find(c.start.node,!1);if(null==d)return;if(d instanceof g.default.Leaf){var e=d.split(c.start.offset);d.parent.insertBefore(this.cursor,e)}else d.insertBefore(this.cursor,c.start.node);this.cursor.attach()}this.cursor.format(a,b),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:0,c=this.scroll.length();a=Math.min(a,c-1),b=Math.min(a+b,c-1)-a;var e=void 0,f=this.scroll.leaf(a),g=d(f,2),h=g[0],i=g[1];if(null==h)return null;var j=h.position(i,!0),k=d(j,2);e=k[0],i=k[1];var l=document.createRange();if(b>0){l.setStart(e,i);var m=d(this.scroll.leaf(a+b),2);if(h=m[0],i=m[1],null==h)return null;var n=h.position(i,!0),o=d(n,2);return e=o[0],i=o[1],l.setEnd(e,i),l.getBoundingClientRect()}var p="left",q=void 0;return e instanceof Text?(i0&&(p="right")),{bottom:q.top+q.height,height:q.height,left:q[p],right:q[p],top:q.top,width:0}}},{key:"getNativeRange",value:function(){var a=document.getSelection();if(null==a||a.rangeCount<=0)return null;var b=a.getRangeAt(0);if(null==b)return null;var c=this.normalizeNative(b);return t.info("getNativeRange",c),c}},{key:"getRange",value:function(){var a=this.getNativeRange();return null==a?[null,null]:[this.normalizedToRange(a),a]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(a){var b=this,c=[[a.start.node,a.start.offset]];a.native.collapsed||c.push([a.end.node,a.end.offset]);var e=c.map(function(a){var c=d(a,2),e=c[0],f=c[1],h=g.default.find(e,!0),i=h.offset(b.scroll);return 0===f?i:h instanceof g.default.Container?i+h.length():i+h.index(e,f)}),f=Math.min(Math.max.apply(Math,q(e)),this.scroll.length()-1),h=Math.min.apply(Math,[f].concat(q(e)));return new u(h,f-h)}},{key:"normalizeNative",value:function(a){if(!w(this.root,a.startContainer)|| !a.collapsed&&!w(this.root,a.endContainer))return null;var b={start:{node:a.startContainer,offset:a.startOffset},end:{node:a.endContainer,offset:a.endOffset},native:a};return[b.start,b.end].forEach(function(a){for(var b=a.node,c=a.offset;!(b instanceof Text)&&b.childNodes.length>0;)if(b.childNodes.length>c)b=b.childNodes[c],c=0;else if(b.childNodes.length===c)c=(b=b.lastChild)instanceof Text?b.data.length:b.childNodes.length+1;else break;a.node=b,a.offset=c}),b}},{key:"rangeToNative",value:function(a){var b=this,c=a.collapsed?[a.index]:[a.index,a.index+a.length],e=[],f=this.scroll.length();return c.forEach(function(a,c){a=Math.min(f-1,a);var g=void 0,h=b.scroll.leaf(a),i=d(h,2),j=i[0],k=i[1],l=j.position(k,0!==c),m=d(l,2);g=m[0],k=m[1],e.push(g,k)}),e.length<2&&(e=e.concat(e)),e}},{key:"scrollIntoView",value:function(a){var b=this.lastRange;if(null!=b){var c=this.getBounds(b.index,b.length);if(null!=c){var e=this.scroll.length()-1,f=this.scroll.line(Math.min(b.index,e)),g=d(f,1)[0],h=g;if(b.length>0){var i=this.scroll.line(Math.min(b.index+b.length,e));h=d(i,1)[0]}if(null!=g&&null!=h){var j=a.getBoundingClientRect();c.topj.bottom&&(a.scrollTop+=c.bottom-j.bottom)}}}}},{key:"setNativeRange",value:function(a,b){var c=arguments.length>2&& void 0!==arguments[2]?arguments[2]:a,d=arguments.length>3&& void 0!==arguments[3]?arguments[3]:b,e=arguments.length>4&& void 0!==arguments[4]&&arguments[4];if(t.info("setNativeRange",a,b,c,d),null==a||null!=this.root.parentNode&&null!=a.parentNode&&null!=c.parentNode){var f=document.getSelection();if(null!=f){if(null!=a){this.hasFocus()||this.root.focus();var g=(this.getNativeRange()||{}).native;if(null==g||e||a!==g.startContainer||b!==g.startOffset||c!==g.endContainer||d!==g.endOffset){"BR"==a.tagName&&(b=[].indexOf.call(a.parentNode.childNodes,a),a=a.parentNode),"BR"==c.tagName&&(d=[].indexOf.call(c.parentNode.childNodes,c),c=c.parentNode);var h=document.createRange();h.setStart(a,b),h.setEnd(c,d),f.removeAllRanges(),f.addRange(h)}}else f.removeAllRanges(),this.root.blur(),document.body.focus()}}}},{key:"setRange",value:function(a){var b=arguments.length>1&& void 0!==arguments[1]&&arguments[1],c=arguments.length>2&& void 0!==arguments[2]?arguments[2]:m.default.sources.API;if("string"==typeof b&&(c=b,b=!1),t.info("setRange",a),null!=a){var d=this.rangeToNative(a);this.setNativeRange.apply(this,q(d).concat([b]))}else this.setNativeRange(null);this.update(c)}},{key:"update",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:m.default.sources.USER,b=this.lastRange,c=d(this.getRange(),2),e=c[0],f=c[1];if(this.lastRange=e,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,k.default)(b,this.lastRange)){!this.composing&&null!=f&&f.native.collapsed&&f.start.node!==this.cursor.textNode&&this.cursor.restore();var g,h,j=[m.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(b),a];(g=this.emitter).emit.apply(g,[m.default.events.EDITOR_CHANGE].concat(j)),a!==m.default.sources.SILENT&&(h=this.emitter).emit.apply(h,j)}}}]),a}();function w(a,b){try{b.parentNode}catch(c){return!1}return b instanceof Text&&(b=b.parentNode),a.contains(b)}b.Range=u,b.default=v},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e,f,g=function(){function a(a,b){for(var c=0;c0&&(c+=1),[this.parent.domNode,c]},b.prototype.value=function(){var a;return(a={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,a},b.scope=g.Scope.INLINE_BLOT,b}(f.default);b.default=h},function(a,b,c){var d=c(11),e=c(3),f={attributes:{compose:function(a,b,c){"object"!=typeof a&&(a={}),"object"!=typeof b&&(b={});var d=e(!0,{},b);for(var f in c||(d=Object.keys(d).reduce(function(a,b){return null!=d[b]&&(a[b]=d[b]),a},{})),a)void 0!==a[f]&& void 0===b[f]&&(d[f]=a[f]);return Object.keys(d).length>0?d:void 0},diff:function(a,b){"object"!=typeof a&&(a={}),"object"!=typeof b&&(b={});var c=Object.keys(a).concat(Object.keys(b)).reduce(function(c,e){return d(a[e],b[e])||(c[e]=void 0===b[e]?null:b[e]),c},{});return Object.keys(c).length>0?c:void 0},transform:function(a,b,c){if("object"!=typeof a)return b;if("object"==typeof b){if(!c)return b;var d=Object.keys(b).reduce(function(c,d){return void 0===a[d]&&(c[d]=b[d]),c},{});return Object.keys(d).length>0?d:void 0}}},iterator:function(a){return new g(a)},length:function(a){return"number"==typeof a.delete?a.delete:"number"==typeof a.retain?a.retain:"string"==typeof a.insert?a.insert.length:1}};function g(a){this.ops=a,this.index=0,this.offset=0}g.prototype.hasNext=function(){return this.peekLength()<1/0},g.prototype.next=function(a){a||(a=1/0);var b=this.ops[this.index];if(!b)return{retain:1/0};var c=this.offset,d=f.length(b);if(a>=d-c?(a=d-c,this.index+=1,this.offset=0):this.offset+=a,"number"==typeof b.delete)return{delete:a};var e={};return b.attributes&&(e.attributes=b.attributes),"number"==typeof b.retain?e.retain=a:"string"==typeof b.insert?e.insert=b.insert.substr(c,a):e.insert=b.insert,e},g.prototype.peek=function(){return this.ops[this.index]},g.prototype.peekLength=function(){return this.ops[this.index]?f.length(this.ops[this.index])-this.offset:1/0},g.prototype.peekType=function(){if(this.ops[this.index]){if("number"==typeof this.ops[this.index].delete)return"delete";if("number"!=typeof this.ops[this.index].retain)return"insert"}return"retain"},g.prototype.rest=function(){if(!this.hasNext())return[];if(0===this.offset)return this.ops.slice(this.index);var a=this.offset,b=this.index,c=this.next(),d=this.ops.slice(this.index);return this.offset=a,this.index=b,[c].concat(d)},a.exports=f},function(a,b){var c=function(){"use strict";var a,b,c;function d(a,b){return null!=b&&a instanceof b}try{a=Map}catch(e){a=function(){}}try{b=Set}catch(f){b=function(){}}try{c=Promise}catch(g){c=function(){}}function h(e,f,g,i,k){"object"==typeof f&&(g=f.depth,i=f.prototype,k=f.includeNonEnumerable,f=f.circular);var l=[],m=[],n="undefined"!=typeof Buffer;function o(e,g){if(null===e)return null;if(0===g||"object"!=typeof e)return e;if(d(e,a))p=new a;else if(d(e,b))p=new b;else if(d(e,c))p=new c(function(a,b){e.then(function(b){a(o(b,g-1))},function(a){b(o(a,g-1))})});else if(h.__isArray(e))p=[];else if(h.__isRegExp(e))p=RegExp(e.source,j(e)),e.lastIndex&&(p.lastIndex=e.lastIndex);else if(h.__isDate(e))p=new Date(e.getTime());else{if(n&&Buffer.isBuffer(e))return p=Buffer.allocUnsafe?Buffer.allocUnsafe(e.length):new Buffer(e.length),e.copy(p),p;d(e,Error)?p=Object.create(e):void 0===i?(q=Object.getPrototypeOf(e),p=Object.create(q)):(p=Object.create(i),q=i)}if(f){var p,q,r,t=l.indexOf(e);if(-1!=t)return m[t];l.push(e),m.push(p)}for(var u in d(e,a)&&e.forEach(function(a,b){var c=o(b,g-1),d=o(a,g-1);p.set(c,d)}),d(e,b)&&e.forEach(function(a){var b=o(a,g-1);p.add(b)}),e)q&&(r=Object.getOwnPropertyDescriptor(q,u)),(!r||null!=r.set)&&(p[u]=o(e[u],g-1));if(Object.getOwnPropertySymbols)for(var v=Object.getOwnPropertySymbols(e),u=0;u0){if(h instanceof k.BlockEmbed||j instanceof k.BlockEmbed){this.optimize();return}if(h instanceof p.default){var l=h.newlineIndex(h.length(),!0);if(l> -1&&(h=h.split(l+1))===j){this.optimize();return}}else if(j instanceof p.default){var m=j.newlineIndex(0);m> -1&&j.split(m+1)}var o=j.children.head instanceof n.default?null:j.children.head;h.moveChildren(j,o),h.remove()}this.optimize()}},{key:"enable",value:function(){var a=!(arguments.length>0)|| void 0===arguments[0]||arguments[0];this.domNode.setAttribute("contenteditable",a)}},{key:"formatAt",value:function(a,c,d,e){(null==this.whitelist||this.whitelist[d])&&(f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"formatAt",this).call(this,a,c,d,e),this.optimize())}},{key:"insertAt",value:function(a,c,d){if(null==d||null==this.whitelist||this.whitelist[c]){if(a>=this.length()){if(null==d||null==h.default.query(c,h.default.Scope.BLOCK)){var e=h.default.create(this.statics.defaultChild);this.appendChild(e),null==d&&c.endsWith("\n")&&(c=c.slice(0,-1)),e.insertAt(0,c,d)}else{var g=h.default.create(c,d);this.appendChild(g)}}else f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertAt",this).call(this,a,c,d);this.optimize()}}},{key:"insertBefore",value:function(a,c){if(a.statics.scope===h.default.Scope.INLINE_BLOT){var d=h.default.create(this.statics.defaultChild);d.appendChild(a),a=d}f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertBefore",this).call(this,a,c)}},{key:"leaf",value:function(a){return this.path(a).pop()||[null,-1]}},{key:"line",value:function(a){return a===this.length()?this.line(a-1):this.descendant(u,a)}},{key:"lines",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function a(b,c,d){var e=[],f=d;return b.children.forEachAt(c,d,function(b,c,d){u(b)?e.push(b):b instanceof h.default.Container&&(e=e.concat(a(b,c,f))),f-=d}),e}(this,a,b)}},{key:"optimize",value:function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1&& void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,a,c),a.length>0&&this.emitter.emit(j.default.events.SCROLL_OPTIMIZE,a,c))}},{key:"path",value:function(a){return f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"path",this).call(this,a).slice(1)}},{key:"update",value:function(a){if(!0!==this.batch){var c=j.default.sources.USER;"string"==typeof a&&(c=a),Array.isArray(a)||(a=this.observer.takeRecords()),a.length>0&&this.emitter.emit(j.default.events.SCROLL_BEFORE_UPDATE,c,a),f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"update",this).call(this,a.concat([])),a.length>0&&this.emitter.emit(j.default.events.SCROLL_UPDATE,c,a)}}}]),b}(h.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[l.default,k.BlockEmbed,r.default],b.default=v},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SHORTKEY=b.default=void 0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},f=function(){function a(a,b){for(var c=0;c1&& void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&& void 0!==arguments[2]?arguments[2]:{},d=L(a);if(null==d||null==d.key)return B.warn("Attempted to add invalid keyboard binding",d);"function"==typeof b&&(b={handler:b}),"function"==typeof c&&(c={handler:c}),d=(0,l.default)(d,b,c),this.bindings[d.key]=this.bindings[d.key]||[],this.bindings[d.key].push(d)}},{key:"listen",value:function(){var a=this;this.quill.root.addEventListener("keydown",function(c){if(!c.defaultPrevented){var f=c.which||c.keyCode,g=(a.bindings[f]||[]).filter(function(a){return b.match(c,a)});if(0!==g.length){var h=a.quill.getSelection();if(null!=h&&a.quill.hasFocus()){var i=e(a.quill.getLine(h.index),2),k=i[0],l=i[1],m=a.quill.getLeaf(h.index),n=e(m,2),o=n[0],p=n[1],q=0===h.length?[o,p]:a.quill.getLeaf(h.index+h.length),t=e(q,2),u=t[0],v=t[1],w=o instanceof r.default.Text?o.value().slice(0,p):"",x=u instanceof r.default.Text?u.value().slice(v):"",y={collapsed:0===h.length,empty:0===h.length&&1>=k.length(),format:a.quill.getFormat(h),offset:l,prefix:w,suffix:x},z=g.some(function(b){if(null!=b.collapsed&&b.collapsed!==y.collapsed||null!=b.empty&&b.empty!==y.empty||null!=b.offset&&b.offset!==y.offset)return!1;if(Array.isArray(b.format)){if(b.format.every(function(a){return null==y.format[a]}))return!1}else if("object"===d(b.format)&&!Object.keys(b.format).every(function(a){return!0===b.format[a]?null!=y.format[a]:!1===b.format[a]?null==y.format[a]:(0,j.default)(b.format[a],y.format[a])}))return!1;return!!((null==b.prefix||b.prefix.test(y.prefix))&&(null==b.suffix||b.suffix.test(y.suffix)))&& !0!==b.handler.call(a,h,y)});z&&c.preventDefault()}}}})}}]),b}(y.default);function E(a,b){var c,d=a===D.keys.LEFT?"prefix":"suffix";return c={key:a,shiftKey:b,altKey:null},A(c,d,/^$/),A(c,"handler",function(c){var d,f=c.index;return a===D.keys.RIGHT&&(f+=c.length+1),!(e(this.quill.getLeaf(f),1)[0]instanceof r.default.Embed)||(a===D.keys.LEFT?b?this.quill.setSelection(c.index-1,c.length+1,u.default.sources.USER):this.quill.setSelection(c.index-1,u.default.sources.USER):b?this.quill.setSelection(c.index,c.length+1,u.default.sources.USER):this.quill.setSelection(c.index+c.length+1,u.default.sources.USER),!1)}),c}function F(a,b){if(!(0===a.index||1>=this.quill.getLength())){var c=e(this.quill.getLine(a.index),1)[0],d={};if(0===b.offset){var f=e(this.quill.getLine(a.index-1),1)[0];if(null!=f&&f.length()>1){var g=c.formats(),h=this.quill.getFormat(a.index-1,1);d=p.default.attributes.diff(g,h)||{}}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(b.prefix)?2:1;this.quill.deleteText(a.index-i,i,u.default.sources.USER),Object.keys(d).length>0&&this.quill.formatLine(a.index-i,i,d,u.default.sources.USER),this.quill.focus()}}function G(a,b){var c=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(b.suffix)?2:1;if(!(a.index>=this.quill.getLength()-c)){var d={},f=0,g=e(this.quill.getLine(a.index),1)[0];if(b.offset>=g.length()-1){var h=e(this.quill.getLine(a.index+1),1)[0];if(h){var i=g.formats(),j=this.quill.getFormat(a.index,1);d=p.default.attributes.diff(i,j)||{},f=h.length()}}this.quill.deleteText(a.index,c,u.default.sources.USER),Object.keys(d).length>0&&this.quill.formatLine(a.index+f-1,c,d,u.default.sources.USER)}}function H(a){var b=this.quill.getLines(a),c={};if(b.length>1){var d=b[0].formats(),e=b[b.length-1].formats();c=p.default.attributes.diff(e,d)||{}}this.quill.deleteText(a,u.default.sources.USER),Object.keys(c).length>0&&this.quill.formatLine(a.index,1,c,u.default.sources.USER),this.quill.setSelection(a.index,u.default.sources.SILENT),this.quill.focus()}function I(a,b){var c=this;a.length>0&&this.quill.scroll.deleteAt(a.index,a.length);var d=Object.keys(b.format).reduce(function(a,c){return r.default.query(c,r.default.Scope.BLOCK)&&!Array.isArray(b.format[c])&&(a[c]=b.format[c]),a},{});this.quill.insertText(a.index,"\n",d,u.default.sources.USER),this.quill.setSelection(a.index+1,u.default.sources.SILENT),this.quill.focus(),Object.keys(b.format).forEach(function(a){!(null!=d[a]||Array.isArray(b.format[a]))&&"link"!==a&&c.quill.format(a,b.format[a],u.default.sources.USER)})}function J(a){return{key:D.keys.TAB,shiftKey:!a,format:{"code-block":!0},handler:function(b){var c=r.default.query("code-block"),d=b.index,f=b.length,g=this.quill.scroll.descendant(c,d),h=e(g,2),i=h[0],j=h[1];if(null!=i){var k=this.quill.getIndex(i),l=i.newlineIndex(j,!0)+1,m=i.newlineIndex(k+j+f),n=i.domNode.textContent.slice(l,m).split("\n");j=0,n.forEach(function(b,e){a?(i.insertAt(l+j,c.TAB),j+=c.TAB.length,0===e?d+=c.TAB.length:f+=c.TAB.length):b.startsWith(c.TAB)&&(i.deleteAt(l+j,c.TAB.length),j-=c.TAB.length,0===e?d-=c.TAB.length:f-=c.TAB.length),j+=b.length+1}),this.quill.update(u.default.sources.USER),this.quill.setSelection(d,f,u.default.sources.SILENT)}}}}function K(a){return{key:a[0].toUpperCase(),shortKey:!0,handler:function(b,c){this.quill.format(a,!c.format[a],u.default.sources.USER)}}}function L(a){if("string"==typeof a||"number"==typeof a)return L({key:a});if((void 0===a?"undefined":d(a))==="object"&&(a=(0,h.default)(a,!1)),"string"==typeof a.key){if(null!=D.keys[a.key.toUpperCase()])a.key=D.keys[a.key.toUpperCase()];else{if(1!==a.key.length)return null;a.key=a.key.toUpperCase().charCodeAt(0)}}return a.shortKey&&(a[C]=a.shortKey,delete a.shortKey),a}D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:K("bold"),italic:K("italic"),underline:K("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(a,b){if(b.collapsed&&0!==b.offset)return!0;this.quill.format("indent","+1",u.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(a,b){if(b.collapsed&&0!==b.offset)return!0;this.quill.format("indent","-1",u.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(a,b){null!=b.format.indent?this.quill.format("indent","-1",u.default.sources.USER):null!=b.format.list&&this.quill.format("list",!1,u.default.sources.USER)}},"indent code-block":J(!0),"outdent code-block":J(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(a){this.quill.deleteText(a.index-1,1,u.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(a){this.quill.history.cutoff();var b=new n.default().retain(a.index).delete(a.length).insert(" ");this.quill.updateContents(b,u.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(a.index+1,u.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(a,b){this.quill.format("list",!1,u.default.sources.USER),b.format.indent&&this.quill.format("indent",!1,u.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(a){var b=e(this.quill.getLine(a.index),2),c=b[0],d=b[1],f=(0,l.default)({},c.formats(),{list:"checked"}),g=new n.default().retain(a.index).insert("\n",f).retain(c.length()-d-1).retain(1,{list:"unchecked"});this.quill.updateContents(g,u.default.sources.USER),this.quill.setSelection(a.index+1,u.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(a,b){var c=e(this.quill.getLine(a.index),2),d=c[0],f=c[1],g=new n.default().retain(a.index).insert("\n",b.format).retain(d.length()-f-1).retain(1,{header:null});this.quill.updateContents(g,u.default.sources.USER),this.quill.setSelection(a.index+1,u.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(a,b){var c=b.prefix.length,d=e(this.quill.getLine(a.index),2),f=d[0],g=d[1];if(g>c)return!0;var h=void 0;switch(b.prefix.trim()){case"[]":case"[ ]":h="unchecked";break;case"[x]":h="checked";break;case"-":case"*":h="bullet";break;default:h="ordered"}this.quill.insertText(a.index," ",u.default.sources.USER),this.quill.history.cutoff();var i=new n.default().retain(a.index-g).delete(c+1).retain(f.length()-2-g).retain(1,{list:h});this.quill.updateContents(i,u.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(a.index-c,u.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(a){var b=e(this.quill.getLine(a.index),2),c=b[0],d=b[1],f=new n.default().retain(a.index+c.length()-d-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(f,u.default.sources.USER)}},"embed left":E(D.keys.LEFT,!1),"embed left shift":E(D.keys.LEFT,!0),"embed right":E(D.keys.RIGHT,!1),"embed right shift":E(D.keys.RIGHT,!0)}},b.default=D,b.SHORTKEY=C},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},e=function a(b,c,d){null===b&&(b=Function.prototype);var e=Object.getOwnPropertyDescriptor(b,c);if(void 0===e){var f=Object.getPrototypeOf(b);if(null===f)return;return a(f,c,d)}if("value"in e)return e.value;var g=e.get;if(void 0!==g)return g.call(d)},f=function(){function a(a,b){for(var c=0;c -1}i.blotName="link",i.tagName="A",i.SANITIZED_URL="about:blank",i.PROTOCOL_WHITELIST=["http","https","mailto","tel"],b.default=i,b.sanitize=j},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=function(){function a(a,b){for(var c=0;c1&& void 0!==arguments[1]&&arguments[1],c=this.container.querySelector(".ql-selected");if(a!==c&&(null!=c&&c.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"),b))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if(("undefined"==typeof Event?"undefined":d(Event))==="object"){var e=document.createEvent("Event");e.initEvent("change",!0,!0),this.select.dispatchEvent(e)}this.close()}}},{key:"update",value:function(){var a=void 0;if(this.select.selectedIndex> -1){var b=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];a=this.select.options[this.select.selectedIndex],this.selectItem(b)}else this.selectItem(null);var c=null!=a&&a!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",c)}}]),a}();b.default=m},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=c(0),e=E(d),f=c(5),g=E(f),h=c(4),i=E(h),j=c(16),k=E(j),l=c(25),m=E(l),n=c(24),o=E(n),p=c(35),q=E(p),r=c(6),t=E(r),u=c(22),v=E(u),w=c(7),x=E(w),y=c(55),z=E(y),A=c(42),B=E(A),C=c(23),D=E(C);function E(a){return a&&a.__esModule?a:{default:a}}g.default.register({"blots/block":i.default,"blots/block/embed":h.BlockEmbed,"blots/break":k.default,"blots/container":m.default,"blots/cursor":o.default,"blots/embed":q.default,"blots/inline":t.default,"blots/scroll":v.default,"blots/text":x.default,"modules/clipboard":z.default,"modules/history":B.default,"modules/keyboard":D.default}),e.default.register(i.default,k.default,o.default,t.default,v.default,x.default),b.default=g.default},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=c(1),e=function(){function a(a){this.domNode=a,this.domNode[d.DATA_KEY]={blot:this}}return Object.defineProperty(a.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),a.create=function(a){var b;if(null==this.tagName)throw new d.ParchmentError("Blot definition missing tagName");return Array.isArray(this.tagName)?("string"==typeof a&&parseInt(a=a.toUpperCase()).toString()===a&&(a=parseInt(a)),b="number"==typeof a?document.createElement(this.tagName[a-1]):this.tagName.indexOf(a)> -1?document.createElement(a):document.createElement(this.tagName[0])):b=document.createElement(this.tagName),this.className&&b.classList.add(this.className),b},a.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},a.prototype.clone=function(){var a=this.domNode.cloneNode(!1);return d.create(a)},a.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[d.DATA_KEY]},a.prototype.deleteAt=function(a,b){this.isolate(a,b).remove()},a.prototype.formatAt=function(a,b,c,e){var f=this.isolate(a,b);if(null!=d.query(c,d.Scope.BLOT)&&e)f.wrap(c,e);else if(null!=d.query(c,d.Scope.ATTRIBUTE)){var g=d.create(this.statics.scope);f.wrap(g),g.format(c,e)}},a.prototype.insertAt=function(a,b,c){var e=null==c?d.create("text",b):d.create(b,c),f=this.split(a);this.parent.insertBefore(e,f)},a.prototype.insertInto=function(a,b){void 0===b&&(b=null),null!=this.parent&&this.parent.children.remove(this);var c=null;a.children.insertBefore(this,b),null!=b&&(c=b.domNode),(this.domNode.parentNode!=a.domNode||this.domNode.nextSibling!=c)&&a.domNode.insertBefore(this.domNode,c),this.parent=a,this.attach()},a.prototype.isolate=function(a,b){var c=this.split(a);return c.split(b),c},a.prototype.length=function(){return 1},a.prototype.offset=function(a){return(void 0===a&&(a=this.parent),null==this.parent||this==a)?0:this.parent.children.offset(this)+this.parent.offset(a)},a.prototype.optimize=function(a){null!=this.domNode[d.DATA_KEY]&&delete this.domNode[d.DATA_KEY].mutations},a.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},a.prototype.replace=function(a){null!=a.parent&&(a.parent.insertBefore(this,a.next),a.remove())},a.prototype.replaceWith=function(a,b){var c="string"==typeof a?d.create(a,b):a;return c.replace(this),c},a.prototype.split=function(a,b){return 0===a?this:this.next},a.prototype.update=function(a,b){},a.prototype.wrap=function(a,b){var c="string"==typeof a?d.create(a,b):a;return null!=this.parent&&this.parent.insertBefore(c,this.next),c.appendChild(this),c},a.blotName="abstract",a}();b.default=e},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=c(12),e=c(32),f=c(33),g=c(1),h=function(){function a(a){this.attributes={},this.domNode=a,this.build()}return a.prototype.attribute=function(a,b){b?a.add(this.domNode,b)&&(null!=a.value(this.domNode)?this.attributes[a.attrName]=a:delete this.attributes[a.attrName]):(a.remove(this.domNode),delete this.attributes[a.attrName])},a.prototype.build=function(){var a=this;this.attributes={};var b=d.default.keys(this.domNode),c=e.default.keys(this.domNode),h=f.default.keys(this.domNode);b.concat(c).concat(h).forEach(function(b){var c=g.query(b,g.Scope.ATTRIBUTE);c instanceof d.default&&(a.attributes[c.attrName]=c)})},a.prototype.copy=function(a){var b=this;Object.keys(this.attributes).forEach(function(c){var d=b.attributes[c].value(b.domNode);a.format(c,d)})},a.prototype.move=function(a){var b=this;this.copy(a),Object.keys(this.attributes).forEach(function(a){b.attributes[a].remove(b.domNode)}),this.attributes={}},a.prototype.values=function(){var a=this;return Object.keys(this.attributes).reduce(function(b,c){return b[c]=a.attributes[c].value(a.domNode),b},{})},a}();b.default=h},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(12);function g(a,b){return(a.getAttribute("class")||"").split(/\s+/).filter(function(a){return 0===a.indexOf(b+"-")})}var h=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return e(b,a),b.keys=function(a){return(a.getAttribute("class")||"").split(/\s+/).map(function(a){return a.split("-").slice(0,-1).join("-")})},b.prototype.add=function(a,b){return!!this.canAdd(a,b)&&(this.remove(a),a.classList.add(this.keyName+"-"+b),!0)},b.prototype.remove=function(a){g(a,this.keyName).forEach(function(b){a.classList.remove(b)}),0===a.classList.length&&a.removeAttribute("class")},b.prototype.value=function(a){var b=(g(a,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(a,b)?b:""},b}(f.default);b.default=h},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(12);function g(a){var b=a.split("-"),c=b.slice(1).map(function(a){return a[0].toUpperCase()+a.slice(1)}).join("");return b[0]+c}var h=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return e(b,a),b.keys=function(a){return(a.getAttribute("style")||"").split(";").map(function(a){return a.split(":")[0].trim()})},b.prototype.add=function(a,b){return!!this.canAdd(a,b)&&(a.style[g(this.keyName)]=b,!0)},b.prototype.remove=function(a){a.style[g(this.keyName)]="",a.getAttribute("style")||a.removeAttribute("style")},b.prototype.value=function(a){var b=a.style[g(this.keyName)];return this.canAdd(a,b)?b:""},b}(f.default);b.default=h},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=function(){function a(a,b){for(var c=0;cd&&this.stack.undo.length>0){var e=this.stack.undo.pop();c=c.compose(e.undo),a=e.redo.compose(a)}else this.lastRecorded=d;this.stack.undo.push({redo:a,undo:c}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(a){this.stack.undo.forEach(function(b){b.undo=a.transform(b.undo,!0),b.redo=a.transform(b.redo,!0)}),this.stack.redo.forEach(function(b){b.undo=a.transform(b.undo,!0),b.redo=a.transform(b.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),b}(j.default);function m(a){var b,c,d=a.reduce(function(a,b){return a+(b.delete||0)},0),e=a.length()-d;return null!=(c=(b=a).ops[b.ops.length-1])&&(null!=c.insert?"string"==typeof c.insert&&c.insert.endsWith("\n"):null!=c.attributes&&Object.keys(c.attributes).some(function(a){return null!=f.default.query(a,f.default.Scope.BLOCK)}))&&(e-=1),e}l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},b.default=l,b.getLastChangeIndex=m},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.BaseTooltip=void 0;var d=function(){function a(a,b){for(var c=0;c0&& void 0!==arguments[0]?arguments[0]:"link",b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=b?this.textbox.value=b:a!==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-"+a)||""),this.root.setAttribute("data-mode",a)}},{key:"restoreFocus",value:function(){var a=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=a}},{key:"save",value:function(){var a=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var b=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",a,k.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",a,k.default.sources.USER)),this.quill.root.scrollTop=b;break;case"video":a=J(a);case"formula":if(!a)break;var c=this.quill.getSelection(!0);if(null!=c){var d=c.index+c.length;this.quill.insertEmbed(d,this.root.getAttribute("data-mode"),a,k.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(d+1," ",k.default.sources.USER),this.quill.setSelection(d+2,k.default.sources.USER)}}this.textbox.value="",this.hide()}}]),b}(x.default);function J(a){var b=a.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||a.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return b?(b[1]||"https")+"://www.youtube.com/embed/"+b[2]+"?showinfo=0":(b=a.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(b[1]||"https")+"://player.vimeo.com/video/"+b[2]+"/":a}function K(a,b){var c=arguments.length>2&& void 0!==arguments[2]&&arguments[2];b.forEach(function(b){var d=document.createElement("option");b===c?d.setAttribute("selected","selected"):d.setAttribute("value",b),a.appendChild(d)})}b.BaseTooltip=I,b.default=H},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=function(){function a(){this.head=this.tail=null,this.length=0}return a.prototype.append=function(){for(var a=[],b=0;b1&&this.append.apply(this,a.slice(1))},a.prototype.contains=function(a){for(var b,c=this.iterator();b=c();)if(b===a)return!0;return!1},a.prototype.insertBefore=function(a,b){a&&(a.next=b,null!=b?(a.prev=b.prev,null!=b.prev&&(b.prev.next=a),b.prev=a,b===this.head&&(this.head=a)):null!=this.tail?(this.tail.next=a,a.prev=this.tail,this.tail=a):(a.prev=null,this.head=this.tail=a),this.length+=1)},a.prototype.offset=function(a){for(var b=0,c=this.head;null!=c;){if(c===a)return b;b+=c.length(),c=c.next}return -1},a.prototype.remove=function(a){this.contains(a)&&(null!=a.prev&&(a.prev.next=a.next),null!=a.next&&(a.next.prev=a.prev),a===this.head&&(this.head=a.next),a===this.tail&&(this.tail=a.prev),this.length-=1)},a.prototype.iterator=function(a){return void 0===a&&(a=this.head),function(){var b=a;return null!=a&&(a=a.next),b}},a.prototype.find=function(a,b){void 0===b&&(b=!1);for(var c,d=this.iterator();c=d();){var e=c.length();if(ah?c(d,a-h,Math.min(b,h+j-a)):c(d,0,Math.min(j,a+b-h)),h+=j}},a.prototype.map=function(a){return this.reduce(function(b,c){return b.push(a(c)),b},[])},a.prototype.reduce=function(a,b){for(var c,d=this.iterator();c=d();)b=a(b,c);return b},a}();b.default=d},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(17),g=c(1),h={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},i=function(a){function b(b){var c=a.call(this,b)||this;return c.scroll=c,c.observer=new MutationObserver(function(a){c.update(a)}),c.observer.observe(c.domNode,h),c.attach(),c}return e(b,a),b.prototype.detach=function(){a.prototype.detach.call(this),this.observer.disconnect()},b.prototype.deleteAt=function(b,c){this.update(),0===b&&c===this.length()?this.children.forEach(function(a){a.remove()}):a.prototype.deleteAt.call(this,b,c)},b.prototype.formatAt=function(b,c,d,e){this.update(),a.prototype.formatAt.call(this,b,c,d,e)},b.prototype.insertAt=function(b,c,d){this.update(),a.prototype.insertAt.call(this,b,c,d)},b.prototype.optimize=function(b,c){var d=this;void 0===b&&(b=[]),void 0===c&&(c={}),a.prototype.optimize.call(this,c);for(var e=[].slice.call(this.observer.takeRecords());e.length>0;)b.push(e.pop());for(var h=function(a,b){void 0===b&&(b=!0),null!=a&&a!==d&&null!=a.domNode.parentNode&&(null==a.domNode[g.DATA_KEY].mutations&&(a.domNode[g.DATA_KEY].mutations=[]),b&&h(a.parent))},i=function(a){null!=a.domNode[g.DATA_KEY]&&null!=a.domNode[g.DATA_KEY].mutations&&(a instanceof f.default&&a.children.forEach(i),a.optimize(c))},j=b,k=0;j.length>0;k+=1){if(k>=100)throw Error("[Parchment] Maximum optimize iterations reached");for(j.forEach(function(a){var b=g.find(a.target,!0);null!=b&&(b.domNode===a.target&&("childList"===a.type?(h(g.find(a.previousSibling,!1)),[].forEach.call(a.addedNodes,function(a){var b=g.find(a,!1);h(b,!1),b instanceof f.default&&b.children.forEach(function(a){h(a,!1)})})):"attributes"===a.type&&h(b.prev)),h(b))}),this.children.forEach(i),e=(j=[].slice.call(this.observer.takeRecords())).slice();e.length>0;)b.push(e.pop())}},b.prototype.update=function(b,c){var d=this;void 0===c&&(c={}),(b=b||this.observer.takeRecords()).map(function(a){var b=g.find(a.target,!0);return null==b?null:null==b.domNode[g.DATA_KEY].mutations?(b.domNode[g.DATA_KEY].mutations=[a],b):(b.domNode[g.DATA_KEY].mutations.push(a),null)}).forEach(function(a){null!=a&&a!==d&&null!=a.domNode[g.DATA_KEY]&&a.update(a.domNode[g.DATA_KEY].mutations||[],c)}),null!=this.domNode[g.DATA_KEY].mutations&&a.prototype.update.call(this,this.domNode[g.DATA_KEY].mutations,c),this.optimize(b,c)},b.blotName="scroll",b.defaultChild="block",b.scope=g.Scope.BLOCK_BLOT,b.tagName="DIV",b}(f.default);b.default=i},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(18),g=c(1),h=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return e(b,a),b.formats=function(c){if(c.tagName!==b.tagName)return a.formats.call(this,c)},b.prototype.format=function(c,d){var e=this;c!==this.statics.blotName||d?a.prototype.format.call(this,c,d):(this.children.forEach(function(a){a instanceof f.default||(a=a.wrap(b.blotName,!0)),e.attributes.copy(a)}),this.unwrap())},b.prototype.formatAt=function(b,c,d,e){null!=this.formats()[d]||g.query(d,g.Scope.ATTRIBUTE)?this.isolate(b,c).format(d,e):a.prototype.formatAt.call(this,b,c,d,e)},b.prototype.optimize=function(c){a.prototype.optimize.call(this,c);var d=this.formats();if(0===Object.keys(d).length)return this.unwrap();var e=this.next;e instanceof b&&e.prev===this&&function(a,b){if(Object.keys(a).length!==Object.keys(b).length)return!1;for(var c in a)if(a[c]!==b[c])return!1;return!0}(d,e.formats())&&(e.moveChildren(this),e.remove())},b.blotName="inline",b.scope=g.Scope.INLINE_BLOT,b.tagName="SPAN",b}(f.default);b.default=h},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(18),g=c(1),h=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return e(b,a),b.formats=function(c){var d=g.query(b.blotName).tagName;if(c.tagName!==d)return a.formats.call(this,c)},b.prototype.format=function(c,d){null!=g.query(c,g.Scope.BLOCK)&&(c!==this.statics.blotName||d?a.prototype.format.call(this,c,d):this.replaceWith(b.blotName))},b.prototype.formatAt=function(b,c,d,e){null!=g.query(d,g.Scope.BLOCK)?this.format(d,e):a.prototype.formatAt.call(this,b,c,d,e)},b.prototype.insertAt=function(b,c,d){if(null==d||null!=g.query(c,g.Scope.INLINE))a.prototype.insertAt.call(this,b,c,d);else{var e=this.split(b),f=g.create(c,d);e.parent.insertBefore(f,e)}},b.prototype.update=function(b,c){navigator.userAgent.match(/Trident/)?this.build():a.prototype.update.call(this,b,c)},b.blotName="block",b.scope=g.Scope.BLOCK_BLOT,b.tagName="P",b}(f.default);b.default=h},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return e(b,a),b.formats=function(a){},b.prototype.format=function(b,c){a.prototype.formatAt.call(this,0,this.length(),b,c)},b.prototype.formatAt=function(b,c,d,e){0===b&&c===this.length()?this.format(d,e):a.prototype.formatAt.call(this,b,c,d,e)},b.prototype.formats=function(){return this.statics.formats(this.domNode)},b}(c(19).default);b.default=f},function(a,b,c){"use strict";var d,e=this&&this.__extends||(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},function(a,b){function c(){this.constructor=a}d(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)});Object.defineProperty(b,"__esModule",{value:!0});var f=c(19),g=c(1),h=function(a){function b(b){var c=a.call(this,b)||this;return c.text=c.statics.value(c.domNode),c}return e(b,a),b.create=function(a){return document.createTextNode(a)},b.value=function(a){var b=a.data;return b.normalize&&(b=b.normalize()),b},b.prototype.deleteAt=function(a,b){this.domNode.data=this.text=this.text.slice(0,a)+this.text.slice(a+b)},b.prototype.index=function(a,b){return this.domNode===a?b:-1},b.prototype.insertAt=function(b,c,d){null==d?(this.text=this.text.slice(0,b)+c+this.text.slice(b),this.domNode.data=this.text):a.prototype.insertAt.call(this,b,c,d)},b.prototype.length=function(){return this.text.length},b.prototype.optimize=function(c){a.prototype.optimize.call(this,c),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof b&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},b.prototype.position=function(a,b){return void 0===b&&(b=!1),[this.domNode,a]},b.prototype.split=function(a,b){if(void 0===b&&(b=!1),!b){if(0===a)return this;if(a===this.length())return this.next}var c=g.create(this.domNode.splitText(a));return this.parent.insertBefore(c,this.next),this.text=this.statics.value(this.domNode),c},b.prototype.update=function(a,b){var c=this;a.some(function(a){return"characterData"===a.type&&a.target===c.domNode})&&(this.text=this.statics.value(this.domNode))},b.prototype.value=function(){return this.text},b.blotName="text",b.scope=g.Scope.INLINE_BLOT,b}(f.default);b.default=h},function(a,b,c){"use strict";var d=document.createElement("div");if(d.classList.toggle("test-class",!1),d.classList.contains("test-class")){var e=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(a,b){return arguments.length>1&& !this.contains(a)== !b?b:e.call(this,a)}}String.prototype.startsWith||(String.prototype.startsWith=function(a,b){return b=b||0,this.substr(b,a.length)===a}),String.prototype.endsWith||(String.prototype.endsWith=function(a,b){var c=this.toString();("number"!=typeof b||!isFinite(b)||Math.floor(b)!==b||b>c.length)&&(b=c.length),b-=a.length;var d=c.indexOf(a,b);return -1!==d&&d===b}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(a){if(this===null)throw TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof a)throw TypeError("predicate must be a function");for(var b,c=Object(this),d=c.length>>>0,e=arguments[1],f=0;fb.length?a:b,g=a.length>b.length?b:a,h=f.indexOf(g);if(-1!=h)return d=[[1,f.substring(0,h)],[0,g],[1,f.substring(h+g.length)]],a.length>b.length&&(d[0][0]=d[2][0]=-1),d;if(1==g.length)return[[-1,a],[1,b]];var j=i(a,b);if(j){var k=j[0],l=j[1],m=j[2],n=j[3],o=j[4],p=c(k,m),q=c(l,n);return p.concat([[0,o]],q)}return e(a,b)}function e(a,b){for(var c=a.length,d=b.length,e=Math.ceil((c+d)/2),g=e,h=2*e,i=Array(h),j=Array(h),k=0;kc)o+=2;else if(w>d)n+=2;else if(m){var x=g+l-t;if(x>=0&&x=y)return f(a,b,u,w)}}}for(var z=-r+p;z<=r-q;z+=2){for(var y,x=g+z,A=(y=z== -r||z!=r&&j[x-1]c)q+=2;else if(A>d)p+=2;else if(!m){var v=g+l-z;if(v>=0&&v=(y=c-y))return f(a,b,u,w)}}}}return[[-1,a],[1,b]]}function f(a,b,d,e){var f=a.substring(0,d),g=b.substring(0,e),h=a.substring(d),i=b.substring(e),j=c(f,g),k=c(h,i);return j.concat(k)}function g(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;cb.length?a:b,k=a.length>b.length?b:a;if(j.length<4||2*k.length=a.length?[d,e,f,i,l]:null}var m=l(j,k,Math.ceil(j.length/4)),n=l(j,k,Math.ceil(j.length/2));return m||n?(c=n?m&&m[4].length>n[4].length?m:n:m,a.length>b.length?(d=c[0],e=c[1],f=c[2],i=c[3]):(f=c[0],i=c[1],d=c[2],e=c[3]),[d,e,f,i,c[4]]):null}function j(a){a.push([0,""]);for(var b,c=0,d=0,e=0,f="",i="";c1?(0!==d&&0!==e&&(0!==(b=g(i,f))&&(c-d-e>0&&0==a[c-d-e-1][0]?a[c-d-e-1][1]+=i.substring(0,b):(a.splice(0,0,[0,i.substring(0,b)]),c++),i=i.substring(b),f=f.substring(b)),0!==(b=h(i,f))&&(a[c][1]=i.substring(i.length-b)+a[c][1],i=i.substring(0,i.length-b),f=f.substring(0,f.length-b))),0===d?a.splice(c-e,d+e,[1,i]):0===e?a.splice(c-d,d+e,[-1,f]):a.splice(c-d-e,d+e,[-1,f],[1,i]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==a[c-1][0]?(a[c-1][1]+=a[c][1],a.splice(c,1)):c++,e=0,d=0,f="",i=""}""===a[a.length-1][1]&&a.pop();var k=!1;for(c=1;c0&&d.splice(e+2,0,[g[0],h]),n(d,e,3)}function m(a){for(var b,c=!1,d=function(a){return a.charCodeAt(0)>=56320&&57343>=a.charCodeAt(0)},e=2;e=55296&&56319>=b.charCodeAt(b.length-1)&& -1===a[e-1][0]&&d(a[e-1][1])&&1===a[e][0]&&d(a[e][1])&&(c=!0,a[e-1][1]=a[e-2][1].slice(-1)+a[e-1][1],a[e][1]=a[e-2][1].slice(-1)+a[e][1],a[e-2][1]=a[e-2][1].slice(0,-1));if(!c)return a;for(var f=[],e=0;e0&&f.push(a[e]);return f}function n(a,b,c){for(var d=b+c-1;d>=0&&d>=b-1;d--)if(d+1=700)&&(c.bold=!0),Object.keys(c).length>0&&(b=J(b,c)),parseFloat(d.textIndent||0)>0&&(b=new j.default().insert(" ").concat(b)),b}],["li",function(a,b){var c=l.default.query(a);if(null==c||"list-item"!==c.blotName||!L(b,"\n"))return b;for(var d=-1,e=a.parentNode;!e.classList.contains("ql-clipboard");)"list"===(l.default.query(e)||{}).blotName&&(d+=1),e=e.parentNode;return d<=0?b:b.compose(new j.default().retain(b.length()-1).retain(1,{indent:d}))}],["b",O.bind(O,"bold")],["i",O.bind(O,"italic")],["style",function(){return new j.default}]],G=[t.AlignAttribute,y.DirectionAttribute].reduce(function(a,b){return a[b.keyName]=b,a},{}),H=[t.AlignStyle,u.BackgroundStyle,x.ColorStyle,y.DirectionStyle,z.FontStyle,A.SizeStyle].reduce(function(a,b){return a[b.keyName]=b,a},{}),I=function(a){function b(a,c){!function(a,b){if(!(a instanceof b))throw TypeError("Cannot call a class as a function")}(this,b);var d=function(a,b){if(!a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,a,c));return d.quill.root.addEventListener("paste",d.onPaste.bind(d)),d.container=d.quill.addContainer("ql-clipboard"),d.container.setAttribute("contenteditable",!0),d.container.setAttribute("tabindex",-1),d.matchers=[],F.concat(d.options.matchers).forEach(function(a){var b=e(a,2),f=b[0],g=b[1];(c.matchVisual||g!==S)&&d.addMatcher(f,g)}),d}return!function(a,b){if("function"!=typeof b&&null!==b)throw TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}(b,a),f(b,[{key:"addMatcher",value:function(a,b){this.matchers.push([a,b])}},{key:"convert",value:function(a){if("string"==typeof a)return this.container.innerHTML=a.replace(/\>\r?\n +\<"),this.convert();var b=this.quill.getFormat(this.quill.selection.savedRange.index);if(b[w.default.blotName]){var c=this.container.innerText;return this.container.innerHTML="",new j.default().insert(c,C({},w.default.blotName,b[w.default.blotName]))}var d=e(this.prepareMatching(),2),f=d[0],g=d[1],h=N(this.container,f,g);return L(h,"\n")&&null==h.ops[h.ops.length-1].attributes&&(h=h.compose(new j.default().retain(h.length()-1).delete(1))),D.log("convert",this.container.innerHTML,h),this.container.innerHTML="",h}},{key:"dangerouslyPasteHTML",value:function(a,b){var c=arguments.length>2&& void 0!==arguments[2]?arguments[2]:n.default.sources.API;if("string"==typeof a)this.quill.setContents(this.convert(a),b),this.quill.setSelection(0,n.default.sources.SILENT);else{var d=this.convert(b);this.quill.updateContents(new j.default().retain(a).concat(d),c),this.quill.setSelection(a+d.length(),n.default.sources.SILENT)}}},{key:"onPaste",value:function(a){var b=this;if(!a.defaultPrevented&&this.quill.isEnabled()){var c=this.quill.getSelection(),d=new j.default().retain(c.index),e=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(n.default.sources.SILENT),setTimeout(function(){d=d.concat(b.convert()).delete(c.length),b.quill.updateContents(d,n.default.sources.USER),b.quill.setSelection(d.length()-c.length,n.default.sources.SILENT),b.quill.scrollingContainer.scrollTop=e,b.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var a=this,b=[],c=[];return this.matchers.forEach(function(d){var f=e(d,2),g=f[0],h=f[1];switch(g){case Node.TEXT_NODE:c.push(h);break;case Node.ELEMENT_NODE:b.push(h);break;default:[].forEach.call(a.container.querySelectorAll(g),function(a){a[E]=a[E]||[],a[E].push(h)})}}),[b,c]}}]),b}(r.default);function J(a,b,c){return(void 0===b?"undefined":d(b))==="object"?Object.keys(b).reduce(function(a,c){return J(a,c,b[c])},a):a.reduce(function(a,d){return d.attributes&&d.attributes[b]?a.push(d):a.insert(d.insert,(0,h.default)({},C({},b,c),d.attributes))},new j.default)}function K(a){if(a.nodeType!==Node.ELEMENT_NODE)return{};var b="__ql-computed-style";return a[b]||(a[b]=window.getComputedStyle(a))}function L(a,b){for(var c="",d=a.ops.length-1;d>=0&&c.length -1}function N(a,b,c){return a.nodeType===a.TEXT_NODE?c.reduce(function(b,c){return c(a,b)},new j.default):a.nodeType===a.ELEMENT_NODE?[].reduce.call(a.childNodes||[],function(d,e){var f=N(e,b,c);return e.nodeType===a.ELEMENT_NODE&&(f=b.reduce(function(a,b){return b(e,a)},f),f=(e[E]||[]).reduce(function(a,b){return b(e,a)},f)),d.concat(f)},new j.default):new j.default}function O(a,b,c){return J(c,a,!0)}function P(a,b){var c=l.default.Attributor.Attribute.keys(a),d=l.default.Attributor.Class.keys(a),e=l.default.Attributor.Style.keys(a),f={};return c.concat(d).concat(e).forEach(function(b){var c=l.default.query(b,l.default.Scope.ATTRIBUTE);(null==c||(f[c.attrName]=c.value(a),!f[c.attrName]))&&(null!=(c=G[b])&&(c.attrName===b||c.keyName===b)&&(f[c.attrName]=c.value(a)||void 0),null!=(c=H[b])&&(c.attrName===b||c.keyName===b)&&(f[(c=H[b]).attrName]=c.value(a)||void 0))}),Object.keys(f).length>0&&(b=J(b,f)),b}function Q(a,b){var c=l.default.query(a);if(null==c)return b;if(c.prototype instanceof l.default.Embed){var d={},e=c.value(a);null!=e&&(d[c.blotName]=e,b=new j.default().insert(d,c.formats(a)))}else"function"==typeof c.formats&&(b=J(b,c.blotName,c.formats(a)));return b}function R(a,b){return!L(b,"\n")&&(M(a)||b.length()>0&&a.nextSibling&&M(a.nextSibling))&&b.insert("\n"),b}function S(a,b){if(M(a)&&null!=a.nextElementSibling&&!L(b,"\n\n")){var c=a.offsetHeight+parseFloat(K(a).marginTop)+parseFloat(K(a).marginBottom);a.nextElementSibling.offsetTop>a.offsetTop+1.5*c&&b.insert("\n")}return b}function T(a,b){var c=a.data;if("O:P"===a.parentNode.tagName)return b.insert(c.trim());if(0===c.trim().length&&a.parentNode.classList.contains("ql-clipboard"))return b;if(!K(a.parentNode).whiteSpace.startsWith("pre")){var d=function(a,b){return(b=b.replace(/[^\u00a0]/g,"")).length<1&&a?" ":b};c=(c=c.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,d.bind(d,!0)),(null==a.previousSibling&&M(a.parentNode)||null!=a.previousSibling&&M(a.previousSibling))&&(c=c.replace(/^\s+/,d.bind(d,!1))),(null==a.nextSibling&&M(a.parentNode)||null!=a.nextSibling&&M(a.nextSibling))&&(c=c.replace(/\s+$/,d.bind(d,!1)))}return b.insert(c)}I.DEFAULTS={matchers:[],matchVisual:!0},b.default=I,b.matchAttributor=P,b.matchBlot=Q,b.matchNewline=R,b.matchSpacing=S,b.matchText=T},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e,f,g=function(){function a(a,b){for(var c=0;c '},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e,f,g=function(){function a(a,b){for(var c=0;cd.right&&(f=d.right-e.right,this.root.style.left=b+f+"px"),e.leftd.bottom){var g=e.bottom-e.top,h=a.bottom-a.top+g;this.root.style.top=c-h+"px",this.root.classList.add("ql-flip")}return f}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),a}();b.default=e},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=function(a,b){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}(a,b);throw TypeError("Invalid attempt to destructure non-iterable instance")},e=function a(b,c,d){null===b&&(b=Function.prototype);var e=Object.getOwnPropertyDescriptor(b,c);if(void 0===e){var f=Object.getPrototypeOf(b);if(null===f)return;return a(f,c,d)}if("value"in e)return e.value;var g=e.get;if(void 0!==g)return g.call(d)},f=function(){function a(a,b){for(var c=0;c0&&this.children.tail.format(a,b)}},{key:"formats",value:function(){var a,b,c;return a={},b=this.statics.blotName,c=this.statics.formats(this.domNode),b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}},{key:"insertBefore",value:function(a,c){if(a instanceof p)e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertBefore",this).call(this,a,c);else{var d=null==c?this.length():c.offset(this),f=this.split(d);f.parent.insertBefore(a,f)}}},{key:"optimize",value:function(a){e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,a);var c=this.next;null!=c&&c.prev===this&&c.statics.blotName===this.statics.blotName&&c.domNode.tagName===this.domNode.tagName&&c.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(c.moveChildren(this),c.remove())}},{key:"replace",value:function(a){if(a.statics.blotName!==this.statics.blotName){var c=g.default.create(this.statics.defaultChild);a.moveChildren(c),this.appendChild(c)}e(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"replace",this).call(this,a)}}]),b}(k.default);q.blotName="list",q.scope=g.default.Scope.BLOCK_BLOT,q.tagName=["OL","UL"],q.defaultChild="list-item",q.allowedChildren=[p],b.ListItem=p,b.default=q},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e,f,g=function(a){function b(){return!function(a,b){if(!(a instanceof b))throw TypeError("Cannot call a class as a function")}(this,b),function(a,b){if(!a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return!function(a,b){if("function"!=typeof b&&null!==b)throw TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}(b,a),b}((d=c(56),d&&d.__esModule?d:{default:d}).default);g.blotName="italic",g.tagName=["EM","I"],b.default=g},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e,f,g=function(){function a(a,b){for(var c=0;c -1?c?this.domNode.setAttribute(a,c):this.domNode.removeAttribute(a):g(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"format",this).call(this,a,c)}}],[{key:"create",value:function(a){var c=g(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,a);return"string"==typeof a&&c.setAttribute("src",this.sanitize(a)),c}},{key:"formats",value:function(a){return j.reduce(function(b,c){return a.hasAttribute(c)&&(b[c]=a.getAttribute(c)),b},{})}},{key:"match",value:function(a){return/\.(jpe?g|gif|png)$/.test(a)||/^data:image\/.+;base64/.test(a)}},{key:"sanitize",value:function(a){return(0,i.sanitize)(a,["http","https","data"])?a:"//:0"}},{key:"value",value:function(a){return a.getAttribute("src")}}]),b}(h.default.Embed);k.blotName="image",k.tagName="IMG",b.default=k},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e=function(){function a(a,b){for(var c=0;c -1?c?this.domNode.setAttribute(a,c):this.domNode.removeAttribute(a):f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"format",this).call(this,a,c)}}],[{key:"create",value:function(a){var c=f(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,a);return c.setAttribute("frameborder","0"),c.setAttribute("allowfullscreen",!0),c.setAttribute("src",this.sanitize(a)),c}},{key:"formats",value:function(a){return j.reduce(function(b,c){return a.hasAttribute(c)&&(b[c]=a.getAttribute(c)),b},{})}},{key:"sanitize",value:function(a){return i.default.sanitize(a)}},{key:"value",value:function(a){return a.getAttribute("src")}}]),b}(g.BlockEmbed);k.blotName="video",k.className="ql-video",k.tagName="IFRAME",b.default=k},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.FormulaBlot=void 0;var d=function(){function a(a,b){for(var c=0;c0||null==this.cachedText)&&(this.domNode.innerHTML=a(b),this.domNode.normalize(),this.attach()),this.cachedText=b)}}]),b}(m.default);r.className="ql-syntax";var t=new g.default.Attributor.Class("token","hljs",{scope:g.default.Scope.INLINE}),u=function(a){function b(a,c){o(this,b);var d=p(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,a,c));if("function"!=typeof d.options.highlight)throw Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var e=null;return d.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(e),e=setTimeout(function(){d.highlight(),e=null},d.options.interval)}),d.highlight(),d}return q(b,a),d(b,null,[{key:"register",value:function(){i.default.register(t,!0),i.default.register(r,!0)}}]),d(b,[{key:"highlight",value:function(){var a=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var b=this.quill.getSelection();this.quill.scroll.descendants(r).forEach(function(b){b.highlight(a.options.highlight)}),this.quill.update(i.default.sources.SILENT),null!=b&&this.quill.setSelection(b,i.default.sources.SILENT)}}}]),b}(k.default);u.DEFAULTS={highlight:null==window.hljs?null:function(a){return window.hljs.highlightAuto(a).value},interval:1e3},b.CodeBlock=r,b.CodeToken=t,b.default=u},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b){a.exports=' '},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=b.BubbleTooltip=void 0;var d=function a(b,c,d){null===b&&(b=Function.prototype);var e=Object.getOwnPropertyDescriptor(b,c);if(void 0===e){var f=Object.getPrototypeOf(b);if(null===f)return;return a(f,c,d)}if("value"in e)return e.value;var g=e.get;if(void 0!==g)return g.call(d)},e=function(){function a(a,b){for(var c=0;c0&&e===i.default.sources.USER){d.show(),d.root.style.left="0px",d.root.style.width="",d.root.style.width=d.root.offsetWidth+"px";var f=d.quill.getLines(b.index,b.length);if(1===f.length)d.position(d.quill.getBounds(b));else{var g=f[f.length-1],h=d.quill.getIndex(g),j=Math.min(g.length()-1,b.index+b.length-h),k=d.quill.getBounds(new l.Range(h,j));d.position(k)}}else document.activeElement!==d.textbox&&d.quill.hasFocus()&&d.hide()}}),d}return r(b,a),e(b,[{key:"listen",value:function(){var a=this;d(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){a.root.classList.remove("ql-editing")}),this.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!a.root.classList.contains("ql-hidden")){var b=a.quill.getSelection();null!=b&&a.position(a.quill.getBounds(b))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(a){var c=d(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"position",this).call(this,a),e=this.root.querySelector(".ql-tooltip-arrow");if(e.style.marginLeft="",0===c)return c;e.style.marginLeft=-1*c-e.offsetWidth/2+"px"}}]),b}(j.BaseTooltip);v.TEMPLATE='
',b.BubbleTooltip=v,b.default=u},function(a,b,c){a.exports=c(63)}]).default})},4448(a,b,c){"use strict";var d,e,f,g,h,i,j=c(7294),k=c(3840);function l(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c